llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmps_r84ezi.c' source_filename = "/tmp/tmps_r84ezi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__entry_menu(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 (...) @Menu_Main() ret i32 %5 } declare i32 @Menu_Main(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps_r84ezi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__entry_menu(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 (...) @Menu_Main() ret i32 %5 } declare i32 @Menu_Main(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcu_zpfrz.c' source_filename = "/tmp/tmpcu_zpfrz.c" target datalayout = "e-m:e-p270: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/tmpcu_zpfrz.c" target datalayout = "e-m:e-p270: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/tmpdcu5s057.c' source_filename = "/tmp/tmpdcu5s057.c" target datalayout = "e-m:e-p270: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/tmpdcu5s057.c" target datalayout = "e-m:e-p270: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/tmpflsy1ink.c' source_filename = "/tmp/tmpflsy1ink.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @urlata(i8 noundef signext %0, i32 noundef %1) #0 { %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca i8, align 1 store i8 %0, ptr %3, align 1 store i32 %1, ptr %4, align 4 %6 = load i8, ptr %3, align 1 store i8 %6, ptr %5, align 1 %7 = load i8, ptr %3, align 1 %8 = call i64 @islower(i8 noundef signext %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load i8, ptr %3, align 1 %12 = call signext i8 @toupper(i8 noundef signext %11) store i8 %12, ptr %5, align 1 br label %13 13: ; preds = %10, %2 %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %13 %17 = load i8, ptr %5, align 1 %18 = call i32 @printf(ptr noundef @.str, i8 noundef signext %17) br label %19 19: ; preds = %16, %13 %20 = load i8, ptr %5, align 1 ret i8 %20 } declare i64 @islower(i8 noundef signext) #1 declare signext i8 @toupper(i8 noundef signext) #1 declare i32 @printf(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpflsy1ink.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @urlata(i8 noundef signext %0, i32 noundef %1) #0 { %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca i8, align 1 store i8 %0, ptr %3, align 1 store i32 %1, ptr %4, align 4 %6 = load i8, ptr %3, align 1 store i8 %6, ptr %5, align 1 %7 = load i8, ptr %3, align 1 %8 = call i64 @islower(i8 noundef signext %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load i8, ptr %3, align 1 %12 = call signext i8 @toupper(i8 noundef signext %11) store i8 %12, ptr %5, align 1 br label %13 13: ; preds = %10, %2 %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %13 %17 = load i8, ptr %5, align 1 %18 = call i32 @printf(ptr noundef @.str, i8 noundef signext %17) br label %19 19: ; preds = %16, %13 %20 = load i8, ptr %5, align 1 ret i8 %20 } declare i64 @islower(i8 noundef signext) #1 declare signext i8 @toupper(i8 noundef signext) #1 declare i32 @printf(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp15f5jfyc.c' source_filename = "/tmp/tmp15f5jfyc.c" target datalayout = "e-m:e-p270: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/tmp15f5jfyc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn_mcq4b_.c' source_filename = "/tmp/tmpn_mcq4b_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @f(i32 noundef 3, i32 noundef 1, i32 noundef 2, i32 noundef 3) ret i32 0 } declare i32 @f(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/tmpn_mcq4b_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @f(i32 noundef 3, i32 noundef 1, i32 noundef 2, i32 noundef 3) ret i32 0 } declare i32 @f(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/tmpdtqhacug.c' source_filename = "/tmp/tmpdtqhacug.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @acceptconn(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.sockaddr_in, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 4, ptr %4, align 4 %7 = load ptr, ptr %2, align 8 %8 = call i32 @st_pop(ptr noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = call i32 @accept(i32 noundef %9, ptr noundef %3, ptr noundef %4) store i32 %10, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %16 13: ; preds = %1 %14 = load ptr, ptr %2, align 8 %15 = call i32 @st_push(ptr noundef %14, i32 noundef 0) br label %20 16: ; preds = %1 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %6, align 4 %19 = call i32 @st_push(ptr noundef %17, i32 noundef %18) br label %20 20: ; preds = %16, %13 ret void } declare i32 @st_pop(ptr noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @st_push(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/tmpdtqhacug.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @acceptconn(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.sockaddr_in, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 4, ptr %4, align 4 %7 = load ptr, ptr %2, align 8 %8 = call i32 @st_pop(ptr noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = call i32 @accept(i32 noundef %9, ptr noundef %3, ptr noundef %4) store i32 %10, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %16 13: ; preds = %1 %14 = load ptr, ptr %2, align 8 %15 = call i32 @st_push(ptr noundef %14, i32 noundef 0) br label %20 16: ; preds = %1 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %6, align 4 %19 = call i32 @st_push(ptr noundef %17, i32 noundef %18) br label %20 20: ; preds = %16, %13 ret void } declare i32 @st_pop(ptr noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @st_push(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/tmpodu8crk4.c' source_filename = "/tmp/tmpodu8crk4.c" target datalayout = "e-m:e-p270: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.pollfd = type { i32, i32, i32 } @STDIN_FILENO = dso_local global i32 0, align 4 @POLLIN = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"poll\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"%d seconds elapsed.\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"stdin is readable\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 %6 = call ptr @llvm.stacksave() store ptr %6, ptr %3, align 8 %7 = alloca %struct.pollfd, i64 1, align 16 %8 = load i32, ptr @STDIN_FILENO, align 4 %9 = getelementptr inbounds %struct.pollfd, ptr %7, i64 0 %10 = getelementptr inbounds %struct.pollfd, ptr %9, i32 0, i32 2 store i32 %8, ptr %10, align 8 %11 = load i32, ptr @POLLIN, align 4 %12 = getelementptr inbounds %struct.pollfd, ptr %7, i64 0 %13 = getelementptr inbounds %struct.pollfd, ptr %12, i32 0, i32 0 store i32 %11, ptr %13, align 16 %14 = call i32 @poll(ptr noundef %7, i32 noundef 1, i32 noundef 5000) store i32 %14, ptr %4, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %19 17: ; preds = %0 %18 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %1, align 4 store i32 1, ptr %5, align 4 br label %34 19: ; preds = %0 %20 = load i32, ptr %4, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %19 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 5) store i32 0, ptr %1, align 4 store i32 1, ptr %5, align 4 br label %34 24: ; preds = %19 %25 = getelementptr inbounds %struct.pollfd, ptr %7, i64 0 %26 = getelementptr inbounds %struct.pollfd, ptr %25, i32 0, i32 1 %27 = load i32, ptr %26, align 4 %28 = load i32, ptr @POLLIN, align 4 %29 = and i32 %27, %28 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %33 31: ; preds = %24 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %33 33: ; preds = %31, %24 store i32 0, ptr %1, align 4 store i32 1, ptr %5, align 4 br label %34 34: ; preds = %33, %22, %17 %35 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %35) %36 = load i32, ptr %1, align 4 ret i32 %36 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @poll(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @perror(ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpodu8crk4.c" target datalayout = "e-m:e-p270: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.pollfd = type { i32, i32, i32 } @STDIN_FILENO = dso_local global i32 0, align 4 @POLLIN = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"poll\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"%d seconds elapsed.\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"stdin is readable\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 %6 = call ptr @llvm.stacksave() store ptr %6, ptr %3, align 8 %7 = alloca %struct.pollfd, i64 1, align 16 %8 = load i32, ptr @STDIN_FILENO, align 4 %9 = getelementptr inbounds %struct.pollfd, ptr %7, i64 0 %10 = getelementptr inbounds %struct.pollfd, ptr %9, i32 0, i32 2 store i32 %8, ptr %10, align 8 %11 = load i32, ptr @POLLIN, align 4 %12 = getelementptr inbounds %struct.pollfd, ptr %7, i64 0 %13 = getelementptr inbounds %struct.pollfd, ptr %12, i32 0, i32 0 store i32 %11, ptr %13, align 16 %14 = call i32 @poll(ptr noundef %7, i32 noundef 1, i32 noundef 5000) store i32 %14, ptr %4, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %19 17: ; preds = %0 %18 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %1, align 4 store i32 1, ptr %5, align 4 br label %34 19: ; preds = %0 %20 = load i32, ptr %4, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %19 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 5) store i32 0, ptr %1, align 4 store i32 1, ptr %5, align 4 br label %34 24: ; preds = %19 %25 = getelementptr inbounds %struct.pollfd, ptr %7, i64 0 %26 = getelementptr inbounds %struct.pollfd, ptr %25, i32 0, i32 1 %27 = load i32, ptr %26, align 4 %28 = load i32, ptr @POLLIN, align 4 %29 = and i32 %27, %28 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %33 31: ; preds = %24 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %33 33: ; preds = %31, %24 store i32 0, ptr %1, align 4 store i32 1, ptr %5, align 4 br label %34 34: ; preds = %33, %22, %17 %35 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %35) %36 = load i32, ptr %1, align 4 ret i32 %36 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @poll(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @perror(ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplrdgfjgt.c' source_filename = "/tmp/tmplrdgfjgt.c" target datalayout = "e-m:e-p270: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/tmplrdgfjgt.c" target datalayout = "e-m:e-p270: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/tmplfflbfms.c' source_filename = "/tmp/tmplfflbfms.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"Positive numbers only, please.\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"the log of x is %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_logarithm(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = fcmp ole double %3, 0.000000e+00 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %11 7: ; preds = %1 %8 = load double, ptr %2, align 8 %9 = call double @log(double noundef %8) #3 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %9) br label %11 11: ; preds = %7, %5 ret void } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nounwind declare double @log(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplfflbfms.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"Positive numbers only, please.\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"the log of x is %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_logarithm(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = fcmp ole double %3, 0.000000e+00 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %11 7: ; preds = %1 %8 = load double, ptr %2, align 8 %9 = call double @log(double noundef %8) #3 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %9) br label %11 11: ; preds = %7, %5 ret void } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nounwind declare double @log(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"}
; ModuleID = '/tmp/tmpoiqpw7f1.c' source_filename = "/tmp/tmpoiqpw7f1.c" target datalayout = "e-m:e-p270: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/tmpoiqpw7f1.c" target datalayout = "e-m:e-p270: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/tmp_ahgmfzo.c' source_filename = "/tmp/tmp_ahgmfzo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mt_reg_sync_writel(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = zext i32 %6 to i64 %8 = inttoptr i64 %7 to ptr store volatile i32 %5, ptr %8, align 4 %9 = call i32 (...) @dsb() %10 = call i32 (...) @reg_dummy_read() ret void } declare i32 @dsb(...) #1 declare i32 @reg_dummy_read(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_ahgmfzo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mt_reg_sync_writel(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = zext i32 %6 to i64 %8 = inttoptr i64 %7 to ptr store volatile i32 %5, ptr %8, align 4 %9 = call i32 (...) @dsb() %10 = call i32 (...) @reg_dummy_read() ret void } declare i32 @dsb(...) #1 declare i32 @reg_dummy_read(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl6ju5jqq.c' source_filename = "/tmp/tmpl6ju5jqq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"ic_symbol_print: symbol was null\00", align 1 @.str.1 = private unnamed_addr constant [51 x i8] c"ic_symbol_print: call to ic_symbol_contents failed\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ic_symbol_print(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %2 %9 = call i32 @puts(ptr noundef @.str) br label %21 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = call ptr @ic_symbol_contents(ptr noundef %11) store ptr %12, ptr %5, align 8 %13 = load ptr, ptr %5, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %17, label %15 15: ; preds = %10 %16 = call i32 @puts(ptr noundef @.str.1) br label %21 17: ; preds = %10 %18 = load ptr, ptr %3, align 8 %19 = load ptr, ptr %5, align 8 %20 = call i32 @fprintf(ptr noundef %18, ptr noundef @.str.2, ptr noundef %19) br label %21 21: ; preds = %17, %15, %8 ret void } declare i32 @puts(ptr noundef) #1 declare ptr @ic_symbol_contents(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl6ju5jqq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"ic_symbol_print: symbol was null\00", align 1 @.str.1 = private unnamed_addr constant [51 x i8] c"ic_symbol_print: call to ic_symbol_contents failed\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ic_symbol_print(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %2 %9 = call i32 @puts(ptr noundef @.str) br label %21 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = call ptr @ic_symbol_contents(ptr noundef %11) store ptr %12, ptr %5, align 8 %13 = load ptr, ptr %5, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %17, label %15 15: ; preds = %10 %16 = call i32 @puts(ptr noundef @.str.1) br label %21 17: ; preds = %10 %18 = load ptr, ptr %3, align 8 %19 = load ptr, ptr %5, align 8 %20 = call i32 @fprintf(ptr noundef %18, ptr noundef @.str.2, ptr noundef %19) br label %21 21: ; preds = %17, %15, %8 ret void } declare i32 @puts(ptr noundef) #1 declare ptr @ic_symbol_contents(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf5g0i89c.c' source_filename = "/tmp/tmpf5g0i89c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SW12_Init() #0 { %1 = call i32 (...) @DisableInterrupts() %2 = load volatile i32, ptr inttoptr (i64 1074783752 to ptr), align 4 %3 = or i32 %2, 32 store volatile i32 %3, ptr inttoptr (i64 1074783752 to ptr), align 4 br label %4 4: ; preds = %8, %0 %5 = load volatile i32, ptr inttoptr (i64 1074784776 to ptr), align 4 %6 = and i32 %5, 32 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %4 br label %4, !llvm.loop !6 9: ; preds = %4 store volatile i32 1280262987, ptr inttoptr (i64 1073894688 to ptr), align 4 %10 = load volatile i32, ptr inttoptr (i64 1073894692 to ptr), align 4 %11 = or i32 %10, 17 store volatile i32 %11, ptr inttoptr (i64 1073894692 to ptr), align 4 %12 = load volatile i32, ptr inttoptr (i64 1073894400 to ptr), align 4 %13 = and i32 %12, -18 store volatile i32 %13, ptr inttoptr (i64 1073894400 to ptr), align 4 %14 = load volatile i32, ptr inttoptr (i64 1073894432 to ptr), align 4 %15 = and i32 %14, -18 store volatile i32 %15, ptr inttoptr (i64 1073894432 to ptr), align 4 %16 = load volatile i32, ptr inttoptr (i64 1073894684 to ptr), align 4 %17 = or i32 %16, 17 store volatile i32 %17, ptr inttoptr (i64 1073894684 to ptr), align 4 %18 = load volatile i32, ptr inttoptr (i64 1073894700 to ptr), align 4 %19 = and i32 %18, -983056 store volatile i32 %19, ptr inttoptr (i64 1073894700 to ptr), align 4 %20 = load volatile i32, ptr inttoptr (i64 1073894696 to ptr), align 4 %21 = and i32 %20, -18 store volatile i32 %21, ptr inttoptr (i64 1073894696 to ptr), align 4 %22 = load volatile i32, ptr inttoptr (i64 1073894672 to ptr), align 4 %23 = or i32 %22, 17 store volatile i32 %23, ptr inttoptr (i64 1073894672 to ptr), align 4 %24 = load volatile i32, ptr inttoptr (i64 1073894404 to ptr), align 4 %25 = and i32 %24, -18 store volatile i32 %25, ptr inttoptr (i64 1073894404 to ptr), align 4 %26 = load volatile i32, ptr inttoptr (i64 1073894408 to ptr), align 4 %27 = and i32 %26, -18 store volatile i32 %27, ptr inttoptr (i64 1073894408 to ptr), align 4 %28 = load volatile i32, ptr inttoptr (i64 1073894412 to ptr), align 4 %29 = and i32 %28, -18 store volatile i32 %29, ptr inttoptr (i64 1073894412 to ptr), align 4 store volatile i32 17, ptr inttoptr (i64 1073894428 to ptr), align 4 %30 = load volatile i32, ptr inttoptr (i64 1073894416 to ptr), align 4 %31 = or i32 %30, 17 store volatile i32 %31, ptr inttoptr (i64 1073894416 to ptr), align 4 %32 = load volatile i32, ptr inttoptr (i64 3758154780 to ptr), align 4 %33 = and i32 %32, -16711681 store volatile i32 %33, ptr inttoptr (i64 3758154780 to ptr), align 4 %34 = load volatile i32, ptr inttoptr (i64 3758154780 to ptr), align 4 %35 = or i32 %34, 0 store volatile i32 %35, ptr inttoptr (i64 3758154780 to ptr), align 4 store volatile i32 1073741824, ptr inttoptr (i64 3758153984 to ptr), align 4 %36 = call i32 (...) @EnableInterrupts() ret void } declare i32 @DisableInterrupts(...) #1 declare i32 @EnableInterrupts(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpf5g0i89c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SW12_Init() #0 { %1 = call i32 (...) @DisableInterrupts() %2 = load volatile i32, ptr inttoptr (i64 1074783752 to ptr), align 4 %3 = or i32 %2, 32 store volatile i32 %3, ptr inttoptr (i64 1074783752 to ptr), align 4 br label %4 4: ; preds = %4, %0 %5 = load volatile i32, ptr inttoptr (i64 1074784776 to ptr), align 4 %6 = and i32 %5, 32 %7 = icmp eq i32 %6, 0 br i1 %7, label %4, label %8, !llvm.loop !6 8: ; preds = %4 store volatile i32 1280262987, ptr inttoptr (i64 1073894688 to ptr), align 4 %9 = load volatile i32, ptr inttoptr (i64 1073894692 to ptr), align 4 %10 = or i32 %9, 17 store volatile i32 %10, ptr inttoptr (i64 1073894692 to ptr), align 4 %11 = load volatile i32, ptr inttoptr (i64 1073894400 to ptr), align 4 %12 = and i32 %11, -18 store volatile i32 %12, ptr inttoptr (i64 1073894400 to ptr), align 4 %13 = load volatile i32, ptr inttoptr (i64 1073894432 to ptr), align 4 %14 = and i32 %13, -18 store volatile i32 %14, ptr inttoptr (i64 1073894432 to ptr), align 4 %15 = load volatile i32, ptr inttoptr (i64 1073894684 to ptr), align 4 %16 = or i32 %15, 17 store volatile i32 %16, ptr inttoptr (i64 1073894684 to ptr), align 4 %17 = load volatile i32, ptr inttoptr (i64 1073894700 to ptr), align 4 %18 = and i32 %17, -983056 store volatile i32 %18, ptr inttoptr (i64 1073894700 to ptr), align 4 %19 = load volatile i32, ptr inttoptr (i64 1073894696 to ptr), align 4 %20 = and i32 %19, -18 store volatile i32 %20, ptr inttoptr (i64 1073894696 to ptr), align 4 %21 = load volatile i32, ptr inttoptr (i64 1073894672 to ptr), align 4 %22 = or i32 %21, 17 store volatile i32 %22, ptr inttoptr (i64 1073894672 to ptr), align 4 %23 = load volatile i32, ptr inttoptr (i64 1073894404 to ptr), align 4 %24 = and i32 %23, -18 store volatile i32 %24, ptr inttoptr (i64 1073894404 to ptr), align 4 %25 = load volatile i32, ptr inttoptr (i64 1073894408 to ptr), align 4 %26 = and i32 %25, -18 store volatile i32 %26, ptr inttoptr (i64 1073894408 to ptr), align 4 %27 = load volatile i32, ptr inttoptr (i64 1073894412 to ptr), align 4 %28 = and i32 %27, -18 store volatile i32 %28, ptr inttoptr (i64 1073894412 to ptr), align 4 store volatile i32 17, ptr inttoptr (i64 1073894428 to ptr), align 4 %29 = load volatile i32, ptr inttoptr (i64 1073894416 to ptr), align 4 %30 = or i32 %29, 17 store volatile i32 %30, ptr inttoptr (i64 1073894416 to ptr), align 4 %31 = load volatile i32, ptr inttoptr (i64 3758154780 to ptr), align 4 %32 = and i32 %31, -16711681 store volatile i32 %32, ptr inttoptr (i64 3758154780 to ptr), align 4 %33 = load volatile i32, ptr inttoptr (i64 3758154780 to ptr), align 4 %34 = or i32 %33, 0 store volatile i32 %34, ptr inttoptr (i64 3758154780 to ptr), align 4 store volatile i32 1073741824, ptr inttoptr (i64 3758153984 to ptr), align 4 %35 = call i32 (...) @EnableInterrupts() ret void } declare i32 @DisableInterrupts(...) #1 declare i32 @EnableInterrupts(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp6s3xq581.c' source_filename = "/tmp/tmp6s3xq581.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6s3xq581.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6hpu6ogv.c' source_filename = "/tmp/tmp6hpu6ogv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @cJSON_Version.version = internal global [15 x i8] zeroinitializer, align 1 @.str = private unnamed_addr constant [9 x i8] c"%i.%i.%i\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @cJSON_Version() #0 { %1 = call i32 @sprintf(ptr noundef @cJSON_Version.version, ptr noundef @.str, i32 noundef 1, i32 noundef 7, i32 noundef 8) ret ptr @cJSON_Version.version } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6hpu6ogv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @cJSON_Version.version = internal global [15 x i8] zeroinitializer, align 1 @.str = private unnamed_addr constant [9 x i8] c"%i.%i.%i\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @cJSON_Version() #0 { %1 = call i32 @sprintf(ptr noundef @cJSON_Version.version, ptr noundef @.str, i32 noundef 1, i32 noundef 7, i32 noundef 8) ret ptr @cJSON_Version.version } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq3gouf6p.c' source_filename = "/tmp/tmpq3gouf6p.c" target datalayout = "e-m:e-p270: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/tmpq3gouf6p.c" target datalayout = "e-m:e-p270: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/tmp1ehqskcb.c' source_filename = "/tmp/tmp1ehqskcb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getmousewheel() #0 { %1 = call i64 (...) @GetMouseWheel277() ret i64 %1 } declare i64 @GetMouseWheel277(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1ehqskcb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getmousewheel() #0 { %1 = call i64 (...) @GetMouseWheel277() ret i64 %1 } declare i64 @GetMouseWheel277(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbtylpmut.c' source_filename = "/tmp/tmpbtylpmut.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"Error to get file to string\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"ERROR\0A\00", align 1 @CLOCKS_PER_SEC = dso_local global float 0.000000e+00, align 4 @.str.2 = private unnamed_addr constant [33 x i8] c"Diff result: %0.2f%% Time %0.2f\0A\00", align 1 @.str.3 = private unnamed_addr constant [55 x i8] c"I need arguments ./my_rsync /path/file/1 /path/file/2\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca float, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = load ptr, ptr %5, align 8 %15 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %15, ptr %6, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp eq i32 %16, 3 br i1 %17, label %18, label %57 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call ptr @get_string_file(ptr noundef %21) store ptr %22, ptr %8, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %24, label %30 24: ; preds = %18 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 2 %27 = load ptr, ptr %26, align 8 %28 = call ptr @get_string_file(ptr noundef %27) store ptr %28, ptr %9, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %33, label %30 30: ; preds = %24, %18 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str) %32 = load i32, ptr %6, align 4 store i32 %32, ptr %3, align 4 br label %61 33: ; preds = %24 %34 = call i64 (...) @clock() store i64 %34, ptr %10, align 8 %35 = load ptr, ptr %8, align 8 %36 = load ptr, ptr %9, align 8 %37 = call double @diff(ptr noundef %35, ptr noundef %36) store double %37, ptr %7, align 8 %38 = fcmp olt double %37, 0.000000e+00 br i1 %38, label %39, label %41 39: ; preds = %33 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %41 41: ; preds = %39, %33 %42 = call i64 (...) @clock() store i64 %42, ptr %11, align 8 %43 = load i64, ptr %11, align 8 %44 = load i64, ptr %10, align 8 %45 = sub nsw i64 %43, %44 %46 = sitofp i64 %45 to float %47 = load float, ptr @CLOCKS_PER_SEC, align 4 %48 = fdiv float %46, %47 store float %48, ptr %12, align 4 %49 = load double, ptr %7, align 8 %50 = load float, ptr %12, align 4 %51 = fpext float %50 to double %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %49, double noundef %51) %53 = load ptr, ptr %8, align 8 %54 = call i32 @free(ptr noundef %53) %55 = load ptr, ptr %9, align 8 %56 = call i32 @free(ptr noundef %55) br label %59 57: ; preds = %2 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %59 59: ; preds = %57, %41 %60 = load i32, ptr %6, align 4 store i32 %60, ptr %3, align 4 br label %61 61: ; preds = %59, %30 %62 = load i32, ptr %3, align 4 ret i32 %62 } declare ptr @get_string_file(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @clock(...) #1 declare double @diff(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbtylpmut.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"Error to get file to string\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"ERROR\0A\00", align 1 @CLOCKS_PER_SEC = dso_local global float 0.000000e+00, align 4 @.str.2 = private unnamed_addr constant [33 x i8] c"Diff result: %0.2f%% Time %0.2f\0A\00", align 1 @.str.3 = private unnamed_addr constant [55 x i8] c"I need arguments ./my_rsync /path/file/1 /path/file/2\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca float, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = load ptr, ptr %5, align 8 %15 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %15, ptr %6, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp eq i32 %16, 3 br i1 %17, label %18, label %57 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call ptr @get_string_file(ptr noundef %21) store ptr %22, ptr %8, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %24, label %30 24: ; preds = %18 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 2 %27 = load ptr, ptr %26, align 8 %28 = call ptr @get_string_file(ptr noundef %27) store ptr %28, ptr %9, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %33, label %30 30: ; preds = %24, %18 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str) %32 = load i32, ptr %6, align 4 store i32 %32, ptr %3, align 4 br label %61 33: ; preds = %24 %34 = call i64 (...) @clock() store i64 %34, ptr %10, align 8 %35 = load ptr, ptr %8, align 8 %36 = load ptr, ptr %9, align 8 %37 = call double @diff(ptr noundef %35, ptr noundef %36) store double %37, ptr %7, align 8 %38 = fcmp olt double %37, 0.000000e+00 br i1 %38, label %39, label %41 39: ; preds = %33 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %41 41: ; preds = %39, %33 %42 = call i64 (...) @clock() store i64 %42, ptr %11, align 8 %43 = load i64, ptr %11, align 8 %44 = load i64, ptr %10, align 8 %45 = sub nsw i64 %43, %44 %46 = sitofp i64 %45 to float %47 = load float, ptr @CLOCKS_PER_SEC, align 4 %48 = fdiv float %46, %47 store float %48, ptr %12, align 4 %49 = load double, ptr %7, align 8 %50 = load float, ptr %12, align 4 %51 = fpext float %50 to double %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %49, double noundef %51) %53 = load ptr, ptr %8, align 8 %54 = call i32 @free(ptr noundef %53) %55 = load ptr, ptr %9, align 8 %56 = call i32 @free(ptr noundef %55) br label %59 57: ; preds = %2 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %59 59: ; preds = %57, %41 %60 = load i32, ptr %6, align 4 store i32 %60, ptr %3, align 4 br label %61 61: ; preds = %59, %30 %62 = load i32, ptr %3, align 4 ret i32 %62 } declare ptr @get_string_file(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i64 @clock(...) #1 declare double @diff(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp50j4uloz.c' source_filename = "/tmp/tmp50j4uloz.c" target datalayout = "e-m:e-p270: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/tmp50j4uloz.c" target datalayout = "e-m:e-p270: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/tmp5anzn5ru.c' source_filename = "/tmp/tmp5anzn5ru.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpuid_pkg_therm_enable_status_and_interrupt() #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 6, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = call i32 @cpuid(i32 noundef %7, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) %9 = load i32, ptr %2, align 4 %10 = and i32 %9, 64 %11 = ashr i32 %10, 6 %12 = icmp eq i32 %11, 1 br i1 %12, label %13, label %14 13: ; preds = %0 store i32 1, ptr %1, align 4 br label %15 14: ; preds = %0 store i32 0, ptr %1, align 4 br label %15 15: ; preds = %14, %13 %16 = load i32, ptr %1, align 4 ret i32 %16 } declare i32 @cpuid(i32 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/tmp5anzn5ru.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpuid_pkg_therm_enable_status_and_interrupt() #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 6, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = call i32 @cpuid(i32 noundef %7, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) %9 = load i32, ptr %2, align 4 %10 = and i32 %9, 64 %11 = ashr i32 %10, 6 %12 = icmp eq i32 %11, 1 br i1 %12, label %13, label %14 13: ; preds = %0 store i32 1, ptr %1, align 4 br label %15 14: ; preds = %0 store i32 0, ptr %1, align 4 br label %15 15: ; preds = %14, %13 %16 = load i32, ptr %1, align 4 ret i32 %16 } declare i32 @cpuid(i32 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/tmp4ka1zunt.c' source_filename = "/tmp/tmp4ka1zunt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32, i32 } @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @nmstermio_get_char() #0 { %1 = alloca %struct.timespec, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 50, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = sdiv i32 %4, 1000 %6 = getelementptr inbounds %struct.timespec, ptr %1, i32 0, i32 0 store i32 %5, ptr %6, align 4 %7 = load i32, ptr %2, align 4 %8 = srem i32 %7, 1000 %9 = mul nsw i32 %8, 1000000 %10 = getelementptr inbounds %struct.timespec, ptr %1, i32 0, i32 1 store i32 %9, ptr %10, align 4 br label %11 11: ; preds = %15, %0 %12 = call i32 (...) @getchar() store i32 %12, ptr %3, align 4 %13 = load i32, ptr @EOF, align 4 %14 = icmp eq i32 %12, %13 br i1 %14, label %15, label %17 15: ; preds = %11 %16 = call i32 @nanosleep(ptr noundef %1, ptr noundef null) br label %11, !llvm.loop !6 17: ; preds = %11 %18 = load i32, ptr %3, align 4 %19 = trunc i32 %18 to i8 ret i8 %19 } declare i32 @getchar(...) #1 declare i32 @nanosleep(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4ka1zunt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32, i32 } @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @nmstermio_get_char() #0 { %1 = alloca %struct.timespec, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 50, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = sdiv i32 %4, 1000 %6 = getelementptr inbounds %struct.timespec, ptr %1, i32 0, i32 0 store i32 %5, ptr %6, align 4 %7 = load i32, ptr %2, align 4 %8 = srem i32 %7, 1000 %9 = mul nsw i32 %8, 1000000 %10 = getelementptr inbounds %struct.timespec, ptr %1, i32 0, i32 1 store i32 %9, ptr %10, align 4 %11 = call i32 (...) @getchar() store i32 %11, ptr %3, align 4 %12 = load i32, ptr @EOF, align 4 %13 = icmp eq i32 %11, %12 br i1 %13, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %14 %15 = call i32 @nanosleep(ptr noundef %1, ptr noundef null) %16 = call i32 (...) @getchar() store i32 %16, ptr %3, align 4 %17 = load i32, ptr @EOF, align 4 %18 = icmp eq i32 %16, %17 br i1 %18, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %19 19: ; preds = %._crit_edge, %0 %20 = load i32, ptr %3, align 4 %21 = trunc i32 %20 to i8 ret i8 %21 } declare i32 @getchar(...) #1 declare i32 @nanosleep(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1hbrr73d.c' source_filename = "/tmp/tmp1hbrr73d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"Sum: %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 0, ptr %8, align 8 %9 = call i64 @calloc(i32 noundef 2000000, i32 noundef 1) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %6, align 8 %11 = load ptr, ptr %6, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %2 store i32 1, ptr %3, align 4 br label %41 14: ; preds = %2 %15 = load ptr, ptr %6, align 8 %16 = call i32 @sieve(ptr noundef %15, i32 noundef 2000000) store i32 0, ptr %7, align 4 br label %17 17: ; preds = %33, %14 %18 = load i32, ptr %7, align 4 %19 = icmp slt i32 %18, 2000000 br i1 %19, label %20, label %36 20: ; preds = %17 %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr %7, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = icmp ne i8 %25, 0 br i1 %26, label %32, label %27 27: ; preds = %20 %28 = load i32, ptr %7, align 4 %29 = sext i32 %28 to i64 %30 = load i64, ptr %8, align 8 %31 = add nsw i64 %30, %29 store i64 %31, ptr %8, align 8 br label %32 32: ; preds = %27, %20 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 %17, !llvm.loop !6 36: ; preds = %17 %37 = load i64, ptr %8, align 8 %38 = call i32 @printf(ptr noundef @.str, i64 noundef %37) %39 = load ptr, ptr %6, align 8 %40 = call i32 @free(ptr noundef %39) store i32 0, ptr %3, align 4 br label %41 41: ; preds = %36, %13 %42 = load i32, ptr %3, align 4 ret i32 %42 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @sieve(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1hbrr73d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"Sum: %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 0, ptr %8, align 8 %9 = call i64 @calloc(i32 noundef 2000000, i32 noundef 1) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %6, align 8 %11 = load ptr, ptr %6, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %14 13: ; preds = %2 store i32 1, ptr %3, align 4 br label %42 14: ; preds = %2 %15 = load ptr, ptr %6, align 8 %16 = call i32 @sieve(ptr noundef %15, i32 noundef 2000000) store i32 0, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = icmp slt i32 %17, 2000000 br i1 %18, label %.lr.ph, label %37 .lr.ph: ; preds = %14 br label %19 19: ; preds = %.lr.ph, %32 %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = icmp ne i8 %24, 0 br i1 %25, label %31, label %26 26: ; preds = %19 %27 = load i32, ptr %7, align 4 %28 = sext i32 %27 to i64 %29 = load i64, ptr %8, align 8 %30 = add nsw i64 %29, %28 store i64 %30, ptr %8, align 8 br label %31 31: ; preds = %26, %19 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 = icmp slt i32 %35, 2000000 br i1 %36, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %37 37: ; preds = %._crit_edge, %14 %38 = load i64, ptr %8, align 8 %39 = call i32 @printf(ptr noundef @.str, i64 noundef %38) %40 = load ptr, ptr %6, align 8 %41 = call i32 @free(ptr noundef %40) store i32 0, ptr %3, align 4 br label %42 42: ; preds = %37, %13 %43 = load i32, ptr %3, align 4 ret i32 %43 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @sieve(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmphqwkk7nt.c' source_filename = "/tmp/tmphqwkk7nt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lp_internal_iconfig(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = call ptr @lp_internal_sconfig(i32 noundef %7, ptr noundef %8) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %2 %13 = load ptr, ptr %6, align 8 %14 = call i32 @atoi(ptr noundef %13) store i32 %14, ptr %3, align 4 br label %16 15: ; preds = %2 store i32 0, ptr %3, align 4 br label %16 16: ; preds = %15, %12 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare ptr @lp_internal_sconfig(i32 noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphqwkk7nt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lp_internal_iconfig(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = call ptr @lp_internal_sconfig(i32 noundef %7, ptr noundef %8) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %2 %13 = load ptr, ptr %6, align 8 %14 = call i32 @atoi(ptr noundef %13) store i32 %14, ptr %3, align 4 br label %16 15: ; preds = %2 store i32 0, ptr %3, align 4 br label %16 16: ; preds = %15, %12 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare ptr @lp_internal_sconfig(i32 noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmxrc013a.c' source_filename = "/tmp/tmpmxrc013a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buf_add_str(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store i64 0, ptr %3, align 8 br label %4 4: ; preds = %16, %1 %5 = load ptr, ptr %2, align 8 %6 = load i64, ptr %3, align 8 %7 = getelementptr inbounds i8, ptr %5, i64 %6 %8 = load i8, ptr %7, align 1 %9 = icmp ne i8 %8, 0 br i1 %9, label %10, label %17 10: ; preds = %4 %11 = load ptr, ptr %2, align 8 %12 = call i32 @u_str_get_char(ptr noundef %11, ptr noundef %3) %13 = call i32 @buf_put_char(i32 noundef %12) %14 = icmp ne i32 %13, 0 br i1 %14, label %16, label %15 15: ; preds = %10 br label %17 16: ; preds = %10 br label %4, !llvm.loop !6 17: ; preds = %15, %4 ret void } declare i32 @buf_put_char(i32 noundef) #1 declare i32 @u_str_get_char(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/tmpmxrc013a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buf_add_str(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store i64 0, ptr %3, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i64, ptr %3, align 8 %6 = getelementptr inbounds i8, ptr %4, i64 %5 %7 = load i8, ptr %6, align 1 %8 = icmp ne i8 %7, 0 br i1 %8, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %1 br label %15 9: ; preds = %15 %10 = load ptr, ptr %2, align 8 %11 = load i64, ptr %3, align 8 %12 = getelementptr inbounds i8, ptr %10, i64 %11 %13 = load i8, ptr %12, align 1 %14 = icmp ne i8 %13, 0 br i1 %14, label %15, label %..loopexit_crit_edge, !llvm.loop !6 15: ; preds = %.lr.ph, %9 %16 = load ptr, ptr %2, align 8 %17 = call i32 @u_str_get_char(ptr noundef %16, ptr noundef %3) %18 = call i32 @buf_put_char(i32 noundef %17) %19 = icmp ne i32 %18, 0 br i1 %19, label %9, label %20 20: ; preds = %15 br label %21 ..loopexit_crit_edge: ; preds = %9 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %1 br label %21 21: ; preds = %.loopexit, %20 ret void } declare i32 @buf_put_char(i32 noundef) #1 declare i32 @u_str_get_char(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/tmpdthzk1o1.c' source_filename = "/tmp/tmpdthzk1o1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 (...) @rand() store i32 %9, ptr %8, align 4 %10 = load i32, ptr %8, align 4 %11 = icmp sge i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 (...) @rand() store i32 %13, ptr %7, align 4 store i32 42, ptr %6, align 4 br label %17 14: ; preds = %2 %15 = call i32 (...) @rand() %16 = call i32 (...) @rand() store i32 %16, ptr %7, align 4 store i32 7, ptr %6, align 4 br label %17 17: ; preds = %14, %12 %18 = load i32, ptr %6, align 4 ret i32 %18 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdthzk1o1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 (...) @rand() store i32 %9, ptr %8, align 4 %10 = load i32, ptr %8, align 4 %11 = icmp sge i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 (...) @rand() store i32 %13, ptr %7, align 4 store i32 42, ptr %6, align 4 br label %17 14: ; preds = %2 %15 = call i32 (...) @rand() %16 = call i32 (...) @rand() store i32 %16, ptr %7, align 4 store i32 7, ptr %6, align 4 br label %17 17: ; preds = %14, %12 %18 = load i32, ptr %6, align 4 ret i32 %18 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoz6c96_x.c' source_filename = "/tmp/tmpoz6c96_x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @towctrans(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp eq i32 %6, 1 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i32, ptr %4, align 4 %10 = call i32 @towupper(i32 noundef %9) store i32 %10, ptr %3, align 4 br label %19 11: ; preds = %2 %12 = load i32, ptr %5, align 4 %13 = icmp eq i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %11 %15 = load i32, ptr %4, align 4 %16 = call i32 @towlower(i32 noundef %15) store i32 %16, ptr %3, align 4 br label %19 17: ; preds = %11 %18 = load i32, ptr %4, align 4 store i32 %18, ptr %3, align 4 br label %19 19: ; preds = %17, %14, %8 %20 = load i32, ptr %3, align 4 ret i32 %20 } declare i32 @towupper(i32 noundef) #1 declare i32 @towlower(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/tmpoz6c96_x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @towctrans(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp eq i32 %6, 1 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i32, ptr %4, align 4 %10 = call i32 @towupper(i32 noundef %9) store i32 %10, ptr %3, align 4 br label %19 11: ; preds = %2 %12 = load i32, ptr %5, align 4 %13 = icmp eq i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %11 %15 = load i32, ptr %4, align 4 %16 = call i32 @towlower(i32 noundef %15) store i32 %16, ptr %3, align 4 br label %19 17: ; preds = %11 %18 = load i32, ptr %4, align 4 store i32 %18, ptr %3, align 4 br label %19 19: ; preds = %17, %14, %8 %20 = load i32, ptr %3, align 4 ret i32 %20 } declare i32 @towupper(i32 noundef) #1 declare i32 @towlower(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/tmp6hu6f6mi.c' source_filename = "/tmp/tmp6hu6f6mi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ERR_LIB_SSL = dso_local global i32 0, align 4 @ERR_R_ASN1_LIB = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @SSL_use_RSAPrivateKey_ASN1(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %11 = load ptr, ptr %6, align 8 store ptr %11, ptr %9, align 8 %12 = load i64, ptr %7, align 8 %13 = call ptr @d2i_RSAPrivateKey(ptr noundef null, ptr noundef %9, i64 noundef %12) store ptr %13, ptr %10, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %19 15: ; preds = %3 %16 = load i32, ptr @ERR_LIB_SSL, align 4 %17 = load i32, ptr @ERR_R_ASN1_LIB, align 4 %18 = call i32 @ERR_raise(i32 noundef %16, i32 noundef %17) store i32 0, ptr %4, align 4 br label %26 19: ; preds = %3 %20 = load ptr, ptr %5, align 8 %21 = load ptr, ptr %10, align 8 %22 = call i32 @SSL_use_RSAPrivateKey(ptr noundef %20, ptr noundef %21) store i32 %22, ptr %8, align 4 %23 = load ptr, ptr %10, align 8 %24 = call i32 @RSA_free(ptr noundef %23) %25 = load i32, ptr %8, align 4 store i32 %25, ptr %4, align 4 br label %26 26: ; preds = %19, %15 %27 = load i32, ptr %4, align 4 ret i32 %27 } declare ptr @d2i_RSAPrivateKey(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @ERR_raise(i32 noundef, i32 noundef) #1 declare i32 @SSL_use_RSAPrivateKey(ptr noundef, ptr noundef) #1 declare i32 @RSA_free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6hu6f6mi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ERR_LIB_SSL = dso_local global i32 0, align 4 @ERR_R_ASN1_LIB = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @SSL_use_RSAPrivateKey_ASN1(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %11 = load ptr, ptr %6, align 8 store ptr %11, ptr %9, align 8 %12 = load i64, ptr %7, align 8 %13 = call ptr @d2i_RSAPrivateKey(ptr noundef null, ptr noundef %9, i64 noundef %12) store ptr %13, ptr %10, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %19 15: ; preds = %3 %16 = load i32, ptr @ERR_LIB_SSL, align 4 %17 = load i32, ptr @ERR_R_ASN1_LIB, align 4 %18 = call i32 @ERR_raise(i32 noundef %16, i32 noundef %17) store i32 0, ptr %4, align 4 br label %26 19: ; preds = %3 %20 = load ptr, ptr %5, align 8 %21 = load ptr, ptr %10, align 8 %22 = call i32 @SSL_use_RSAPrivateKey(ptr noundef %20, ptr noundef %21) store i32 %22, ptr %8, align 4 %23 = load ptr, ptr %10, align 8 %24 = call i32 @RSA_free(ptr noundef %23) %25 = load i32, ptr %8, align 4 store i32 %25, ptr %4, align 4 br label %26 26: ; preds = %19, %15 %27 = load i32, ptr %4, align 4 ret i32 %27 } declare ptr @d2i_RSAPrivateKey(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @ERR_raise(i32 noundef, i32 noundef) #1 declare i32 @SSL_use_RSAPrivateKey(ptr noundef, ptr noundef) #1 declare i32 @RSA_free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmploqpdf_6.c' source_filename = "/tmp/tmploqpdf_6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Child: pid = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"Parent: pid = %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Parent exits\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 store i32 0, ptr %1, align 4 %5 = call i32 (...) @fork() store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %21 8: ; preds = %0 %9 = call i32 (...) @getpid() %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9) store i32 0, ptr %3, align 4 br label %11 11: ; preds = %17, %8 %12 = load i32, ptr %3, align 4 %13 = icmp slt i32 %12, 10 br i1 %13, label %14, label %20 14: ; preds = %11 %15 = call i32 (...) @status() %16 = call i32 (...) @resign() br label %17 17: ; preds = %14 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 br label %11, !llvm.loop !6 20: ; preds = %11 br label %36 21: ; preds = %0 %22 = call i32 (...) @getpid() %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %22) store i32 0, ptr %4, align 4 br label %24 24: ; preds = %30, %21 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %25, 3 br i1 %26, label %27, label %33 27: ; preds = %24 %28 = call i32 (...) @status() %29 = call i32 (...) @resign() br label %30 30: ; preds = %27 %31 = load i32, ptr %4, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %4, align 4 br label %24, !llvm.loop !8 33: ; preds = %24 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %35 = call i32 @exit(i32 noundef 0) #3 unreachable 36: ; preds = %20 %37 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @fork(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @status(...) #1 declare i32 @resign(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmploqpdf_6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Child: pid = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"Parent: pid = %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Parent exits\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 store i32 0, ptr %1, align 4 %5 = call i32 (...) @fork() store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %22 8: ; preds = %0 %9 = call i32 (...) @getpid() %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9) store i32 0, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %11, 10 br i1 %12, label %.lr.ph2, label %21 .lr.ph2: ; preds = %8 br label %13 13: ; preds = %.lr.ph2, %16 %14 = call i32 (...) @status() %15 = call i32 (...) @resign() br label %16 16: ; preds = %13 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %3, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp slt i32 %19, 10 br i1 %20, label %13, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %16 br label %21 21: ; preds = %._crit_edge3, %8 br label %38 22: ; preds = %0 %23 = call i32 (...) @getpid() %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %23) store i32 0, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %25, 3 br i1 %26, label %.lr.ph, label %35 .lr.ph: ; preds = %22 br label %27 27: ; preds = %.lr.ph, %30 %28 = call i32 (...) @status() %29 = call i32 (...) @resign() br label %30 30: ; preds = %27 %31 = load i32, ptr %4, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %4, align 4 %33 = load i32, ptr %4, align 4 %34 = icmp slt i32 %33, 3 br i1 %34, label %27, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %30 br label %35 35: ; preds = %._crit_edge, %22 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %37 = call i32 @exit(i32 noundef 0) #3 unreachable 38: ; preds = %21 %39 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @fork(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @status(...) #1 declare i32 @resign(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpbhuzy3me.c' source_filename = "/tmp/tmpbhuzy3me.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (...) @__VERIFIER_nondet_int() store i32 %4, ptr %3, align 4 store i32 0, ptr %2, align 4 br label %5 5: ; preds = %13, %0 %6 = load i32, ptr %3, align 4 %7 = icmp sgt i32 %6, 1 br i1 %7, label %8, label %11 8: ; preds = %5 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %9, 100 br label %11 11: ; preds = %8, %5 %12 = phi i1 [ false, %5 ], [ %10, %8 ] br i1 %12, label %13, label %19 13: ; preds = %11 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %3, align 4 %16 = mul nsw i32 %14, %15 store i32 %16, ptr %3, align 4 %17 = load i32, ptr %2, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %2, align 4 br label %5, !llvm.loop !6 19: ; preds = %11 ret i32 0 } declare i32 @__VERIFIER_nondet_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbhuzy3me.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (...) @__VERIFIER_nondet_int() store i32 %4, ptr %3, align 4 store i32 0, ptr %2, align 4 br label %5 5: ; preds = %13, %0 %6 = load i32, ptr %3, align 4 %7 = icmp sgt i32 %6, 1 br i1 %7, label %8, label %11 8: ; preds = %5 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %9, 100 br label %11 11: ; preds = %8, %5 %12 = phi i1 [ false, %5 ], [ %10, %8 ] br i1 %12, label %13, label %19 13: ; preds = %11 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %3, align 4 %16 = mul nsw i32 %14, %15 store i32 %16, ptr %3, align 4 %17 = load i32, ptr %2, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %2, align 4 br label %5, !llvm.loop !6 19: ; preds = %11 ret i32 0 } declare i32 @__VERIFIER_nondet_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpojsk1zu3.c' source_filename = "/tmp/tmpojsk1zu3.c" target datalayout = "e-m:e-p270: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/tmpojsk1zu3.c" target datalayout = "e-m:e-p270: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/tmpco1x8ss1.c' source_filename = "/tmp/tmpco1x8ss1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [150 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/GaomingPan/wifidog-gateway/refs/heads/master/src/firewall.c\00", align 1 @LOG_INFO = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"Setting the authservers list\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fw_set_authservers() #0 { %1 = load i32, ptr @LOG_INFO, align 4 %2 = call i32 @_debug(ptr noundef @.str, i32 noundef 236, i32 noundef %1, ptr noundef @.str.1) %3 = call i32 (...) @iptables_fw_set_authservers() ret void } declare i32 @_debug(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @iptables_fw_set_authservers(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpco1x8ss1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [150 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/GaomingPan/wifidog-gateway/refs/heads/master/src/firewall.c\00", align 1 @LOG_INFO = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"Setting the authservers list\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fw_set_authservers() #0 { %1 = load i32, ptr @LOG_INFO, align 4 %2 = call i32 @_debug(ptr noundef @.str, i32 noundef 236, i32 noundef %1, ptr noundef @.str.1) %3 = call i32 (...) @iptables_fw_set_authservers() ret void } declare i32 @_debug(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @iptables_fw_set_authservers(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpno80z8li.c' source_filename = "/tmp/tmpno80z8li.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello world, this binary's execution is okay\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpno80z8li.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello world, this binary's execution is okay\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzpn6ymom.c' source_filename = "/tmp/tmpzpn6ymom.c" target datalayout = "e-m:e-p270: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/tmpzpn6ymom.c" target datalayout = "e-m:e-p270: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/tmpqb8_svdm.c' source_filename = "/tmp/tmpqb8_svdm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d,%d,%d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"#\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @rgb_hexi() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2, ptr noundef %3) %5 = call i32 @printf(ptr noundef @.str.1) %6 = load i32, ptr %1, align 4 %7 = call i32 @conversion(i32 noundef %6) %8 = load i32, ptr %2, align 4 %9 = call i32 @conversion(i32 noundef %8) %10 = load i32, ptr %3, align 4 %11 = call i32 @conversion(i32 noundef %10) ret void } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @conversion(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/tmpqb8_svdm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d,%d,%d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"#\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @rgb_hexi() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2, ptr noundef %3) %5 = call i32 @printf(ptr noundef @.str.1) %6 = load i32, ptr %1, align 4 %7 = call i32 @conversion(i32 noundef %6) %8 = load i32, ptr %2, align 4 %9 = call i32 @conversion(i32 noundef %8) %10 = load i32, ptr %3, align 4 %11 = call i32 @conversion(i32 noundef %10) ret void } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @conversion(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/tmppz6zergs.c' source_filename = "/tmp/tmppz6zergs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [160 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/misty-fungus/ejudge-debian/refs/heads/master/win32/reuse_attachfile.c\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"os_AttachFILE: bad mode: %s\00", align 1 @.str.3 = private unnamed_addr constant [46 x i8] c"os_AttachFILE: _open_osfhandle(%u, %u) failed\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"os_AttachFILE: fd = %d\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"_fdopen failed\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @os_AttachFILE(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %9 = load ptr, ptr %5, align 8 %10 = call i32 @strcmp(ptr noundef %9, ptr noundef @.str) %11 = icmp ne i32 %10, 0 br i1 %11, label %16, label %12 12: ; preds = %2 %13 = load i32, ptr @O_RDONLY, align 4 %14 = load i32, ptr %6, align 4 %15 = or i32 %14, %13 store i32 %15, ptr %6, align 4 br label %22 16: ; preds = %2 br label %17 17: ; preds = %16 %18 = call i32 @swerr_SetPos(ptr noundef @.str.1, i32 noundef 39) %19 = load ptr, ptr %5, align 8 %20 = call i32 @swerr1(ptr noundef @.str.2, ptr noundef %19) br label %21 21: ; preds = %17 br label %22 22: ; preds = %21, %12 %23 = load i32, ptr %4, align 4 %24 = load i32, ptr %6, align 4 %25 = call i32 @_open_osfhandle(i32 noundef %23, i32 noundef %24) store i32 %25, ptr %7, align 4 %26 = load i32, ptr %7, align 4 %27 = icmp slt i32 %26, 0 br i1 %27, label %28, label %32 28: ; preds = %22 %29 = load i32, ptr %4, align 4 %30 = load i32, ptr %6, align 4 %31 = call i32 (i32, i32, ptr, ...) @write_log(i32 noundef 3, i32 noundef 5, ptr noundef @.str.3, i32 noundef %29, i32 noundef %30) store ptr null, ptr %3, align 8 br label %44 32: ; preds = %22 %33 = load i32, ptr %7, align 4 %34 = call i32 (i32, i32, ptr, ...) @write_log(i32 noundef 3, i32 noundef 1, ptr noundef @.str.4, i32 noundef %33) %35 = load i32, ptr %7, align 4 %36 = load ptr, ptr %5, align 8 %37 = call ptr @_fdopen(i32 noundef %35, ptr noundef %36) store ptr %37, ptr %8, align 8 %38 = load ptr, ptr %8, align 8 %39 = icmp ne ptr %38, null br i1 %39, label %42, label %40 40: ; preds = %32 %41 = call i32 (i32, i32, ptr, ...) @write_log(i32 noundef 3, i32 noundef 1, ptr noundef @.str.5) store ptr null, ptr %3, align 8 br label %44 42: ; preds = %32 %43 = load ptr, ptr %8, align 8 store ptr %43, ptr %3, align 8 br label %44 44: ; preds = %42, %40, %28 %45 = load ptr, ptr %3, align 8 ret ptr %45 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @swerr_SetPos(ptr noundef, i32 noundef) #1 declare i32 @swerr1(ptr noundef, ptr noundef) #1 declare i32 @_open_osfhandle(i32 noundef, i32 noundef) #1 declare i32 @write_log(i32 noundef, i32 noundef, ptr noundef, ...) #1 declare ptr @_fdopen(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppz6zergs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [160 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/misty-fungus/ejudge-debian/refs/heads/master/win32/reuse_attachfile.c\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"os_AttachFILE: bad mode: %s\00", align 1 @.str.3 = private unnamed_addr constant [46 x i8] c"os_AttachFILE: _open_osfhandle(%u, %u) failed\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"os_AttachFILE: fd = %d\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"_fdopen failed\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @os_AttachFILE(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %9 = load ptr, ptr %5, align 8 %10 = call i32 @strcmp(ptr noundef %9, ptr noundef @.str) %11 = icmp ne i32 %10, 0 br i1 %11, label %16, label %12 12: ; preds = %2 %13 = load i32, ptr @O_RDONLY, align 4 %14 = load i32, ptr %6, align 4 %15 = or i32 %14, %13 store i32 %15, ptr %6, align 4 br label %22 16: ; preds = %2 br label %17 17: ; preds = %16 %18 = call i32 @swerr_SetPos(ptr noundef @.str.1, i32 noundef 39) %19 = load ptr, ptr %5, align 8 %20 = call i32 @swerr1(ptr noundef @.str.2, ptr noundef %19) br label %21 21: ; preds = %17 br label %22 22: ; preds = %21, %12 %23 = load i32, ptr %4, align 4 %24 = load i32, ptr %6, align 4 %25 = call i32 @_open_osfhandle(i32 noundef %23, i32 noundef %24) store i32 %25, ptr %7, align 4 %26 = load i32, ptr %7, align 4 %27 = icmp slt i32 %26, 0 br i1 %27, label %28, label %32 28: ; preds = %22 %29 = load i32, ptr %4, align 4 %30 = load i32, ptr %6, align 4 %31 = call i32 (i32, i32, ptr, ...) @write_log(i32 noundef 3, i32 noundef 5, ptr noundef @.str.3, i32 noundef %29, i32 noundef %30) store ptr null, ptr %3, align 8 br label %44 32: ; preds = %22 %33 = load i32, ptr %7, align 4 %34 = call i32 (i32, i32, ptr, ...) @write_log(i32 noundef 3, i32 noundef 1, ptr noundef @.str.4, i32 noundef %33) %35 = load i32, ptr %7, align 4 %36 = load ptr, ptr %5, align 8 %37 = call ptr @_fdopen(i32 noundef %35, ptr noundef %36) store ptr %37, ptr %8, align 8 %38 = load ptr, ptr %8, align 8 %39 = icmp ne ptr %38, null br i1 %39, label %42, label %40 40: ; preds = %32 %41 = call i32 (i32, i32, ptr, ...) @write_log(i32 noundef 3, i32 noundef 1, ptr noundef @.str.5) store ptr null, ptr %3, align 8 br label %44 42: ; preds = %32 %43 = load ptr, ptr %8, align 8 store ptr %43, ptr %3, align 8 br label %44 44: ; preds = %42, %40, %28 %45 = load ptr, ptr %3, align 8 ret ptr %45 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @swerr_SetPos(ptr noundef, i32 noundef) #1 declare i32 @swerr1(ptr noundef, ptr noundef) #1 declare i32 @_open_osfhandle(i32 noundef, i32 noundef) #1 declare i32 @write_log(i32 noundef, i32 noundef, ptr noundef, ...) #1 declare ptr @_fdopen(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphmq0706j.c' source_filename = "/tmp/tmphmq0706j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" % \00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c" -> \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mod(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = call i32 @printd(i32 noundef %5) %7 = call i32 @print(ptr noundef @.str) %8 = load i32, ptr %4, align 4 %9 = call i32 @printd(i32 noundef %8) %10 = call i32 @print(ptr noundef @.str.1) %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %4, align 4 %13 = srem i32 %11, %12 %14 = call i32 @printd(i32 noundef %13) %15 = call i32 @print(ptr noundef @.str.2) ret void } declare i32 @printd(i32 noundef) #1 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/tmphmq0706j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" % \00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c" -> \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mod(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = call i32 @printd(i32 noundef %5) %7 = call i32 @print(ptr noundef @.str) %8 = load i32, ptr %4, align 4 %9 = call i32 @printd(i32 noundef %8) %10 = call i32 @print(ptr noundef @.str.1) %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %4, align 4 %13 = srem i32 %11, %12 %14 = call i32 @printd(i32 noundef %13) %15 = call i32 @print(ptr noundef @.str.2) ret void } declare i32 @printd(i32 noundef) #1 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/tmp8am0usdd.c' source_filename = "/tmp/tmp8am0usdd.c" target datalayout = "e-m:e-p270: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/tmp8am0usdd.c" target datalayout = "e-m:e-p270: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/tmp1jl1sw30.c' source_filename = "/tmp/tmp1jl1sw30.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [48 x i8] c"urn:schemas-upnp-org:service:ContentDirectory:1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @RNDGetService_ContentDirectory(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 ptr @RNDGetService(ptr noundef %3, ptr noundef @.str, i32 noundef 47) ret ptr %4 } declare ptr @RNDGetService(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/tmp1jl1sw30.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [48 x i8] c"urn:schemas-upnp-org:service:ContentDirectory:1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @RNDGetService_ContentDirectory(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 ptr @RNDGetService(ptr noundef %3, ptr noundef @.str, i32 noundef 47) ret ptr %4 } declare ptr @RNDGetService(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/tmppzospekm.c' source_filename = "/tmp/tmppzospekm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @count_char(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i8 %1, ptr %5, align 1 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %11, label %10 10: ; preds = %2 store i32 0, ptr %3, align 4 br label %36 11: ; preds = %2 store i32 0, ptr %7, align 4 store i32 0, ptr %6, align 4 br label %12 12: ; preds = %31, %11 %13 = load i32, ptr %6, align 4 %14 = load ptr, ptr %4, align 8 %15 = call i32 @strlen(ptr noundef %14) %16 = icmp slt i32 %13, %15 br i1 %16, label %17, label %34 17: ; preds = %12 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = load i8, ptr %5, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %23, %25 br i1 %26, label %27, label %30 27: ; preds = %17 %28 = load i32, ptr %7, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %7, align 4 br label %30 30: ; preds = %27, %17 br label %31 31: ; preds = %30 %32 = load i32, ptr %6, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %6, align 4 br label %12, !llvm.loop !6 34: ; preds = %12 %35 = load i32, ptr %7, align 4 store i32 %35, ptr %3, align 4 br label %36 36: ; preds = %34, %10 %37 = load i32, ptr %3, align 4 ret i32 %37 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppzospekm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @count_char(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i8 %1, ptr %5, align 1 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %11, label %10 10: ; preds = %2 store i32 0, ptr %3, align 4 br label %39 11: ; preds = %2 store i32 0, ptr %7, align 4 store i32 0, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = load ptr, ptr %4, align 8 %14 = call i32 @strlen(ptr noundef %13) %15 = icmp slt i32 %12, %14 br i1 %15, label %.lr.ph, label %37 .lr.ph: ; preds = %11 br label %16 16: ; preds = %.lr.ph, %30 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = load i8, ptr %5, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %22, %24 br i1 %25, label %26, label %29 26: ; preds = %16 %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %7, align 4 br label %29 29: ; preds = %26, %16 br label %30 30: ; preds = %29 %31 = load i32, ptr %6, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %6, align 4 %33 = load i32, ptr %6, align 4 %34 = load ptr, ptr %4, align 8 %35 = call i32 @strlen(ptr noundef %34) %36 = icmp slt i32 %33, %35 br i1 %36, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %37 37: ; preds = %._crit_edge, %11 %38 = load i32, ptr %7, align 4 store i32 %38, ptr %3, align 4 br label %39 39: ; preds = %37, %10 %40 = load i32, ptr %3, align 4 ret i32 %40 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpzc8n16pv.c' source_filename = "/tmp/tmpzc8n16pv.c" target datalayout = "e-m:e-p270: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_PROJECTION = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @skaliraj(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store float 5.000000e-01, ptr %5, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = call i32 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %7, i32 noundef %8) %10 = load i32, ptr @GL_PROJECTION, align 4 %11 = call i32 @glMatrixMode(i32 noundef %10) %12 = call i32 (...) @glLoadIdentity() %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp sgt i32 %13, %14 br i1 %15, label %16, label %30 16: ; preds = %2 %17 = load float, ptr %5, align 4 %18 = load i32, ptr %3, align 4 %19 = sitofp i32 %18 to float %20 = fmul float %17, %19 %21 = load i32, ptr %4, align 4 %22 = sitofp i32 %21 to float %23 = fdiv float %20, %22 store float %23, ptr %6, align 4 %24 = load float, ptr %6, align 4 %25 = fmul float 2.000000e+00, %24 %26 = load float, ptr %5, align 4 %27 = fneg float %26 %28 = load float, ptr %5, align 4 %29 = call i32 @gluOrtho2D(float noundef 0.000000e+00, float noundef %25, float noundef %27, float noundef %28) br label %44 30: ; preds = %2 %31 = load float, ptr %5, align 4 %32 = load i32, ptr %4, align 4 %33 = sitofp i32 %32 to float %34 = fmul float %31, %33 %35 = load i32, ptr %3, align 4 %36 = sitofp i32 %35 to float %37 = fdiv float %34, %36 store float %37, ptr %6, align 4 %38 = load float, ptr %5, align 4 %39 = fmul float 2.000000e+00, %38 %40 = load float, ptr %6, align 4 %41 = fneg float %40 %42 = load float, ptr %6, align 4 %43 = call i32 @gluOrtho2D(float noundef 0.000000e+00, float noundef %39, float noundef %41, float noundef %42) br label %44 44: ; preds = %30, %16 ret void } declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @glMatrixMode(i32 noundef) #1 declare i32 @glLoadIdentity(...) #1 declare i32 @gluOrtho2D(float noundef, float noundef, float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzc8n16pv.c" target datalayout = "e-m:e-p270: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_PROJECTION = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @skaliraj(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store float 5.000000e-01, ptr %5, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = call i32 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %7, i32 noundef %8) %10 = load i32, ptr @GL_PROJECTION, align 4 %11 = call i32 @glMatrixMode(i32 noundef %10) %12 = call i32 (...) @glLoadIdentity() %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp sgt i32 %13, %14 br i1 %15, label %16, label %30 16: ; preds = %2 %17 = load float, ptr %5, align 4 %18 = load i32, ptr %3, align 4 %19 = sitofp i32 %18 to float %20 = fmul float %17, %19 %21 = load i32, ptr %4, align 4 %22 = sitofp i32 %21 to float %23 = fdiv float %20, %22 store float %23, ptr %6, align 4 %24 = load float, ptr %6, align 4 %25 = fmul float 2.000000e+00, %24 %26 = load float, ptr %5, align 4 %27 = fneg float %26 %28 = load float, ptr %5, align 4 %29 = call i32 @gluOrtho2D(float noundef 0.000000e+00, float noundef %25, float noundef %27, float noundef %28) br label %44 30: ; preds = %2 %31 = load float, ptr %5, align 4 %32 = load i32, ptr %4, align 4 %33 = sitofp i32 %32 to float %34 = fmul float %31, %33 %35 = load i32, ptr %3, align 4 %36 = sitofp i32 %35 to float %37 = fdiv float %34, %36 store float %37, ptr %6, align 4 %38 = load float, ptr %5, align 4 %39 = fmul float 2.000000e+00, %38 %40 = load float, ptr %6, align 4 %41 = fneg float %40 %42 = load float, ptr %6, align 4 %43 = call i32 @gluOrtho2D(float noundef 0.000000e+00, float noundef %39, float noundef %41, float noundef %42) br label %44 44: ; preds = %30, %16 ret void } declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @glMatrixMode(i32 noundef) #1 declare i32 @glLoadIdentity(...) #1 declare i32 @gluOrtho2D(float noundef, float noundef, float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppeo4sspi.c' source_filename = "/tmp/tmppeo4sspi.c" target datalayout = "e-m:e-p270: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/tmppeo4sspi.c" target datalayout = "e-m:e-p270: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/tmpx7bb75k6.c' source_filename = "/tmp/tmpx7bb75k6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalpha.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isalpha should be 0 for 0xd5\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalpha_0xd5() #0 { %1 = call i64 @isalpha(i32 noundef 213) %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 1070, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isalpha(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx7bb75k6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalpha.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isalpha should be 0 for 0xd5\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalpha_0xd5() #0 { %1 = call i64 @isalpha(i32 noundef 213) %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 1070, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isalpha(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqiqyzl7t.c' source_filename = "/tmp/tmpqiqyzl7t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pos(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %12, label %9 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %13 12: ; preds = %9, %2 store i32 0, ptr %3, align 4 br label %28 13: ; preds = %9 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %4, align 8 %16 = call ptr @strstr(ptr noundef %14, ptr noundef %15) store ptr %16, ptr %6, align 8 %17 = load ptr, ptr %6, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %20 19: ; preds = %13 store i32 0, ptr %3, align 4 br label %28 20: ; preds = %13 %21 = load ptr, ptr %6, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 1 %23 = load ptr, ptr %5, align 8 %24 = ptrtoint ptr %22 to i64 %25 = ptrtoint ptr %23 to i64 %26 = sub i64 %24, %25 %27 = trunc i64 %26 to i32 store i32 %27, ptr %3, align 4 br label %28 28: ; preds = %20, %19, %12 %29 = load i32, ptr %3, align 4 ret i32 %29 } declare ptr @strstr(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqiqyzl7t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pos(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %12, label %9 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %13 12: ; preds = %9, %2 store i32 0, ptr %3, align 4 br label %28 13: ; preds = %9 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %4, align 8 %16 = call ptr @strstr(ptr noundef %14, ptr noundef %15) store ptr %16, ptr %6, align 8 %17 = load ptr, ptr %6, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %20 19: ; preds = %13 store i32 0, ptr %3, align 4 br label %28 20: ; preds = %13 %21 = load ptr, ptr %6, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 1 %23 = load ptr, ptr %5, align 8 %24 = ptrtoint ptr %22 to i64 %25 = ptrtoint ptr %23 to i64 %26 = sub i64 %24, %25 %27 = trunc i64 %26 to i32 store i32 %27, ptr %3, align 4 br label %28 28: ; preds = %20, %19, %12 %29 = load i32, ptr %3, align 4 ret i32 %29 } declare ptr @strstr(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb6_owdpq.c' source_filename = "/tmp/tmpb6_owdpq.c" target datalayout = "e-m:e-p270: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 [70 x i8] c"Usage: gpcheckmult [-ip d/s[dr]] [-silent] [-v] [-l/-h] [-m maxeqns]\0A\00", align 1 @.str.1 = private unnamed_addr constant [62 x i8] c"\09\09[-ow] [-mwd maxwdiffs] [-cos] [-wtlex] groupname [cosname]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @badusage() #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 = 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/tmpb6_owdpq.c" target datalayout = "e-m:e-p270: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 [70 x i8] c"Usage: gpcheckmult [-ip d/s[dr]] [-silent] [-v] [-l/-h] [-m maxeqns]\0A\00", align 1 @.str.1 = private unnamed_addr constant [62 x i8] c"\09\09[-ow] [-mwd maxwdiffs] [-cos] [-wtlex] groupname [cosname]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @badusage() #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 = 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/tmpnxhv3_vj.c' source_filename = "/tmp/tmpnxhv3_vj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @sinc(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %3, align 8 %4 = load double, ptr %3, align 8 %5 = call double @llvm.fabs.f64(double %4) %6 = fcmp olt double %5, 0x3EB0C6F7A0B5ED8D br i1 %6, label %7, label %8 7: ; preds = %1 store double 1.000000e+00, ptr %2, align 8 br label %13 8: ; preds = %1 %9 = load double, ptr %3, align 8 %10 = call double @sin(double noundef %9) #3 %11 = load double, ptr %3, align 8 %12 = fdiv double %10, %11 store double %12, ptr %2, align 8 br label %13 13: ; preds = %8, %7 %14 = load double, ptr %2, align 8 ret double %14 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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/tmpnxhv3_vj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @sinc(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %3, align 8 %4 = load double, ptr %3, align 8 %5 = call double @llvm.fabs.f64(double %4) %6 = fcmp olt double %5, 0x3EB0C6F7A0B5ED8D br i1 %6, label %7, label %8 7: ; preds = %1 store double 1.000000e+00, ptr %2, align 8 br label %13 8: ; preds = %1 %9 = load double, ptr %3, align 8 %10 = call double @sin(double noundef %9) #3 %11 = load double, ptr %3, align 8 %12 = fdiv double %10, %11 store double %12, ptr %2, align 8 br label %13 13: ; preds = %8, %7 %14 = load double, ptr %2, align 8 ret double %14 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { 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/tmpo_vnk6mz.c' source_filename = "/tmp/tmpo_vnk6mz.c" target datalayout = "e-m:e-p270: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/tmpo_vnk6mz.c" target datalayout = "e-m:e-p270: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/tmpt10rubzc.c' source_filename = "/tmp/tmpt10rubzc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"\09&%s = %p\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"stupid_integer\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"\09%s = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @stupid_definition() #0 { %1 = alloca i32, align 4 store i32 3, ptr %1, align 4 %2 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %1) %3 = load i32, ptr %1, align 4 %4 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef %3) ret void } declare i32 @printf(ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt10rubzc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"\09&%s = %p\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"stupid_integer\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"\09%s = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @stupid_definition() #0 { %1 = alloca i32, align 4 store i32 3, ptr %1, align 4 %2 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %1) %3 = load i32, ptr %1, align 4 %4 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef %3) ret void } declare i32 @printf(ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprf1lhxz5.c' source_filename = "/tmp/tmprf1lhxz5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add_next_float64(ptr noundef %0, double noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca double, align 8 store ptr %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @get_type_length(i32 noundef 1) %7 = call i32 @add_next_param(ptr noundef %5, i32 noundef 1, i32 noundef %6, ptr noundef %4) ret i32 %7 } declare i32 @add_next_param(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @get_type_length(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/tmprf1lhxz5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add_next_float64(ptr noundef %0, double noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca double, align 8 store ptr %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @get_type_length(i32 noundef 1) %7 = call i32 @add_next_param(ptr noundef %5, i32 noundef 1, i32 noundef %6, ptr noundef %4) ret i32 %7 } declare i32 @add_next_param(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @get_type_length(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/tmpyffrrxzj.c' source_filename = "/tmp/tmpyffrrxzj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_tagged_nonint_enum3(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 ret i32 %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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyffrrxzj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_tagged_nonint_enum3(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 ret i32 %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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6jsom3gm.c' source_filename = "/tmp/tmp6jsom3gm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CMS_SignedData_init(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i64 @cms_signed_data_init(ptr noundef %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %9 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %9 9: ; preds = %8, %7 %10 = load i32, ptr %2, align 4 ret i32 %10 } declare i64 @cms_signed_data_init(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6jsom3gm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CMS_SignedData_init(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i64 @cms_signed_data_init(ptr noundef %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %9 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %9 9: ; preds = %8, %7 %10 = load i32, ptr %2, align 4 ret i32 %10 } declare i64 @cms_signed_data_init(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpglbg88q5.c' source_filename = "/tmp/tmpglbg88q5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPC_CREAT = dso_local global i32 0, align 4 @IPC_EXCL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @crearshm(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = call i32 @getkey(i32 noundef %6) store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr @IPC_CREAT, align 4 %11 = load i32, ptr @IPC_EXCL, align 4 %12 = or i32 %10, %11 %13 = or i32 %12, 432 %14 = call i32 @shmget(i32 noundef %8, i32 noundef %9, i32 noundef %13) ret i32 %14 } declare i32 @getkey(i32 noundef) #1 declare i32 @shmget(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/tmpglbg88q5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPC_CREAT = dso_local global i32 0, align 4 @IPC_EXCL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @crearshm(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = call i32 @getkey(i32 noundef %6) store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr @IPC_CREAT, align 4 %11 = load i32, ptr @IPC_EXCL, align 4 %12 = or i32 %10, %11 %13 = or i32 %12, 432 %14 = call i32 @shmget(i32 noundef %8, i32 noundef %9, i32 noundef %13) ret i32 %14 } declare i32 @getkey(i32 noundef) #1 declare i32 @shmget(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/tmpk99xzui6.c' source_filename = "/tmp/tmpk99xzui6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [53 x i8] c"<cannot display line due to unprintable characters>\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [240 x i8] c"Error - malformed input line:\0A%s\0AExpected integral values in range [0, 2^31-1], in format:\0A \22pid arrival cpu-burst (io-burst) cpu-burst (io-burst) ... cpu-burst\22\0A (every process having between 1 and %d bursts, ending on a CPU burst)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error_malformed_input_line(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %43, %1 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = icmp slt i32 %5, %7 br i1 %8, label %9, label %46 9: ; preds = %4 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp sge i32 %15, 32 br i1 %16, label %17, label %25 17: ; preds = %9 %18 = load ptr, ptr %2, align 8 %19 = load i32, ptr %3, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp sle i32 %23, 126 br i1 %24, label %42, label %25 25: ; preds = %17, %9 %26 = load ptr, ptr %2, align 8 %27 = load i32, ptr %3, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 9 br i1 %32, label %42, label %33 33: ; preds = %25 %34 = load ptr, ptr %2, align 8 %35 = load i32, ptr %3, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 10 br i1 %40, label %42, label %41 41: ; preds = %33 store ptr @.str, ptr %2, align 8 br label %46 42: ; preds = %33, %25, %17 br label %43 43: ; preds = %42 %44 = load i32, ptr %3, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %3, align 4 br label %4, !llvm.loop !6 46: ; preds = %41, %4 %47 = load i32, ptr @stderr, align 4 %48 = load ptr, ptr %2, align 8 %49 = call i32 @fprintf(i32 noundef %47, ptr noundef @.str.1, ptr noundef %48, i32 noundef 1000) %50 = call i32 @exit(i32 noundef -1) #3 unreachable } declare i32 @strlen(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk99xzui6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [53 x i8] c"<cannot display line due to unprintable characters>\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [240 x i8] c"Error - malformed input line:\0A%s\0AExpected integral values in range [0, 2^31-1], in format:\0A \22pid arrival cpu-burst (io-burst) cpu-burst (io-burst) ... cpu-burst\22\0A (every process having between 1 and %d bursts, ending on a CPU burst)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error_malformed_input_line(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = icmp slt i32 %4, %6 br i1 %7, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %42 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %3, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp sge i32 %14, 32 br i1 %15, label %16, label %24 16: ; preds = %8 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %3, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp sle i32 %22, 126 br i1 %23, label %41, label %24 24: ; preds = %16, %8 %25 = load ptr, ptr %2, align 8 %26 = load i32, ptr %3, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 9 br i1 %31, label %41, label %32 32: ; preds = %24 %33 = load ptr, ptr %2, align 8 %34 = load i32, ptr %3, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp eq i32 %38, 10 br i1 %39, label %41, label %40 40: ; preds = %32 store ptr @.str, ptr %2, align 8 br label %49 41: ; preds = %32, %24, %16 br label %42 42: ; preds = %41 %43 = load i32, ptr %3, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %3, align 4 %45 = load i32, ptr %3, align 4 %46 = load ptr, ptr %2, align 8 %47 = call i32 @strlen(ptr noundef %46) %48 = icmp slt i32 %45, %47 br i1 %48, label %8, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %42 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %1 br label %49 49: ; preds = %.loopexit, %40 %50 = load i32, ptr @stderr, align 4 %51 = load ptr, ptr %2, align 8 %52 = call i32 @fprintf(i32 noundef %50, ptr noundef @.str.1, ptr noundef %51, i32 noundef 1000) %53 = call i32 @exit(i32 noundef -1) #3 unreachable } declare i32 @strlen(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpr_l0w2n7.c' source_filename = "/tmp/tmpr_l0w2n7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @ENOSYS = dso_local global i64 0, align 8 @F_SETFD = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @eventfd(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = call i32 @__eventfd2(i32 noundef %7, i32 noundef %8) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %36 12: ; preds = %2 %13 = load i64, ptr @errno, align 8 %14 = load i64, ptr @ENOSYS, align 8 %15 = icmp eq i64 %13, %14 br i1 %15, label %16, label %36 16: ; preds = %12 %17 = load i32, ptr %3, align 4 %18 = call i32 @__eventfd(i32 noundef %17) store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = icmp ne i32 %19, -1 br i1 %20, label %21, label %35 21: ; preds = %16 %22 = load i32, ptr %4, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %35 24: ; preds = %21 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr @F_SETFD, align 4 %27 = load i32, ptr %4, align 4 %28 = call i32 @fcntl(i32 noundef %25, i32 noundef %26, i32 noundef %27) store i32 %28, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp eq i32 %29, -1 br i1 %30, label %31, label %34 31: ; preds = %24 %32 = load i32, ptr %5, align 4 %33 = call i32 @close(i32 noundef %32) br label %34 34: ; preds = %31, %24 br label %35 35: ; preds = %34, %21, %16 br label %36 36: ; preds = %35, %12, %2 %37 = load i32, ptr %5, align 4 ret i32 %37 } declare i32 @__eventfd2(i32 noundef, i32 noundef) #1 declare i32 @__eventfd(i32 noundef) #1 declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr_l0w2n7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @ENOSYS = dso_local global i64 0, align 8 @F_SETFD = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @eventfd(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = call i32 @__eventfd2(i32 noundef %7, i32 noundef %8) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %36 12: ; preds = %2 %13 = load i64, ptr @errno, align 8 %14 = load i64, ptr @ENOSYS, align 8 %15 = icmp eq i64 %13, %14 br i1 %15, label %16, label %36 16: ; preds = %12 %17 = load i32, ptr %3, align 4 %18 = call i32 @__eventfd(i32 noundef %17) store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = icmp ne i32 %19, -1 br i1 %20, label %21, label %35 21: ; preds = %16 %22 = load i32, ptr %4, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %35 24: ; preds = %21 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr @F_SETFD, align 4 %27 = load i32, ptr %4, align 4 %28 = call i32 @fcntl(i32 noundef %25, i32 noundef %26, i32 noundef %27) store i32 %28, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp eq i32 %29, -1 br i1 %30, label %31, label %34 31: ; preds = %24 %32 = load i32, ptr %5, align 4 %33 = call i32 @close(i32 noundef %32) br label %34 34: ; preds = %31, %24 br label %35 35: ; preds = %34, %21, %16 br label %36 36: ; preds = %35, %12, %2 %37 = load i32, ptr %5, align 4 ret i32 %37 } declare i32 @__eventfd2(i32 noundef, i32 noundef) #1 declare i32 @__eventfd(i32 noundef) #1 declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb898vifi.c' source_filename = "/tmp/tmpb898vifi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @rastrigin(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store double 6.000000e+01, ptr %3, align 8 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %26, %1 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 20 br i1 %8, label %9, label %29 9: ; preds = %6 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [20 x i16], ptr %10, i64 0, i64 %12 %14 = load i16, ptr %13, align 2 %15 = call double @translate(i16 noundef zeroext %14, double noundef 5.120000e+00) store double %15, ptr %4, align 8 %16 = load double, ptr %4, align 8 %17 = load double, ptr %4, align 8 %18 = load double, ptr %4, align 8 %19 = fmul double 0x401921FB82C2BD7F, %18 %20 = call double @cos(double noundef %19) #4 %21 = fmul double 3.000000e+00, %20 %22 = fneg double %21 %23 = call double @llvm.fmuladd.f64(double %16, double %17, double %22) %24 = load double, ptr %3, align 8 %25 = fadd double %24, %23 store double %25, ptr %3, align 8 br label %26 26: ; preds = %9 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %5, align 4 br label %6, !llvm.loop !6 29: ; preds = %6 %30 = load double, ptr %3, align 8 ret double %30 } declare double @translate(i16 noundef zeroext, double noundef) #1 ; Function Attrs: nounwind declare double @cos(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb898vifi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @rastrigin(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store double 6.000000e+01, ptr %3, align 8 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp slt i32 %6, 20 br i1 %7, label %.lr.ph, label %30 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %25 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [20 x i16], ptr %9, i64 0, i64 %11 %13 = load i16, ptr %12, align 2 %14 = call double @translate(i16 noundef zeroext %13, double noundef 5.120000e+00) store double %14, ptr %4, align 8 %15 = load double, ptr %4, align 8 %16 = load double, ptr %4, align 8 %17 = load double, ptr %4, align 8 %18 = fmul double 0x401921FB82C2BD7F, %17 %19 = call double @cos(double noundef %18) #4 %20 = fmul double 3.000000e+00, %19 %21 = fneg double %20 %22 = call double @llvm.fmuladd.f64(double %15, double %16, double %21) %23 = load double, ptr %3, align 8 %24 = fadd double %23, %22 store double %24, ptr %3, align 8 br label %25 25: ; preds = %8 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 %28 = load i32, ptr %5, align 4 %29 = icmp slt i32 %28, 20 br i1 %29, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %30 30: ; preds = %._crit_edge, %1 %31 = load double, ptr %3, align 8 ret double %31 } declare double @translate(i16 noundef zeroext, double noundef) #1 ; Function Attrs: nounwind declare double @cos(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpg3qf1qdw.c' source_filename = "/tmp/tmpg3qf1qdw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @native___NativeString_fetch_4h_ffi___impl(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = getelementptr inbounds i8, ptr %5, i64 %6 %8 = load i32, ptr %7, align 4 %9 = call i64 @betoh32(i32 noundef %8) ret i64 %9 } declare i64 @betoh32(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/tmpg3qf1qdw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @native___NativeString_fetch_4h_ffi___impl(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = getelementptr inbounds i8, ptr %5, i64 %6 %8 = load i32, ptr %7, align 4 %9 = call i64 @betoh32(i32 noundef %8) ret i64 %9 } declare i64 @betoh32(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/tmp2dfm_fg3.c' source_filename = "/tmp/tmp2dfm_fg3.c" target datalayout = "e-m:e-p270: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/tmp2dfm_fg3.c" target datalayout = "e-m:e-p270: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/tmpn14d1hq4.c' source_filename = "/tmp/tmpn14d1hq4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"id\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cw_file_find_first_game(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [256 x i8], align 16 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @rewind(ptr noundef %7) br label %9 9: ; preds = %34, %1 %10 = load ptr, ptr %3, align 8 %11 = call i32 @feof(ptr noundef %10) %12 = icmp ne i32 %11, 0 %13 = xor i1 %12, true br i1 %13, label %14, label %35 14: ; preds = %9 %15 = load ptr, ptr %3, align 8 %16 = call i32 @fgetpos(ptr noundef %15, ptr noundef %6) %17 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %18 = load ptr, ptr %3, align 8 %19 = call ptr @fgets(ptr noundef %17, i32 noundef 256, ptr noundef %18) %20 = icmp eq ptr %19, null br i1 %20, label %21, label %22 21: ; preds = %14 store i32 0, ptr %2, align 4 br label %36 22: ; preds = %14 %23 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %24 = call ptr @cw_strtok(ptr noundef %23) store ptr %24, ptr %5, align 8 %25 = load ptr, ptr %5, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %27, label %34 27: ; preds = %22 %28 = load ptr, ptr %5, align 8 %29 = call i32 @strcmp(ptr noundef %28, ptr noundef @.str) %30 = icmp ne i32 %29, 0 br i1 %30, label %34, label %31 31: ; preds = %27 %32 = load ptr, ptr %3, align 8 %33 = call i32 @fsetpos(ptr noundef %32, ptr noundef %6) store i32 1, ptr %2, align 4 br label %36 34: ; preds = %27, %22 br label %9, !llvm.loop !6 35: ; preds = %9 store i32 0, ptr %2, align 4 br label %36 36: ; preds = %35, %31, %21 %37 = load i32, ptr %2, align 4 ret i32 %37 } declare i32 @rewind(ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @fgetpos(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @cw_strtok(ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fsetpos(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/tmpn14d1hq4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"id\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cw_file_find_first_game(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [256 x i8], align 16 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @rewind(ptr noundef %7) %9 = load ptr, ptr %3, align 8 %10 = call i32 @feof(ptr noundef %9) %11 = icmp ne i32 %10, 0 %12 = xor i1 %11, true br i1 %12, label %.lr.ph, label %38 .lr.ph: ; preds = %1 br label %13 13: ; preds = %.lr.ph, %33 %14 = load ptr, ptr %3, align 8 %15 = call i32 @fgetpos(ptr noundef %14, ptr noundef %6) %16 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %17 = load ptr, ptr %3, align 8 %18 = call ptr @fgets(ptr noundef %16, i32 noundef 256, ptr noundef %17) %19 = icmp eq ptr %18, null br i1 %19, label %20, label %21 20: ; preds = %13 store i32 0, ptr %2, align 4 br label %39 21: ; preds = %13 %22 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %23 = call ptr @cw_strtok(ptr noundef %22) store ptr %23, ptr %5, align 8 %24 = load ptr, ptr %5, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %33 26: ; preds = %21 %27 = load ptr, ptr %5, align 8 %28 = call i32 @strcmp(ptr noundef %27, ptr noundef @.str) %29 = icmp ne i32 %28, 0 br i1 %29, label %33, label %30 30: ; preds = %26 %31 = load ptr, ptr %3, align 8 %32 = call i32 @fsetpos(ptr noundef %31, ptr noundef %6) store i32 1, ptr %2, align 4 br label %39 33: ; preds = %26, %21 %34 = load ptr, ptr %3, align 8 %35 = call i32 @feof(ptr noundef %34) %36 = icmp ne i32 %35, 0 %37 = xor i1 %36, true br i1 %37, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %38 38: ; preds = %._crit_edge, %1 store i32 0, ptr %2, align 4 br label %39 39: ; preds = %38, %30, %20 %40 = load i32, ptr %2, align 4 ret i32 %40 } declare i32 @rewind(ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @fgetpos(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @cw_strtok(ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fsetpos(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/tmpzoyvfos9.c' source_filename = "/tmp/tmpzoyvfos9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [55 x i8] c"\0AGive the number of decimal places in the precision : \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"accuracy requirement : %.3e\0A\00", align 1 @.str.3 = private unnamed_addr constant [42 x i8] c"\0AGive the maximum number of iterations : \00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"\0ANumber of iterations : %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @multprec_test() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %8 = load i32, ptr %4, align 4 %9 = call i32 @syscon_read_multprec_system(i32 noundef %8) store i32 %9, ptr %1, align 4 %10 = call i32 (...) @syscon_write_multprec_system() store i32 %10, ptr %1, align 4 %11 = load i32, ptr %4, align 4 %12 = sitofp i32 %11 to double %13 = fneg double %12 %14 = fmul double %13, 7.500000e-01 %15 = call double @pow(double noundef 1.000000e+01, double noundef %14) #3 store double %15, ptr %5, align 8 %16 = load double, ptr %5, align 8 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %16) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %19 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %2, align 4 %22 = load double, ptr %5, align 8 %23 = call i32 @solve_with_multiprecision(i32 noundef %20, i32 noundef %21, double noundef %22, ptr noundef %3) store i32 %23, ptr %1, align 4 %24 = load i32, ptr %3, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %24) %26 = call i32 (...) @solcon_write_multprec_solutions() store i32 %26, ptr %1, align 4 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @syscon_read_multprec_system(i32 noundef) #1 declare i32 @syscon_write_multprec_system(...) #1 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #2 declare i32 @solve_with_multiprecision(i32 noundef, i32 noundef, double noundef, ptr noundef) #1 declare i32 @solcon_write_multprec_solutions(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzoyvfos9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [55 x i8] c"\0AGive the number of decimal places in the precision : \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"accuracy requirement : %.3e\0A\00", align 1 @.str.3 = private unnamed_addr constant [42 x i8] c"\0AGive the maximum number of iterations : \00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"\0ANumber of iterations : %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @multprec_test() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %8 = load i32, ptr %4, align 4 %9 = call i32 @syscon_read_multprec_system(i32 noundef %8) store i32 %9, ptr %1, align 4 %10 = call i32 (...) @syscon_write_multprec_system() store i32 %10, ptr %1, align 4 %11 = load i32, ptr %4, align 4 %12 = sitofp i32 %11 to double %13 = fneg double %12 %14 = fmul double %13, 7.500000e-01 %15 = call double @pow(double noundef 1.000000e+01, double noundef %14) #3 store double %15, ptr %5, align 8 %16 = load double, ptr %5, align 8 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %16) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %19 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %2, align 4 %22 = load double, ptr %5, align 8 %23 = call i32 @solve_with_multiprecision(i32 noundef %20, i32 noundef %21, double noundef %22, ptr noundef %3) store i32 %23, ptr %1, align 4 %24 = load i32, ptr %3, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %24) %26 = call i32 (...) @solcon_write_multprec_solutions() store i32 %26, ptr %1, align 4 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @syscon_read_multprec_system(i32 noundef) #1 declare i32 @syscon_write_multprec_system(...) #1 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #2 declare i32 @solve_with_multiprecision(i32 noundef, i32 noundef, double noundef, ptr noundef) #1 declare i32 @solcon_write_multprec_solutions(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdlrorh2s.c' source_filename = "/tmp/tmpdlrorh2s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"note_aftertouch %d %d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @note_aftertouch(i8 noundef signext %0, i8 noundef signext %1, i8 noundef signext %2) #0 { %4 = alloca i8, align 1 %5 = alloca i8, align 1 %6 = alloca i8, align 1 store i8 %0, ptr %4, align 1 store i8 %1, ptr %5, align 1 store i8 %2, ptr %6, align 1 %7 = load i8, ptr %4, align 1 %8 = load i8, ptr %5, align 1 %9 = load i8, ptr %6, align 1 %10 = call i32 @printf(ptr noundef @.str, i8 noundef signext %7, i8 noundef signext %8, i8 noundef signext %9) ret void } declare i32 @printf(ptr noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdlrorh2s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"note_aftertouch %d %d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @note_aftertouch(i8 noundef signext %0, i8 noundef signext %1, i8 noundef signext %2) #0 { %4 = alloca i8, align 1 %5 = alloca i8, align 1 %6 = alloca i8, align 1 store i8 %0, ptr %4, align 1 store i8 %1, ptr %5, align 1 store i8 %2, ptr %6, align 1 %7 = load i8, ptr %4, align 1 %8 = load i8, ptr %5, align 1 %9 = load i8, ptr %6, align 1 %10 = call i32 @printf(ptr noundef @.str, i8 noundef signext %7, i8 noundef signext %8, i8 noundef signext %9) ret void } declare i32 @printf(ptr noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx38m_jba.c' source_filename = "/tmp/tmpx38m_jba.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPC_CREAT = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"shmget\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"shmat\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"asa0\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"Device asa1 opened\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"Read %d bytes from asa1\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i8, align 1 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 5678, ptr %11, align 4 %12 = load i32, ptr %11, align 4 %13 = load i32, ptr @IPC_CREAT, align 4 %14 = or i32 %13, 438 %15 = call i32 @shmget(i32 noundef %12, i32 noundef 100, i32 noundef %14) store i32 %15, ptr %10, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %2 %18 = call i32 @perror(ptr noundef @.str) %19 = call i32 @exit(i32 noundef 1) #3 unreachable 20: ; preds = %2 %21 = load i32, ptr %10, align 4 %22 = call ptr @shmat(i32 noundef %21, ptr noundef null, i32 noundef 0) store ptr %22, ptr %8, align 8 %23 = icmp eq ptr %22, inttoptr (i64 -1 to ptr) br i1 %23, label %24, label %27 24: ; preds = %20 %25 = call i32 @perror(ptr noundef @.str.1) %26 = call i32 @exit(i32 noundef 1) #3 unreachable 27: ; preds = %20 %28 = call i32 @tun_open(ptr noundef @.str.2) store i32 %28, ptr %6, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %30 30: ; preds = %27, %38 br label %31 31: ; preds = %37, %30 %32 = load ptr, ptr %8, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 84 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 %35, 1 br i1 %36, label %37, label %38 37: ; preds = %31 br label %31, !llvm.loop !6 38: ; preds = %31 %39 = load i32, ptr %6, align 4 %40 = load ptr, ptr %8, align 8 %41 = call i32 @write(i32 noundef %39, ptr noundef %40, i32 noundef 100) store i32 %41, ptr %7, align 4 store i32 0, ptr %7, align 4 %42 = load i32, ptr %6, align 4 %43 = load ptr, ptr %8, align 8 %44 = call i32 @read(i32 noundef %42, ptr noundef %43, i32 noundef 100) store i32 %44, ptr %7, align 4 %45 = load i32, ptr %7, align 4 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %45) %47 = load ptr, ptr %8, align 8 %48 = getelementptr inbounds i8, ptr %47, i64 84 store i8 50, ptr %48, align 1 br label %30 } declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @shmat(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @tun_open(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpx38m_jba.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPC_CREAT = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"shmget\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"shmat\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"asa0\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"Device asa1 opened\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"Read %d bytes from asa1\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i8, align 1 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 5678, ptr %11, align 4 %12 = load i32, ptr %11, align 4 %13 = load i32, ptr @IPC_CREAT, align 4 %14 = or i32 %13, 438 %15 = call i32 @shmget(i32 noundef %12, i32 noundef 100, i32 noundef %14) store i32 %15, ptr %10, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %2 %18 = call i32 @perror(ptr noundef @.str) %19 = call i32 @exit(i32 noundef 1) #3 unreachable 20: ; preds = %2 %21 = load i32, ptr %10, align 4 %22 = call ptr @shmat(i32 noundef %21, ptr noundef null, i32 noundef 0) store ptr %22, ptr %8, align 8 %23 = icmp eq ptr %22, inttoptr (i64 -1 to ptr) br i1 %23, label %24, label %27 24: ; preds = %20 %25 = call i32 @perror(ptr noundef @.str.1) %26 = call i32 @exit(i32 noundef 1) #3 unreachable 27: ; preds = %20 %28 = call i32 @tun_open(ptr noundef @.str.2) store i32 %28, ptr %6, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %30 30: ; preds = %31, %27 br label %31 31: ; preds = %30 %32 = load i32, ptr %6, align 4 %33 = load ptr, ptr %8, align 8 %34 = call i32 @write(i32 noundef %32, ptr noundef %33, i32 noundef 100) store i32 %34, ptr %7, align 4 store i32 0, ptr %7, align 4 %35 = load i32, ptr %6, align 4 %36 = load ptr, ptr %8, align 8 %37 = call i32 @read(i32 noundef %35, ptr noundef %36, i32 noundef 100) store i32 %37, ptr %7, align 4 %38 = load i32, ptr %7, align 4 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %38) %40 = load ptr, ptr %8, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 84 store i8 50, ptr %41, align 1 br label %30 } declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @shmat(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @tun_open(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpkkurs9s3.c' source_filename = "/tmp/tmpkkurs9s3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Insira o n\C3\BAmero para fatorizar: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) store i32 2, ptr %3, align 4 br label %6 6: ; preds = %28, %0 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp sle i32 %7, %8 br i1 %9, label %10, label %29 10: ; preds = %6 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = srem i32 %11, %12 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %25 15: ; preds = %10 %16 = load i32, ptr %3, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16) %18 = load i32, ptr %3, align 4 %19 = load i32, ptr %2, align 4 %20 = sdiv i32 %19, %18 store i32 %20, ptr %2, align 4 %21 = load i32, ptr %2, align 4 %22 = icmp eq i32 %21, 1 br i1 %22, label %23, label %24 23: ; preds = %15 br label %29 24: ; preds = %15 br label %28 25: ; preds = %10 %26 = load i32, ptr %3, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %3, align 4 br label %28 28: ; preds = %25, %24 br label %6, !llvm.loop !6 29: ; preds = %23, %6 %30 = call i32 @puts(ptr noundef @.str.3) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkkurs9s3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Insira o n\C3\BAmero para fatorizar: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) store i32 2, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp sle i32 %6, %7 br i1 %8, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %27 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = srem i32 %10, %11 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %24 14: ; preds = %9 %15 = load i32, ptr %3, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15) %17 = load i32, ptr %3, align 4 %18 = load i32, ptr %2, align 4 %19 = sdiv i32 %18, %17 store i32 %19, ptr %2, align 4 %20 = load i32, ptr %2, align 4 %21 = icmp eq i32 %20, 1 br i1 %21, label %22, label %23 22: ; preds = %14 br label %31 23: ; preds = %14 br label %27 24: ; preds = %9 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 br label %27 27: ; preds = %24, %23 %28 = load i32, ptr %3, align 4 %29 = load i32, ptr %2, align 4 %30 = icmp sle i32 %28, %29 br i1 %30, label %9, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %27 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %31 31: ; preds = %.loopexit, %22 %32 = call i32 @puts(ptr noundef @.str.3) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmptqixz6n3.c' source_filename = "/tmp/tmptqixz6n3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dt_masks_extend_border(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 float, align 4 %14 = alloca float, align 4 %15 = 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 i32 %3, ptr %8, align 4 %16 = load i32, ptr %8, align 4 %17 = icmp sle i32 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %4 br label %149 19: ; preds = %4 %20 = load i32, ptr %8, align 4 store i32 %20, ptr %9, align 4 br label %21 21: ; preds = %72, %19 %22 = load i32, ptr %9, align 4 %23 = load i32, ptr %7, align 4 %24 = load i32, ptr %8, align 4 %25 = sub nsw i32 %23, %24 %26 = icmp slt i32 %22, %25 br i1 %26, label %27, label %75 27: ; preds = %21 %28 = load i32, ptr %9, align 4 %29 = load i32, ptr %6, align 4 %30 = mul nsw i32 %28, %29 store i32 %30, ptr %10, align 4 store i32 0, ptr %11, align 4 br label %31 31: ; preds = %68, %27 %32 = load i32, ptr %11, align 4 %33 = load i32, ptr %8, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %71 35: ; preds = %31 %36 = load ptr, ptr %5, align 8 %37 = load i32, ptr %10, align 4 %38 = load i32, ptr %8, align 4 %39 = add nsw i32 %37, %38 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds float, ptr %36, i64 %40 %42 = load float, ptr %41, align 4 %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %10, align 4 %45 = load i32, ptr %11, align 4 %46 = add nsw i32 %44, %45 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds float, ptr %43, i64 %47 store float %42, ptr %48, align 4 %49 = load ptr, ptr %5, align 8 %50 = load i32, ptr %10, align 4 %51 = load i32, ptr %6, align 4 %52 = add nsw i32 %50, %51 %53 = load i32, ptr %8, align 4 %54 = sub nsw i32 %52, %53 %55 = sub nsw i32 %54, 1 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds float, ptr %49, i64 %56 %58 = load float, ptr %57, align 4 %59 = load ptr, ptr %5, align 8 %60 = load i32, ptr %10, align 4 %61 = load i32, ptr %6, align 4 %62 = add nsw i32 %60, %61 %63 = load i32, ptr %11, align 4 %64 = sub nsw i32 %62, %63 %65 = sub nsw i32 %64, 1 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds float, ptr %59, i64 %66 store float %58, ptr %67, align 4 br label %68 68: ; preds = %35 %69 = load i32, ptr %11, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %11, align 4 br label %31, !llvm.loop !6 71: ; preds = %31 br label %72 72: ; preds = %71 %73 = load i32, ptr %9, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %9, align 4 br label %21, !llvm.loop !8 75: ; preds = %21 store i32 0, ptr %12, align 4 br label %76 76: ; preds = %146, %75 %77 = load i32, ptr %12, align 4 %78 = load i32, ptr %6, align 4 %79 = icmp slt i32 %77, %78 br i1 %79, label %80, label %149 80: ; preds = %76 %81 = load ptr, ptr %5, align 8 %82 = load i32, ptr %8, align 4 %83 = load i32, ptr %6, align 4 %84 = mul nsw i32 %82, %83 %85 = load i32, ptr %6, align 4 %86 = load i32, ptr %8, align 4 %87 = sub nsw i32 %85, %86 %88 = sub nsw i32 %87, 1 %89 = load i32, ptr %12, align 4 %90 = load i32, ptr %8, align 4 %91 = call i32 @MAX(i32 noundef %89, i32 noundef %90) %92 = call i32 @MIN(i32 noundef %88, i32 noundef %91) %93 = add nsw i32 %84, %92 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds float, ptr %81, i64 %94 %96 = load float, ptr %95, align 4 store float %96, ptr %13, align 4 %97 = load ptr, ptr %5, align 8 %98 = load i32, ptr %7, align 4 %99 = load i32, ptr %8, align 4 %100 = sub nsw i32 %98, %99 %101 = sub nsw i32 %100, 1 %102 = load i32, ptr %6, align 4 %103 = mul nsw i32 %101, %102 %104 = load i32, ptr %6, align 4 %105 = load i32, ptr %8, align 4 %106 = sub nsw i32 %104, %105 %107 = sub nsw i32 %106, 1 %108 = load i32, ptr %12, align 4 %109 = load i32, ptr %8, align 4 %110 = call i32 @MAX(i32 noundef %108, i32 noundef %109) %111 = call i32 @MIN(i32 noundef %107, i32 noundef %110) %112 = add nsw i32 %103, %111 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds float, ptr %97, i64 %113 %115 = load float, ptr %114, align 4 store float %115, ptr %14, align 4 store i32 0, ptr %15, align 4 br label %116 116: ; preds = %142, %80 %117 = load i32, ptr %15, align 4 %118 = load i32, ptr %8, align 4 %119 = icmp slt i32 %117, %118 br i1 %119, label %120, label %145 120: ; preds = %116 %121 = load float, ptr %13, align 4 %122 = load ptr, ptr %5, align 8 %123 = load i32, ptr %12, align 4 %124 = load i32, ptr %15, align 4 %125 = load i32, ptr %6, align 4 %126 = mul nsw i32 %124, %125 %127 = add nsw i32 %123, %126 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds float, ptr %122, i64 %128 store float %121, ptr %129, align 4 %130 = load float, ptr %14, align 4 %131 = load ptr, ptr %5, align 8 %132 = load i32, ptr %12, align 4 %133 = load i32, ptr %7, align 4 %134 = load i32, ptr %15, align 4 %135 = sub nsw i32 %133, %134 %136 = sub nsw i32 %135, 1 %137 = load i32, ptr %6, align 4 %138 = mul nsw i32 %136, %137 %139 = add nsw i32 %132, %138 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds float, ptr %131, i64 %140 store float %130, ptr %141, align 4 br label %142 142: ; preds = %120 %143 = load i32, ptr %15, align 4 %144 = add nsw i32 %143, 1 store i32 %144, ptr %15, align 4 br label %116, !llvm.loop !9 145: ; preds = %116 br label %146 146: ; preds = %145 %147 = load i32, ptr %12, align 4 %148 = add nsw i32 %147, 1 store i32 %148, ptr %12, align 4 br label %76, !llvm.loop !10 149: ; preds = %18, %76 ret void } declare i32 @MIN(i32 noundef, i32 noundef) #1 declare i32 @MAX(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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptqixz6n3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dt_masks_extend_border(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 float, align 4 %14 = alloca float, align 4 %15 = 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 i32 %3, ptr %8, align 4 %16 = load i32, ptr %8, align 4 %17 = icmp sle i32 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %4 br label %159 19: ; preds = %4 %20 = load i32, ptr %8, align 4 store i32 %20, ptr %9, align 4 %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %8, align 4 %24 = sub nsw i32 %22, %23 %25 = icmp slt i32 %21, %24 br i1 %25, label %.lr.ph2, label %81 .lr.ph2: ; preds = %19 br label %26 26: ; preds = %.lr.ph2, %73 %27 = load i32, ptr %9, align 4 %28 = load i32, ptr %6, align 4 %29 = mul nsw i32 %27, %28 store i32 %29, ptr %10, align 4 store i32 0, ptr %11, align 4 %30 = load i32, ptr %11, align 4 %31 = load i32, ptr %8, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %.lr.ph, label %72 .lr.ph: ; preds = %26 br label %33 33: ; preds = %.lr.ph, %66 %34 = load ptr, ptr %5, align 8 %35 = load i32, ptr %10, align 4 %36 = load i32, ptr %8, align 4 %37 = add nsw i32 %35, %36 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds float, ptr %34, i64 %38 %40 = load float, ptr %39, align 4 %41 = load ptr, ptr %5, align 8 %42 = load i32, ptr %10, align 4 %43 = load i32, ptr %11, align 4 %44 = add nsw i32 %42, %43 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds float, ptr %41, i64 %45 store float %40, ptr %46, align 4 %47 = load ptr, ptr %5, align 8 %48 = load i32, ptr %10, align 4 %49 = load i32, ptr %6, align 4 %50 = add nsw i32 %48, %49 %51 = load i32, ptr %8, align 4 %52 = sub nsw i32 %50, %51 %53 = sub nsw i32 %52, 1 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds float, ptr %47, i64 %54 %56 = load float, ptr %55, align 4 %57 = load ptr, ptr %5, align 8 %58 = load i32, ptr %10, align 4 %59 = load i32, ptr %6, align 4 %60 = add nsw i32 %58, %59 %61 = load i32, ptr %11, align 4 %62 = sub nsw i32 %60, %61 %63 = sub nsw i32 %62, 1 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds float, ptr %57, i64 %64 store float %56, ptr %65, align 4 br label %66 66: ; preds = %33 %67 = load i32, ptr %11, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %11, align 4 %69 = load i32, ptr %11, align 4 %70 = load i32, ptr %8, align 4 %71 = icmp slt i32 %69, %70 br i1 %71, label %33, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %66 br label %72 72: ; preds = %._crit_edge, %26 br label %73 73: ; preds = %72 %74 = load i32, ptr %9, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %9, align 4 %76 = load i32, ptr %9, align 4 %77 = load i32, ptr %7, align 4 %78 = load i32, ptr %8, align 4 %79 = sub nsw i32 %77, %78 %80 = icmp slt i32 %76, %79 br i1 %80, label %26, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %73 br label %81 81: ; preds = %._crit_edge3, %19 store i32 0, ptr %12, align 4 %82 = load i32, ptr %12, align 4 %83 = load i32, ptr %6, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %.lr.ph8, label %.loopexit .lr.ph8: ; preds = %81 br label %85 85: ; preds = %.lr.ph8, %153 %86 = load ptr, ptr %5, align 8 %87 = load i32, ptr %8, align 4 %88 = load i32, ptr %6, align 4 %89 = mul nsw i32 %87, %88 %90 = load i32, ptr %6, align 4 %91 = load i32, ptr %8, align 4 %92 = sub nsw i32 %90, %91 %93 = sub nsw i32 %92, 1 %94 = load i32, ptr %12, align 4 %95 = load i32, ptr %8, align 4 %96 = call i32 @MAX(i32 noundef %94, i32 noundef %95) %97 = call i32 @MIN(i32 noundef %93, i32 noundef %96) %98 = add nsw i32 %89, %97 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds float, ptr %86, i64 %99 %101 = load float, ptr %100, align 4 store float %101, ptr %13, align 4 %102 = load ptr, ptr %5, align 8 %103 = load i32, ptr %7, align 4 %104 = load i32, ptr %8, align 4 %105 = sub nsw i32 %103, %104 %106 = sub nsw i32 %105, 1 %107 = load i32, ptr %6, align 4 %108 = mul nsw i32 %106, %107 %109 = load i32, ptr %6, align 4 %110 = load i32, ptr %8, align 4 %111 = sub nsw i32 %109, %110 %112 = sub nsw i32 %111, 1 %113 = load i32, ptr %12, align 4 %114 = load i32, ptr %8, align 4 %115 = call i32 @MAX(i32 noundef %113, i32 noundef %114) %116 = call i32 @MIN(i32 noundef %112, i32 noundef %115) %117 = add nsw i32 %108, %116 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds float, ptr %102, i64 %118 %120 = load float, ptr %119, align 4 store float %120, ptr %14, align 4 store i32 0, ptr %15, align 4 %121 = load i32, ptr %15, align 4 %122 = load i32, ptr %8, align 4 %123 = icmp slt i32 %121, %122 br i1 %123, label %.lr.ph5, label %152 .lr.ph5: ; preds = %85 br label %124 124: ; preds = %.lr.ph5, %146 %125 = load float, ptr %13, align 4 %126 = load ptr, ptr %5, align 8 %127 = load i32, ptr %12, align 4 %128 = load i32, ptr %15, align 4 %129 = load i32, ptr %6, align 4 %130 = mul nsw i32 %128, %129 %131 = add nsw i32 %127, %130 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds float, ptr %126, i64 %132 store float %125, ptr %133, align 4 %134 = load float, ptr %14, align 4 %135 = load ptr, ptr %5, align 8 %136 = load i32, ptr %12, align 4 %137 = load i32, ptr %7, align 4 %138 = load i32, ptr %15, align 4 %139 = sub nsw i32 %137, %138 %140 = sub nsw i32 %139, 1 %141 = load i32, ptr %6, align 4 %142 = mul nsw i32 %140, %141 %143 = add nsw i32 %136, %142 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds float, ptr %135, i64 %144 store float %134, ptr %145, align 4 br label %146 146: ; preds = %124 %147 = load i32, ptr %15, align 4 %148 = add nsw i32 %147, 1 store i32 %148, ptr %15, align 4 %149 = load i32, ptr %15, align 4 %150 = load i32, ptr %8, align 4 %151 = icmp slt i32 %149, %150 br i1 %151, label %124, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %146 br label %152 152: ; preds = %._crit_edge6, %85 br label %153 153: ; preds = %152 %154 = load i32, ptr %12, align 4 %155 = add nsw i32 %154, 1 store i32 %155, ptr %12, align 4 %156 = load i32, ptr %12, align 4 %157 = load i32, ptr %6, align 4 %158 = icmp slt i32 %156, %157 br i1 %158, label %85, label %..loopexit_crit_edge, !llvm.loop !10 ..loopexit_crit_edge: ; preds = %153 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %81 br label %159 159: ; preds = %.loopexit, %18 ret void } declare i32 @MIN(i32 noundef, i32 noundef) #1 declare i32 @MAX(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}
; ModuleID = '/tmp/tmpk2musm1a.c' source_filename = "/tmp/tmpk2musm1a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"please enter integer number:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"The number [%d] is even \00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"The number [%d] is odd \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 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = srem i32 %5, 2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %0 %9 = load i32, ptr %2, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9) br label %14 11: ; preds = %0 %12 = load i32, ptr %2, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12) br label %14 14: ; preds = %11, %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/tmpk2musm1a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"please enter integer number:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"The number [%d] is even \00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"The number [%d] is odd \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 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = srem i32 %5, 2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %0 %9 = load i32, ptr %2, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9) br label %14 11: ; preds = %0 %12 = load i32, ptr %2, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12) br label %14 14: ; preds = %11, %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/tmpvoser_5a.c' source_filename = "/tmp/tmpvoser_5a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" \09\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @splitcommand(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %6 = load ptr, ptr %3, align 8 %7 = call ptr @strtok(ptr noundef %6, ptr noundef @.str) %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %5, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds ptr, ptr %8, i64 %10 store ptr %7, ptr %11, align 8 br label %12 12: ; preds = %20, %2 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds ptr, ptr %13, i64 %15 %17 = load ptr, ptr %16, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %27 19: ; preds = %12 br label %20 20: ; preds = %19 %21 = call ptr @strtok(ptr noundef null, ptr noundef @.str) %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 store ptr %21, ptr %26, align 8 br label %12, !llvm.loop !6 27: ; preds = %12 ret void } declare ptr @strtok(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvoser_5a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" \09\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @splitcommand(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %6 = load ptr, ptr %3, align 8 %7 = call ptr @strtok(ptr noundef %6, ptr noundef @.str) %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %5, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds ptr, ptr %8, i64 %10 store ptr %7, ptr %11, align 8 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds ptr, ptr %12, i64 %14 %16 = load ptr, ptr %15, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %.lr.ph, label %32 .lr.ph: ; preds = %2 br label %18 18: ; preds = %.lr.ph, %19 br label %19 19: ; preds = %18 %20 = call ptr @strtok(ptr noundef null, ptr noundef @.str) %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds ptr, ptr %21, i64 %24 store ptr %20, ptr %25, align 8 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %5, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds ptr, ptr %26, i64 %28 %30 = load ptr, ptr %29, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %32 32: ; preds = %._crit_edge, %2 ret void } declare ptr @strtok(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6ycx8o32.c' source_filename = "/tmp/tmp6ycx8o32.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"ERROR opening socket\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"ERROR on binding\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"ERROR on accept\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"Here is the message: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"I got your message\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"ERROR writing to socket\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [256 x i8], align 16 %11 = alloca ptr, align 8 %12 = alloca %struct.sockaddr_in, align 4 %13 = alloca %struct.sockaddr_in, align 4 %14 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %15 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 store ptr %15, ptr %11, align 8 %16 = load i32, ptr @AF_INET, align 4 %17 = load i32, ptr @SOCK_STREAM, align 4 %18 = call i32 @socket(i32 noundef %16, i32 noundef %17, i32 noundef 0) store i32 %18, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %2 %22 = call i32 @perror(ptr noundef @.str) %23 = call i32 @exit(i32 noundef 1) #3 unreachable 24: ; preds = %2 %25 = call i32 @bzero(ptr noundef %12, i32 noundef 12) store i32 5001, ptr %8, align 4 %26 = load i32, ptr @AF_INET, align 4 %27 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 2 store i32 %26, ptr %27, align 4 %28 = load i32, ptr @INADDR_ANY, align 4 %29 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 1 %30 = getelementptr inbounds %struct.TYPE_2__, ptr %29, i32 0, i32 0 store i32 %28, ptr %30, align 4 %31 = load i32, ptr %8, align 4 %32 = call i32 @htons(i32 noundef %31) %33 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 0 store i32 %32, ptr %33, align 4 %34 = load i32, ptr %6, align 4 %35 = call i64 @bind(i32 noundef %34, ptr noundef %12, i32 noundef 12) %36 = icmp slt i64 %35, 0 br i1 %36, label %37, label %40 37: ; preds = %24 %38 = call i32 @perror(ptr noundef @.str.1) %39 = call i32 @exit(i32 noundef 1) #3 unreachable 40: ; preds = %24 %41 = load i32, ptr %6, align 4 %42 = call i32 @listen(i32 noundef %41, i32 noundef 5) store i32 12, ptr %9, align 4 %43 = load i32, ptr %6, align 4 %44 = call i32 @accept(i32 noundef %43, ptr noundef %13, ptr noundef %9) store i32 %44, ptr %7, align 4 %45 = load i32, ptr %6, align 4 %46 = call i32 @shutdown(i32 noundef %45, i32 noundef 2) %47 = load i32, ptr %6, align 4 %48 = call i32 @close(i32 noundef %47) %49 = load i32, ptr %7, align 4 %50 = icmp slt i32 %49, 0 br i1 %50, label %51, label %54 51: ; preds = %40 %52 = call i32 @perror(ptr noundef @.str.2) %53 = call i32 @exit(i32 noundef 1) #3 unreachable 54: ; preds = %40 %55 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 %56 = call i32 @bzero(ptr noundef %55, i32 noundef 256) %57 = load i32, ptr %7, align 4 %58 = load ptr, ptr %11, align 8 %59 = call i64 @readn(i32 noundef %57, ptr noundef %58, i32 noundef 255) store i64 %59, ptr %14, align 8 %60 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 %61 = call i32 @printf(ptr noundef @.str.3, ptr noundef %60) %62 = load i32, ptr %7, align 4 %63 = call i64 @write(i32 noundef %62, ptr noundef @.str.4, i32 noundef 255) store i64 %63, ptr %14, align 8 %64 = load i64, ptr %14, align 8 %65 = icmp slt i64 %64, 0 br i1 %65, label %66, label %69 66: ; preds = %54 %67 = call i32 @perror(ptr noundef @.str.5) %68 = call i32 @exit(i32 noundef 1) #3 unreachable 69: ; preds = %54 %70 = load i32, ptr %7, align 4 %71 = call i32 @shutdown(i32 noundef %70, i32 noundef 2) %72 = load i32, ptr %7, align 4 %73 = call i32 @close(i32 noundef %72) ret i32 0 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @shutdown(i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i64 @readn(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6ycx8o32.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"ERROR opening socket\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"ERROR on binding\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"ERROR on accept\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"Here is the message: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"I got your message\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"ERROR writing to socket\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [256 x i8], align 16 %11 = alloca ptr, align 8 %12 = alloca %struct.sockaddr_in, align 4 %13 = alloca %struct.sockaddr_in, align 4 %14 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %15 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 store ptr %15, ptr %11, align 8 %16 = load i32, ptr @AF_INET, align 4 %17 = load i32, ptr @SOCK_STREAM, align 4 %18 = call i32 @socket(i32 noundef %16, i32 noundef %17, i32 noundef 0) store i32 %18, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %2 %22 = call i32 @perror(ptr noundef @.str) %23 = call i32 @exit(i32 noundef 1) #3 unreachable 24: ; preds = %2 %25 = call i32 @bzero(ptr noundef %12, i32 noundef 12) store i32 5001, ptr %8, align 4 %26 = load i32, ptr @AF_INET, align 4 %27 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 2 store i32 %26, ptr %27, align 4 %28 = load i32, ptr @INADDR_ANY, align 4 %29 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 1 %30 = getelementptr inbounds %struct.TYPE_2__, ptr %29, i32 0, i32 0 store i32 %28, ptr %30, align 4 %31 = load i32, ptr %8, align 4 %32 = call i32 @htons(i32 noundef %31) %33 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 0 store i32 %32, ptr %33, align 4 %34 = load i32, ptr %6, align 4 %35 = call i64 @bind(i32 noundef %34, ptr noundef %12, i32 noundef 12) %36 = icmp slt i64 %35, 0 br i1 %36, label %37, label %40 37: ; preds = %24 %38 = call i32 @perror(ptr noundef @.str.1) %39 = call i32 @exit(i32 noundef 1) #3 unreachable 40: ; preds = %24 %41 = load i32, ptr %6, align 4 %42 = call i32 @listen(i32 noundef %41, i32 noundef 5) store i32 12, ptr %9, align 4 %43 = load i32, ptr %6, align 4 %44 = call i32 @accept(i32 noundef %43, ptr noundef %13, ptr noundef %9) store i32 %44, ptr %7, align 4 %45 = load i32, ptr %6, align 4 %46 = call i32 @shutdown(i32 noundef %45, i32 noundef 2) %47 = load i32, ptr %6, align 4 %48 = call i32 @close(i32 noundef %47) %49 = load i32, ptr %7, align 4 %50 = icmp slt i32 %49, 0 br i1 %50, label %51, label %54 51: ; preds = %40 %52 = call i32 @perror(ptr noundef @.str.2) %53 = call i32 @exit(i32 noundef 1) #3 unreachable 54: ; preds = %40 %55 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 %56 = call i32 @bzero(ptr noundef %55, i32 noundef 256) %57 = load i32, ptr %7, align 4 %58 = load ptr, ptr %11, align 8 %59 = call i64 @readn(i32 noundef %57, ptr noundef %58, i32 noundef 255) store i64 %59, ptr %14, align 8 %60 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 %61 = call i32 @printf(ptr noundef @.str.3, ptr noundef %60) %62 = load i32, ptr %7, align 4 %63 = call i64 @write(i32 noundef %62, ptr noundef @.str.4, i32 noundef 255) store i64 %63, ptr %14, align 8 %64 = load i64, ptr %14, align 8 %65 = icmp slt i64 %64, 0 br i1 %65, label %66, label %69 66: ; preds = %54 %67 = call i32 @perror(ptr noundef @.str.5) %68 = call i32 @exit(i32 noundef 1) #3 unreachable 69: ; preds = %54 %70 = load i32, ptr %7, align 4 %71 = call i32 @shutdown(i32 noundef %70, i32 noundef 2) %72 = load i32, ptr %7, align 4 %73 = call i32 @close(i32 noundef %72) ret i32 0 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @shutdown(i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i64 @readn(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp25wqudcm.c' source_filename = "/tmp/tmp25wqudcm.c" target datalayout = "e-m:e-p270: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/tmp25wqudcm.c" target datalayout = "e-m:e-p270: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/tmp7sh_80cu.c' source_filename = "/tmp/tmp7sh_80cu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @z_zexy_setup() #0 { %1 = call i32 (...) @setup_0x260x260x7e() %2 = call i32 (...) @setup_0x2e() %3 = call i32 (...) @setup_0x3c0x7e() %4 = call i32 (...) @setup_0x3d0x3d0x7e() %5 = call i32 (...) @setup_0x3e0x7e() %6 = call i32 (...) @setup_0x7c0x7c0x7e() %7 = call i32 (...) @a2l_setup() %8 = call i32 (...) @absgn_tilde_setup() %9 = call i32 (...) @abs_tilde_setup() %10 = call i32 (...) @atof_setup() %11 = call i32 (...) @atoi_setup() %12 = call i32 (...) @avg_tilde_setup() %13 = call i32 (...) @blockmirror_tilde_setup() %14 = call i32 (...) @blockshuffle_tilde_setup() %15 = call i32 (...) @blockswap_tilde_setup() %16 = call i32 (...) @date_setup() %17 = call i32 (...) @demultiplex_setup() %18 = call i32 (...) @demultiplex_tilde_setup() %19 = call i32 (...) @dfreq_tilde_setup() %20 = call i32 (...) @dirac_tilde_setup() %21 = call i32 (...) @doublepole_tilde_setup() %22 = call i32 (...) @drip_setup() %23 = call i32 (...) @envrms_tilde_setup() %24 = call i32 (...) @fifop_setup() %25 = call i32 (...) @freadln_setup() %26 = call i32 (...) @fwriteln_setup() %27 = call i32 (...) @glue_setup() %28 = call i32 (...) @index_setup() %29 = call i32 (...) @length_setup() %30 = call i32 (...) @lifop_setup() %31 = call i32 (...) @limiter_tilde_setup() %32 = call i32 (...) @list2int_setup() %33 = call i32 (...) @list2lists_setup() %34 = call i32 (...) @list2symbol_setup() %35 = call i32 (...) @lister_setup() %36 = call i32 (...) @listfind_setup() %37 = call i32 (...) @liststorage_setup() %38 = call i32 (...) @longload_setup() %39 = call i32 (...) @lpt_setup() %40 = call i32 (...) @makesymbol_setup() %41 = call i32 (...) @matchbox_setup() %42 = call i32 (...) @mavg_setup() %43 = call i32 (...) @minmax_setup() %44 = call i32 (...) @msgfile_setup() %45 = call i32 (...) @multiline_tilde_setup() %46 = call i32 (...) @multiplex_setup() %47 = call i32 (...) @multiplex_tilde_setup() %48 = call i32 (...) @multireceive_setup() %49 = call i32 (...) @niagara_setup() %50 = call i32 (...) @noish_tilde_setup() %51 = call i32 (...) @noisi_tilde_setup() %52 = call i32 (...) @operating_system_setup() %53 = call i32 (...) @zpack_setup() %54 = call i32 (...) @packel_setup() %55 = call i32 (...) @pack_tilde_setup() %56 = call i32 (...) @pdf_tilde_setup() %57 = call i32 (...) @prime_setup() %58 = call i32 (...) @quantize_tilde_setup() %59 = call i32 (...) @rawprint_setup() %60 = call i32 (...) @regex_setup() %61 = call i32 (...) @relay_setup() %62 = call i32 (...) @repack_setup() %63 = call i32 (...) @repeat_setup() %64 = call i32 (...) @route_tilde_setup() %65 = call i32 (...) @sfplay_setup() %66 = call i32 (...) @sfrecord_setup() %67 = call i32 (...) @sgn_tilde_setup() %68 = call i32 (...) @sigzero_tilde_setup() %69 = call i32 (...) @sleepgrain_setup() %70 = call i32 (...) @zexy_sort_setup() %71 = call i32 (...) @step_tilde_setup() %72 = call i32 (...) @strcmp_setup() %73 = call i32 (...) @sum_setup() %74 = call i32 (...) @swap_tilde_setup() %75 = call i32 (...) @symbol2list_setup() %76 = call i32 (...) @tabdump_setup() %77 = call i32 (...) @tabminmax_setup() %78 = call i32 (...) @tabread4_tilde_tilde_setup() %79 = call i32 (...) @tabset_setup() %80 = call i32 (...) @tavg_tilde_setup() %81 = call i32 (...) @time_setup() %82 = call i32 (...) @zunpack_setup() %83 = call i32 (...) @unpack_tilde_setup() %84 = call i32 (...) @urn_setup() %85 = call i32 (...) @wrap_setup() %86 = call i32 (...) @z_tilde_setup() ret void } declare i32 @setup_0x260x260x7e(...) #1 declare i32 @setup_0x2e(...) #1 declare i32 @setup_0x3c0x7e(...) #1 declare i32 @setup_0x3d0x3d0x7e(...) #1 declare i32 @setup_0x3e0x7e(...) #1 declare i32 @setup_0x7c0x7c0x7e(...) #1 declare i32 @a2l_setup(...) #1 declare i32 @absgn_tilde_setup(...) #1 declare i32 @abs_tilde_setup(...) #1 declare i32 @atof_setup(...) #1 declare i32 @atoi_setup(...) #1 declare i32 @avg_tilde_setup(...) #1 declare i32 @blockmirror_tilde_setup(...) #1 declare i32 @blockshuffle_tilde_setup(...) #1 declare i32 @blockswap_tilde_setup(...) #1 declare i32 @date_setup(...) #1 declare i32 @demultiplex_setup(...) #1 declare i32 @demultiplex_tilde_setup(...) #1 declare i32 @dfreq_tilde_setup(...) #1 declare i32 @dirac_tilde_setup(...) #1 declare i32 @doublepole_tilde_setup(...) #1 declare i32 @drip_setup(...) #1 declare i32 @envrms_tilde_setup(...) #1 declare i32 @fifop_setup(...) #1 declare i32 @freadln_setup(...) #1 declare i32 @fwriteln_setup(...) #1 declare i32 @glue_setup(...) #1 declare i32 @index_setup(...) #1 declare i32 @length_setup(...) #1 declare i32 @lifop_setup(...) #1 declare i32 @limiter_tilde_setup(...) #1 declare i32 @list2int_setup(...) #1 declare i32 @list2lists_setup(...) #1 declare i32 @list2symbol_setup(...) #1 declare i32 @lister_setup(...) #1 declare i32 @listfind_setup(...) #1 declare i32 @liststorage_setup(...) #1 declare i32 @longload_setup(...) #1 declare i32 @lpt_setup(...) #1 declare i32 @makesymbol_setup(...) #1 declare i32 @matchbox_setup(...) #1 declare i32 @mavg_setup(...) #1 declare i32 @minmax_setup(...) #1 declare i32 @msgfile_setup(...) #1 declare i32 @multiline_tilde_setup(...) #1 declare i32 @multiplex_setup(...) #1 declare i32 @multiplex_tilde_setup(...) #1 declare i32 @multireceive_setup(...) #1 declare i32 @niagara_setup(...) #1 declare i32 @noish_tilde_setup(...) #1 declare i32 @noisi_tilde_setup(...) #1 declare i32 @operating_system_setup(...) #1 declare i32 @zpack_setup(...) #1 declare i32 @packel_setup(...) #1 declare i32 @pack_tilde_setup(...) #1 declare i32 @pdf_tilde_setup(...) #1 declare i32 @prime_setup(...) #1 declare i32 @quantize_tilde_setup(...) #1 declare i32 @rawprint_setup(...) #1 declare i32 @regex_setup(...) #1 declare i32 @relay_setup(...) #1 declare i32 @repack_setup(...) #1 declare i32 @repeat_setup(...) #1 declare i32 @route_tilde_setup(...) #1 declare i32 @sfplay_setup(...) #1 declare i32 @sfrecord_setup(...) #1 declare i32 @sgn_tilde_setup(...) #1 declare i32 @sigzero_tilde_setup(...) #1 declare i32 @sleepgrain_setup(...) #1 declare i32 @zexy_sort_setup(...) #1 declare i32 @step_tilde_setup(...) #1 declare i32 @strcmp_setup(...) #1 declare i32 @sum_setup(...) #1 declare i32 @swap_tilde_setup(...) #1 declare i32 @symbol2list_setup(...) #1 declare i32 @tabdump_setup(...) #1 declare i32 @tabminmax_setup(...) #1 declare i32 @tabread4_tilde_tilde_setup(...) #1 declare i32 @tabset_setup(...) #1 declare i32 @tavg_tilde_setup(...) #1 declare i32 @time_setup(...) #1 declare i32 @zunpack_setup(...) #1 declare i32 @unpack_tilde_setup(...) #1 declare i32 @urn_setup(...) #1 declare i32 @wrap_setup(...) #1 declare i32 @z_tilde_setup(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7sh_80cu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @z_zexy_setup() #0 { %1 = call i32 (...) @setup_0x260x260x7e() %2 = call i32 (...) @setup_0x2e() %3 = call i32 (...) @setup_0x3c0x7e() %4 = call i32 (...) @setup_0x3d0x3d0x7e() %5 = call i32 (...) @setup_0x3e0x7e() %6 = call i32 (...) @setup_0x7c0x7c0x7e() %7 = call i32 (...) @a2l_setup() %8 = call i32 (...) @absgn_tilde_setup() %9 = call i32 (...) @abs_tilde_setup() %10 = call i32 (...) @atof_setup() %11 = call i32 (...) @atoi_setup() %12 = call i32 (...) @avg_tilde_setup() %13 = call i32 (...) @blockmirror_tilde_setup() %14 = call i32 (...) @blockshuffle_tilde_setup() %15 = call i32 (...) @blockswap_tilde_setup() %16 = call i32 (...) @date_setup() %17 = call i32 (...) @demultiplex_setup() %18 = call i32 (...) @demultiplex_tilde_setup() %19 = call i32 (...) @dfreq_tilde_setup() %20 = call i32 (...) @dirac_tilde_setup() %21 = call i32 (...) @doublepole_tilde_setup() %22 = call i32 (...) @drip_setup() %23 = call i32 (...) @envrms_tilde_setup() %24 = call i32 (...) @fifop_setup() %25 = call i32 (...) @freadln_setup() %26 = call i32 (...) @fwriteln_setup() %27 = call i32 (...) @glue_setup() %28 = call i32 (...) @index_setup() %29 = call i32 (...) @length_setup() %30 = call i32 (...) @lifop_setup() %31 = call i32 (...) @limiter_tilde_setup() %32 = call i32 (...) @list2int_setup() %33 = call i32 (...) @list2lists_setup() %34 = call i32 (...) @list2symbol_setup() %35 = call i32 (...) @lister_setup() %36 = call i32 (...) @listfind_setup() %37 = call i32 (...) @liststorage_setup() %38 = call i32 (...) @longload_setup() %39 = call i32 (...) @lpt_setup() %40 = call i32 (...) @makesymbol_setup() %41 = call i32 (...) @matchbox_setup() %42 = call i32 (...) @mavg_setup() %43 = call i32 (...) @minmax_setup() %44 = call i32 (...) @msgfile_setup() %45 = call i32 (...) @multiline_tilde_setup() %46 = call i32 (...) @multiplex_setup() %47 = call i32 (...) @multiplex_tilde_setup() %48 = call i32 (...) @multireceive_setup() %49 = call i32 (...) @niagara_setup() %50 = call i32 (...) @noish_tilde_setup() %51 = call i32 (...) @noisi_tilde_setup() %52 = call i32 (...) @operating_system_setup() %53 = call i32 (...) @zpack_setup() %54 = call i32 (...) @packel_setup() %55 = call i32 (...) @pack_tilde_setup() %56 = call i32 (...) @pdf_tilde_setup() %57 = call i32 (...) @prime_setup() %58 = call i32 (...) @quantize_tilde_setup() %59 = call i32 (...) @rawprint_setup() %60 = call i32 (...) @regex_setup() %61 = call i32 (...) @relay_setup() %62 = call i32 (...) @repack_setup() %63 = call i32 (...) @repeat_setup() %64 = call i32 (...) @route_tilde_setup() %65 = call i32 (...) @sfplay_setup() %66 = call i32 (...) @sfrecord_setup() %67 = call i32 (...) @sgn_tilde_setup() %68 = call i32 (...) @sigzero_tilde_setup() %69 = call i32 (...) @sleepgrain_setup() %70 = call i32 (...) @zexy_sort_setup() %71 = call i32 (...) @step_tilde_setup() %72 = call i32 (...) @strcmp_setup() %73 = call i32 (...) @sum_setup() %74 = call i32 (...) @swap_tilde_setup() %75 = call i32 (...) @symbol2list_setup() %76 = call i32 (...) @tabdump_setup() %77 = call i32 (...) @tabminmax_setup() %78 = call i32 (...) @tabread4_tilde_tilde_setup() %79 = call i32 (...) @tabset_setup() %80 = call i32 (...) @tavg_tilde_setup() %81 = call i32 (...) @time_setup() %82 = call i32 (...) @zunpack_setup() %83 = call i32 (...) @unpack_tilde_setup() %84 = call i32 (...) @urn_setup() %85 = call i32 (...) @wrap_setup() %86 = call i32 (...) @z_tilde_setup() ret void } declare i32 @setup_0x260x260x7e(...) #1 declare i32 @setup_0x2e(...) #1 declare i32 @setup_0x3c0x7e(...) #1 declare i32 @setup_0x3d0x3d0x7e(...) #1 declare i32 @setup_0x3e0x7e(...) #1 declare i32 @setup_0x7c0x7c0x7e(...) #1 declare i32 @a2l_setup(...) #1 declare i32 @absgn_tilde_setup(...) #1 declare i32 @abs_tilde_setup(...) #1 declare i32 @atof_setup(...) #1 declare i32 @atoi_setup(...) #1 declare i32 @avg_tilde_setup(...) #1 declare i32 @blockmirror_tilde_setup(...) #1 declare i32 @blockshuffle_tilde_setup(...) #1 declare i32 @blockswap_tilde_setup(...) #1 declare i32 @date_setup(...) #1 declare i32 @demultiplex_setup(...) #1 declare i32 @demultiplex_tilde_setup(...) #1 declare i32 @dfreq_tilde_setup(...) #1 declare i32 @dirac_tilde_setup(...) #1 declare i32 @doublepole_tilde_setup(...) #1 declare i32 @drip_setup(...) #1 declare i32 @envrms_tilde_setup(...) #1 declare i32 @fifop_setup(...) #1 declare i32 @freadln_setup(...) #1 declare i32 @fwriteln_setup(...) #1 declare i32 @glue_setup(...) #1 declare i32 @index_setup(...) #1 declare i32 @length_setup(...) #1 declare i32 @lifop_setup(...) #1 declare i32 @limiter_tilde_setup(...) #1 declare i32 @list2int_setup(...) #1 declare i32 @list2lists_setup(...) #1 declare i32 @list2symbol_setup(...) #1 declare i32 @lister_setup(...) #1 declare i32 @listfind_setup(...) #1 declare i32 @liststorage_setup(...) #1 declare i32 @longload_setup(...) #1 declare i32 @lpt_setup(...) #1 declare i32 @makesymbol_setup(...) #1 declare i32 @matchbox_setup(...) #1 declare i32 @mavg_setup(...) #1 declare i32 @minmax_setup(...) #1 declare i32 @msgfile_setup(...) #1 declare i32 @multiline_tilde_setup(...) #1 declare i32 @multiplex_setup(...) #1 declare i32 @multiplex_tilde_setup(...) #1 declare i32 @multireceive_setup(...) #1 declare i32 @niagara_setup(...) #1 declare i32 @noish_tilde_setup(...) #1 declare i32 @noisi_tilde_setup(...) #1 declare i32 @operating_system_setup(...) #1 declare i32 @zpack_setup(...) #1 declare i32 @packel_setup(...) #1 declare i32 @pack_tilde_setup(...) #1 declare i32 @pdf_tilde_setup(...) #1 declare i32 @prime_setup(...) #1 declare i32 @quantize_tilde_setup(...) #1 declare i32 @rawprint_setup(...) #1 declare i32 @regex_setup(...) #1 declare i32 @relay_setup(...) #1 declare i32 @repack_setup(...) #1 declare i32 @repeat_setup(...) #1 declare i32 @route_tilde_setup(...) #1 declare i32 @sfplay_setup(...) #1 declare i32 @sfrecord_setup(...) #1 declare i32 @sgn_tilde_setup(...) #1 declare i32 @sigzero_tilde_setup(...) #1 declare i32 @sleepgrain_setup(...) #1 declare i32 @zexy_sort_setup(...) #1 declare i32 @step_tilde_setup(...) #1 declare i32 @strcmp_setup(...) #1 declare i32 @sum_setup(...) #1 declare i32 @swap_tilde_setup(...) #1 declare i32 @symbol2list_setup(...) #1 declare i32 @tabdump_setup(...) #1 declare i32 @tabminmax_setup(...) #1 declare i32 @tabread4_tilde_tilde_setup(...) #1 declare i32 @tabset_setup(...) #1 declare i32 @tavg_tilde_setup(...) #1 declare i32 @time_setup(...) #1 declare i32 @zunpack_setup(...) #1 declare i32 @unpack_tilde_setup(...) #1 declare i32 @urn_setup(...) #1 declare i32 @wrap_setup(...) #1 declare i32 @z_tilde_setup(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc20nlicw.c' source_filename = "/tmp/tmpc20nlicw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_WRONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"Cannot redirect stdout\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"Fork failed\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] zeroinitializer, align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"Child's exit code %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [35 x i8] c"Child did not terminate with exit\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @redirection_output(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr @O_WRONLY, align 4 %13 = load i32, ptr @O_CREAT, align 4 %14 = or i32 %12, %13 %15 = load i32, ptr @O_TRUNC, align 4 %16 = or i32 %14, %15 %17 = load i32, ptr @S_IRUSR, align 4 %18 = load i32, ptr @S_IWUSR, align 4 %19 = or i32 %17, %18 %20 = call i32 @open(ptr noundef %11, i32 noundef %16, i32 noundef %19) store i32 %20, ptr %9, align 4 %21 = load i32, ptr %9, align 4 %22 = icmp eq i32 -1, %21 br i1 %22, label %23, label %26 23: ; preds = %3 %24 = load ptr, ptr %6, align 8 %25 = call i32 @perror(ptr noundef %24) br label %82 26: ; preds = %3 %27 = load i32, ptr @stdout, align 4 %28 = call i32 @fileno(i32 noundef %27) %29 = call i32 @dup(i32 noundef %28) store i32 %29, ptr %10, align 4 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr @stdout, align 4 %32 = call i32 @fileno(i32 noundef %31) %33 = call i32 @dup2(i32 noundef %30, i32 noundef %32) %34 = icmp eq i32 -1, %33 br i1 %34, label %35, label %37 35: ; preds = %26 %36 = call i32 @perror(ptr noundef @.str) br label %82 37: ; preds = %26 %38 = call i64 (...) @fork() store i64 %38, ptr %7, align 8 %39 = load i64, ptr %7, align 8 %40 = icmp slt i64 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %37 %42 = call i32 @perror(ptr noundef @.str.1) br label %82 43: ; preds = %37 %44 = load i64, ptr %7, align 8 %45 = icmp eq i64 %44, 0 br i1 %45, label %46, label %60 46: ; preds = %43 %47 = load ptr, ptr %5, align 8 %48 = call i64 @strcmp(ptr noundef %47, ptr noundef @.str.2) %49 = icmp eq i64 %48, 0 br i1 %49, label %50, label %54 50: ; preds = %46 %51 = load ptr, ptr %4, align 8 %52 = load ptr, ptr %4, align 8 %53 = call i32 (ptr, ptr, ptr, ...) @execlp(ptr noundef %51, ptr noundef %52, ptr noundef null) br label %59 54: ; preds = %46 %55 = load ptr, ptr %4, align 8 %56 = load ptr, ptr %4, align 8 %57 = load ptr, ptr %5, align 8 %58 = call i32 (ptr, ptr, ptr, ...) @execlp(ptr noundef %55, ptr noundef %56, ptr noundef %57, ptr noundef null) br label %59 59: ; preds = %54, %50 br label %81 60: ; preds = %43 %61 = load i64, ptr %7, align 8 %62 = call i32 @waitpid(i64 noundef %61, ptr noundef %8, i32 noundef 0) %63 = load i32, ptr %10, align 4 %64 = load i32, ptr @stdout, align 4 %65 = call i32 @fileno(i32 noundef %64) %66 = call i32 @dup2(i32 noundef %63, i32 noundef %65) %67 = load i32, ptr %10, align 4 %68 = call i32 @close(i32 noundef %67) %69 = load i32, ptr %9, align 4 %70 = call i32 @close(i32 noundef %69) %71 = load i32, ptr %8, align 4 %72 = call i64 @WIFEXITED(i32 noundef %71) %73 = icmp ne i64 %72, 0 br i1 %73, label %74, label %78 74: ; preds = %60 %75 = load i32, ptr %8, align 4 %76 = call i32 @WEXITSTATUS(i32 noundef %75) %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %76) br label %80 78: ; preds = %60 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %80 80: ; preds = %78, %74 br label %81 81: ; preds = %80, %59 br label %82 82: ; preds = %23, %35, %41, %81 ret void } declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @dup(i32 noundef) #1 declare i32 @fileno(i32 noundef) #1 declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i64 @fork(...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i64 @WIFEXITED(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @WEXITSTATUS(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/tmpc20nlicw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_WRONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"Cannot redirect stdout\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"Fork failed\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] zeroinitializer, align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"Child's exit code %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [35 x i8] c"Child did not terminate with exit\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @redirection_output(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr @O_WRONLY, align 4 %13 = load i32, ptr @O_CREAT, align 4 %14 = or i32 %12, %13 %15 = load i32, ptr @O_TRUNC, align 4 %16 = or i32 %14, %15 %17 = load i32, ptr @S_IRUSR, align 4 %18 = load i32, ptr @S_IWUSR, align 4 %19 = or i32 %17, %18 %20 = call i32 @open(ptr noundef %11, i32 noundef %16, i32 noundef %19) store i32 %20, ptr %9, align 4 %21 = load i32, ptr %9, align 4 %22 = icmp eq i32 -1, %21 br i1 %22, label %23, label %26 23: ; preds = %3 %24 = load ptr, ptr %6, align 8 %25 = call i32 @perror(ptr noundef %24) br label %82 26: ; preds = %3 %27 = load i32, ptr @stdout, align 4 %28 = call i32 @fileno(i32 noundef %27) %29 = call i32 @dup(i32 noundef %28) store i32 %29, ptr %10, align 4 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr @stdout, align 4 %32 = call i32 @fileno(i32 noundef %31) %33 = call i32 @dup2(i32 noundef %30, i32 noundef %32) %34 = icmp eq i32 -1, %33 br i1 %34, label %35, label %37 35: ; preds = %26 %36 = call i32 @perror(ptr noundef @.str) br label %82 37: ; preds = %26 %38 = call i64 (...) @fork() store i64 %38, ptr %7, align 8 %39 = load i64, ptr %7, align 8 %40 = icmp slt i64 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %37 %42 = call i32 @perror(ptr noundef @.str.1) br label %82 43: ; preds = %37 %44 = load i64, ptr %7, align 8 %45 = icmp eq i64 %44, 0 br i1 %45, label %46, label %60 46: ; preds = %43 %47 = load ptr, ptr %5, align 8 %48 = call i64 @strcmp(ptr noundef %47, ptr noundef @.str.2) %49 = icmp eq i64 %48, 0 br i1 %49, label %50, label %54 50: ; preds = %46 %51 = load ptr, ptr %4, align 8 %52 = load ptr, ptr %4, align 8 %53 = call i32 (ptr, ptr, ptr, ...) @execlp(ptr noundef %51, ptr noundef %52, ptr noundef null) br label %59 54: ; preds = %46 %55 = load ptr, ptr %4, align 8 %56 = load ptr, ptr %4, align 8 %57 = load ptr, ptr %5, align 8 %58 = call i32 (ptr, ptr, ptr, ...) @execlp(ptr noundef %55, ptr noundef %56, ptr noundef %57, ptr noundef null) br label %59 59: ; preds = %54, %50 br label %81 60: ; preds = %43 %61 = load i64, ptr %7, align 8 %62 = call i32 @waitpid(i64 noundef %61, ptr noundef %8, i32 noundef 0) %63 = load i32, ptr %10, align 4 %64 = load i32, ptr @stdout, align 4 %65 = call i32 @fileno(i32 noundef %64) %66 = call i32 @dup2(i32 noundef %63, i32 noundef %65) %67 = load i32, ptr %10, align 4 %68 = call i32 @close(i32 noundef %67) %69 = load i32, ptr %9, align 4 %70 = call i32 @close(i32 noundef %69) %71 = load i32, ptr %8, align 4 %72 = call i64 @WIFEXITED(i32 noundef %71) %73 = icmp ne i64 %72, 0 br i1 %73, label %74, label %78 74: ; preds = %60 %75 = load i32, ptr %8, align 4 %76 = call i32 @WEXITSTATUS(i32 noundef %75) %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %76) br label %80 78: ; preds = %60 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %80 80: ; preds = %78, %74 br label %81 81: ; preds = %80, %59 br label %82 82: ; preds = %81, %41, %35, %23 ret void } declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @dup(i32 noundef) #1 declare i32 @fileno(i32 noundef) #1 declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i64 @fork(...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i64 @WIFEXITED(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @WEXITSTATUS(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/tmpvkfey0_0.c' source_filename = "/tmp/tmpvkfey0_0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d-%d-%d-%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%#x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fun() #0 { %1 = alloca ptr, align 8 %2 = call i64 @malloc(i32 noundef 69) %3 = inttoptr i64 %2 to ptr store ptr %3, ptr %1, align 8 %4 = load ptr, ptr %1, align 8 %5 = getelementptr inbounds i8, ptr %4, i64 0 %6 = load i8, ptr %5, align 1 %7 = sext i8 %6 to i32 %8 = load ptr, ptr %1, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 1 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = load ptr, ptr %1, align 8 %13 = getelementptr inbounds i8, ptr %12, i64 2 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = load ptr, ptr %1, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 3 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %11, i32 noundef %15, i32 noundef %19) %21 = load ptr, ptr %1, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 0 store i8 1, ptr %22, align 1 %23 = load ptr, ptr %1, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 1 store i8 2, ptr %24, align 1 %25 = load ptr, ptr %1, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 2 store i8 3, ptr %26, align 1 %27 = load ptr, ptr %1, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 3 store i8 4, ptr %28, align 1 %29 = load ptr, ptr %1, align 8 %30 = ptrtoint ptr %29 to i32 %31 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %30) %32 = load ptr, ptr %1, align 8 %33 = call i32 @free(ptr noundef %32) ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvkfey0_0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d-%d-%d-%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%#x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fun() #0 { %1 = alloca ptr, align 8 %2 = call i64 @malloc(i32 noundef 69) %3 = inttoptr i64 %2 to ptr store ptr %3, ptr %1, align 8 %4 = load ptr, ptr %1, align 8 %5 = getelementptr inbounds i8, ptr %4, i64 0 %6 = load i8, ptr %5, align 1 %7 = sext i8 %6 to i32 %8 = load ptr, ptr %1, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 1 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = load ptr, ptr %1, align 8 %13 = getelementptr inbounds i8, ptr %12, i64 2 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = load ptr, ptr %1, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 3 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %11, i32 noundef %15, i32 noundef %19) %21 = load ptr, ptr %1, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 0 store i8 1, ptr %22, align 1 %23 = load ptr, ptr %1, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 1 store i8 2, ptr %24, align 1 %25 = load ptr, ptr %1, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 2 store i8 3, ptr %26, align 1 %27 = load ptr, ptr %1, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 3 store i8 4, ptr %28, align 1 %29 = load ptr, ptr %1, align 8 %30 = ptrtoint ptr %29 to i32 %31 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %30) %32 = load ptr, ptr %1, align 8 %33 = call i32 @free(ptr noundef %32) ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphn8pfm_b.c' source_filename = "/tmp/tmphn8pfm_b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphn8pfm_b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp194f8q4e.c' source_filename = "/tmp/tmp194f8q4e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Meters_To_Feet(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca i32, align 4 %4 = alloca double, align 8 %5 = alloca double, align 8 store double %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %6 = load double, ptr %2, align 8 %7 = fdiv double %6, 3.050000e-01 store double %7, ptr %2, align 8 %8 = load double, ptr %2, align 8 %9 = call double @modf(double noundef %8, ptr noundef %4) #2 store double %9, ptr %5, align 8 %10 = load double, ptr %5, align 8 %11 = fcmp oge double %10, 5.000000e-01 br i1 %11, label %12, label %15 12: ; preds = %1 %13 = load double, ptr %2, align 8 %14 = fadd double %13, 1.000000e+00 store double %14, ptr %2, align 8 br label %15 15: ; preds = %12, %1 %16 = load double, ptr %2, align 8 %17 = fptosi double %16 to i32 store i32 %17, ptr %3, align 4 %18 = load i32, ptr %3, align 4 ret i32 %18 } ; Function Attrs: nounwind declare double @modf(double noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp194f8q4e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Meters_To_Feet(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca i32, align 4 %4 = alloca double, align 8 %5 = alloca double, align 8 store double %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %6 = load double, ptr %2, align 8 %7 = fdiv double %6, 3.050000e-01 store double %7, ptr %2, align 8 %8 = load double, ptr %2, align 8 %9 = call double @modf(double noundef %8, ptr noundef %4) #2 store double %9, ptr %5, align 8 %10 = load double, ptr %5, align 8 %11 = fcmp oge double %10, 5.000000e-01 br i1 %11, label %12, label %15 12: ; preds = %1 %13 = load double, ptr %2, align 8 %14 = fadd double %13, 1.000000e+00 store double %14, ptr %2, align 8 br label %15 15: ; preds = %12, %1 %16 = load double, ptr %2, align 8 %17 = fptosi double %16 to i32 store i32 %17, ptr %3, align 4 %18 = load i32, ptr %3, align 4 ret i32 %18 } ; Function Attrs: nounwind declare double @modf(double noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz84zkq4k.c' source_filename = "/tmp/tmpz84zkq4k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_offset(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = and i32 %3, 65535 ret i32 %4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz84zkq4k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_offset(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = and i32 %3, 65535 ret i32 %4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxdy9zt28.c' source_filename = "/tmp/tmpxdy9zt28.c" target datalayout = "e-m:e-p270: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/tmpxdy9zt28.c" target datalayout = "e-m:e-p270: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/tmpv66o_a_0.c' source_filename = "/tmp/tmpv66o_a_0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @getItemSpawnLoc(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i8, align 1 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i16, align 2 %12 = alloca i16, align 2 %13 = alloca i16, align 2 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %14 = load ptr, ptr %9, align 8 %15 = load i64, ptr %14, align 8 %16 = icmp ule i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %4 store i8 0, ptr %5, align 1 br label %62 18: ; preds = %4 %19 = load ptr, ptr %9, align 8 %20 = load i64, ptr %19, align 8 %21 = call i64 @rand_range(i32 noundef 1, i64 noundef %20) store i64 %21, ptr %10, align 8 store i16 0, ptr %12, align 2 br label %22 22: ; preds = %58, %18 %23 = load i16, ptr %12, align 2 %24 = sext i16 %23 to i32 %25 = icmp slt i32 %24, 79 br i1 %25, label %26, label %61 26: ; preds = %22 store i16 0, ptr %13, align 2 br label %27 27: ; preds = %54, %26 %28 = load i16, ptr %13, align 2 %29 = sext i16 %28 to i32 %30 = icmp slt i32 %29, 29 br i1 %30, label %31, label %57 31: ; preds = %27 %32 = load ptr, ptr %6, align 8 %33 = load i16, ptr %12, align 2 %34 = sext i16 %33 to i64 %35 = getelementptr inbounds [29 x i16], ptr %32, i64 %34 %36 = load i16, ptr %13, align 2 %37 = sext i16 %36 to i64 %38 = getelementptr inbounds [29 x i16], ptr %35, i64 0, i64 %37 %39 = load i16, ptr %38, align 2 store i16 %39, ptr %11, align 2 %40 = load i64, ptr %10, align 8 %41 = load i16, ptr %11, align 2 %42 = zext i16 %41 to i64 %43 = icmp ule i64 %40, %42 br i1 %43, label %44, label %49 44: ; preds = %31 %45 = load i16, ptr %12, align 2 %46 = load ptr, ptr %7, align 8 store i16 %45, ptr %46, align 2 %47 = load i16, ptr %13, align 2 %48 = load ptr, ptr %8, align 8 store i16 %47, ptr %48, align 2 store i8 1, ptr %5, align 1 br label %62 49: ; preds = %31 %50 = load i16, ptr %11, align 2 %51 = zext i16 %50 to i64 %52 = load i64, ptr %10, align 8 %53 = sub i64 %52, %51 store i64 %53, ptr %10, align 8 br label %54 54: ; preds = %49 %55 = load i16, ptr %13, align 2 %56 = add i16 %55, 1 store i16 %56, ptr %13, align 2 br label %27, !llvm.loop !6 57: ; preds = %27 br label %58 58: ; preds = %57 %59 = load i16, ptr %12, align 2 %60 = add i16 %59, 1 store i16 %60, ptr %12, align 2 br label %22, !llvm.loop !8 61: ; preds = %22 store i8 0, ptr %5, align 1 br label %62 62: ; preds = %61, %44, %17 %63 = load i8, ptr %5, align 1 ret i8 %63 } declare i64 @rand_range(i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv66o_a_0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @getItemSpawnLoc(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i8, align 1 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i16, align 2 %12 = alloca i16, align 2 %13 = alloca i16, align 2 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %14 = load ptr, ptr %9, align 8 %15 = load i64, ptr %14, align 8 %16 = icmp ule i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %4 store i8 0, ptr %5, align 1 br label %66 18: ; preds = %4 %19 = load ptr, ptr %9, align 8 %20 = load i64, ptr %19, align 8 %21 = call i64 @rand_range(i32 noundef 1, i64 noundef %20) store i64 %21, ptr %10, align 8 store i16 0, ptr %12, align 2 %22 = load i16, ptr %12, align 2 %23 = sext i16 %22 to i32 %24 = icmp slt i32 %23, 79 br i1 %24, label %.lr.ph2, label %65 .lr.ph2: ; preds = %18 br label %25 25: ; preds = %.lr.ph2, %59 store i16 0, ptr %13, align 2 %26 = load i16, ptr %13, align 2 %27 = sext i16 %26 to i32 %28 = icmp slt i32 %27, 29 br i1 %28, label %.lr.ph, label %58 .lr.ph: ; preds = %25 br label %29 29: ; preds = %.lr.ph, %52 %30 = load ptr, ptr %6, align 8 %31 = load i16, ptr %12, align 2 %32 = sext i16 %31 to i64 %33 = getelementptr inbounds [29 x i16], ptr %30, i64 %32 %34 = load i16, ptr %13, align 2 %35 = sext i16 %34 to i64 %36 = getelementptr inbounds [29 x i16], ptr %33, i64 0, i64 %35 %37 = load i16, ptr %36, align 2 store i16 %37, ptr %11, align 2 %38 = load i64, ptr %10, align 8 %39 = load i16, ptr %11, align 2 %40 = zext i16 %39 to i64 %41 = icmp ule i64 %38, %40 br i1 %41, label %42, label %47 42: ; preds = %29 %43 = load i16, ptr %12, align 2 %44 = load ptr, ptr %7, align 8 store i16 %43, ptr %44, align 2 %45 = load i16, ptr %13, align 2 %46 = load ptr, ptr %8, align 8 store i16 %45, ptr %46, align 2 store i8 1, ptr %5, align 1 br label %66 47: ; preds = %29 %48 = load i16, ptr %11, align 2 %49 = zext i16 %48 to i64 %50 = load i64, ptr %10, align 8 %51 = sub i64 %50, %49 store i64 %51, ptr %10, align 8 br label %52 52: ; preds = %47 %53 = load i16, ptr %13, align 2 %54 = add i16 %53, 1 store i16 %54, ptr %13, align 2 %55 = load i16, ptr %13, align 2 %56 = sext i16 %55 to i32 %57 = icmp slt i32 %56, 29 br i1 %57, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %52 br label %58 58: ; preds = %._crit_edge, %25 br label %59 59: ; preds = %58 %60 = load i16, ptr %12, align 2 %61 = add i16 %60, 1 store i16 %61, ptr %12, align 2 %62 = load i16, ptr %12, align 2 %63 = sext i16 %62 to i32 %64 = icmp slt i32 %63, 79 br i1 %64, label %25, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %59 br label %65 65: ; preds = %._crit_edge3, %18 store i8 0, ptr %5, align 1 br label %66 66: ; preds = %65, %42, %17 %67 = load i8, ptr %5, align 1 ret i8 %67 } declare i64 @rand_range(i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp90745n05.c' source_filename = "/tmp/tmp90745n05.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"mosh\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @WUNTRACED = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @launch(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = call i64 (...) @fork() store i64 %6, ptr %3, align 8 %7 = load i64, ptr %3, align 8 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %21 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = load ptr, ptr %2, align 8 %14 = call i32 @execvp(ptr noundef %12, ptr noundef %13) %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %18 16: ; preds = %9 %17 = call i32 @perror(ptr noundef @.str) br label %18 18: ; preds = %16, %9 %19 = load i32, ptr @EXIT_FAILURE, align 4 %20 = call i32 @exit(i32 noundef %19) #3 unreachable 21: ; preds = %1 %22 = load i64, ptr %3, align 8 %23 = icmp slt i64 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %21 %25 = call i32 @perror(ptr noundef @.str) br label %43 26: ; preds = %21 br label %27 27: ; preds = %40, %26 %28 = load i64, ptr %3, align 8 %29 = load i32, ptr @WUNTRACED, align 4 %30 = call i64 @waitpid(i64 noundef %28, ptr noundef %5, i32 noundef %29) store i64 %30, ptr %4, align 8 br label %31 31: ; preds = %27 %32 = load i32, ptr %5, align 4 %33 = call i32 @WIFEXITED(i32 noundef %32) %34 = icmp ne i32 %33, 0 br i1 %34, label %40, label %35 35: ; preds = %31 %36 = load i32, ptr %5, align 4 %37 = call i32 @WIFSIGNALED(i32 noundef %36) %38 = icmp ne i32 %37, 0 %39 = xor i1 %38, true br label %40 40: ; preds = %35, %31 %41 = phi i1 [ false, %31 ], [ %39, %35 ] br i1 %41, label %27, label %42, !llvm.loop !6 42: ; preds = %40 br label %43 43: ; preds = %42, %24 br label %44 44: ; preds = %43 ret i32 1 } declare i64 @fork(...) #1 declare i32 @execvp(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1 declare i32 @WIFEXITED(i32 noundef) #1 declare i32 @WIFSIGNALED(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp90745n05.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"mosh\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @WUNTRACED = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @launch(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = call i64 (...) @fork() store i64 %6, ptr %3, align 8 %7 = load i64, ptr %3, align 8 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %21 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = load ptr, ptr %2, align 8 %14 = call i32 @execvp(ptr noundef %12, ptr noundef %13) %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %18 16: ; preds = %9 %17 = call i32 @perror(ptr noundef @.str) br label %18 18: ; preds = %16, %9 %19 = load i32, ptr @EXIT_FAILURE, align 4 %20 = call i32 @exit(i32 noundef %19) #3 unreachable 21: ; preds = %1 %22 = load i64, ptr %3, align 8 %23 = icmp slt i64 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %21 %25 = call i32 @perror(ptr noundef @.str) br label %43 26: ; preds = %21 br label %27 27: ; preds = %40, %26 %28 = load i64, ptr %3, align 8 %29 = load i32, ptr @WUNTRACED, align 4 %30 = call i64 @waitpid(i64 noundef %28, ptr noundef %5, i32 noundef %29) store i64 %30, ptr %4, align 8 br label %31 31: ; preds = %27 %32 = load i32, ptr %5, align 4 %33 = call i32 @WIFEXITED(i32 noundef %32) %34 = icmp ne i32 %33, 0 br i1 %34, label %40, label %35 35: ; preds = %31 %36 = load i32, ptr %5, align 4 %37 = call i32 @WIFSIGNALED(i32 noundef %36) %38 = icmp ne i32 %37, 0 %39 = xor i1 %38, true br label %40 40: ; preds = %35, %31 %41 = phi i1 [ false, %31 ], [ %39, %35 ] br i1 %41, label %27, label %42, !llvm.loop !6 42: ; preds = %40 br label %43 43: ; preds = %42, %24 br label %44 44: ; preds = %43 ret i32 1 } declare i64 @fork(...) #1 declare i32 @execvp(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1 declare i32 @WIFEXITED(i32 noundef) #1 declare i32 @WIFSIGNALED(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp46hw32at.c' source_filename = "/tmp/tmp46hw32at.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"%3d %6.1f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %11, %0 %4 = load i32, ptr %2, align 4 %5 = icmp sle i32 %4, 300 br i1 %5, label %6, label %14 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = call double @fahrenheit_celsius(i32 noundef %8) %10 = call i32 @printf(ptr noundef @.str, i32 noundef %7, double noundef %9) br label %11 11: ; preds = %6 %12 = load i32, ptr %2, align 4 %13 = add nsw i32 %12, 20 store i32 %13, ptr %2, align 4 br label %3, !llvm.loop !6 14: ; preds = %3 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, double noundef) #1 declare double @fahrenheit_celsius(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/tmp46hw32at.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"%3d %6.1f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp sle i32 %3, 300 br i1 %4, label %.lr.ph, label %15 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %10 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = call double @fahrenheit_celsius(i32 noundef %7) %9 = call i32 @printf(ptr noundef @.str, i32 noundef %6, double noundef %8) br label %10 10: ; preds = %5 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, 20 store i32 %12, ptr %2, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp sle i32 %13, 300 br i1 %14, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %15 15: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, double noundef) #1 declare double @fahrenheit_celsius(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/tmpuw8z7jq9.c' source_filename = "/tmp/tmpuw8z7jq9.c" target datalayout = "e-m:e-p270: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/tmpuw8z7jq9.c" target datalayout = "e-m:e-p270: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/tmpcu85u0q2.c' source_filename = "/tmp/tmpcu85u0q2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getopt(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 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @getopt_internal(i32 noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef null, ptr noundef null, i32 noundef 0) ret i32 %10 } declare i32 @getopt_internal(i32 noundef, ptr 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/tmpcu85u0q2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getopt(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 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @getopt_internal(i32 noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef null, ptr noundef null, i32 noundef 0) ret i32 %10 } declare i32 @getopt_internal(i32 noundef, ptr 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/tmp0un_1152.c' source_filename = "/tmp/tmp0un_1152.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_EMRPOLYGON_safe(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 @core1_safe(ptr noundef %3) ret i32 %4 } declare i32 @core1_safe(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0un_1152.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_EMRPOLYGON_safe(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 @core1_safe(ptr noundef %3) ret i32 %4 } declare i32 @core1_safe(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk_2zsh01.c' source_filename = "/tmp/tmpk_2zsh01.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cxl_afu_open_dev(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = call ptr (...) @malloc_afu() store ptr %5, ptr %4, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %8, label %7 7: ; preds = %1 store ptr null, ptr %2, align 8 br label %19 8: ; preds = %1 %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %3, align 8 %11 = call i64 @open_afu_dev(ptr noundef %9, ptr noundef %10) %12 = icmp slt i64 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %8 br label %16 14: ; preds = %8 %15 = load ptr, ptr %4, align 8 store ptr %15, ptr %2, align 8 br label %19 16: ; preds = %13 %17 = load ptr, ptr %4, align 8 %18 = call i32 @cxl_afu_free(ptr noundef %17) store ptr null, ptr %2, align 8 br label %19 19: ; preds = %16, %14, %7 %20 = load ptr, ptr %2, align 8 ret ptr %20 } declare ptr @malloc_afu(...) #1 declare i64 @open_afu_dev(ptr noundef, ptr noundef) #1 declare i32 @cxl_afu_free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk_2zsh01.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cxl_afu_open_dev(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = call ptr (...) @malloc_afu() store ptr %5, ptr %4, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %8, label %7 7: ; preds = %1 store ptr null, ptr %2, align 8 br label %19 8: ; preds = %1 %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %3, align 8 %11 = call i64 @open_afu_dev(ptr noundef %9, ptr noundef %10) %12 = icmp slt i64 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %8 br label %16 14: ; preds = %8 %15 = load ptr, ptr %4, align 8 store ptr %15, ptr %2, align 8 br label %19 16: ; preds = %13 %17 = load ptr, ptr %4, align 8 %18 = call i32 @cxl_afu_free(ptr noundef %17) store ptr null, ptr %2, align 8 br label %19 19: ; preds = %16, %14, %7 %20 = load ptr, ptr %2, align 8 ret ptr %20 } declare ptr @malloc_afu(...) #1 declare i64 @open_afu_dev(ptr noundef, ptr noundef) #1 declare i32 @cxl_afu_free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprjzflc2w.c' source_filename = "/tmp/tmprjzflc2w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [53 x i8] c"Fail: Couldn't find start '%s' in '%s' (strBetween)\0A\00", align 1 @.str.1 = private unnamed_addr constant [51 x i8] c"Fail: Couldn't find end '%s' in '%s' (strBetween)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @strBetween(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %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 ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %7, align 8 %13 = call ptr @strstr(ptr noundef %11, ptr noundef %12) store ptr %13, ptr %9, align 8 %14 = load ptr, ptr %9, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %21 16: ; preds = %4 %17 = load ptr, ptr %7, align 8 %18 = load ptr, ptr %5, align 8 %19 = call i32 @printf(ptr noundef @.str, ptr noundef %17, ptr noundef %18) %20 = call i32 @exit(i32 noundef 1) #3 unreachable 21: ; preds = %4 %22 = load ptr, ptr %5, align 8 %23 = load ptr, ptr %8, align 8 %24 = call ptr @strstr(ptr noundef %22, ptr noundef %23) store ptr %24, ptr %10, align 8 %25 = load ptr, ptr %10, align 8 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %32 27: ; preds = %21 %28 = load ptr, ptr %7, align 8 %29 = load ptr, ptr %5, align 8 %30 = call i32 @printf(ptr noundef @.str.1, ptr noundef %28, ptr noundef %29) %31 = call i32 @exit(i32 noundef 1) #3 unreachable 32: ; preds = %21 %33 = load ptr, ptr %6, align 8 %34 = load ptr, ptr %9, align 8 %35 = load ptr, ptr %7, align 8 %36 = call i32 @strlen(ptr noundef %35) %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %34, i64 %37 %39 = load ptr, ptr %10, align 8 %40 = load ptr, ptr %9, align 8 %41 = load ptr, ptr %7, align 8 %42 = call i32 @strlen(ptr noundef %41) %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %40, i64 %43 %45 = ptrtoint ptr %39 to i64 %46 = ptrtoint ptr %44 to i64 %47 = sub i64 %45, %46 %48 = trunc i64 %47 to i32 %49 = call i32 @strncpy(ptr noundef %33, ptr noundef %38, i32 noundef %48) %50 = load ptr, ptr %6, align 8 %51 = load ptr, ptr %10, align 8 %52 = load ptr, ptr %9, align 8 %53 = load ptr, ptr %7, align 8 %54 = call i32 @strlen(ptr noundef %53) %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %52, i64 %55 %57 = ptrtoint ptr %51 to i64 %58 = ptrtoint ptr %56 to i64 %59 = sub i64 %57, %58 %60 = sub nsw i64 %59, 1 %61 = getelementptr inbounds i8, ptr %50, i64 %60 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = icmp eq i32 %63, 13 br i1 %64, label %65, label %78 65: ; preds = %32 %66 = load ptr, ptr %6, align 8 %67 = load ptr, ptr %10, align 8 %68 = load ptr, ptr %9, align 8 %69 = load ptr, ptr %7, align 8 %70 = call i32 @strlen(ptr noundef %69) %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i8, ptr %68, i64 %71 %73 = ptrtoint ptr %67 to i64 %74 = ptrtoint ptr %72 to i64 %75 = sub i64 %73, %74 %76 = sub nsw i64 %75, 1 %77 = getelementptr inbounds i8, ptr %66, i64 %76 store i8 0, ptr %77, align 1 br label %78 78: ; preds = %65, %32 %79 = load ptr, ptr %6, align 8 %80 = load ptr, ptr %10, align 8 %81 = load ptr, ptr %9, align 8 %82 = load ptr, ptr %7, align 8 %83 = call i32 @strlen(ptr noundef %82) %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i8, ptr %81, i64 %84 %86 = ptrtoint ptr %80 to i64 %87 = ptrtoint ptr %85 to i64 %88 = sub i64 %86, %87 %89 = getelementptr inbounds i8, ptr %79, i64 %88 store i8 0, ptr %89, align 1 ret void } declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmprjzflc2w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [53 x i8] c"Fail: Couldn't find start '%s' in '%s' (strBetween)\0A\00", align 1 @.str.1 = private unnamed_addr constant [51 x i8] c"Fail: Couldn't find end '%s' in '%s' (strBetween)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @strBetween(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %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 ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %7, align 8 %13 = call ptr @strstr(ptr noundef %11, ptr noundef %12) store ptr %13, ptr %9, align 8 %14 = load ptr, ptr %9, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %21 16: ; preds = %4 %17 = load ptr, ptr %7, align 8 %18 = load ptr, ptr %5, align 8 %19 = call i32 @printf(ptr noundef @.str, ptr noundef %17, ptr noundef %18) %20 = call i32 @exit(i32 noundef 1) #3 unreachable 21: ; preds = %4 %22 = load ptr, ptr %5, align 8 %23 = load ptr, ptr %8, align 8 %24 = call ptr @strstr(ptr noundef %22, ptr noundef %23) store ptr %24, ptr %10, align 8 %25 = load ptr, ptr %10, align 8 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %32 27: ; preds = %21 %28 = load ptr, ptr %7, align 8 %29 = load ptr, ptr %5, align 8 %30 = call i32 @printf(ptr noundef @.str.1, ptr noundef %28, ptr noundef %29) %31 = call i32 @exit(i32 noundef 1) #3 unreachable 32: ; preds = %21 %33 = load ptr, ptr %6, align 8 %34 = load ptr, ptr %9, align 8 %35 = load ptr, ptr %7, align 8 %36 = call i32 @strlen(ptr noundef %35) %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %34, i64 %37 %39 = load ptr, ptr %10, align 8 %40 = load ptr, ptr %9, align 8 %41 = load ptr, ptr %7, align 8 %42 = call i32 @strlen(ptr noundef %41) %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %40, i64 %43 %45 = ptrtoint ptr %39 to i64 %46 = ptrtoint ptr %44 to i64 %47 = sub i64 %45, %46 %48 = trunc i64 %47 to i32 %49 = call i32 @strncpy(ptr noundef %33, ptr noundef %38, i32 noundef %48) %50 = load ptr, ptr %6, align 8 %51 = load ptr, ptr %10, align 8 %52 = load ptr, ptr %9, align 8 %53 = load ptr, ptr %7, align 8 %54 = call i32 @strlen(ptr noundef %53) %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %52, i64 %55 %57 = ptrtoint ptr %51 to i64 %58 = ptrtoint ptr %56 to i64 %59 = sub i64 %57, %58 %60 = sub nsw i64 %59, 1 %61 = getelementptr inbounds i8, ptr %50, i64 %60 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = icmp eq i32 %63, 13 br i1 %64, label %65, label %78 65: ; preds = %32 %66 = load ptr, ptr %6, align 8 %67 = load ptr, ptr %10, align 8 %68 = load ptr, ptr %9, align 8 %69 = load ptr, ptr %7, align 8 %70 = call i32 @strlen(ptr noundef %69) %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i8, ptr %68, i64 %71 %73 = ptrtoint ptr %67 to i64 %74 = ptrtoint ptr %72 to i64 %75 = sub i64 %73, %74 %76 = sub nsw i64 %75, 1 %77 = getelementptr inbounds i8, ptr %66, i64 %76 store i8 0, ptr %77, align 1 br label %78 78: ; preds = %65, %32 %79 = load ptr, ptr %6, align 8 %80 = load ptr, ptr %10, align 8 %81 = load ptr, ptr %9, align 8 %82 = load ptr, ptr %7, align 8 %83 = call i32 @strlen(ptr noundef %82) %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i8, ptr %81, i64 %84 %86 = ptrtoint ptr %80 to i64 %87 = ptrtoint ptr %85 to i64 %88 = sub i64 %86, %87 %89 = getelementptr inbounds i8, ptr %79, i64 %88 store i8 0, ptr %89, align 1 ret void } declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpmx_zt58u.c' source_filename = "/tmp/tmpmx_zt58u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Printing initial matrix: \0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Printing evolved matrix: \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %6, align 4 store i32 1024, ptr %7, align 4 store i32 1024, ptr %8, align 4 store i32 1, ptr %9, align 4 %15 = load ptr, ptr %10, align 8 %16 = call ptr @allocate_matrix(ptr noundef %15, i32 noundef 1024, i32 noundef 1024) store ptr %16, ptr %10, align 8 %17 = load ptr, ptr %11, align 8 %18 = call ptr @allocate_matrix(ptr noundef %17, i32 noundef 1024, i32 noundef 1024) store ptr %18, ptr %11, align 8 store i32 0, ptr %14, align 4 %19 = load ptr, ptr %10, align 8 %20 = load i32, ptr %14, align 4 %21 = call i32 @init_matrix(ptr noundef %19, i32 noundef 1024, i32 noundef 1024, i32 noundef 1, i32 noundef %20) %22 = call i32 @printf(ptr noundef @.str) %23 = load ptr, ptr %10, align 8 %24 = call i32 @print_matrix(ptr noundef %23, i32 noundef 1024, i32 noundef 1024) %25 = load ptr, ptr %10, align 8 %26 = load ptr, ptr %11, align 8 %27 = call i32 @dead_or_alive(ptr noundef %25, ptr noundef %26, i32 noundef 1024, i32 noundef 1024, i32 noundef 1, i32 noundef 1) %28 = load ptr, ptr %11, align 8 %29 = call i32 @enforce_boundary_conditions(ptr noundef %28, i32 noundef 1024, i32 noundef 1024, i32 noundef 1) %30 = call i32 @swap(ptr noundef %10, ptr noundef %11) %31 = call i32 @printf(ptr noundef @.str.1) %32 = load ptr, ptr %10, align 8 %33 = call i32 @print_matrix(ptr noundef %32, i32 noundef 1024, i32 noundef 1024) %34 = load ptr, ptr %10, align 8 %35 = call i32 @free_matrix(ptr noundef %34, i32 noundef 1024, i32 noundef 1024) %36 = load ptr, ptr %11, align 8 %37 = call i32 @free_matrix(ptr noundef %36, i32 noundef 1024, i32 noundef 1024) ret i32 0 } declare ptr @allocate_matrix(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @init_matrix(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @print_matrix(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @dead_or_alive(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @enforce_boundary_conditions(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @swap(ptr noundef, ptr noundef) #1 declare i32 @free_matrix(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmx_zt58u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Printing initial matrix: \0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Printing evolved matrix: \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %6, align 4 store i32 1024, ptr %7, align 4 store i32 1024, ptr %8, align 4 store i32 1, ptr %9, align 4 %15 = load ptr, ptr %10, align 8 %16 = call ptr @allocate_matrix(ptr noundef %15, i32 noundef 1024, i32 noundef 1024) store ptr %16, ptr %10, align 8 %17 = load ptr, ptr %11, align 8 %18 = call ptr @allocate_matrix(ptr noundef %17, i32 noundef 1024, i32 noundef 1024) store ptr %18, ptr %11, align 8 store i32 0, ptr %14, align 4 %19 = load ptr, ptr %10, align 8 %20 = load i32, ptr %14, align 4 %21 = call i32 @init_matrix(ptr noundef %19, i32 noundef 1024, i32 noundef 1024, i32 noundef 1, i32 noundef %20) %22 = call i32 @printf(ptr noundef @.str) %23 = load ptr, ptr %10, align 8 %24 = call i32 @print_matrix(ptr noundef %23, i32 noundef 1024, i32 noundef 1024) %25 = load ptr, ptr %10, align 8 %26 = load ptr, ptr %11, align 8 %27 = call i32 @dead_or_alive(ptr noundef %25, ptr noundef %26, i32 noundef 1024, i32 noundef 1024, i32 noundef 1, i32 noundef 1) %28 = load ptr, ptr %11, align 8 %29 = call i32 @enforce_boundary_conditions(ptr noundef %28, i32 noundef 1024, i32 noundef 1024, i32 noundef 1) %30 = call i32 @swap(ptr noundef %10, ptr noundef %11) %31 = call i32 @printf(ptr noundef @.str.1) %32 = load ptr, ptr %10, align 8 %33 = call i32 @print_matrix(ptr noundef %32, i32 noundef 1024, i32 noundef 1024) %34 = load ptr, ptr %10, align 8 %35 = call i32 @free_matrix(ptr noundef %34, i32 noundef 1024, i32 noundef 1024) %36 = load ptr, ptr %11, align 8 %37 = call i32 @free_matrix(ptr noundef %36, i32 noundef 1024, i32 noundef 1024) ret i32 0 } declare ptr @allocate_matrix(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @init_matrix(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @print_matrix(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @dead_or_alive(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @enforce_boundary_conditions(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @swap(ptr noundef, ptr noundef) #1 declare i32 @free_matrix(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphz0t7ioc.c' source_filename = "/tmp/tmphz0t7ioc.c" target datalayout = "e-m:e-p270: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/tmphz0t7ioc.c" target datalayout = "e-m:e-p270: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/tmpaorz14v1.c' source_filename = "/tmp/tmpaorz14v1.c" target datalayout = "e-m:e-p270: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/tmpaorz14v1.c" target datalayout = "e-m:e-p270: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/tmpxz368h2w.c' source_filename = "/tmp/tmpxz368h2w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @om_text_print_header(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxz368h2w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @om_text_print_header(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmamtigbq.c' source_filename = "/tmp/tmpmamtigbq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @process_method_unsupported(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @process_header(ptr noundef %5, ptr noundef %6) ret i32 0 } declare i32 @process_header(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/tmpmamtigbq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @process_method_unsupported(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @process_header(ptr noundef %5, ptr noundef %6) ret i32 0 } declare i32 @process_header(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/tmpt14yijhq.c' source_filename = "/tmp/tmpt14yijhq.c" target datalayout = "e-m:e-p270: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/tmpt14yijhq.c" target datalayout = "e-m:e-p270: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/tmpw5yw4nea.c' source_filename = "/tmp/tmpw5yw4nea.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ATOMIC_FLAG_INIT = dso_local global i32 0, align 4 @memory_order_acquire = dso_local global i32 0, align 4 @memory_order_release = dso_local global i32 0, align 4 ; 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 = load i32, ptr @ATOMIC_FLAG_INIT, align 4 store i32 %3, ptr %2, align 4 %4 = load i32, ptr @memory_order_acquire, align 4 %5 = call i32 @atomic_flag_test_and_set_explicit(ptr noundef %2, i32 noundef %4) %6 = icmp ne i32 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %0 %8 = load i32, ptr @memory_order_release, align 4 %9 = call i32 @atomic_flag_clear_explicit(ptr noundef %2, i32 noundef %8) br label %10 10: ; preds = %7, %0 ret i32 0 } declare i32 @atomic_flag_test_and_set_explicit(ptr noundef, i32 noundef) #1 declare i32 @atomic_flag_clear_explicit(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/tmpw5yw4nea.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ATOMIC_FLAG_INIT = dso_local global i32 0, align 4 @memory_order_acquire = dso_local global i32 0, align 4 @memory_order_release = dso_local global i32 0, align 4 ; 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 = load i32, ptr @ATOMIC_FLAG_INIT, align 4 store i32 %3, ptr %2, align 4 %4 = load i32, ptr @memory_order_acquire, align 4 %5 = call i32 @atomic_flag_test_and_set_explicit(ptr noundef %2, i32 noundef %4) %6 = icmp ne i32 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %0 %8 = load i32, ptr @memory_order_release, align 4 %9 = call i32 @atomic_flag_clear_explicit(ptr noundef %2, i32 noundef %8) br label %10 10: ; preds = %7, %0 ret i32 0 } declare i32 @atomic_flag_test_and_set_explicit(ptr noundef, i32 noundef) #1 declare i32 @atomic_flag_clear_explicit(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/tmpqqavm38z.c' source_filename = "/tmp/tmpqqavm38z.c" target datalayout = "e-m:e-p270: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/tmpqqavm38z.c" target datalayout = "e-m:e-p270: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/tmpqipfew2i.c' source_filename = "/tmp/tmpqipfew2i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pieces4.dat\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"--- Main menu ---\0A\00", align 1 @.str.2 = private unnamed_addr constant [63 x i8] c"0. Set Tetris implementation (to be done, default=simplified)\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"1. Play a game\0A\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"2. Set the game configuration\0A\00", align 1 @.str.5 = private unnamed_addr constant [31 x i8] c"3. Set the sequence of pieces\0A\00", align 1 @.str.6 = private unnamed_addr constant [48 x i8] c"4. Set the seed of the random number generator\0A\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"5. Quit\0A\00", align 1 @.str.8 = private unnamed_addr constant [14 x i8] c"Your choice: \00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [30 x i8] c"ERROR [file %s] [line %d] %s\0A\00", align 1 @.str.11 = private unnamed_addr constant [167 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/amarack/python-rl/refs/heads/master/pyrl/environments/mdptetris/src/tetris.c\00", align 1 @.str.12 = private unnamed_addr constant [13 x i8] c"scanf failed\00", align 1 @.str.13 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.14 = private unnamed_addr constant [13 x i8] c"Play a game\0A\00", align 1 @.str.15 = private unnamed_addr constant [20 x i8] c"Game configuration\0A\00", align 1 @.str.16 = private unnamed_addr constant [22 x i8] c"Configuration saved.\0A\00", align 1 @.str.17 = private unnamed_addr constant [20 x i8] c"Sequence of pieces\0A\00", align 1 @.str.18 = private unnamed_addr constant [37 x i8] c"Seed of the random number generator\0A\00", align 1 @.str.19 = private unnamed_addr constant [19 x i8] c"Seed initialized.\0A\00", align 1 @.str.20 = private unnamed_addr constant [23 x i8] c"INVALID MEMORY FREE()\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [256 x i8], align 16 %12 = 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 %13 = call i32 @time(ptr noundef null) %14 = call i32 @initialize_random_generator(i32 noundef %13) store i32 0, ptr %7, align 4 store i32 0, ptr %6, align 4 store i32 10, ptr %8, align 4 store i32 20, ptr %9, align 4 store i32 0, ptr %10, align 4 %15 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %16 = call i32 @strcpy(ptr noundef %15, ptr noundef @.str) store ptr null, ptr %12, align 8 br label %17 17: ; preds = %68, %2 %18 = load i32, ptr %7, align 4 %19 = icmp ne i32 %18, 9 br i1 %19, label %20, label %70 20: ; preds = %17 %21 = call i32 @printf(ptr noundef @.str.1) %22 = call i32 @printf(ptr noundef @.str.2) %23 = call i32 @printf(ptr noundef @.str.3) %24 = call i32 @printf(ptr noundef @.str.4) %25 = call i32 @printf(ptr noundef @.str.5) %26 = call i32 @printf(ptr noundef @.str.6) %27 = call i32 @printf(ptr noundef @.str.7) %28 = call i32 @printf(ptr noundef @.str.8) %29 = call i32 @scanf(ptr noundef @.str.9, ptr noundef %7) %30 = icmp ne i32 %29, 1 br i1 %30, label %31, label %37 31: ; preds = %20 br label %32 32: ; preds = %31 %33 = load i32, ptr @stderr, align 4 %34 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str.10, ptr noundef @.str.11, i32 noundef 222, ptr noundef @.str.12) %35 = call i32 @exit(i32 noundef 1) #3 unreachable 36: ; No predecessors! br label %37 37: ; preds = %36, %20 br label %38 38: ; preds = %42, %37 %39 = call signext i8 (...) @getchar() %40 = sext i8 %39 to i32 %41 = icmp ne i32 %40, 10 br i1 %41, label %42, label %43 42: ; preds = %38 br label %38, !llvm.loop !6 43: ; preds = %38 %44 = call i32 @printf(ptr noundef @.str.13) %45 = load i32, ptr %7, align 4 switch i32 %45, label %68 [ i32 1, label %46 i32 2, label %55 i32 3, label %60 i32 4, label %64 ] 46: ; preds = %43 %47 = call i32 @printf(ptr noundef @.str.14) %48 = load i32, ptr %6, align 4 %49 = load i32, ptr %8, align 4 %50 = load i32, ptr %9, align 4 %51 = load i32, ptr %10, align 4 %52 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %53 = load ptr, ptr %12, align 8 %54 = call i32 @play_interactive_game(i32 noundef %48, i32 noundef %49, i32 noundef %50, i32 noundef %51, ptr noundef %52, ptr noundef %53) br label %68 55: ; preds = %43 %56 = call i32 @printf(ptr noundef @.str.15) %57 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %58 = call i32 @choose_game_configuration(ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %57) %59 = call i32 @printf(ptr noundef @.str.16) br label %68 60: ; preds = %43 %61 = call i32 @printf(ptr noundef @.str.17) %62 = call ptr (...) @choose_piece_sequence() store ptr %62, ptr %12, align 8 %63 = call i32 @printf(ptr noundef @.str.16) br label %68 64: ; preds = %43 %65 = call i32 @printf(ptr noundef @.str.18) %66 = call i32 (...) @choose_random_generator_seed() %67 = call i32 @printf(ptr noundef @.str.19) br label %68 68: ; preds = %43, %64, %60, %55, %46 %69 = call i32 @printf(ptr noundef @.str.13) br label %17, !llvm.loop !8 70: ; preds = %17 %71 = load ptr, ptr %12, align 8 %72 = icmp ne ptr %71, null br i1 %72, label %73, label %86 73: ; preds = %70 %74 = load ptr, ptr %12, align 8 %75 = icmp ne ptr %74, null br i1 %75, label %76, label %79 76: ; preds = %73 %77 = load ptr, ptr %12, align 8 %78 = call i32 @free(ptr noundef %77) store ptr null, ptr %12, align 8 br label %85 79: ; preds = %73 br label %80 80: ; preds = %79 %81 = load i32, ptr @stderr, align 4 %82 = call i32 @fprintf(i32 noundef %81, ptr noundef @.str.10, ptr noundef @.str.11, i32 noundef 257, ptr noundef @.str.20) %83 = call i32 @exit(i32 noundef 1) #3 unreachable 84: ; No predecessors! br label %85 85: ; preds = %84, %76 br label %86 86: ; preds = %85, %70 ret i32 0 } declare i32 @initialize_random_generator(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare signext i8 @getchar(...) #1 declare i32 @play_interactive_game(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @choose_game_configuration(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @choose_piece_sequence(...) #1 declare i32 @choose_random_generator_seed(...) #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" } 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/tmpqipfew2i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pieces4.dat\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"--- Main menu ---\0A\00", align 1 @.str.2 = private unnamed_addr constant [63 x i8] c"0. Set Tetris implementation (to be done, default=simplified)\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"1. Play a game\0A\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"2. Set the game configuration\0A\00", align 1 @.str.5 = private unnamed_addr constant [31 x i8] c"3. Set the sequence of pieces\0A\00", align 1 @.str.6 = private unnamed_addr constant [48 x i8] c"4. Set the seed of the random number generator\0A\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"5. Quit\0A\00", align 1 @.str.8 = private unnamed_addr constant [14 x i8] c"Your choice: \00", align 1 @.str.9 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [30 x i8] c"ERROR [file %s] [line %d] %s\0A\00", align 1 @.str.11 = private unnamed_addr constant [167 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/amarack/python-rl/refs/heads/master/pyrl/environments/mdptetris/src/tetris.c\00", align 1 @.str.12 = private unnamed_addr constant [13 x i8] c"scanf failed\00", align 1 @.str.13 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.14 = private unnamed_addr constant [13 x i8] c"Play a game\0A\00", align 1 @.str.15 = private unnamed_addr constant [20 x i8] c"Game configuration\0A\00", align 1 @.str.16 = private unnamed_addr constant [22 x i8] c"Configuration saved.\0A\00", align 1 @.str.17 = private unnamed_addr constant [20 x i8] c"Sequence of pieces\0A\00", align 1 @.str.18 = private unnamed_addr constant [37 x i8] c"Seed of the random number generator\0A\00", align 1 @.str.19 = private unnamed_addr constant [19 x i8] c"Seed initialized.\0A\00", align 1 @.str.20 = private unnamed_addr constant [23 x i8] c"INVALID MEMORY FREE()\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [256 x i8], align 16 %12 = 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 %13 = call i32 @time(ptr noundef null) %14 = call i32 @initialize_random_generator(i32 noundef %13) store i32 0, ptr %7, align 4 store i32 0, ptr %6, align 4 store i32 10, ptr %8, align 4 store i32 20, ptr %9, align 4 store i32 0, ptr %10, align 4 %15 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %16 = call i32 @strcpy(ptr noundef %15, ptr noundef @.str) store ptr null, ptr %12, align 8 %17 = load i32, ptr %7, align 4 %18 = icmp ne i32 %17, 9 br i1 %18, label %.lr.ph, label %70 .lr.ph: ; preds = %2 br label %19 19: ; preds = %.lr.ph, %66 %20 = call i32 @printf(ptr noundef @.str.1) %21 = call i32 @printf(ptr noundef @.str.2) %22 = call i32 @printf(ptr noundef @.str.3) %23 = call i32 @printf(ptr noundef @.str.4) %24 = call i32 @printf(ptr noundef @.str.5) %25 = call i32 @printf(ptr noundef @.str.6) %26 = call i32 @printf(ptr noundef @.str.7) %27 = call i32 @printf(ptr noundef @.str.8) %28 = call i32 @scanf(ptr noundef @.str.9, ptr noundef %7) %29 = icmp ne i32 %28, 1 br i1 %29, label %30, label %36 30: ; preds = %19 br label %31 31: ; preds = %30 %32 = load i32, ptr @stderr, align 4 %33 = call i32 @fprintf(i32 noundef %32, ptr noundef @.str.10, ptr noundef @.str.11, i32 noundef 222, ptr noundef @.str.12) %34 = call i32 @exit(i32 noundef 1) #3 unreachable 35: ; No predecessors! unreachable 36: ; preds = %19 br label %37 37: ; preds = %37, %36 %38 = call signext i8 (...) @getchar() %39 = sext i8 %38 to i32 %40 = icmp ne i32 %39, 10 br i1 %40, label %37, label %41, !llvm.loop !6 41: ; preds = %37 %42 = call i32 @printf(ptr noundef @.str.13) %43 = load i32, ptr %7, align 4 switch i32 %43, label %66 [ i32 1, label %44 i32 2, label %53 i32 3, label %58 i32 4, label %62 ] 44: ; preds = %41 %45 = call i32 @printf(ptr noundef @.str.14) %46 = load i32, ptr %6, align 4 %47 = load i32, ptr %8, align 4 %48 = load i32, ptr %9, align 4 %49 = load i32, ptr %10, align 4 %50 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %51 = load ptr, ptr %12, align 8 %52 = call i32 @play_interactive_game(i32 noundef %46, i32 noundef %47, i32 noundef %48, i32 noundef %49, ptr noundef %50, ptr noundef %51) br label %66 53: ; preds = %41 %54 = call i32 @printf(ptr noundef @.str.15) %55 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %56 = call i32 @choose_game_configuration(ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %55) %57 = call i32 @printf(ptr noundef @.str.16) br label %66 58: ; preds = %41 %59 = call i32 @printf(ptr noundef @.str.17) %60 = call ptr (...) @choose_piece_sequence() store ptr %60, ptr %12, align 8 %61 = call i32 @printf(ptr noundef @.str.16) br label %66 62: ; preds = %41 %63 = call i32 @printf(ptr noundef @.str.18) %64 = call i32 (...) @choose_random_generator_seed() %65 = call i32 @printf(ptr noundef @.str.19) br label %66 66: ; preds = %62, %58, %53, %44, %41 %67 = call i32 @printf(ptr noundef @.str.13) %68 = load i32, ptr %7, align 4 %69 = icmp ne i32 %68, 9 br i1 %69, label %19, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %66 br label %70 70: ; preds = %._crit_edge, %2 %71 = load ptr, ptr %12, align 8 %72 = icmp ne ptr %71, null br i1 %72, label %73, label %86 73: ; preds = %70 %74 = load ptr, ptr %12, align 8 %75 = icmp ne ptr %74, null br i1 %75, label %76, label %79 76: ; preds = %73 %77 = load ptr, ptr %12, align 8 %78 = call i32 @free(ptr noundef %77) store ptr null, ptr %12, align 8 br label %85 79: ; preds = %73 br label %80 80: ; preds = %79 %81 = load i32, ptr @stderr, align 4 %82 = call i32 @fprintf(i32 noundef %81, ptr noundef @.str.10, ptr noundef @.str.11, i32 noundef 257, ptr noundef @.str.20) %83 = call i32 @exit(i32 noundef 1) #3 unreachable 84: ; No predecessors! br label %85 85: ; preds = %84, %76 br label %86 86: ; preds = %85, %70 ret i32 0 } declare i32 @initialize_random_generator(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare signext i8 @getchar(...) #1 declare i32 @play_interactive_game(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @choose_game_configuration(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @choose_piece_sequence(...) #1 declare i32 @choose_random_generator_seed(...) #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" } 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/tmpw4l7nm4r.c' source_filename = "/tmp/tmpw4l7nm4r.c" target datalayout = "e-m:e-p270: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 [53 x i8] c"Failed to allocate memory %ld bytes at %s, line %d.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @check_allocation1(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i64, 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 i64 %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 ptr, ptr %6, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %24 13: ; preds = %5 %14 = load i32, ptr @stderr, align 4 %15 = load i64, ptr %7, align 8 %16 = load ptr, ptr %8, align 8 %17 = load i32, ptr %9, align 4 %18 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, i64 noundef %15, ptr noundef %16, i32 noundef %17) %19 = load i32, ptr %10, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %13 %22 = call i32 @exit(i32 noundef 1) #3 unreachable 23: ; preds = %13 br label %24 24: ; preds = %23, %5 ret void } declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw4l7nm4r.c" target datalayout = "e-m:e-p270: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 [53 x i8] c"Failed to allocate memory %ld bytes at %s, line %d.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @check_allocation1(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i64, 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 i64 %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 ptr, ptr %6, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %24 13: ; preds = %5 %14 = load i32, ptr @stderr, align 4 %15 = load i64, ptr %7, align 8 %16 = load ptr, ptr %8, align 8 %17 = load i32, ptr %9, align 4 %18 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, i64 noundef %15, ptr noundef %16, i32 noundef %17) %19 = load i32, ptr %10, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %13 %22 = call i32 @exit(i32 noundef 1) #3 unreachable 23: ; preds = %13 br label %24 24: ; preds = %23, %5 ret void } declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaheimign.c' source_filename = "/tmp/tmpaheimign.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gwv_np_3() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [32768 x double], align 16 %4 = alloca double, align 8 %5 = alloca double, align 8 store double 0.000000e+00, ptr %4, align 8 store double 0.000000e+00, ptr %5, align 8 store i32 0, ptr %1, align 4 br label %6 6: ; preds = %15, %0 %7 = load i32, ptr %1, align 4 %8 = icmp slt i32 %7, 32768 br i1 %8, label %9, label %18 9: ; preds = %6 %10 = load i32, ptr %1, align 4 %11 = sitofp i32 %10 to double %12 = load i32, ptr %1, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [32768 x double], ptr %3, i64 0, i64 %13 store double %11, ptr %14, align 8 br label %15 15: ; preds = %9 %16 = load i32, ptr %1, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %1, align 4 br label %6, !llvm.loop !6 18: ; preds = %6 store i32 0, ptr %2, align 4 br label %19 19: ; preds = %40, %18 %20 = load i32, ptr %2, align 4 %21 = icmp slt i32 %20, 32 br i1 %21, label %22, label %43 22: ; preds = %19 store i32 0, ptr %1, align 4 br label %23 23: ; preds = %36, %22 %24 = load i32, ptr %1, align 4 %25 = icmp slt i32 %24, 1024 br i1 %25, label %26, label %39 26: ; preds = %23 %27 = load i32, ptr %2, align 4 %28 = mul nsw i32 %27, 1024 %29 = load i32, ptr %1, align 4 %30 = add nsw i32 %28, %29 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [32768 x double], ptr %3, i64 0, i64 %31 %33 = load double, ptr %32, align 8 %34 = load double, ptr %4, align 8 %35 = fadd double %34, %33 store double %35, ptr %4, align 8 br label %36 36: ; preds = %26 %37 = load i32, ptr %1, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %1, align 4 br label %23, !llvm.loop !8 39: ; preds = %23 br label %40 40: ; preds = %39 %41 = load i32, ptr %2, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %2, align 4 br label %19, !llvm.loop !9 43: ; preds = %19 store i32 0, ptr %1, align 4 br label %44 44: ; preds = %54, %43 %45 = load i32, ptr %1, align 4 %46 = icmp slt i32 %45, 32768 br i1 %46, label %47, label %57 47: ; preds = %44 %48 = load i32, ptr %1, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [32768 x double], ptr %3, i64 0, i64 %49 %51 = load double, ptr %50, align 8 %52 = load double, ptr %5, align 8 %53 = fadd double %52, %51 store double %53, ptr %5, align 8 br label %54 54: ; preds = %47 %55 = load i32, ptr %1, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %1, align 4 br label %44, !llvm.loop !10 57: ; preds = %44 %58 = load double, ptr %4, align 8 %59 = load double, ptr %5, align 8 %60 = fcmp oeq double %58, %59 %61 = zext i1 %60 to i32 %62 = call i32 @assert(i32 noundef %61) ret void } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaheimign.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gwv_np_3() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [32768 x double], align 16 %4 = alloca double, align 8 %5 = alloca double, align 8 store double 0.000000e+00, ptr %4, align 8 store double 0.000000e+00, ptr %5, align 8 store i32 0, ptr %1, align 4 %6 = load i32, ptr %1, align 4 %7 = icmp slt i32 %6, 32768 br i1 %7, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %14 %9 = load i32, ptr %1, align 4 %10 = sitofp i32 %9 to double %11 = load i32, ptr %1, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [32768 x double], ptr %3, i64 0, i64 %12 store double %10, ptr %13, align 8 br label %14 14: ; preds = %8 %15 = load i32, ptr %1, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %1, align 4 %17 = load i32, ptr %1, align 4 %18 = icmp slt i32 %17, 32768 br i1 %18, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %19 19: ; preds = %._crit_edge, %0 store i32 0, ptr %2, align 4 %20 = load i32, ptr %2, align 4 %21 = icmp slt i32 %20, 32 br i1 %21, label %.lr.ph5, label %46 .lr.ph5: ; preds = %19 br label %22 22: ; preds = %.lr.ph5, %41 store i32 0, ptr %1, align 4 %23 = load i32, ptr %1, align 4 %24 = icmp slt i32 %23, 1024 br i1 %24, label %.lr.ph2, label %40 .lr.ph2: ; preds = %22 br label %25 25: ; preds = %.lr.ph2, %35 %26 = load i32, ptr %2, align 4 %27 = mul nsw i32 %26, 1024 %28 = load i32, ptr %1, align 4 %29 = add nsw i32 %27, %28 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [32768 x double], ptr %3, i64 0, i64 %30 %32 = load double, ptr %31, align 8 %33 = load double, ptr %4, align 8 %34 = fadd double %33, %32 store double %34, ptr %4, align 8 br label %35 35: ; preds = %25 %36 = load i32, ptr %1, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %1, align 4 %38 = load i32, ptr %1, align 4 %39 = icmp slt i32 %38, 1024 br i1 %39, label %25, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %35 br label %40 40: ; preds = %._crit_edge3, %22 br label %41 41: ; preds = %40 %42 = load i32, ptr %2, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %2, align 4 %44 = load i32, ptr %2, align 4 %45 = icmp slt i32 %44, 32 br i1 %45, label %22, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %41 br label %46 46: ; preds = %._crit_edge6, %19 store i32 0, ptr %1, align 4 %47 = load i32, ptr %1, align 4 %48 = icmp slt i32 %47, 32768 br i1 %48, label %.lr.ph8, label %61 .lr.ph8: ; preds = %46 br label %49 49: ; preds = %.lr.ph8, %56 %50 = load i32, ptr %1, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [32768 x double], ptr %3, i64 0, i64 %51 %53 = load double, ptr %52, align 8 %54 = load double, ptr %5, align 8 %55 = fadd double %54, %53 store double %55, ptr %5, align 8 br label %56 56: ; preds = %49 %57 = load i32, ptr %1, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %1, align 4 %59 = load i32, ptr %1, align 4 %60 = icmp slt i32 %59, 32768 br i1 %60, label %49, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %56 br label %61 61: ; preds = %._crit_edge9, %46 %62 = load double, ptr %4, align 8 %63 = load double, ptr %5, align 8 %64 = fcmp oeq double %62, %63 %65 = zext i1 %64 to i32 %66 = call i32 @assert(i32 noundef %65) ret void } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpvxqbntop.c' source_filename = "/tmp/tmpvxqbntop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pthread_rwlock_destroy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvxqbntop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pthread_rwlock_destroy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpncgra5nb.c' source_filename = "/tmp/tmpncgra5nb.c" target datalayout = "e-m:e-p270: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/tmpncgra5nb.c" target datalayout = "e-m:e-p270: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/tmpx6iejnw1.c' source_filename = "/tmp/tmpx6iejnw1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c". count = %d, expected = %d.\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c" FAIL\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_arrayCountNegative(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 ptr, ptr %4, align 8 %9 = load i32, ptr %5, align 4 %10 = call i32 @printArray(ptr noundef %8, i32 noundef %9) %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %5, align 4 %13 = call i32 @arrayCountNegative(ptr noundef %11, i32 noundef %12) store i32 %13, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %6, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14, i32 noundef %15) %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp ne i32 %17, %18 br i1 %19, label %20, label %22 20: ; preds = %3 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %22 22: ; preds = %20, %3 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printArray(ptr noundef, i32 noundef) #1 declare i32 @arrayCountNegative(ptr 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx6iejnw1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c". count = %d, expected = %d.\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c" FAIL\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_arrayCountNegative(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 ptr, ptr %4, align 8 %9 = load i32, ptr %5, align 4 %10 = call i32 @printArray(ptr noundef %8, i32 noundef %9) %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %5, align 4 %13 = call i32 @arrayCountNegative(ptr noundef %11, i32 noundef %12) store i32 %13, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %6, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14, i32 noundef %15) %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp ne i32 %17, %18 br i1 %19, label %20, label %22 20: ; preds = %3 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %22 22: ; preds = %20, %3 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printArray(ptr noundef, i32 noundef) #1 declare i32 @arrayCountNegative(ptr 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"}
; ModuleID = '/tmp/tmpk7_j1__k.c' source_filename = "/tmp/tmpk7_j1__k.c" target datalayout = "e-m:e-p270: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 i8 0, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i32 0, ptr %1, align 4 br label %5 5: ; preds = %81, %0 %6 = call signext i8 (...) @getchar() store i8 %6, ptr %3, align 1 %7 = sext i8 %6 to i32 %8 = load i8, ptr @EOF, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %7, %9 br i1 %10, label %11, label %82 11: ; preds = %5 %12 = load i8, ptr %3, align 1 %13 = sext i8 %12 to i32 %14 = icmp eq i32 %13, 34 br i1 %14, label %15, label %34 15: ; preds = %11 %16 = load i8, ptr %3, align 1 store i8 %16, ptr %2, align 1 %17 = call i32 @putchar(i8 noundef signext %16) br label %18 18: ; preds = %28, %15 %19 = call signext i8 (...) @getchar() store i8 %19, ptr %3, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, 34 br i1 %21, label %26, label %22 22: ; preds = %18 %23 = load i8, ptr %2, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 92 br label %26 26: ; preds = %22, %18 %27 = phi i1 [ true, %18 ], [ %25, %22 ] br i1 %27, label %28, label %31 28: ; preds = %26 %29 = load i8, ptr %3, align 1 store i8 %29, ptr %2, align 1 %30 = call i32 @putchar(i8 noundef signext %29) br label %18, !llvm.loop !6 31: ; preds = %26 %32 = load i8, ptr %3, align 1 store i8 %32, ptr %2, align 1 %33 = call i32 @putchar(i8 noundef signext %32) br label %81 34: ; preds = %11 %35 = load i8, ptr %3, align 1 %36 = sext i8 %35 to i32 %37 = icmp eq i32 %36, 47 br i1 %37, label %38, label %77 38: ; preds = %34 %39 = call signext i8 (...) @getchar() store i8 %39, ptr %4, align 1 %40 = load i8, ptr %4, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 47 br i1 %42, label %43, label %51 43: ; preds = %38 br label %44 44: ; preds = %48, %43 %45 = call signext i8 (...) @getchar() store i8 %45, ptr %3, align 1 %46 = sext i8 %45 to i32 %47 = icmp ne i32 %46, 10 br i1 %47, label %48, label %49 48: ; preds = %44 br label %44, !llvm.loop !8 49: ; preds = %44 %50 = call i32 @putchar(i8 noundef signext 10) br label %76 51: ; preds = %38 %52 = load i8, ptr %4, align 1 %53 = sext i8 %52 to i32 %54 = icmp eq i32 %53, 42 br i1 %54, label %55, label %70 55: ; preds = %51 %56 = call signext i8 (...) @getchar() store i8 %56, ptr %2, align 1 br label %57 57: ; preds = %67, %55 %58 = call signext i8 (...) @getchar() store i8 %58, ptr %3, align 1 %59 = sext i8 %58 to i32 %60 = icmp ne i32 %59, 47 br i1 %60, label %65, label %61 61: ; preds = %57 %62 = load i8, ptr %2, align 1 %63 = sext i8 %62 to i32 %64 = icmp ne i32 %63, 42 br label %65 65: ; preds = %61, %57 %66 = phi i1 [ true, %57 ], [ %64, %61 ] br i1 %66, label %67, label %69 67: ; preds = %65 %68 = load i8, ptr %3, align 1 store i8 %68, ptr %2, align 1 br label %57, !llvm.loop !9 69: ; preds = %65 br label %75 70: ; preds = %51 %71 = load i8, ptr %3, align 1 %72 = call i32 @putchar(i8 noundef signext %71) %73 = load i8, ptr %4, align 1 store i8 %73, ptr %2, align 1 %74 = call i32 @putchar(i8 noundef signext %73) br label %75 75: ; preds = %70, %69 br label %76 76: ; preds = %75, %49 br label %80 77: ; preds = %34 %78 = load i8, ptr %3, align 1 store i8 %78, ptr %2, align 1 %79 = call i32 @putchar(i8 noundef signext %78) br label %80 80: ; preds = %77, %76 br label %81 81: ; preds = %80, %31 br label %5, !llvm.loop !10 82: ; preds = %5 %83 = load i32, ptr %1, align 4 ret i32 %83 } declare signext i8 @getchar(...) #1 declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk7_j1__k.c" target datalayout = "e-m:e-p270: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 i8 0, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i32 0, ptr %1, align 4 %5 = call signext i8 (...) @getchar() store i8 %5, ptr %3, align 1 %6 = sext i8 %5 to i32 %7 = load i8, ptr @EOF, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %6, %8 br i1 %9, label %.lr.ph, label %85 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %79 %11 = load i8, ptr %3, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 34 br i1 %13, label %14, label %33 14: ; preds = %10 %15 = load i8, ptr %3, align 1 store i8 %15, ptr %2, align 1 %16 = call i32 @putchar(i8 noundef signext %15) br label %17 17: ; preds = %27, %14 %18 = call signext i8 (...) @getchar() store i8 %18, ptr %3, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 34 br i1 %20, label %25, label %21 21: ; preds = %17 %22 = load i8, ptr %2, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 92 br label %25 25: ; preds = %21, %17 %26 = phi i1 [ true, %17 ], [ %24, %21 ] br i1 %26, label %27, label %30 27: ; preds = %25 %28 = load i8, ptr %3, align 1 store i8 %28, ptr %2, align 1 %29 = call i32 @putchar(i8 noundef signext %28) br label %17, !llvm.loop !6 30: ; preds = %25 %31 = load i8, ptr %3, align 1 store i8 %31, ptr %2, align 1 %32 = call i32 @putchar(i8 noundef signext %31) br label %79 33: ; preds = %10 %34 = load i8, ptr %3, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %35, 47 br i1 %36, label %37, label %75 37: ; preds = %33 %38 = call signext i8 (...) @getchar() store i8 %38, ptr %4, align 1 %39 = load i8, ptr %4, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 47 br i1 %41, label %42, label %49 42: ; preds = %37 br label %43 43: ; preds = %43, %42 %44 = call signext i8 (...) @getchar() store i8 %44, ptr %3, align 1 %45 = sext i8 %44 to i32 %46 = icmp ne i32 %45, 10 br i1 %46, label %43, label %47, !llvm.loop !8 47: ; preds = %43 %48 = call i32 @putchar(i8 noundef signext 10) br label %74 49: ; preds = %37 %50 = load i8, ptr %4, align 1 %51 = sext i8 %50 to i32 %52 = icmp eq i32 %51, 42 br i1 %52, label %53, label %68 53: ; preds = %49 %54 = call signext i8 (...) @getchar() store i8 %54, ptr %2, align 1 br label %55 55: ; preds = %65, %53 %56 = call signext i8 (...) @getchar() store i8 %56, ptr %3, align 1 %57 = sext i8 %56 to i32 %58 = icmp ne i32 %57, 47 br i1 %58, label %63, label %59 59: ; preds = %55 %60 = load i8, ptr %2, align 1 %61 = sext i8 %60 to i32 %62 = icmp ne i32 %61, 42 br label %63 63: ; preds = %59, %55 %64 = phi i1 [ true, %55 ], [ %62, %59 ] br i1 %64, label %65, label %67 65: ; preds = %63 %66 = load i8, ptr %3, align 1 store i8 %66, ptr %2, align 1 br label %55, !llvm.loop !9 67: ; preds = %63 br label %73 68: ; preds = %49 %69 = load i8, ptr %3, align 1 %70 = call i32 @putchar(i8 noundef signext %69) %71 = load i8, ptr %4, align 1 store i8 %71, ptr %2, align 1 %72 = call i32 @putchar(i8 noundef signext %71) br label %73 73: ; preds = %68, %67 br label %74 74: ; preds = %73, %47 br label %78 75: ; preds = %33 %76 = load i8, ptr %3, align 1 store i8 %76, ptr %2, align 1 %77 = call i32 @putchar(i8 noundef signext %76) br label %78 78: ; preds = %75, %74 br label %79 79: ; preds = %78, %30 %80 = call signext i8 (...) @getchar() store i8 %80, ptr %3, align 1 %81 = sext i8 %80 to i32 %82 = load i8, ptr @EOF, align 1 %83 = sext i8 %82 to i32 %84 = icmp ne i32 %81, %83 br i1 %84, label %10, label %._crit_edge, !llvm.loop !10 ._crit_edge: ; preds = %79 br label %85 85: ; preds = %._crit_edge, %0 %86 = load i32, ptr %1, align 4 ret i32 %86 } declare signext i8 @getchar(...) #1 declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp8lryg_2u.c' source_filename = "/tmp/tmp8lryg_2u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %7, align 8 br label %9 9: ; preds = %22, %3 %10 = load i64, ptr %6, align 8 %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %20 12: ; preds = %9 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds i8, ptr %13, i32 1 store ptr %14, ptr %5, align 8 %15 = load i8, ptr %13, align 1 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %4, align 8 store i8 %15, ptr %16, align 1 %18 = sext i8 %15 to i32 %19 = icmp ne i32 %18, 0 br label %20 20: ; preds = %12, %9 %21 = phi i1 [ false, %9 ], [ %19, %12 ] br i1 %21, label %22, label %25 22: ; preds = %20 %23 = load i64, ptr %6, align 8 %24 = add i64 %23, -1 store i64 %24, ptr %6, align 8 br label %9, !llvm.loop !6 25: ; preds = %20 %26 = load i64, ptr %6, align 8 %27 = icmp ne i64 %26, 0 br i1 %27, label %28, label %37 28: ; preds = %25 br label %29 29: ; preds = %33, %28 %30 = load i64, ptr %6, align 8 %31 = add i64 %30, -1 store i64 %31, ptr %6, align 8 %32 = icmp ne i64 %31, 0 br i1 %32, label %33, label %36 33: ; preds = %29 %34 = load ptr, ptr %4, align 8 %35 = getelementptr inbounds i8, ptr %34, i32 1 store ptr %35, ptr %4, align 8 store i8 0, ptr %34, align 1 br label %29, !llvm.loop !8 36: ; preds = %29 br label %37 37: ; preds = %36, %25 %38 = load ptr, ptr %7, align 8 ret ptr %38 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp8lryg_2u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %7, align 8 br label %9 9: ; preds = %22, %3 %10 = load i64, ptr %6, align 8 %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %20 12: ; preds = %9 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds i8, ptr %13, i32 1 store ptr %14, ptr %5, align 8 %15 = load i8, ptr %13, align 1 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %4, align 8 store i8 %15, ptr %16, align 1 %18 = sext i8 %15 to i32 %19 = icmp ne i32 %18, 0 br label %20 20: ; preds = %12, %9 %21 = phi i1 [ false, %9 ], [ %19, %12 ] br i1 %21, label %22, label %25 22: ; preds = %20 %23 = load i64, ptr %6, align 8 %24 = add i64 %23, -1 store i64 %24, ptr %6, align 8 br label %9, !llvm.loop !6 25: ; preds = %20 %26 = load i64, ptr %6, align 8 %27 = icmp ne i64 %26, 0 br i1 %27, label %28, label %39 28: ; preds = %25 %29 = load i64, ptr %6, align 8 %30 = add i64 %29, -1 store i64 %30, ptr %6, align 8 %31 = icmp ne i64 %30, 0 br i1 %31, label %.lr.ph, label %38 .lr.ph: ; preds = %28 br label %32 32: ; preds = %.lr.ph, %32 %33 = load ptr, ptr %4, align 8 %34 = getelementptr inbounds i8, ptr %33, i32 1 store ptr %34, ptr %4, align 8 store i8 0, ptr %33, align 1 %35 = load i64, ptr %6, align 8 %36 = add i64 %35, -1 store i64 %36, ptr %6, align 8 %37 = icmp ne i64 %36, 0 br i1 %37, label %32, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %32 br label %38 38: ; preds = %._crit_edge, %28 br label %39 39: ; preds = %38, %25 %40 = load ptr, ptr %7, align 8 ret ptr %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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmptbe97e5z.c' source_filename = "/tmp/tmptbe97e5z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash_file_blake2b(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call ptr @blake2b_file(ptr noundef %5, ptr noundef %6, ptr noundef null, i32 noundef 0) ret ptr %7 } declare ptr @blake2b_file(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/tmptbe97e5z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash_file_blake2b(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call ptr @blake2b_file(ptr noundef %5, ptr noundef %6, ptr noundef null, i32 noundef 0) ret ptr %7 } declare ptr @blake2b_file(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/tmp8vr5m628.c' source_filename = "/tmp/tmp8vr5m628.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"allocation failure in realloc vvector()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @realloc_vvector(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %9 = load i64, ptr %6, align 8 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 %9 store ptr %11, ptr %5, align 8 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 store ptr %13, ptr %5, align 8 %14 = load ptr, ptr %5, align 8 %15 = load i64, ptr %7, align 8 %16 = load i64, ptr %6, align 8 %17 = sub nsw i64 %15, %16 %18 = add nsw i64 %17, 1 %19 = load i64, ptr %8, align 8 %20 = add nsw i64 %18, %19 %21 = add nsw i64 %20, 0 %22 = mul i64 %21, 8 %23 = call i64 @realloc(ptr noundef %14, i64 noundef %22) %24 = inttoptr i64 %23 to ptr store ptr %24, ptr %5, align 8 %25 = load ptr, ptr %5, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %29, label %27 27: ; preds = %4 %28 = call i32 @nrerror(ptr noundef @.str) br label %29 29: ; preds = %27, %4 %30 = load ptr, ptr %5, align 8 %31 = load i64, ptr %6, align 8 %32 = sub i64 0, %31 %33 = getelementptr inbounds ptr, ptr %30, i64 %32 %34 = getelementptr inbounds ptr, ptr %33, i64 0 ret ptr %34 } declare i64 @realloc(ptr noundef, i64 noundef) #1 declare i32 @nrerror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8vr5m628.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"allocation failure in realloc vvector()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @realloc_vvector(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %9 = load i64, ptr %6, align 8 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 %9 store ptr %11, ptr %5, align 8 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 store ptr %13, ptr %5, align 8 %14 = load ptr, ptr %5, align 8 %15 = load i64, ptr %7, align 8 %16 = load i64, ptr %6, align 8 %17 = sub nsw i64 %15, %16 %18 = add nsw i64 %17, 1 %19 = load i64, ptr %8, align 8 %20 = add nsw i64 %18, %19 %21 = add nsw i64 %20, 0 %22 = mul i64 %21, 8 %23 = call i64 @realloc(ptr noundef %14, i64 noundef %22) %24 = inttoptr i64 %23 to ptr store ptr %24, ptr %5, align 8 %25 = load ptr, ptr %5, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %29, label %27 27: ; preds = %4 %28 = call i32 @nrerror(ptr noundef @.str) br label %29 29: ; preds = %27, %4 %30 = load ptr, ptr %5, align 8 %31 = load i64, ptr %6, align 8 %32 = sub i64 0, %31 %33 = getelementptr inbounds ptr, ptr %30, i64 %32 %34 = getelementptr inbounds ptr, ptr %33, i64 0 ret ptr %34 } declare i64 @realloc(ptr noundef, i64 noundef) #1 declare i32 @nrerror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}