llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpcrgg1piu.c' source_filename = "/tmp/tmpcrgg1piu.c" target datalayout = "e-m:e-p270: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/tmpcrgg1piu.c" target datalayout = "e-m:e-p270: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/tmplfaqa252.c' source_filename = "/tmp/tmplfaqa252.c" target datalayout = "e-m:e-p270: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.in_addr = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getHost(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 = call i32 @inet_addr(ptr noundef %7) %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds %struct.in_addr, ptr %9, i32 0, i32 0 store i32 %8, ptr %10, align 4 %11 = icmp eq i32 %8, -1 br i1 %11, label %12, label %13 12: ; preds = %2 store i32 1, ptr %3, align 4 br label %14 13: ; preds = %2 store i32 0, ptr %3, align 4 br label %14 14: ; preds = %13, %12 %15 = load i32, ptr %3, align 4 ret i32 %15 } declare i32 @inet_addr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplfaqa252.c" target datalayout = "e-m:e-p270: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.in_addr = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getHost(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 = call i32 @inet_addr(ptr noundef %7) %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds %struct.in_addr, ptr %9, i32 0, i32 0 store i32 %8, ptr %10, align 4 %11 = icmp eq i32 %8, -1 br i1 %11, label %12, label %13 12: ; preds = %2 store i32 1, ptr %3, align 4 br label %14 13: ; preds = %2 store i32 0, ptr %3, align 4 br label %14 14: ; preds = %13, %12 %15 = load i32, ptr %3, align 4 ret i32 %15 } declare i32 @inet_addr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp29jfz8f9.c' source_filename = "/tmp/tmp29jfz8f9.c" target datalayout = "e-m:e-p270: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/tmp29jfz8f9.c" target datalayout = "e-m:e-p270: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/tmph0i702aw.c' source_filename = "/tmp/tmph0i702aw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RSAPublicKey_it = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @d2i_RSAPublicKey(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call i64 @ASN1_item_d2i(ptr noundef %7, ptr noundef %8, i64 noundef %9, ptr noundef @RSAPublicKey_it) %11 = inttoptr i64 %10 to ptr ret ptr %11 } declare i64 @ASN1_item_d2i(ptr noundef, ptr noundef, i64 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/tmph0i702aw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RSAPublicKey_it = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @d2i_RSAPublicKey(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call i64 @ASN1_item_d2i(ptr noundef %7, ptr noundef %8, i64 noundef %9, ptr noundef @RSAPublicKey_it) %11 = inttoptr i64 %10 to ptr ret ptr %11 } declare i64 @ASN1_item_d2i(ptr noundef, ptr noundef, i64 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/tmpy7x62fru.c' source_filename = "/tmp/tmpy7x62fru.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCK_REALTIME = 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/tmpy7x62fru.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCK_REALTIME = 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/tmprxz135gp.c' source_filename = "/tmp/tmprxz135gp.c" target datalayout = "e-m:e-p270: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/tmprxz135gp.c" target datalayout = "e-m:e-p270: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/tmp95gq8iie.c' source_filename = "/tmp/tmp95gq8iie.c" target datalayout = "e-m:e-p270: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 [37 x i8] c"g2_realloc: Can not allocate memory\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @g2_realloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #4 store ptr %8, ptr %5, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %14 10: ; preds = %2 %11 = load i32, ptr @stderr, align 4 %12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str) %13 = call i32 @exit(i32 noundef -1) #5 unreachable 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 ret ptr %15 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(1) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp95gq8iie.c" target datalayout = "e-m:e-p270: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 [37 x i8] c"g2_realloc: Can not allocate memory\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @g2_realloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #4 store ptr %8, ptr %5, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %14 10: ; preds = %2 %11 = load i32, ptr @stderr, align 4 %12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str) %13 = call i32 @exit(i32 noundef -1) #5 unreachable 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 ret ptr %15 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(1) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppkawcx46.c' source_filename = "/tmp/tmppkawcx46.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alloc_is_big_Bad() #0 { %1 = call i32 @malloc(i32 noundef 2000000000) ret void } declare i32 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppkawcx46.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alloc_is_big_Bad() #0 { %1 = call i32 @malloc(i32 noundef 2000000000) ret void } declare i32 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk_x4ki_2.c' source_filename = "/tmp/tmpk_x4ki_2.c" target datalayout = "e-m:e-p270: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/tmpk_x4ki_2.c" target datalayout = "e-m:e-p270: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/tmpwt0gsom5.c' source_filename = "/tmp/tmpwt0gsom5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @puts(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) %6 = call i32 @sys_write(i32 noundef 0, ptr noundef %3, i32 noundef %5) ret i32 %6 } declare i32 @sys_write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwt0gsom5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @puts(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) %6 = call i32 @sys_write(i32 noundef 0, ptr noundef %3, i32 noundef %5) ret i32 %6 } declare i32 @sys_write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpknnvsco5.c' source_filename = "/tmp/tmpknnvsco5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uart_getc() #0 { br label %1 1: ; preds = %0, %6 %2 = call i32 @GET32(i32 noundef 538972184) %3 = and i32 %2, 16 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %6 5: ; preds = %1 br label %7 6: ; preds = %1 br label %1 7: ; preds = %5 %8 = call i32 @GET32(i32 noundef 538972160) ret i32 %8 } declare i32 @GET32(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/tmpknnvsco5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uart_getc() #0 { br label %1 1: ; preds = %1, %0 %2 = call i32 @GET32(i32 noundef 538972184) %3 = and i32 %2, 16 %4 = icmp eq i32 %3, 0 br i1 %4, label %5, label %1 5: ; preds = %1 br label %6 6: ; preds = %5 %7 = call i32 @GET32(i32 noundef 538972160) ret i32 %7 } declare i32 @GET32(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/tmp9vtf5t__.c' source_filename = "/tmp/tmp9vtf5t__.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setCWComplianceSlope(i8 noundef zeroext %0, i8 noundef zeroext %1) #0 { %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i8 %0, ptr %3, align 1 store i8 %1, ptr %4, align 1 %5 = load i8, ptr %3, align 1 %6 = load i8, ptr %4, align 1 %7 = call i32 @dxl_write_word(i8 noundef zeroext %5, i32 noundef 28, i8 noundef zeroext %6) ret void } declare i32 @dxl_write_word(i8 noundef zeroext, i32 noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9vtf5t__.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setCWComplianceSlope(i8 noundef zeroext %0, i8 noundef zeroext %1) #0 { %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i8 %0, ptr %3, align 1 store i8 %1, ptr %4, align 1 %5 = load i8, ptr %3, align 1 %6 = load i8, ptr %4, align 1 %7 = call i32 @dxl_write_word(i8 noundef zeroext %5, i32 noundef 28, i8 noundef zeroext %6) ret void } declare i32 @dxl_write_word(i8 noundef zeroext, i32 noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2wjse207.c' source_filename = "/tmp/tmp2wjse207.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_putchar(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = call i32 @write(i32 noundef 1, ptr noundef %2, i32 noundef 1) %4 = call i32 @return_verification_int(i32 noundef %3, i32 noundef 1) ret i32 %4 } declare i32 @return_verification_int(i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2wjse207.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_putchar(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = call i32 @write(i32 noundef 1, ptr noundef %2, i32 noundef 1) %4 = call i32 @return_verification_int(i32 noundef %3, i32 noundef 1) ret i32 %4 } declare i32 @return_verification_int(i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc9ax9iab.c' source_filename = "/tmp/tmpc9ax9iab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @ranf() #0 { %1 = alloca float, align 4 %2 = alloca i64, align 8 %3 = call i64 (...) @rand() store i64 %3, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = and i64 %4, 32767 store i64 %5, ptr %2, align 8 %6 = load i64, ptr %2, align 8 %7 = sitofp i64 %6 to float %8 = fpext float %7 to double %9 = fdiv double %8, 3.276700e+04 %10 = fptrunc double %9 to float store float %10, ptr %1, align 4 %11 = load float, ptr %1, align 4 ret float %11 } declare i64 @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/tmpc9ax9iab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @ranf() #0 { %1 = alloca float, align 4 %2 = alloca i64, align 8 %3 = call i64 (...) @rand() store i64 %3, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = and i64 %4, 32767 store i64 %5, ptr %2, align 8 %6 = load i64, ptr %2, align 8 %7 = sitofp i64 %6 to float %8 = fpext float %7 to double %9 = fdiv double %8, 3.276700e+04 %10 = fptrunc double %9 to float store float %10, ptr %1, align 4 %11 = load float, ptr %1, align 4 ret float %11 } declare i64 @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/tmphk0fgaor.c' source_filename = "/tmp/tmphk0fgaor.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @FixpointToFloat(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call i64 @pow(i32 noundef 2, i32 noundef -23) %5 = mul i64 %3, %4 %6 = uitofp i64 %5 to float ret float %6 } declare i64 @pow(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphk0fgaor.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @FixpointToFloat(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call i64 @pow(i32 noundef 2, i32 noundef -23) %5 = mul i64 %3, %4 %6 = uitofp i64 %5 to float ret float %6 } declare i64 @pow(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdelqkbx8.c' source_filename = "/tmp/tmpdelqkbx8.c" target datalayout = "e-m:e-p270: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/tmpdelqkbx8.c" target datalayout = "e-m:e-p270: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/tmpmzl517zj.c' source_filename = "/tmp/tmpmzl517zj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call ptr (...) @appaserver_parameter_file_get_dbms() %3 = call i32 @printf(ptr noundef @.str, ptr noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @appaserver_parameter_file_get_dbms(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmzl517zj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call ptr (...) @appaserver_parameter_file_get_dbms() %3 = call i32 @printf(ptr noundef @.str, ptr noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @appaserver_parameter_file_get_dbms(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp3nyxj5w.c' source_filename = "/tmp/tmpp3nyxj5w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @VIM_JPEG_SetLineBlank(i16 noundef zeroext %0) #0 { %2 = alloca i16, align 2 store i16 %0, ptr %2, align 2 %3 = load i16, ptr %2, align 2 %4 = trunc i16 %3 to i8 %5 = call i32 @VIM_HIF_SetReg8(i32 noundef 3079, i8 noundef zeroext %4) %6 = load i16, ptr %2, align 2 %7 = zext i16 %6 to i32 %8 = ashr i32 %7, 8 %9 = trunc i32 %8 to i8 %10 = call i32 @VIM_HIF_SetReg8(i32 noundef 3078, i8 noundef zeroext %9) %11 = load i16, ptr %2, align 2 %12 = add i16 %11, 1 store i16 %12, ptr %2, align 2 %13 = load i16, ptr %2, align 2 %14 = trunc i16 %13 to i8 %15 = call i32 @VIM_HIF_SetReg8(i32 noundef 77, i8 noundef zeroext %14) %16 = load i16, ptr %2, align 2 %17 = zext i16 %16 to i32 %18 = ashr i32 %17, 8 %19 = trunc i32 %18 to i8 %20 = call i32 @VIM_HIF_SetReg8(i32 noundef 76, i8 noundef zeroext %19) ret void } declare i32 @VIM_HIF_SetReg8(i32 noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp3nyxj5w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @VIM_JPEG_SetLineBlank(i16 noundef zeroext %0) #0 { %2 = alloca i16, align 2 store i16 %0, ptr %2, align 2 %3 = load i16, ptr %2, align 2 %4 = trunc i16 %3 to i8 %5 = call i32 @VIM_HIF_SetReg8(i32 noundef 3079, i8 noundef zeroext %4) %6 = load i16, ptr %2, align 2 %7 = zext i16 %6 to i32 %8 = ashr i32 %7, 8 %9 = trunc i32 %8 to i8 %10 = call i32 @VIM_HIF_SetReg8(i32 noundef 3078, i8 noundef zeroext %9) %11 = load i16, ptr %2, align 2 %12 = add i16 %11, 1 store i16 %12, ptr %2, align 2 %13 = load i16, ptr %2, align 2 %14 = trunc i16 %13 to i8 %15 = call i32 @VIM_HIF_SetReg8(i32 noundef 77, i8 noundef zeroext %14) %16 = load i16, ptr %2, align 2 %17 = zext i16 %16 to i32 %18 = ashr i32 %17, 8 %19 = trunc i32 %18 to i8 %20 = call i32 @VIM_HIF_SetReg8(i32 noundef 76, i8 noundef zeroext %19) ret void } declare i32 @VIM_HIF_SetReg8(i32 noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpufpau0cq.c' source_filename = "/tmp/tmpufpau0cq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"Bank %d\09Your money %d\0A Your bet = \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [48 x i8] c"You don't have enough money, so your bet is %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [49 x i8] c"Bank don't have enough money, so your bet is %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [62 x i8] c"If you want to bet again write 1, otherwise any other number\0A\00", align 1 @.str.5 = private unnamed_addr constant [43 x i8] c"You don't have enough money to play again\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 10000, ptr %2, align 4 store i32 100, ptr %3, align 4 br label %7 7: ; preds = %0, %65 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %9) %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp sgt i32 %12, %13 br i1 %14, label %15, label %19 15: ; preds = %7 %16 = load i32, ptr %3, align 4 store i32 %16, ptr %4, align 4 %17 = load i32, ptr %4, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %17) br label %28 19: ; preds = %7 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %2, align 4 %22 = icmp sgt i32 %20, %21 br i1 %22, label %23, label %27 23: ; preds = %19 %24 = load i32, ptr %2, align 4 store i32 %24, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %25) br label %27 27: ; preds = %23, %19 br label %28 28: ; preds = %27, %15 %29 = load i32, ptr %2, align 4 %30 = load i32, ptr %3, align 4 %31 = load i32, ptr %4, align 4 %32 = call i32 @play(i32 noundef %29, i32 noundef %30, i32 noundef %31) store i32 %32, ptr %5, align 4 %33 = load i32, ptr %5, align 4 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %42 35: ; preds = %28 %36 = load i32, ptr %4, align 4 %37 = load i32, ptr %3, align 4 %38 = sub nsw i32 %37, %36 store i32 %38, ptr %3, align 4 %39 = load i32, ptr %4, align 4 %40 = load i32, ptr %2, align 4 %41 = add nsw i32 %40, %39 store i32 %41, ptr %2, align 4 br label %53 42: ; preds = %28 %43 = load i32, ptr %5, align 4 %44 = icmp eq i32 %43, 1 br i1 %44, label %45, label %52 45: ; preds = %42 %46 = load i32, ptr %4, align 4 %47 = load i32, ptr %3, align 4 %48 = add nsw i32 %47, %46 store i32 %48, ptr %3, align 4 %49 = load i32, ptr %4, align 4 %50 = load i32, ptr %2, align 4 %51 = sub nsw i32 %50, %49 store i32 %51, ptr %2, align 4 br label %52 52: ; preds = %45, %42 br label %53 53: ; preds = %52, %35 store i32 0, ptr %4, align 4 %54 = load i32, ptr %3, align 4 %55 = icmp sgt i32 %54, 0 br i1 %55, label %56, label %63 56: ; preds = %53 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %58 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %59 = load i32, ptr %6, align 4 %60 = icmp ne i32 %59, 1 br i1 %60, label %61, label %62 61: ; preds = %56 br label %66 62: ; preds = %56 br label %65 63: ; preds = %53 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %66 65: ; preds = %62 br label %7 66: ; preds = %63, %61 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @play(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/tmpufpau0cq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"Bank %d\09Your money %d\0A Your bet = \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [48 x i8] c"You don't have enough money, so your bet is %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [49 x i8] c"Bank don't have enough money, so your bet is %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [62 x i8] c"If you want to bet again write 1, otherwise any other number\0A\00", align 1 @.str.5 = private unnamed_addr constant [43 x i8] c"You don't have enough money to play again\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 10000, ptr %2, align 4 store i32 100, ptr %3, align 4 br label %7 7: ; preds = %65, %0 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %9) %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp sgt i32 %12, %13 br i1 %14, label %15, label %19 15: ; preds = %7 %16 = load i32, ptr %3, align 4 store i32 %16, ptr %4, align 4 %17 = load i32, ptr %4, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %17) br label %28 19: ; preds = %7 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %2, align 4 %22 = icmp sgt i32 %20, %21 br i1 %22, label %23, label %27 23: ; preds = %19 %24 = load i32, ptr %2, align 4 store i32 %24, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %25) br label %27 27: ; preds = %23, %19 br label %28 28: ; preds = %27, %15 %29 = load i32, ptr %2, align 4 %30 = load i32, ptr %3, align 4 %31 = load i32, ptr %4, align 4 %32 = call i32 @play(i32 noundef %29, i32 noundef %30, i32 noundef %31) store i32 %32, ptr %5, align 4 %33 = load i32, ptr %5, align 4 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %42 35: ; preds = %28 %36 = load i32, ptr %4, align 4 %37 = load i32, ptr %3, align 4 %38 = sub nsw i32 %37, %36 store i32 %38, ptr %3, align 4 %39 = load i32, ptr %4, align 4 %40 = load i32, ptr %2, align 4 %41 = add nsw i32 %40, %39 store i32 %41, ptr %2, align 4 br label %53 42: ; preds = %28 %43 = load i32, ptr %5, align 4 %44 = icmp eq i32 %43, 1 br i1 %44, label %45, label %52 45: ; preds = %42 %46 = load i32, ptr %4, align 4 %47 = load i32, ptr %3, align 4 %48 = add nsw i32 %47, %46 store i32 %48, ptr %3, align 4 %49 = load i32, ptr %4, align 4 %50 = load i32, ptr %2, align 4 %51 = sub nsw i32 %50, %49 store i32 %51, ptr %2, align 4 br label %52 52: ; preds = %45, %42 br label %53 53: ; preds = %52, %35 store i32 0, ptr %4, align 4 %54 = load i32, ptr %3, align 4 %55 = icmp sgt i32 %54, 0 br i1 %55, label %56, label %63 56: ; preds = %53 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %58 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %59 = load i32, ptr %6, align 4 %60 = icmp ne i32 %59, 1 br i1 %60, label %61, label %62 61: ; preds = %56 br label %66 62: ; preds = %56 br label %65 63: ; preds = %53 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %66 65: ; preds = %62 br label %7 66: ; preds = %63, %61 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @play(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/tmpnnsfvvyc.c' source_filename = "/tmp/tmpnnsfvvyc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solcon_quaddobl_one_homogenization() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = load ptr, ptr %2, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @_ada_use_c2phc4c(i32 noundef 896, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0) store i32 %8, ptr %1, align 4 %9 = load i32, ptr %1, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnnsfvvyc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solcon_quaddobl_one_homogenization() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = load ptr, ptr %2, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @_ada_use_c2phc4c(i32 noundef 896, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0) store i32 %8, ptr %1, align 4 %9 = load i32, ptr %1, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppheuamr2.c' source_filename = "/tmp/tmppheuamr2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkFormat(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %4, align 4 br label %8 8: ; preds = %16, %1 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %4, 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 eq i32 %14, 32 br i1 %15, label %16, label %19 16: ; preds = %8 %17 = load i32, ptr %4, align 4 %18 = add nsw i32 %17, -1 store i32 %18, ptr %4, align 4 br label %8, !llvm.loop !6 19: ; preds = %8 store i32 0, ptr %5, align 4 br label %20 20: ; preds = %38, %19 %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 32 br i1 %27, label %36, label %28 28: ; preds = %20 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %5, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 43 br label %36 36: ; preds = %28, %20 %37 = phi i1 [ true, %20 ], [ %35, %28 ] br i1 %37, label %38, label %41 38: ; preds = %36 %39 = load i32, ptr %5, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %5, align 4 br label %20, !llvm.loop !8 41: ; preds = %36 br label %42 42: ; preds = %51, %41 %43 = load ptr, ptr %3, align 8 %44 = load i32, ptr %5, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = call i64 @isdigit(i32 noundef %48) %50 = icmp ne i64 %49, 0 br i1 %50, label %51, label %54 51: ; preds = %42 %52 = load i32, ptr %5, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %5, align 4 br label %42, !llvm.loop !9 54: ; preds = %42 %55 = load ptr, ptr %3, align 8 %56 = load i32, ptr %5, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %55, i64 %57 %59 = load i8, ptr %58, align 1 %60 = sext i8 %59 to i32 %61 = icmp eq i32 %60, 46 br i1 %61, label %62, label %65 62: ; preds = %54 %63 = load i32, ptr %5, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %5, align 4 br label %65 65: ; preds = %62, %54 br label %66 66: ; preds = %75, %65 %67 = load ptr, ptr %3, align 8 %68 = load i32, ptr %5, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i8, ptr %67, i64 %69 %71 = load i8, ptr %70, align 1 %72 = sext i8 %71 to i32 %73 = call i64 @isdigit(i32 noundef %72) %74 = icmp ne i64 %73, 0 br i1 %74, label %75, label %78 75: ; preds = %66 %76 = load i32, ptr %5, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %5, align 4 br label %66, !llvm.loop !10 78: ; preds = %66 %79 = load ptr, ptr %3, align 8 %80 = load i32, ptr %5, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i8, ptr %79, i64 %81 %83 = load i8, ptr %82, align 1 %84 = sext i8 %83 to i32 %85 = icmp eq i32 %84, 101 br i1 %85, label %94, label %86 86: ; preds = %78 %87 = load ptr, ptr %3, align 8 %88 = load i32, ptr %5, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i8, ptr %87, i64 %89 %91 = load i8, ptr %90, align 1 %92 = sext i8 %91 to i32 %93 = icmp eq i32 %92, 69 br i1 %93, label %94, label %97 94: ; preds = %86, %78 %95 = load i32, ptr %5, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %5, align 4 br label %97 97: ; preds = %94, %86 br label %98 98: ; preds = %107, %97 %99 = load ptr, ptr %3, align 8 %100 = load i32, ptr %5, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds i8, ptr %99, i64 %101 %103 = load i8, ptr %102, align 1 %104 = sext i8 %103 to i32 %105 = call i64 @isdigit(i32 noundef %104) %106 = icmp ne i64 %105, 0 br i1 %106, label %107, label %110 107: ; preds = %98 %108 = load i32, ptr %5, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %5, align 4 br label %98, !llvm.loop !11 110: ; preds = %98 %111 = load i32, ptr %5, align 4 %112 = load i32, ptr %4, align 4 %113 = icmp eq i32 %111, %112 br i1 %113, label %114, label %115 114: ; preds = %110 store i32 1, ptr %2, align 4 br label %116 115: ; preds = %110 store i32 0, ptr %2, align 4 br label %116 116: ; preds = %115, %114 %117 = load i32, ptr %2, align 4 ret i32 %117 } declare i32 @strlen(ptr noundef) #1 declare i64 @isdigit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppheuamr2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkFormat(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %4, align 4 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %4, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %8, i64 %10 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp eq i32 %13, 32 br i1 %14, label %.lr.ph, label %25 .lr.ph: ; preds = %1 br label %15 15: ; preds = %.lr.ph, %15 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, -1 store i32 %17, ptr %4, align 4 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %4, 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 eq i32 %23, 32 br i1 %24, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %25 25: ; preds = %._crit_edge, %1 store i32 0, ptr %5, align 4 br label %26 26: ; preds = %44, %25 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 32 br i1 %33, label %42, label %34 34: ; preds = %26 %35 = load ptr, ptr %3, align 8 %36 = load i32, ptr %5, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 43 br label %42 42: ; preds = %34, %26 %43 = phi i1 [ true, %26 ], [ %41, %34 ] br i1 %43, label %44, label %47 44: ; preds = %42 %45 = load i32, ptr %5, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %5, align 4 br label %26, !llvm.loop !8 47: ; preds = %42 %48 = load ptr, ptr %3, align 8 %49 = load i32, ptr %5, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %48, i64 %50 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = call i64 @isdigit(i32 noundef %53) %55 = icmp ne i64 %54, 0 br i1 %55, label %.lr.ph2, label %67 .lr.ph2: ; preds = %47 br label %56 56: ; preds = %.lr.ph2, %56 %57 = load i32, ptr %5, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %5, align 4 %59 = load ptr, ptr %3, align 8 %60 = load i32, ptr %5, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 %63 = load i8, ptr %62, align 1 %64 = sext i8 %63 to i32 %65 = call i64 @isdigit(i32 noundef %64) %66 = icmp ne i64 %65, 0 br i1 %66, label %56, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %56 br label %67 67: ; preds = %._crit_edge3, %47 %68 = load ptr, ptr %3, align 8 %69 = load i32, ptr %5, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i8, ptr %68, i64 %70 %72 = load i8, ptr %71, align 1 %73 = sext i8 %72 to i32 %74 = icmp eq i32 %73, 46 br i1 %74, label %75, label %78 75: ; preds = %67 %76 = load i32, ptr %5, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %5, align 4 br label %78 78: ; preds = %75, %67 %79 = load ptr, ptr %3, align 8 %80 = load i32, ptr %5, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i8, ptr %79, i64 %81 %83 = load i8, ptr %82, align 1 %84 = sext i8 %83 to i32 %85 = call i64 @isdigit(i32 noundef %84) %86 = icmp ne i64 %85, 0 br i1 %86, label %.lr.ph5, label %98 .lr.ph5: ; preds = %78 br label %87 87: ; preds = %.lr.ph5, %87 %88 = load i32, ptr %5, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %5, align 4 %90 = load ptr, ptr %3, align 8 %91 = load i32, ptr %5, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i8, ptr %90, i64 %92 %94 = load i8, ptr %93, align 1 %95 = sext i8 %94 to i32 %96 = call i64 @isdigit(i32 noundef %95) %97 = icmp ne i64 %96, 0 br i1 %97, label %87, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %87 br label %98 98: ; preds = %._crit_edge6, %78 %99 = load ptr, ptr %3, align 8 %100 = load i32, ptr %5, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds i8, ptr %99, i64 %101 %103 = load i8, ptr %102, align 1 %104 = sext i8 %103 to i32 %105 = icmp eq i32 %104, 101 br i1 %105, label %114, label %106 106: ; preds = %98 %107 = load ptr, ptr %3, align 8 %108 = load i32, ptr %5, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i8, ptr %107, i64 %109 %111 = load i8, ptr %110, align 1 %112 = sext i8 %111 to i32 %113 = icmp eq i32 %112, 69 br i1 %113, label %114, label %117 114: ; preds = %106, %98 %115 = load i32, ptr %5, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %5, align 4 br label %117 117: ; preds = %114, %106 %118 = load ptr, ptr %3, align 8 %119 = load i32, ptr %5, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i8, ptr %118, i64 %120 %122 = load i8, ptr %121, align 1 %123 = sext i8 %122 to i32 %124 = call i64 @isdigit(i32 noundef %123) %125 = icmp ne i64 %124, 0 br i1 %125, label %.lr.ph8, label %137 .lr.ph8: ; preds = %117 br label %126 126: ; preds = %.lr.ph8, %126 %127 = load i32, ptr %5, align 4 %128 = add nsw i32 %127, 1 store i32 %128, ptr %5, align 4 %129 = load ptr, ptr %3, align 8 %130 = load i32, ptr %5, align 4 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds i8, ptr %129, i64 %131 %133 = load i8, ptr %132, align 1 %134 = sext i8 %133 to i32 %135 = call i64 @isdigit(i32 noundef %134) %136 = icmp ne i64 %135, 0 br i1 %136, label %126, label %._crit_edge9, !llvm.loop !11 ._crit_edge9: ; preds = %126 br label %137 137: ; preds = %._crit_edge9, %117 %138 = load i32, ptr %5, align 4 %139 = load i32, ptr %4, align 4 %140 = icmp eq i32 %138, %139 br i1 %140, label %141, label %142 141: ; preds = %137 store i32 1, ptr %2, align 4 br label %143 142: ; preds = %137 store i32 0, ptr %2, align 4 br label %143 143: ; preds = %142, %141 %144 = load i32, ptr %2, align 4 ret i32 %144 } declare i32 @strlen(ptr noundef) #1 declare i64 @isdigit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmprxq069y0.c' source_filename = "/tmp/tmprxq069y0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GPIOPinIntEnable(i64 noundef %0, i8 noundef zeroext %1) #0 { %3 = alloca i64, align 8 %4 = alloca i8, align 1 store i64 %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %5 = load i64, ptr %3, align 8 %6 = call i32 @GPIOBaseValid(i64 noundef %5) %7 = call i32 @DEBUG_ASSERT(i32 noundef %6) %8 = load i8, ptr %4, align 1 %9 = zext i8 %8 to i64 %10 = load i64, ptr %3, align 8 %11 = add i64 %10, 1040 %12 = inttoptr i64 %11 to ptr %13 = load volatile i64, ptr %12, align 8 %14 = or i64 %13, %9 store volatile i64 %14, ptr %12, align 8 ret void } declare i32 @DEBUG_ASSERT(i32 noundef) #1 declare i32 @GPIOBaseValid(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprxq069y0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GPIOPinIntEnable(i64 noundef %0, i8 noundef zeroext %1) #0 { %3 = alloca i64, align 8 %4 = alloca i8, align 1 store i64 %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %5 = load i64, ptr %3, align 8 %6 = call i32 @GPIOBaseValid(i64 noundef %5) %7 = call i32 @DEBUG_ASSERT(i32 noundef %6) %8 = load i8, ptr %4, align 1 %9 = zext i8 %8 to i64 %10 = load i64, ptr %3, align 8 %11 = add i64 %10, 1040 %12 = inttoptr i64 %11 to ptr %13 = load volatile i64, ptr %12, align 8 %14 = or i64 %13, %9 store volatile i64 %14, ptr %12, align 8 ret void } declare i32 @DEBUG_ASSERT(i32 noundef) #1 declare i32 @GPIOBaseValid(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp67c9d9gd.c' source_filename = "/tmp/tmp67c9d9gd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_FP_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @free(ptr noundef %6) br label %8 8: ; preds = %5, %1 ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp67c9d9gd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_FP_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @free(ptr noundef %6) br label %8 8: ; preds = %5, %1 ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3se8pzzp.c' source_filename = "/tmp/tmp3se8pzzp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @get_token.buffer = internal global [500 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_token(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 store ptr @get_token.buffer, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %5, align 8 %7 = call ptr (ptr, ...) @skip_space(ptr noundef %6) %8 = load ptr, ptr %3, align 8 store ptr %7, ptr %8, align 8 %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %9, align 8 %11 = load i8, ptr %10, align 1 %12 = icmp ne i8 %11, 0 br i1 %12, label %14, label %13 13: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %58 14: ; preds = %1 %15 = load ptr, ptr %3, align 8 %16 = load ptr, ptr %15, align 8 %17 = load i8, ptr %16, align 1 %18 = call i64 @ispunct(i8 noundef signext %17) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %31 20: ; preds = %14 %21 = load ptr, ptr %3, align 8 %22 = load ptr, ptr %21, align 8 %23 = load i8, ptr %22, align 1 %24 = load ptr, ptr %4, align 8 store i8 %23, ptr %24, align 1 %25 = load ptr, ptr %4, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %4, align 8 %27 = load ptr, ptr %3, align 8 %28 = load ptr, ptr %27, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %27, align 8 %30 = load ptr, ptr %4, align 8 store i8 0, ptr %30, align 1 store ptr @get_token.buffer, ptr %2, align 8 br label %58 31: ; preds = %14 br label %32 32: ; preds = %46, %31 %33 = load ptr, ptr %3, align 8 %34 = load ptr, ptr %33, align 8 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp ne i32 %36, 0 br i1 %37, label %38, label %44 38: ; preds = %32 %39 = load ptr, ptr %3, align 8 %40 = load ptr, ptr %39, align 8 %41 = load i8, ptr %40, align 1 %42 = call i64 @isalnum(i8 noundef signext %41) %43 = icmp ne i64 %42, 0 br label %44 44: ; preds = %38, %32 %45 = phi i1 [ false, %32 ], [ %43, %38 ] br i1 %45, label %46, label %56 46: ; preds = %44 %47 = load ptr, ptr %3, align 8 %48 = load ptr, ptr %47, align 8 %49 = load i8, ptr %48, align 1 %50 = load ptr, ptr %4, align 8 store i8 %49, ptr %50, align 1 %51 = load ptr, ptr %4, align 8 %52 = getelementptr inbounds i8, ptr %51, i32 1 store ptr %52, ptr %4, align 8 %53 = load ptr, ptr %3, align 8 %54 = load ptr, ptr %53, align 8 %55 = getelementptr inbounds i8, ptr %54, i32 1 store ptr %55, ptr %53, align 8 br label %32, !llvm.loop !6 56: ; preds = %44 %57 = load ptr, ptr %4, align 8 store i8 0, ptr %57, align 1 store ptr @get_token.buffer, ptr %2, align 8 br label %58 58: ; preds = %56, %20, %13 %59 = load ptr, ptr %2, align 8 ret ptr %59 } declare ptr @skip_space(...) #1 declare i64 @ispunct(i8 noundef signext) #1 declare i64 @isalnum(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3se8pzzp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @get_token.buffer = internal global [500 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_token(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 store ptr @get_token.buffer, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %5, align 8 %7 = call ptr (ptr, ...) @skip_space(ptr noundef %6) %8 = load ptr, ptr %3, align 8 store ptr %7, ptr %8, align 8 %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %9, align 8 %11 = load i8, ptr %10, align 1 %12 = icmp ne i8 %11, 0 br i1 %12, label %14, label %13 13: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %58 14: ; preds = %1 %15 = load ptr, ptr %3, align 8 %16 = load ptr, ptr %15, align 8 %17 = load i8, ptr %16, align 1 %18 = call i64 @ispunct(i8 noundef signext %17) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %31 20: ; preds = %14 %21 = load ptr, ptr %3, align 8 %22 = load ptr, ptr %21, align 8 %23 = load i8, ptr %22, align 1 %24 = load ptr, ptr %4, align 8 store i8 %23, ptr %24, align 1 %25 = load ptr, ptr %4, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %4, align 8 %27 = load ptr, ptr %3, align 8 %28 = load ptr, ptr %27, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %27, align 8 %30 = load ptr, ptr %4, align 8 store i8 0, ptr %30, align 1 store ptr @get_token.buffer, ptr %2, align 8 br label %58 31: ; preds = %14 br label %32 32: ; preds = %46, %31 %33 = load ptr, ptr %3, align 8 %34 = load ptr, ptr %33, align 8 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp ne i32 %36, 0 br i1 %37, label %38, label %44 38: ; preds = %32 %39 = load ptr, ptr %3, align 8 %40 = load ptr, ptr %39, align 8 %41 = load i8, ptr %40, align 1 %42 = call i64 @isalnum(i8 noundef signext %41) %43 = icmp ne i64 %42, 0 br label %44 44: ; preds = %38, %32 %45 = phi i1 [ false, %32 ], [ %43, %38 ] br i1 %45, label %46, label %56 46: ; preds = %44 %47 = load ptr, ptr %3, align 8 %48 = load ptr, ptr %47, align 8 %49 = load i8, ptr %48, align 1 %50 = load ptr, ptr %4, align 8 store i8 %49, ptr %50, align 1 %51 = load ptr, ptr %4, align 8 %52 = getelementptr inbounds i8, ptr %51, i32 1 store ptr %52, ptr %4, align 8 %53 = load ptr, ptr %3, align 8 %54 = load ptr, ptr %53, align 8 %55 = getelementptr inbounds i8, ptr %54, i32 1 store ptr %55, ptr %53, align 8 br label %32, !llvm.loop !6 56: ; preds = %44 %57 = load ptr, ptr %4, align 8 store i8 0, ptr %57, align 1 store ptr @get_token.buffer, ptr %2, align 8 br label %58 58: ; preds = %56, %20, %13 %59 = load ptr, ptr %2, align 8 ret ptr %59 } declare ptr @skip_space(...) #1 declare i64 @ispunct(i8 noundef signext) #1 declare i64 @isalnum(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp60icn0iu.c' source_filename = "/tmp/tmp60icn0iu.c" target datalayout = "e-m:e-p270: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/tmp60icn0iu.c" target datalayout = "e-m:e-p270: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/tmp6gs1x93b.c' source_filename = "/tmp/tmp6gs1x93b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.pathname = private unnamed_addr constant [5 x i8] c"2a.c\00", align 1 @.str = private unnamed_addr constant [5 x i8] c"2a.c\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"Can't open file\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Can't read all string\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"Can't close file\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"Can't generate key\0A\00", align 1 @IPC_CREAT = dso_local global i32 0, align 4 @IPC_EXCL = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [28 x i8] c"Can't create shared memory\0A\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c"Can't attach shared memory\0A\00", align 1 @.str.7 = private unnamed_addr constant [28 x i8] c"Can't detach shared memory\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [5 x i8], align 1 %7 = alloca [1738 x i8], align 16 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.pathname, i64 5, i1 false) %10 = load i32, ptr @O_RDONLY, align 4 %11 = call i32 @open(ptr noundef @.str, i32 noundef %10) store i32 %11, ptr %3, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %0 %14 = call i32 @printf(ptr noundef @.str.1) %15 = call i32 @exit(i32 noundef -1) #4 unreachable 16: ; preds = %0 %17 = load i32, ptr %3, align 4 %18 = getelementptr inbounds [1738 x i8], ptr %7, i64 0, i64 0 %19 = call i32 @read(i32 noundef %17, ptr noundef %18, i32 noundef 1738) store i32 %19, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp ne i32 %20, 1738 br i1 %21, label %22, label %25 22: ; preds = %16 %23 = call i32 @printf(ptr noundef @.str.2) %24 = call i32 @exit(i32 noundef -1) #4 unreachable 25: ; preds = %16 %26 = load i32, ptr %3, align 4 %27 = call i64 @close(i32 noundef %26) %28 = icmp slt i64 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %25 %30 = call i32 @printf(ptr noundef @.str.3) br label %31 31: ; preds = %29, %25 %32 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0 %33 = call i32 @ftok(ptr noundef %32, i32 noundef 0) store i32 %33, ptr %9, align 4 %34 = icmp slt i32 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %31 %36 = call i32 @printf(ptr noundef @.str.4) %37 = call i32 @exit(i32 noundef -1) #4 unreachable 38: ; preds = %31 %39 = load i32, ptr %9, align 4 %40 = load i32, ptr @IPC_CREAT, align 4 %41 = or i32 438, %40 %42 = load i32, ptr @IPC_EXCL, align 4 %43 = or i32 %41, %42 %44 = call i32 @shmget(i32 noundef %39, i32 noundef 1738, i32 noundef %43) store i32 %44, ptr %2, align 4 %45 = icmp slt i32 %44, 0 br i1 %45, label %46, label %49 46: ; preds = %38 %47 = call i32 @printf(ptr noundef @.str.5) %48 = call i32 @exit(i32 noundef -1) #4 unreachable 49: ; preds = %38 %50 = load i32, ptr %2, align 4 %51 = call i64 @shmat(i32 noundef %50, ptr noundef null, i32 noundef 0) %52 = inttoptr i64 %51 to ptr store ptr %52, ptr %8, align 8 %53 = icmp eq ptr %52, inttoptr (i64 -1 to ptr) br i1 %53, label %54, label %57 54: ; preds = %49 %55 = call i32 @printf(ptr noundef @.str.6) %56 = call i32 @exit(i32 noundef -1) #4 unreachable 57: ; preds = %49 store i32 0, ptr %5, align 4 br label %58 58: ; preds = %70, %57 %59 = load i32, ptr %5, align 4 %60 = icmp slt i32 %59, 1738 br i1 %60, label %61, label %73 61: ; preds = %58 %62 = load i32, ptr %5, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [1738 x i8], ptr %7, i64 0, i64 %63 %65 = load i8, ptr %64, align 1 %66 = load ptr, ptr %8, align 8 %67 = load i32, ptr %5, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %66, i64 %68 store i8 %65, ptr %69, align 1 br label %70 70: ; preds = %61 %71 = load i32, ptr %5, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %5, align 4 br label %58, !llvm.loop !6 73: ; preds = %58 %74 = load ptr, ptr %8, align 8 %75 = call i64 @shmdt(ptr noundef %74) %76 = icmp slt i64 %75, 0 br i1 %76, label %77, label %80 77: ; preds = %73 %78 = call i32 @printf(ptr noundef @.str.7) %79 = call i32 @exit(i32 noundef -1) #4 unreachable 80: ; preds = %73 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @open(ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2 declare i64 @close(i32 noundef) #2 declare i32 @ftok(ptr noundef, i32 noundef) #2 declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #2 declare i64 @shmat(i32 noundef, ptr noundef, i32 noundef) #2 declare i64 @shmdt(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6gs1x93b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.pathname = private unnamed_addr constant [5 x i8] c"2a.c\00", align 1 @.str = private unnamed_addr constant [5 x i8] c"2a.c\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"Can't open file\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Can't read all string\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"Can't close file\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"Can't generate key\0A\00", align 1 @IPC_CREAT = dso_local global i32 0, align 4 @IPC_EXCL = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [28 x i8] c"Can't create shared memory\0A\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c"Can't attach shared memory\0A\00", align 1 @.str.7 = private unnamed_addr constant [28 x i8] c"Can't detach shared memory\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [5 x i8], align 1 %7 = alloca [1738 x i8], align 16 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.pathname, i64 5, i1 false) %10 = load i32, ptr @O_RDONLY, align 4 %11 = call i32 @open(ptr noundef @.str, i32 noundef %10) store i32 %11, ptr %3, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %0 %14 = call i32 @printf(ptr noundef @.str.1) %15 = call i32 @exit(i32 noundef -1) #4 unreachable 16: ; preds = %0 %17 = load i32, ptr %3, align 4 %18 = getelementptr inbounds [1738 x i8], ptr %7, i64 0, i64 0 %19 = call i32 @read(i32 noundef %17, ptr noundef %18, i32 noundef 1738) store i32 %19, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp ne i32 %20, 1738 br i1 %21, label %22, label %25 22: ; preds = %16 %23 = call i32 @printf(ptr noundef @.str.2) %24 = call i32 @exit(i32 noundef -1) #4 unreachable 25: ; preds = %16 %26 = load i32, ptr %3, align 4 %27 = call i64 @close(i32 noundef %26) %28 = icmp slt i64 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %25 %30 = call i32 @printf(ptr noundef @.str.3) br label %31 31: ; preds = %29, %25 %32 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0 %33 = call i32 @ftok(ptr noundef %32, i32 noundef 0) store i32 %33, ptr %9, align 4 %34 = icmp slt i32 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %31 %36 = call i32 @printf(ptr noundef @.str.4) %37 = call i32 @exit(i32 noundef -1) #4 unreachable 38: ; preds = %31 %39 = load i32, ptr %9, align 4 %40 = load i32, ptr @IPC_CREAT, align 4 %41 = or i32 438, %40 %42 = load i32, ptr @IPC_EXCL, align 4 %43 = or i32 %41, %42 %44 = call i32 @shmget(i32 noundef %39, i32 noundef 1738, i32 noundef %43) store i32 %44, ptr %2, align 4 %45 = icmp slt i32 %44, 0 br i1 %45, label %46, label %49 46: ; preds = %38 %47 = call i32 @printf(ptr noundef @.str.5) %48 = call i32 @exit(i32 noundef -1) #4 unreachable 49: ; preds = %38 %50 = load i32, ptr %2, align 4 %51 = call i64 @shmat(i32 noundef %50, ptr noundef null, i32 noundef 0) %52 = inttoptr i64 %51 to ptr store ptr %52, ptr %8, align 8 %53 = icmp eq ptr %52, inttoptr (i64 -1 to ptr) br i1 %53, label %54, label %57 54: ; preds = %49 %55 = call i32 @printf(ptr noundef @.str.6) %56 = call i32 @exit(i32 noundef -1) #4 unreachable 57: ; preds = %49 store i32 0, ptr %5, align 4 %58 = load i32, ptr %5, align 4 %59 = icmp slt i32 %58, 1738 br i1 %59, label %.lr.ph, label %74 .lr.ph: ; preds = %57 br label %60 60: ; preds = %.lr.ph, %69 %61 = load i32, ptr %5, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [1738 x i8], ptr %7, i64 0, i64 %62 %64 = load i8, ptr %63, align 1 %65 = load ptr, ptr %8, align 8 %66 = load i32, ptr %5, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i8, ptr %65, i64 %67 store i8 %64, ptr %68, align 1 br label %69 69: ; preds = %60 %70 = load i32, ptr %5, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %5, align 4 %72 = load i32, ptr %5, align 4 %73 = icmp slt i32 %72, 1738 br i1 %73, label %60, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %69 br label %74 74: ; preds = %._crit_edge, %57 %75 = load ptr, ptr %8, align 8 %76 = call i64 @shmdt(ptr noundef %75) %77 = icmp slt i64 %76, 0 br i1 %77, label %78, label %81 78: ; preds = %74 %79 = call i32 @printf(ptr noundef @.str.7) %80 = call i32 @exit(i32 noundef -1) #4 unreachable 81: ; preds = %74 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @open(ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2 declare i64 @close(i32 noundef) #2 declare i32 @ftok(ptr noundef, i32 noundef) #2 declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #2 declare i64 @shmat(i32 noundef, ptr noundef, i32 noundef) #2 declare i64 @shmdt(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8hn5b3dw.c' source_filename = "/tmp/tmp8hn5b3dw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 @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/tmp8hn5b3dw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 @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/tmp0f4k6de2.c' source_filename = "/tmp/tmp0f4k6de2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @filter() #0 { %1 = call i32 @bar(i32 noundef 3) ret i32 %1 } declare i32 @bar(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/tmp0f4k6de2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @filter() #0 { %1 = call i32 @bar(i32 noundef 3) ret i32 %1 } declare i32 @bar(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/tmpt9uwzeev.c' source_filename = "/tmp/tmpt9uwzeev.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rnet_message_add_u8(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = call i32 @add_field(ptr noundef %7, ptr noundef %8, i32 noundef %10, ptr noundef %6, i32 noundef 4) ret i32 %11 } declare i32 @add_field(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt9uwzeev.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rnet_message_add_u8(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = call i32 @add_field(ptr noundef %7, ptr noundef %8, i32 noundef %10, ptr noundef %6, i32 noundef 4) ret i32 %11 } declare i32 @add_field(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk6lg0oxz.c' source_filename = "/tmp/tmpk6lg0oxz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @now_ms() #0 { %1 = call i32 (...) @now_us() %2 = sdiv i32 %1, 1000 ret i32 %2 } declare i32 @now_us(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk6lg0oxz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @now_ms() #0 { %1 = call i32 (...) @now_us() %2 = sdiv i32 %1, 1000 ret i32 %2 } declare i32 @now_us(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf7zyu20b.c' source_filename = "/tmp/tmpf7zyu20b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [200 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/AmesianX/OpenBLT/refs/heads/master/Target/Demo/ARMCM3_LM3S_EK_LM3S8962_Crossworks/Boot/lib/driverlib/sysctl.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @SysCtlGPIOAHBEnable(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = icmp eq i64 %3, 536870913 br i1 %4, label %31, label %5 5: ; preds = %1 %6 = load i64, ptr %2, align 8 %7 = icmp eq i64 %6, 536870914 br i1 %7, label %31, label %8 8: ; preds = %5 %9 = load i64, ptr %2, align 8 %10 = icmp eq i64 %9, 536870916 br i1 %10, label %31, label %11 11: ; preds = %8 %12 = load i64, ptr %2, align 8 %13 = icmp eq i64 %12, 536870920 br i1 %13, label %31, label %14 14: ; preds = %11 %15 = load i64, ptr %2, align 8 %16 = icmp eq i64 %15, 536870928 br i1 %16, label %31, label %17 17: ; preds = %14 %18 = load i64, ptr %2, align 8 %19 = icmp eq i64 %18, 536870944 br i1 %19, label %31, label %20 20: ; preds = %17 %21 = load i64, ptr %2, align 8 %22 = icmp eq i64 %21, 536870976 br i1 %22, label %31, label %23 23: ; preds = %20 %24 = load i64, ptr %2, align 8 %25 = icmp eq i64 %24, 536871040 br i1 %25, label %31, label %26 26: ; preds = %23 %27 = load i64, ptr %2, align 8 %28 = icmp eq i64 %27, 536871168 br i1 %28, label %31, label %29 29: ; preds = %26 %30 = call i32 @AssertFailure(ptr noundef @.str, i32 noundef 2126) br label %31 31: ; preds = %29, %26, %23, %20, %17, %14, %11, %8, %5, %1 %32 = load i64, ptr %2, align 8 %33 = and i64 %32, 65535 %34 = load volatile i64, ptr inttoptr (i64 1074782316 to ptr), align 8 %35 = or i64 %34, %33 store volatile i64 %35, ptr inttoptr (i64 1074782316 to ptr), align 8 ret void } declare i32 @AssertFailure(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/tmpf7zyu20b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [200 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/AmesianX/OpenBLT/refs/heads/master/Target/Demo/ARMCM3_LM3S_EK_LM3S8962_Crossworks/Boot/lib/driverlib/sysctl.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @SysCtlGPIOAHBEnable(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = icmp eq i64 %3, 536870913 br i1 %4, label %31, label %5 5: ; preds = %1 %6 = load i64, ptr %2, align 8 %7 = icmp eq i64 %6, 536870914 br i1 %7, label %31, label %8 8: ; preds = %5 %9 = load i64, ptr %2, align 8 %10 = icmp eq i64 %9, 536870916 br i1 %10, label %31, label %11 11: ; preds = %8 %12 = load i64, ptr %2, align 8 %13 = icmp eq i64 %12, 536870920 br i1 %13, label %31, label %14 14: ; preds = %11 %15 = load i64, ptr %2, align 8 %16 = icmp eq i64 %15, 536870928 br i1 %16, label %31, label %17 17: ; preds = %14 %18 = load i64, ptr %2, align 8 %19 = icmp eq i64 %18, 536870944 br i1 %19, label %31, label %20 20: ; preds = %17 %21 = load i64, ptr %2, align 8 %22 = icmp eq i64 %21, 536870976 br i1 %22, label %31, label %23 23: ; preds = %20 %24 = load i64, ptr %2, align 8 %25 = icmp eq i64 %24, 536871040 br i1 %25, label %31, label %26 26: ; preds = %23 %27 = load i64, ptr %2, align 8 %28 = icmp eq i64 %27, 536871168 br i1 %28, label %31, label %29 29: ; preds = %26 %30 = call i32 @AssertFailure(ptr noundef @.str, i32 noundef 2126) br label %31 31: ; preds = %29, %26, %23, %20, %17, %14, %11, %8, %5, %1 %32 = load i64, ptr %2, align 8 %33 = and i64 %32, 65535 %34 = load volatile i64, ptr inttoptr (i64 1074782316 to ptr), align 8 %35 = or i64 %34, %33 store volatile i64 %35, ptr inttoptr (i64 1074782316 to ptr), align 8 ret void } declare i32 @AssertFailure(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/tmp9hc7rjea.c' source_filename = "/tmp/tmp9hc7rjea.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"SIGNAL\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sigcatch(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @final(i32 noundef 1, ptr noundef @.str) ret void } declare i32 @final(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/tmp9hc7rjea.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"SIGNAL\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sigcatch(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @final(i32 noundef 1, ptr noundef @.str) ret void } declare i32 @final(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/tmp6i2mpwd9.c' source_filename = "/tmp/tmp6i2mpwd9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"In TRY statement\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"FOO exception caught\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"BAR exception caught\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"GOO exception caught\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 br label %7 7: ; preds = %2 %8 = load i32, ptr %6, align 4 %9 = call i32 @setjmp(i32 noundef %8) #4 switch i32 %9, label %20 [ i32 0, label %10 i32 1, label %14 i32 2, label %16 i32 3, label %18 ] 10: ; preds = %7 %11 = call i32 @printf(ptr noundef @.str) %12 = load i32, ptr %6, align 4 %13 = call i32 @longjmp(i32 noundef %12, i32 noundef 3) #5 unreachable 14: ; preds = %7 %15 = call i32 @printf(ptr noundef @.str.1) br label %20 16: ; preds = %7 %17 = call i32 @printf(ptr noundef @.str.2) br label %20 18: ; preds = %7 %19 = call i32 @printf(ptr noundef @.str.3) br label %20 20: ; preds = %18, %7, %16, %14 br label %21 21: ; preds = %20 %22 = load i32, ptr @EXIT_SUCCESS, align 4 %23 = call i32 @exit(i32 noundef %22) #5 unreachable } ; Function Attrs: returns_twice declare i32 @setjmp(i32 noundef) #1 declare i32 @printf(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @longjmp(i32 noundef, i32 noundef) #3 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { returns_twice "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { returns_twice } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6i2mpwd9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"In TRY statement\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"FOO exception caught\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"BAR exception caught\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"GOO exception caught\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 br label %7 7: ; preds = %2 %8 = load i32, ptr %6, align 4 %9 = call i32 @setjmp(i32 noundef %8) #4 switch i32 %9, label %20 [ i32 0, label %10 i32 1, label %14 i32 2, label %16 i32 3, label %18 ] 10: ; preds = %7 %11 = call i32 @printf(ptr noundef @.str) %12 = load i32, ptr %6, align 4 %13 = call i32 @longjmp(i32 noundef %12, i32 noundef 3) #5 unreachable 14: ; preds = %7 %15 = call i32 @printf(ptr noundef @.str.1) br label %20 16: ; preds = %7 %17 = call i32 @printf(ptr noundef @.str.2) br label %20 18: ; preds = %7 %19 = call i32 @printf(ptr noundef @.str.3) br label %20 20: ; preds = %18, %16, %14, %7 br label %21 21: ; preds = %20 %22 = load i32, ptr @EXIT_SUCCESS, align 4 %23 = call i32 @exit(i32 noundef %22) #5 unreachable } ; Function Attrs: returns_twice declare i32 @setjmp(i32 noundef) #1 declare i32 @printf(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @longjmp(i32 noundef, i32 noundef) #3 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { returns_twice "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { returns_twice } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgf1e40jr.c' source_filename = "/tmp/tmpgf1e40jr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @camcguard2l(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %13 = load ptr, ptr %7, align 8 %14 = call i32 @amcguard2l_(ptr noundef %13, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) ret void } declare i32 @amcguard2l_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgf1e40jr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @camcguard2l(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %13 = load ptr, ptr %7, align 8 %14 = call i32 @amcguard2l_(ptr noundef %13, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) ret void } declare i32 @amcguard2l_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxje1zg0o.c' source_filename = "/tmp/tmpxje1zg0o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @COLOR_WHITE = dso_local global i32 0, align 4 @COLOR_BLACK = dso_local global i32 0, align 4 @ACS_CKBOARD = dso_local global i8 0, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @explosion(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 @COLOR_WHITE, align 4 %6 = load i32, ptr @COLOR_BLACK, align 4 %7 = call i32 @init_pair(i32 noundef 0, i32 noundef %5, i32 noundef %6) %8 = load i32, ptr @COLOR_BLACK, align 4 %9 = load i32, ptr @COLOR_WHITE, align 4 %10 = call i32 @init_pair(i32 noundef 1, i32 noundef %8, i32 noundef %9) %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %4, align 4 %13 = load i8, ptr @ACS_CKBOARD, align 1 %14 = call i32 @mvaddch(i32 noundef %11, i32 noundef %12, i8 noundef signext %13) %15 = call i32 (...) @refresh() %16 = call i32 @napms(i32 noundef 50) %17 = load i32, ptr %3, align 4 %18 = sub nsw i32 %17, 1 %19 = load i32, ptr %4, align 4 %20 = load i8, ptr @ACS_CKBOARD, align 1 %21 = call i32 @mvaddch(i32 noundef %18, i32 noundef %19, i8 noundef signext %20) %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, 1 %24 = load i32, ptr %4, align 4 %25 = load i8, ptr @ACS_CKBOARD, align 1 %26 = call i32 @mvaddch(i32 noundef %23, i32 noundef %24, i8 noundef signext %25) %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %4, align 4 %29 = sub nsw i32 %28, 1 %30 = load i8, ptr @ACS_CKBOARD, align 1 %31 = call i32 @mvaddch(i32 noundef %27, i32 noundef %29, i8 noundef signext %30) %32 = load i32, ptr %3, align 4 %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, 1 %35 = load i8, ptr @ACS_CKBOARD, align 1 %36 = call i32 @mvaddch(i32 noundef %32, i32 noundef %34, i8 noundef signext %35) %37 = call i32 @COLOR_PAIR(i32 noundef 0) %38 = call i32 @attrset(i32 noundef %37) %39 = load i32, ptr %3, align 4 %40 = load i32, ptr %4, align 4 %41 = call i32 @mvaddch(i32 noundef %39, i32 noundef %40, i8 noundef signext 32) %42 = call i32 @COLOR_PAIR(i32 noundef 1) %43 = call i32 @attrset(i32 noundef %42) %44 = call i32 (...) @refresh() %45 = call i32 @napms(i32 noundef 50) %46 = call i32 @COLOR_PAIR(i32 noundef 1) %47 = call i32 @attrset(i32 noundef %46) %48 = load i32, ptr %3, align 4 %49 = sub nsw i32 %48, 1 %50 = load i32, ptr %4, align 4 %51 = call i32 @mvaddch(i32 noundef %49, i32 noundef %50, i8 noundef signext 32) %52 = load i32, ptr %3, align 4 %53 = add nsw i32 %52, 1 %54 = load i32, ptr %4, align 4 %55 = call i32 @mvaddch(i32 noundef %53, i32 noundef %54, i8 noundef signext 32) %56 = load i32, ptr %3, align 4 %57 = load i32, ptr %4, align 4 %58 = sub nsw i32 %57, 1 %59 = call i32 @mvaddch(i32 noundef %56, i32 noundef %58, i8 noundef signext 32) %60 = load i32, ptr %3, align 4 %61 = load i32, ptr %4, align 4 %62 = add nsw i32 %61, 1 %63 = call i32 @mvaddch(i32 noundef %60, i32 noundef %62, i8 noundef signext 32) %64 = load i32, ptr %3, align 4 %65 = load i32, ptr %4, align 4 %66 = call i32 @mvaddch(i32 noundef %64, i32 noundef %65, i8 noundef signext 32) %67 = call i32 @COLOR_PAIR(i32 noundef 0) %68 = call i32 @attrset(i32 noundef %67) %69 = load i32, ptr %3, align 4 %70 = sub nsw i32 %69, 1 %71 = load i32, ptr %4, align 4 %72 = sub nsw i32 %71, 1 %73 = load i8, ptr @ACS_CKBOARD, align 1 %74 = call i32 @mvaddch(i32 noundef %70, i32 noundef %72, i8 noundef signext %73) %75 = load i32, ptr %3, align 4 %76 = add nsw i32 %75, 1 %77 = load i32, ptr %4, align 4 %78 = sub nsw i32 %77, 1 %79 = load i8, ptr @ACS_CKBOARD, align 1 %80 = call i32 @mvaddch(i32 noundef %76, i32 noundef %78, i8 noundef signext %79) %81 = load i32, ptr %3, align 4 %82 = sub nsw i32 %81, 1 %83 = load i32, ptr %4, align 4 %84 = add nsw i32 %83, 1 %85 = load i8, ptr @ACS_CKBOARD, align 1 %86 = call i32 @mvaddch(i32 noundef %82, i32 noundef %84, i8 noundef signext %85) %87 = load i32, ptr %3, align 4 %88 = add nsw i32 %87, 1 %89 = load i32, ptr %4, align 4 %90 = add nsw i32 %89, 1 %91 = load i8, ptr @ACS_CKBOARD, align 1 %92 = call i32 @mvaddch(i32 noundef %88, i32 noundef %90, i8 noundef signext %91) %93 = call i32 (...) @refresh() %94 = call i32 @napms(i32 noundef 50) %95 = load i32, ptr %3, align 4 %96 = sub nsw i32 %95, 1 %97 = load i32, ptr %4, align 4 %98 = sub nsw i32 %97, 1 %99 = call i32 @mvaddch(i32 noundef %96, i32 noundef %98, i8 noundef signext 32) %100 = load i32, ptr %3, align 4 %101 = add nsw i32 %100, 1 %102 = load i32, ptr %4, align 4 %103 = sub nsw i32 %102, 1 %104 = call i32 @mvaddch(i32 noundef %101, i32 noundef %103, i8 noundef signext 32) %105 = load i32, ptr %3, align 4 %106 = sub nsw i32 %105, 1 %107 = load i32, ptr %4, align 4 %108 = add nsw i32 %107, 1 %109 = call i32 @mvaddch(i32 noundef %106, i32 noundef %108, i8 noundef signext 32) %110 = load i32, ptr %3, align 4 %111 = add nsw i32 %110, 1 %112 = load i32, ptr %4, align 4 %113 = add nsw i32 %112, 1 %114 = call i32 @mvaddch(i32 noundef %111, i32 noundef %113, i8 noundef signext 32) %115 = call i32 (...) @refresh() %116 = call i32 @napms(i32 noundef 50) %117 = load i32, ptr %3, align 4 %118 = sub nsw i32 %117, 1 %119 = load i32, ptr %4, align 4 %120 = call i32 @mvaddch(i32 noundef %118, i32 noundef %119, i8 noundef signext 32) %121 = load i32, ptr %3, align 4 %122 = add nsw i32 %121, 1 %123 = load i32, ptr %4, align 4 %124 = call i32 @mvaddch(i32 noundef %122, i32 noundef %123, i8 noundef signext 32) %125 = load i32, ptr %3, align 4 %126 = load i32, ptr %4, align 4 %127 = sub nsw i32 %126, 1 %128 = call i32 @mvaddch(i32 noundef %125, i32 noundef %127, i8 noundef signext 32) %129 = load i32, ptr %3, align 4 %130 = load i32, ptr %4, align 4 %131 = add nsw i32 %130, 1 %132 = call i32 @mvaddch(i32 noundef %129, i32 noundef %131, i8 noundef signext 32) %133 = call i32 (...) @refresh() %134 = call i32 @napms(i32 noundef 50) %135 = load i32, ptr %3, align 4 %136 = load i32, ptr %4, align 4 %137 = call i32 @mvaddch(i32 noundef %135, i32 noundef %136, i8 noundef signext 42) ret void } declare i32 @init_pair(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mvaddch(i32 noundef, i32 noundef, i8 noundef signext) #1 declare i32 @refresh(...) #1 declare i32 @napms(i32 noundef) #1 declare i32 @attrset(i32 noundef) #1 declare i32 @COLOR_PAIR(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxje1zg0o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @COLOR_WHITE = dso_local global i32 0, align 4 @COLOR_BLACK = dso_local global i32 0, align 4 @ACS_CKBOARD = dso_local global i8 0, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @explosion(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 @COLOR_WHITE, align 4 %6 = load i32, ptr @COLOR_BLACK, align 4 %7 = call i32 @init_pair(i32 noundef 0, i32 noundef %5, i32 noundef %6) %8 = load i32, ptr @COLOR_BLACK, align 4 %9 = load i32, ptr @COLOR_WHITE, align 4 %10 = call i32 @init_pair(i32 noundef 1, i32 noundef %8, i32 noundef %9) %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %4, align 4 %13 = load i8, ptr @ACS_CKBOARD, align 1 %14 = call i32 @mvaddch(i32 noundef %11, i32 noundef %12, i8 noundef signext %13) %15 = call i32 (...) @refresh() %16 = call i32 @napms(i32 noundef 50) %17 = load i32, ptr %3, align 4 %18 = sub nsw i32 %17, 1 %19 = load i32, ptr %4, align 4 %20 = load i8, ptr @ACS_CKBOARD, align 1 %21 = call i32 @mvaddch(i32 noundef %18, i32 noundef %19, i8 noundef signext %20) %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, 1 %24 = load i32, ptr %4, align 4 %25 = load i8, ptr @ACS_CKBOARD, align 1 %26 = call i32 @mvaddch(i32 noundef %23, i32 noundef %24, i8 noundef signext %25) %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %4, align 4 %29 = sub nsw i32 %28, 1 %30 = load i8, ptr @ACS_CKBOARD, align 1 %31 = call i32 @mvaddch(i32 noundef %27, i32 noundef %29, i8 noundef signext %30) %32 = load i32, ptr %3, align 4 %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, 1 %35 = load i8, ptr @ACS_CKBOARD, align 1 %36 = call i32 @mvaddch(i32 noundef %32, i32 noundef %34, i8 noundef signext %35) %37 = call i32 @COLOR_PAIR(i32 noundef 0) %38 = call i32 @attrset(i32 noundef %37) %39 = load i32, ptr %3, align 4 %40 = load i32, ptr %4, align 4 %41 = call i32 @mvaddch(i32 noundef %39, i32 noundef %40, i8 noundef signext 32) %42 = call i32 @COLOR_PAIR(i32 noundef 1) %43 = call i32 @attrset(i32 noundef %42) %44 = call i32 (...) @refresh() %45 = call i32 @napms(i32 noundef 50) %46 = call i32 @COLOR_PAIR(i32 noundef 1) %47 = call i32 @attrset(i32 noundef %46) %48 = load i32, ptr %3, align 4 %49 = sub nsw i32 %48, 1 %50 = load i32, ptr %4, align 4 %51 = call i32 @mvaddch(i32 noundef %49, i32 noundef %50, i8 noundef signext 32) %52 = load i32, ptr %3, align 4 %53 = add nsw i32 %52, 1 %54 = load i32, ptr %4, align 4 %55 = call i32 @mvaddch(i32 noundef %53, i32 noundef %54, i8 noundef signext 32) %56 = load i32, ptr %3, align 4 %57 = load i32, ptr %4, align 4 %58 = sub nsw i32 %57, 1 %59 = call i32 @mvaddch(i32 noundef %56, i32 noundef %58, i8 noundef signext 32) %60 = load i32, ptr %3, align 4 %61 = load i32, ptr %4, align 4 %62 = add nsw i32 %61, 1 %63 = call i32 @mvaddch(i32 noundef %60, i32 noundef %62, i8 noundef signext 32) %64 = load i32, ptr %3, align 4 %65 = load i32, ptr %4, align 4 %66 = call i32 @mvaddch(i32 noundef %64, i32 noundef %65, i8 noundef signext 32) %67 = call i32 @COLOR_PAIR(i32 noundef 0) %68 = call i32 @attrset(i32 noundef %67) %69 = load i32, ptr %3, align 4 %70 = sub nsw i32 %69, 1 %71 = load i32, ptr %4, align 4 %72 = sub nsw i32 %71, 1 %73 = load i8, ptr @ACS_CKBOARD, align 1 %74 = call i32 @mvaddch(i32 noundef %70, i32 noundef %72, i8 noundef signext %73) %75 = load i32, ptr %3, align 4 %76 = add nsw i32 %75, 1 %77 = load i32, ptr %4, align 4 %78 = sub nsw i32 %77, 1 %79 = load i8, ptr @ACS_CKBOARD, align 1 %80 = call i32 @mvaddch(i32 noundef %76, i32 noundef %78, i8 noundef signext %79) %81 = load i32, ptr %3, align 4 %82 = sub nsw i32 %81, 1 %83 = load i32, ptr %4, align 4 %84 = add nsw i32 %83, 1 %85 = load i8, ptr @ACS_CKBOARD, align 1 %86 = call i32 @mvaddch(i32 noundef %82, i32 noundef %84, i8 noundef signext %85) %87 = load i32, ptr %3, align 4 %88 = add nsw i32 %87, 1 %89 = load i32, ptr %4, align 4 %90 = add nsw i32 %89, 1 %91 = load i8, ptr @ACS_CKBOARD, align 1 %92 = call i32 @mvaddch(i32 noundef %88, i32 noundef %90, i8 noundef signext %91) %93 = call i32 (...) @refresh() %94 = call i32 @napms(i32 noundef 50) %95 = load i32, ptr %3, align 4 %96 = sub nsw i32 %95, 1 %97 = load i32, ptr %4, align 4 %98 = sub nsw i32 %97, 1 %99 = call i32 @mvaddch(i32 noundef %96, i32 noundef %98, i8 noundef signext 32) %100 = load i32, ptr %3, align 4 %101 = add nsw i32 %100, 1 %102 = load i32, ptr %4, align 4 %103 = sub nsw i32 %102, 1 %104 = call i32 @mvaddch(i32 noundef %101, i32 noundef %103, i8 noundef signext 32) %105 = load i32, ptr %3, align 4 %106 = sub nsw i32 %105, 1 %107 = load i32, ptr %4, align 4 %108 = add nsw i32 %107, 1 %109 = call i32 @mvaddch(i32 noundef %106, i32 noundef %108, i8 noundef signext 32) %110 = load i32, ptr %3, align 4 %111 = add nsw i32 %110, 1 %112 = load i32, ptr %4, align 4 %113 = add nsw i32 %112, 1 %114 = call i32 @mvaddch(i32 noundef %111, i32 noundef %113, i8 noundef signext 32) %115 = call i32 (...) @refresh() %116 = call i32 @napms(i32 noundef 50) %117 = load i32, ptr %3, align 4 %118 = sub nsw i32 %117, 1 %119 = load i32, ptr %4, align 4 %120 = call i32 @mvaddch(i32 noundef %118, i32 noundef %119, i8 noundef signext 32) %121 = load i32, ptr %3, align 4 %122 = add nsw i32 %121, 1 %123 = load i32, ptr %4, align 4 %124 = call i32 @mvaddch(i32 noundef %122, i32 noundef %123, i8 noundef signext 32) %125 = load i32, ptr %3, align 4 %126 = load i32, ptr %4, align 4 %127 = sub nsw i32 %126, 1 %128 = call i32 @mvaddch(i32 noundef %125, i32 noundef %127, i8 noundef signext 32) %129 = load i32, ptr %3, align 4 %130 = load i32, ptr %4, align 4 %131 = add nsw i32 %130, 1 %132 = call i32 @mvaddch(i32 noundef %129, i32 noundef %131, i8 noundef signext 32) %133 = call i32 (...) @refresh() %134 = call i32 @napms(i32 noundef 50) %135 = load i32, ptr %3, align 4 %136 = load i32, ptr %4, align 4 %137 = call i32 @mvaddch(i32 noundef %135, i32 noundef %136, i8 noundef signext 42) ret void } declare i32 @init_pair(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mvaddch(i32 noundef, i32 noundef, i8 noundef signext) #1 declare i32 @refresh(...) #1 declare i32 @napms(i32 noundef) #1 declare i32 @attrset(i32 noundef) #1 declare i32 @COLOR_PAIR(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8t87qo7u.c' source_filename = "/tmp/tmp8t87qo7u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A ** optimal parameter is %d **\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_Optimal_GOLOMB_works(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 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %3, align 4 %11 = sub i32 %9, %10 %12 = zext i32 %11 to i64 %13 = mul i64 %12, 4 %14 = trunc i64 %13 to i32 %15 = call i64 @myMalloc(i32 noundef %14) %16 = inttoptr i64 %15 to ptr store ptr %16, ptr %7, align 8 store i32 0, ptr %8, align 4 %17 = load i32, ptr %3, align 4 store i32 %17, ptr %5, align 4 br label %18 18: ; preds = %29, %2 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp ult i32 %19, %20 br i1 %21, label %22, label %32 22: ; preds = %18 %23 = load i32, ptr %5, align 4 %24 = load ptr, ptr %7, align 8 %25 = load i32, ptr %8, align 4 %26 = add i32 %25, 1 store i32 %26, ptr %8, align 4 %27 = zext i32 %25 to i64 %28 = getelementptr inbounds i32, ptr %24, i64 %27 store i32 %23, ptr %28, align 4 br label %29 29: ; preds = %22 %30 = load i32, ptr %5, align 4 %31 = add i32 %30, 1 store i32 %31, ptr %5, align 4 br label %18, !llvm.loop !6 32: ; preds = %18 %33 = load ptr, ptr %7, align 8 %34 = load i32, ptr %4, align 4 %35 = load i32, ptr %3, align 4 %36 = sub i32 %34, %35 %37 = call i32 @computeGolombRiceParameter_forList(ptr noundef %33, i32 noundef %36) store i32 %37, ptr %6, align 4 %38 = load i32, ptr %6, align 4 %39 = call i32 @printf(ptr noundef @.str, i32 noundef %38) %40 = load i32, ptr %3, align 4 %41 = load i32, ptr %4, align 4 %42 = load i32, ptr %6, align 4 %43 = call i32 @check_GOLOMB_works2(i32 noundef %40, i32 noundef %41, i32 noundef %42) %44 = load ptr, ptr %7, align 8 %45 = call i32 @free(ptr noundef %44) ret void } declare i64 @myMalloc(i32 noundef) #1 declare i32 @computeGolombRiceParameter_forList(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @check_GOLOMB_works2(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8t87qo7u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A ** optimal parameter is %d **\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_Optimal_GOLOMB_works(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 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %3, align 4 %11 = sub i32 %9, %10 %12 = zext i32 %11 to i64 %13 = mul i64 %12, 4 %14 = trunc i64 %13 to i32 %15 = call i64 @myMalloc(i32 noundef %14) %16 = inttoptr i64 %15 to ptr store ptr %16, ptr %7, align 8 store i32 0, ptr %8, align 4 %17 = load i32, ptr %3, align 4 store i32 %17, ptr %5, align 4 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp ult i32 %18, %19 br i1 %20, label %.lr.ph, label %34 .lr.ph: ; preds = %2 br label %21 21: ; preds = %.lr.ph, %28 %22 = load i32, ptr %5, align 4 %23 = load ptr, ptr %7, align 8 %24 = load i32, ptr %8, align 4 %25 = add i32 %24, 1 store i32 %25, ptr %8, align 4 %26 = zext i32 %24 to i64 %27 = getelementptr inbounds i32, ptr %23, i64 %26 store i32 %22, ptr %27, align 4 br label %28 28: ; preds = %21 %29 = load i32, ptr %5, align 4 %30 = add i32 %29, 1 store i32 %30, ptr %5, align 4 %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %4, align 4 %33 = icmp ult i32 %31, %32 br i1 %33, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %2 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %4, align 4 %37 = load i32, ptr %3, align 4 %38 = sub i32 %36, %37 %39 = call i32 @computeGolombRiceParameter_forList(ptr noundef %35, i32 noundef %38) store i32 %39, ptr %6, align 4 %40 = load i32, ptr %6, align 4 %41 = call i32 @printf(ptr noundef @.str, i32 noundef %40) %42 = load i32, ptr %3, align 4 %43 = load i32, ptr %4, align 4 %44 = load i32, ptr %6, align 4 %45 = call i32 @check_GOLOMB_works2(i32 noundef %42, i32 noundef %43, i32 noundef %44) %46 = load ptr, ptr %7, align 8 %47 = call i32 @free(ptr noundef %46) ret void } declare i64 @myMalloc(i32 noundef) #1 declare i32 @computeGolombRiceParameter_forList(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @check_GOLOMB_works2(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqt5qd81j.c' source_filename = "/tmp/tmpqt5qd81j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vetor_libera(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 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqt5qd81j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vetor_libera(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 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp38qe44dg.c' source_filename = "/tmp/tmp38qe44dg.c" target datalayout = "e-m:e-p270: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/tmp38qe44dg.c" target datalayout = "e-m:e-p270: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/tmp0m5f1te5.c' source_filename = "/tmp/tmp0m5f1te5.c" target datalayout = "e-m:e-p270: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/tmp0m5f1te5.c" target datalayout = "e-m:e-p270: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/tmpjk60hd6m.c' source_filename = "/tmp/tmpjk60hd6m.c" target datalayout = "e-m:e-p270: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/tmpjk60hd6m.c" target datalayout = "e-m:e-p270: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/tmpepot635l.c' source_filename = "/tmp/tmpepot635l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1 \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @print1(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = call i32 @printf(ptr noundef @.str) %5 = load ptr, ptr %2, align 8 ret ptr %5 } 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/tmpepot635l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1 \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @print1(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = call i32 @printf(ptr noundef @.str) %5 = load ptr, ptr %2, align 8 ret ptr %5 } 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/tmprfcax1zk.c' source_filename = "/tmp/tmprfcax1zk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @is_name_prefix(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i8, align 1 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [2048 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %15 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 0 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 0 br i1 %14, label %25, label %15 15: ; preds = %9, %2 %16 = load ptr, ptr %5, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %24 18: ; preds = %15 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 0 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %22, 0 br i1 %23, label %25, label %24 24: ; preds = %18, %15 store i8 1, ptr %3, align 1 br label %73 25: ; preds = %18, %9 %26 = load ptr, ptr %4, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %28, label %43 28: ; preds = %25 %29 = load ptr, ptr %4, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 0 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %43 34: ; preds = %28 %35 = load ptr, ptr %5, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %37, label %43 37: ; preds = %34 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 0 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp ne i32 %41, 0 br i1 %42, label %44, label %43 43: ; preds = %37, %34, %28, %25 store i8 0, ptr %3, align 1 br label %73 44: ; preds = %37 br label %45 45: ; preds = %71, %44 %46 = load ptr, ptr %5, align 8 %47 = icmp ne ptr %46, null br i1 %47, label %48, label %54 48: ; preds = %45 %49 = load ptr, ptr %5, align 8 %50 = getelementptr inbounds i8, ptr %49, i64 0 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = icmp ne i32 %52, 0 br label %54 54: ; preds = %48, %45 %55 = phi i1 [ false, %45 ], [ %53, %48 ] br i1 %55, label %56, label %72 56: ; preds = %54 %57 = load ptr, ptr %5, align 8 %58 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %59 = call ptr @one_argument(ptr noundef %57, ptr noundef %58) store ptr %59, ptr %5, align 8 %60 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %61 = load i8, ptr %60, align 16 %62 = sext i8 %61 to i32 %63 = icmp ne i32 %62, 0 br i1 %63, label %65, label %64 64: ; preds = %56 store i8 0, ptr %3, align 1 br label %73 65: ; preds = %56 %66 = load ptr, ptr %4, align 8 %67 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %68 = call i32 @str_prefix(ptr noundef %66, ptr noundef %67) %69 = icmp ne i32 %68, 0 br i1 %69, label %71, label %70 70: ; preds = %65 store i8 1, ptr %3, align 1 br label %73 71: ; preds = %65 br label %45, !llvm.loop !6 72: ; preds = %54 store i8 0, ptr %3, align 1 br label %73 73: ; preds = %72, %70, %64, %43, %24 %74 = load i8, ptr %3, align 1 ret i8 %74 } declare ptr @one_argument(ptr noundef, ptr noundef) #1 declare i32 @str_prefix(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/tmprfcax1zk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @is_name_prefix(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i8, align 1 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [2048 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %15 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 0 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 0 br i1 %14, label %25, label %15 15: ; preds = %9, %2 %16 = load ptr, ptr %5, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %24 18: ; preds = %15 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 0 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %22, 0 br i1 %23, label %25, label %24 24: ; preds = %18, %15 store i8 1, ptr %3, align 1 br label %72 25: ; preds = %18, %9 %26 = load ptr, ptr %4, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %28, label %43 28: ; preds = %25 %29 = load ptr, ptr %4, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 0 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %43 34: ; preds = %28 %35 = load ptr, ptr %5, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %37, label %43 37: ; preds = %34 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 0 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp ne i32 %41, 0 br i1 %42, label %44, label %43 43: ; preds = %37, %34, %28, %25 store i8 0, ptr %3, align 1 br label %72 44: ; preds = %37 br label %45 45: ; preds = %65, %44 %46 = load ptr, ptr %5, align 8 %47 = icmp ne ptr %46, null br i1 %47, label %48, label %54 48: ; preds = %45 %49 = load ptr, ptr %5, align 8 %50 = getelementptr inbounds i8, ptr %49, i64 0 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = icmp ne i32 %52, 0 br label %54 54: ; preds = %48, %45 %55 = phi i1 [ false, %45 ], [ %53, %48 ] br i1 %55, label %56, label %71 56: ; preds = %54 %57 = load ptr, ptr %5, align 8 %58 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %59 = call ptr @one_argument(ptr noundef %57, ptr noundef %58) store ptr %59, ptr %5, align 8 %60 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %61 = load i8, ptr %60, align 16 %62 = sext i8 %61 to i32 %63 = icmp ne i32 %62, 0 br i1 %63, label %65, label %64 64: ; preds = %56 store i8 0, ptr %3, align 1 br label %72 65: ; preds = %56 %66 = load ptr, ptr %4, align 8 %67 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %68 = call i32 @str_prefix(ptr noundef %66, ptr noundef %67) %69 = icmp ne i32 %68, 0 br i1 %69, label %45, label %70, !llvm.loop !6 70: ; preds = %65 store i8 1, ptr %3, align 1 br label %72 71: ; preds = %54 store i8 0, ptr %3, align 1 br label %72 72: ; preds = %71, %70, %64, %43, %24 %73 = load i8, ptr %3, align 1 ret i8 %73 } declare ptr @one_argument(ptr noundef, ptr noundef) #1 declare i32 @str_prefix(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/tmpg0_hg75q.c' source_filename = "/tmp/tmpg0_hg75q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hdata_free_list(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @free(ptr noundef %9) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg0_hg75q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hdata_free_list(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @free(ptr noundef %9) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp250odopr.c' source_filename = "/tmp/tmp250odopr.c" target datalayout = "e-m:e-p270: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/tmp250odopr.c" target datalayout = "e-m:e-p270: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/tmpz29c3v5o.c' source_filename = "/tmp/tmpz29c3v5o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fill_list(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 = %12, %1 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 10 br i1 %6, label %7, label %15 7: ; preds = %4 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %3, align 4 %10 = add nsw i32 100, %9 %11 = call i32 @add_to_list(ptr noundef %8, i32 noundef %10) br label %12 12: ; preds = %7 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %3, align 4 br label %4, !llvm.loop !6 15: ; preds = %4 ret void } declare i32 @add_to_list(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz29c3v5o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fill_list(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 10 br i1 %5, label %.lr.ph, label %16 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %11 %7 = load ptr, ptr %2, align 8 %8 = load i32, ptr %3, align 4 %9 = add nsw i32 100, %8 %10 = call i32 @add_to_list(ptr noundef %7, i32 noundef %9) br label %11 11: ; preds = %6 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %14, 10 br i1 %15, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %16 16: ; preds = %._crit_edge, %1 ret void } declare i32 @add_to_list(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpxvmq2gs9.c' source_filename = "/tmp/tmpxvmq2gs9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xalloc(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i64 @galloc(i32 noundef %3) %5 = inttoptr i64 %4 to ptr ret ptr %5 } declare i64 @galloc(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/tmpxvmq2gs9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xalloc(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i64 @galloc(i32 noundef %3) %5 = inttoptr i64 %4 to ptr ret ptr %5 } declare i64 @galloc(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/tmp6ffil6kj.c' source_filename = "/tmp/tmp6ffil6kj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_atoi(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %6 6: ; preds = %57, %1 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %3, align 8 %9 = call i32 @str_len(ptr noundef %8) %10 = icmp slt i32 %7, %9 br i1 %10, label %11, label %60 11: ; preds = %6 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %4, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp sge i32 %17, 48 br i1 %18, label %19, label %27 19: ; preds = %11 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %4, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp sle i32 %25, 57 br i1 %26, label %35, label %27 27: ; preds = %19, %11 %28 = load ptr, ptr %3, align 8 %29 = load i32, ptr %4, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 45 br i1 %34, label %35, label %55 35: ; preds = %27, %19 %36 = load ptr, ptr %3, align 8 %37 = load i32, ptr %4, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp ne i32 %41, 45 br i1 %42, label %43, label %54 43: ; preds = %35 %44 = load i32, ptr %5, align 4 %45 = mul nsw i32 %44, 10 %46 = load ptr, ptr %3, align 8 %47 = load i32, ptr %4, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %46, i64 %48 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = sub nsw i32 %51, 48 %53 = add nsw i32 %45, %52 store i32 %53, ptr %5, align 4 br label %54 54: ; preds = %43, %35 br label %56 55: ; preds = %27 br label %60 56: ; preds = %54 br label %57 57: ; preds = %56 %58 = load i32, ptr %4, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %4, align 4 br label %6, !llvm.loop !6 60: ; preds = %55, %6 %61 = load ptr, ptr %3, align 8 %62 = getelementptr inbounds i8, ptr %61, i64 0 %63 = load i8, ptr %62, align 1 %64 = sext i8 %63 to i32 %65 = icmp eq i32 %64, 45 br i1 %65, label %66, label %70 66: ; preds = %60 %67 = load i32, ptr %5, align 4 %68 = xor i32 %67, -1 %69 = add nsw i32 %68, 1 store i32 %69, ptr %2, align 4 br label %72 70: ; preds = %60 %71 = load i32, ptr %5, align 4 store i32 %71, ptr %2, align 4 br label %72 72: ; preds = %70, %66 %73 = load i32, ptr %2, align 4 ret i32 %73 } declare i32 @str_len(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp6ffil6kj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_atoi(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = call i32 @str_len(ptr noundef %7) %9 = icmp slt i32 %6, %8 br i1 %9, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %56 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %4, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp sge i32 %16, 48 br i1 %17, label %18, label %26 18: ; preds = %10 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %4, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp sle i32 %24, 57 br i1 %25, label %34, label %26 26: ; preds = %18, %10 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %4, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 45 br i1 %33, label %34, label %54 34: ; preds = %26, %18 %35 = load ptr, ptr %3, align 8 %36 = load i32, ptr %4, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp ne i32 %40, 45 br i1 %41, label %42, label %53 42: ; preds = %34 %43 = load i32, ptr %5, align 4 %44 = mul nsw i32 %43, 10 %45 = load ptr, ptr %3, align 8 %46 = load i32, ptr %4, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %45, i64 %47 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = sub nsw i32 %50, 48 %52 = add nsw i32 %44, %51 store i32 %52, ptr %5, align 4 br label %53 53: ; preds = %42, %34 br label %55 54: ; preds = %26 br label %63 55: ; preds = %53 br label %56 56: ; preds = %55 %57 = load i32, ptr %4, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %4, align 4 %59 = load i32, ptr %4, align 4 %60 = load ptr, ptr %3, align 8 %61 = call i32 @str_len(ptr noundef %60) %62 = icmp slt i32 %59, %61 br i1 %62, label %10, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %56 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %1 br label %63 63: ; preds = %.loopexit, %54 %64 = load ptr, ptr %3, align 8 %65 = getelementptr inbounds i8, ptr %64, i64 0 %66 = load i8, ptr %65, align 1 %67 = sext i8 %66 to i32 %68 = icmp eq i32 %67, 45 br i1 %68, label %69, label %73 69: ; preds = %63 %70 = load i32, ptr %5, align 4 %71 = xor i32 %70, -1 %72 = add nsw i32 %71, 1 store i32 %72, ptr %2, align 4 br label %75 73: ; preds = %63 %74 = load i32, ptr %5, align 4 store i32 %74, ptr %2, align 4 br label %75 75: ; preds = %73, %69 %76 = load i32, ptr %2, align 4 ret i32 %76 } declare i32 @str_len(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpw8n0b5j5.c' source_filename = "/tmp/tmpw8n0b5j5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @softfloat_normExtF80SigM(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr %5, align 4 store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = call i32 @softfloat_countLeadingZeros64(i32 noundef %7) store i32 %8, ptr %4, align 4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = shl i32 %9, %10 %12 = load ptr, ptr %2, align 8 store i32 %11, ptr %12, align 4 %13 = load i32, ptr %4, align 4 %14 = sub nsw i32 0, %13 ret i32 %14 } declare i32 @softfloat_countLeadingZeros64(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/tmpw8n0b5j5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @softfloat_normExtF80SigM(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr %5, align 4 store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = call i32 @softfloat_countLeadingZeros64(i32 noundef %7) store i32 %8, ptr %4, align 4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = shl i32 %9, %10 %12 = load ptr, ptr %2, align 8 store i32 %11, ptr %12, align 4 %13 = load i32, ptr %4, align 4 %14 = sub nsw i32 0, %13 ret i32 %14 } declare i32 @softfloat_countLeadingZeros64(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/tmp7_qxcf4b.c' source_filename = "/tmp/tmp7_qxcf4b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stringReverse(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @stringLength(ptr noundef %6) %8 = sub nsw i32 %7, 1 store i32 %8, ptr %4, align 4 br label %9 9: ; preds = %13, %1 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %31 13: ; preds = %9 %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %3, align 4 %16 = call i32 @loadCharacter(ptr noundef %14, i32 noundef %15) store i32 %16, ptr %5, align 4 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %3, align 4 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr %4, align 4 %21 = call i32 @loadCharacter(ptr noundef %19, i32 noundef %20) %22 = call i32 @storeCharacter(ptr noundef %17, i32 noundef %18, i32 noundef %21) %23 = load ptr, ptr %2, align 8 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %5, align 4 %26 = call i32 @storeCharacter(ptr noundef %23, i32 noundef %24, i32 noundef %25) %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %3, align 4 %29 = load i32, ptr %4, align 4 %30 = sub nsw i32 %29, 1 store i32 %30, ptr %4, align 4 br label %9, !llvm.loop !6 31: ; preds = %9 ret void } declare i32 @stringLength(ptr noundef) #1 declare i32 @loadCharacter(ptr noundef, i32 noundef) #1 declare i32 @storeCharacter(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7_qxcf4b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stringReverse(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @stringLength(ptr noundef %6) %8 = sub nsw i32 %7, 1 store i32 %8, ptr %4, align 4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %33 .lr.ph: ; preds = %1 br label %12 12: ; preds = %.lr.ph, %12 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %3, align 4 %15 = call i32 @loadCharacter(ptr noundef %13, i32 noundef %14) store i32 %15, ptr %5, align 4 %16 = load ptr, ptr %2, align 8 %17 = load i32, ptr %3, align 4 %18 = load ptr, ptr %2, align 8 %19 = load i32, ptr %4, align 4 %20 = call i32 @loadCharacter(ptr noundef %18, i32 noundef %19) %21 = call i32 @storeCharacter(ptr noundef %16, i32 noundef %17, i32 noundef %20) %22 = load ptr, ptr %2, align 8 %23 = load i32, ptr %4, align 4 %24 = load i32, ptr %5, align 4 %25 = call i32 @storeCharacter(ptr noundef %22, i32 noundef %23, i32 noundef %24) %26 = load i32, ptr %3, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %3, align 4 %28 = load i32, ptr %4, align 4 %29 = sub nsw i32 %28, 1 store i32 %29, ptr %4, align 4 %30 = load i32, ptr %3, align 4 %31 = load i32, ptr %4, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %33 33: ; preds = %._crit_edge, %1 ret void } declare i32 @stringLength(ptr noundef) #1 declare i32 @loadCharacter(ptr noundef, i32 noundef) #1 declare i32 @storeCharacter(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvu10sohc.c' source_filename = "/tmp/tmpvu10sohc.c" target datalayout = "e-m:e-p270: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/tmpvu10sohc.c" target datalayout = "e-m:e-p270: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/tmpjnft30ki.c' source_filename = "/tmp/tmpjnft30ki.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.dirent = type { i32 } @PATH_MAX = dso_local global i32 0, align 4 @NAME_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @list_cwd(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr null, ptr %6, align 8 %11 = load i32, ptr @PATH_MAX, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %7, align 8 %14 = alloca i8, i64 %12, align 16 store i64 %12, ptr %8, align 8 store ptr null, ptr %9, align 8 %15 = load ptr, ptr %4, align 8 %16 = load i64, ptr %5, align 8 %17 = call i32 @bzero(ptr noundef %15, i64 noundef %16) %18 = load i32, ptr @PATH_MAX, align 4 %19 = call i32 @getcwd(ptr noundef %14, i32 noundef %18) %20 = call ptr @opendir(i32 noundef %19) store ptr %20, ptr %6, align 8 br label %21 21: ; preds = %34, %2 %22 = load ptr, ptr %6, align 8 %23 = call ptr @readdir(ptr noundef %22) store ptr %23, ptr %9, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %25, label %41 25: ; preds = %21 %26 = load i64, ptr %5, align 8 %27 = load ptr, ptr %4, align 8 %28 = call i64 @strlen(ptr noundef %27) %29 = sub i64 %26, %28 %30 = load i64, ptr @NAME_MAX, align 8 %31 = add i64 63, %30 %32 = icmp ult i64 %29, %31 br i1 %32, label %33, label %34 33: ; preds = %25 store i32 -1, ptr %3, align 4 store i32 1, ptr %10, align 4 br label %44 34: ; preds = %25 %35 = load ptr, ptr %4, align 8 %36 = load i64, ptr %5, align 8 %37 = load ptr, ptr %9, align 8 %38 = getelementptr inbounds %struct.dirent, ptr %37, i32 0, i32 0 %39 = load i32, ptr %38, align 4 %40 = call i32 @display_attr(ptr noundef %35, i64 noundef %36, i32 noundef %39) br label %21, !llvm.loop !6 41: ; preds = %21 %42 = load ptr, ptr %6, align 8 %43 = call i32 @closedir(ptr noundef %42) store i32 0, ptr %3, align 4 store i32 1, ptr %10, align 4 br label %44 44: ; preds = %41, %33 %45 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %45) %46 = load i32, ptr %3, align 4 ret i32 %46 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @bzero(ptr noundef, i64 noundef) #2 declare ptr @opendir(i32 noundef) #2 declare i32 @getcwd(ptr noundef, i32 noundef) #2 declare ptr @readdir(ptr noundef) #2 declare i64 @strlen(ptr noundef) #2 declare i32 @display_attr(ptr noundef, i64 noundef, i32 noundef) #2 declare i32 @closedir(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjnft30ki.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.dirent = type { i32 } @PATH_MAX = dso_local global i32 0, align 4 @NAME_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @list_cwd(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr null, ptr %6, align 8 %11 = load i32, ptr @PATH_MAX, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %7, align 8 %14 = alloca i8, i64 %12, align 16 store i64 %12, ptr %8, align 8 store ptr null, ptr %9, align 8 %15 = load ptr, ptr %4, align 8 %16 = load i64, ptr %5, align 8 %17 = call i32 @bzero(ptr noundef %15, i64 noundef %16) %18 = load i32, ptr @PATH_MAX, align 4 %19 = call i32 @getcwd(ptr noundef %14, i32 noundef %18) %20 = call ptr @opendir(i32 noundef %19) store ptr %20, ptr %6, align 8 %21 = load ptr, ptr %6, align 8 %22 = call ptr @readdir(ptr noundef %21) store ptr %22, ptr %9, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %.lr.ph, label %43 .lr.ph: ; preds = %2 br label %24 24: ; preds = %.lr.ph, %33 %25 = load i64, ptr %5, align 8 %26 = load ptr, ptr %4, align 8 %27 = call i64 @strlen(ptr noundef %26) %28 = sub i64 %25, %27 %29 = load i64, ptr @NAME_MAX, align 8 %30 = add i64 63, %29 %31 = icmp ult i64 %28, %30 br i1 %31, label %32, label %33 32: ; preds = %24 store i32 -1, ptr %3, align 4 store i32 1, ptr %10, align 4 br label %46 33: ; preds = %24 %34 = load ptr, ptr %4, align 8 %35 = load i64, ptr %5, align 8 %36 = load ptr, ptr %9, align 8 %37 = getelementptr inbounds %struct.dirent, ptr %36, i32 0, i32 0 %38 = load i32, ptr %37, align 4 %39 = call i32 @display_attr(ptr noundef %34, i64 noundef %35, i32 noundef %38) %40 = load ptr, ptr %6, align 8 %41 = call ptr @readdir(ptr noundef %40) store ptr %41, ptr %9, align 8 %42 = icmp ne ptr %41, null br i1 %42, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %43 43: ; preds = %._crit_edge, %2 %44 = load ptr, ptr %6, align 8 %45 = call i32 @closedir(ptr noundef %44) store i32 0, ptr %3, align 4 store i32 1, ptr %10, align 4 br label %46 46: ; preds = %43, %32 %47 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %47) %48 = load i32, ptr %3, align 4 ret i32 %48 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @bzero(ptr noundef, i64 noundef) #2 declare ptr @opendir(i32 noundef) #2 declare i32 @getcwd(ptr noundef, i32 noundef) #2 declare ptr @readdir(ptr noundef) #2 declare i64 @strlen(ptr noundef) #2 declare i32 @display_attr(ptr noundef, i64 noundef, i32 noundef) #2 declare i32 @closedir(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmphct4suj9.c' source_filename = "/tmp/tmphct4suj9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3087 x i8] c"HTTP/1.1 200 OK\0D\0AConnection: close\0D\0AContent-Length: 3027\0D\0A\0A__________________________________________\E2\96\93\E2\96\93\E2\96\93\0A_________________________________________\E2\96\93\E2\96\92\E2\96\92\E2\96\92\E2\96\93\E2\96\93\0A____________________\E2\96\84\E2\96\84\E2\96\84\E2\96\84\E2\96\84\E2\96\84\E2\96\84\E2\96\84\E2\96\84__________\E2\96\93\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\93\0A___\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93____\E2\96\84\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\91\E2\96\91\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\93\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\93\E2\96\92\E2\96\93\0A____\E2\96\93\E2\96\92\E2\96\93\E2\96\92\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\88\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\91\E2\96\91\E2\96\91\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\93\E2\96\92\E2\96\93\0A______\E2\96\93\E2\96\92\E2\96\92\E2\96\92\E2\96\93\E2\96\92\E2\96\92\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\91\E2\96\91\E2\96\91\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\93\E2\96\92\E2\96\93\0A______\E2\96\88\E2\96\93\E2\96\93\E2\96\92\E2\96\92\E2\96\93\E2\96\92\E2\96\92\E2\96\93\E2\96\92\E2\96\92\E2\96\93\E2\96\93\E2\96\93\E2\96\91\E2\96\91\E2\96\91\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\93\E2\96\92\E2\96\93\0A____\E2\96\84\E2\96\88\E2\96\93\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\92\E2\96\92\E2\96\92\E2\96\93\E2\96\92\E2\96\93\E2\96\93\E2\96\91\E2\96\91\E2\96\91\E2\96\91\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\93\E2\96\92\E2\96\92\E2\96\93\0A___\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\92\E2\96\93\E2\96\92\E2\96\93\E2\96\93\E2\96\93\E2\96\91\E2\96\91\E2\96\91\E2\96\91\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\93\E2\96\92\E2\96\92\E2\96\92\E2\96\93\0A__\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\91\E2\96\91\E2\96\91\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\93\0A__\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\92\E2\96\8C__\E2\96\93\E2\96\88_____\E2\96\93\E2\96\93\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\93\0A_\E2\96\90\E2\96\88\E2\96\93\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\8C__\E2\96\93\E2\96\93\E2\96\88\E2\96\84____\E2\96\93\E2\96\93\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\93\0A_\E2\96\90\E2\96\88\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\88\E2\96\88\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\8C__\E2\96\93\E2\96\93\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\93\E2\96\93\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\93\0A__\E2\96\88\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\88\E2\96\88_\E2\96\85\E2\96\84\E2\96\88\E2\96\88\E2\96\84\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\90___\E2\96\93\E2\96\93\E2\96\88\E2\96\84_\E2\96\88\E2\96\88\E2\96\93\E2\96\93\E2\96\84\E2\96\85\E2\96\85\E2\96\92\E2\96\92\E2\96\92\E2\96\93\0A__\E2\96\88\E2\96\93\E2\96\93\E2\96\88\E2\96\88__\E2\96\85\E2\96\84\E2\96\84\E2\96\84\E2\96\8C__\E2\96\80\E2\96\84\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\90___\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\93\E2\96\85\E2\96\85\E2\96\84\E2\96\92\E2\96\92\E2\96\92\E2\96\88\0A__\E2\96\88\E2\96\93\E2\96\88_________\E2\96\93\E2\96\84___\E2\96\80\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\90____\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\85\E2\96\85\E2\96\84\E2\96\92\E2\96\92\E2\96\92\E2\96\88\E2\96\88\0A__\E2\96\88\E2\96\88___________\E2\96\93\E2\96\93\E2\96\88\E2\96\80\E2\96\88\E2\96\84\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\8C________\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\88\E2\96\93\E2\96\88\E2\96\8C\0A_________________\E2\96\93\E2\96\93\E2\96\88\E2\96\88\E2\96\88\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\90____\E2\96\92\E2\96\92\E2\96\92\E2\96\88\E2\96\88\E2\96\92\E2\96\92\E2\96\88\E2\96\88\E2\96\93\E2\96\88\E2\96\88\E2\96\8C\0A___________________\E2\96\93\E2\96\93\E2\96\93\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\88\E2\96\93\E2\96\93\E2\96\88\E2\96\88\E2\96\93\E2\96\93\E2\96\88\E2\96\88\E2\96\93\E2\96\8C\0A____________________\E2\96\93\E2\96\92\E2\96\92\E2\96\84\E2\96\92\E2\96\92\E2\96\8C\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\88\0A___________________\E2\96\93\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\90\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\88\E2\96\93\E2\96\88\E2\96\88\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\88\E2\96\8C\0A_____________________\E2\96\93\E2\96\93\E2\96\93\E2\96\84\E2\96\80\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\88\0A_________________________\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93____\E2\96\88\E2\96\93\E2\96\93\E2\96\88\E2\96\88\E2\96\80\E2\96\80\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\91\E2\96\91\E2\96\88\0A______________________________________\E2\96\80\E2\96\80__\E2\96\84\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\91\E2\96\91\E2\96\93\E2\96\88\0A_______________________________________\E2\96\84\E2\96\88\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\91\E2\96\91\E2\96\93\E2\96\93\E2\96\88\0A_____________________________________\E2\96\88\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\91\E2\96\91\E2\96\93\E2\96\93\E2\96\88\0A______________________________________\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\91\E2\96\91\E2\96\91\E2\96\93\E2\96\93\E2\96\88\0A_______________________________________\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\91\E2\96\91\E2\96\91\E2\96\93\E2\96\93\E2\96\93\E2\96\88\0A________________________________________\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\91\E2\96\91\E2\96\91\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\88\0A__________________________________________\E2\96\88\E2\96\88\E2\96\91\E2\96\91\E2\96\91\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\88\0A_____________________________________________\E2\96\88\E2\96\91\E2\96\93\E2\96\93\E2\96\93\E2\96\88\0A_______________________________________________\E2\96\88\E2\96\88\E2\96\88\E2\96\88\0A\00", align 1 @.str.1 = private unnamed_addr constant [85 x i8] c"HTTP/1.1 400 Bad Request\0D\0AConnection: close\0D\0AContent-Length: 17\0D\0A\0D\0A400 Bad Request\0D\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.3 = private unnamed_addr constant [48 x i8] c"Erreur lors de la lecture de la requ\C3\AAte client\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] zeroinitializer, align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"GET\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"HTTP/1.0\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"HTTP/1.1\00", align 1 @.str.8 = private unnamed_addr constant [13 x i8] c"%d %d %d %d\0A\00", align 1 @.str.9 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.10 = private unnamed_addr constant [8 x i8] c"-advice\00", align 1 @.str.11 = private unnamed_addr constant [18 x i8] c"Don \E2\80\99t Panic !\0A\00", align 1 @.str.12 = private unnamed_addr constant [7 x i8] c"accept\00", align 1 @.str.13 = private unnamed_addr constant [13 x i8] c"Client = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @traitement_client(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i8, align 1 %8 = alloca i8, align 1 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %12 = call i32 @sleep(i32 noundef 1) store ptr @.str, ptr %3, align 8 store ptr @.str.1, ptr %4, align 8 %13 = load i32, ptr %2, align 4 %14 = call ptr @fdopen(i32 noundef %13, ptr noundef @.str.2) store ptr %14, ptr %5, align 8 %15 = call ptr @malloc(i32 noundef 500) store ptr %15, ptr %6, align 8 store i8 0, ptr %7, align 1 store i8 0, ptr %8, align 1 store i32 0, ptr %9, align 4 store i32 1, ptr %10, align 4 %16 = load ptr, ptr %6, align 8 %17 = load ptr, ptr %5, align 8 %18 = call ptr @fgets(ptr noundef %16, i32 noundef 300, ptr noundef %17) %19 = icmp eq ptr %18, null br i1 %19, label %20, label %22 20: ; preds = %1 %21 = call i32 @perror(ptr noundef @.str.3) br label %22 22: ; preds = %20, %1 br label %23 23: ; preds = %78, %22 %24 = load i32, ptr %10, align 4 %25 = icmp slt i32 %24, 4 br i1 %25, label %26, label %81 26: ; preds = %23 %27 = load i32, ptr %10, align 4 %28 = icmp eq i32 %27, 1 br i1 %28, label %29, label %71 29: ; preds = %26 %30 = call ptr @malloc(i32 noundef 500) store ptr %30, ptr %11, align 8 %31 = load ptr, ptr %11, align 8 %32 = load ptr, ptr %6, align 8 %33 = call i32 @strncpy(ptr noundef %31, ptr noundef %32, i32 noundef 3) %34 = load ptr, ptr %11, align 8 %35 = call i32 @strcat(ptr noundef %34, ptr noundef @.str.4) %36 = load ptr, ptr %11, align 8 %37 = call i64 @strcmp(ptr noundef %36, ptr noundef @.str.5) %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %40 39: ; preds = %29 store i8 1, ptr %7, align 1 br label %40 40: ; preds = %39, %29 %41 = load i32, ptr %9, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %9, align 4 %43 = load ptr, ptr %6, align 8 %44 = call ptr @strchr(ptr noundef %43, i8 noundef signext 32) store ptr %44, ptr %11, align 8 br label %45 45: ; preds = %63, %40 %46 = load ptr, ptr %11, align 8 %47 = icmp ne ptr %46, null br i1 %47, label %48, label %70 48: ; preds = %45 %49 = load i32, ptr %9, align 4 %50 = icmp eq i32 %49, 2 br i1 %50, label %51, label %63 51: ; preds = %48 %52 = load ptr, ptr %11, align 8 %53 = getelementptr inbounds i8, ptr %52, i64 1 %54 = call i64 @strncmp(ptr noundef %53, ptr noundef @.str.6, i32 noundef 8) %55 = icmp eq i64 %54, 0 br i1 %55, label %61, label %56 56: ; preds = %51 %57 = load ptr, ptr %11, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 1 %59 = call i64 @strncmp(ptr noundef %58, ptr noundef @.str.7, i32 noundef 8) %60 = icmp eq i64 %59, 0 br i1 %60, label %61, label %62 61: ; preds = %56, %51 store i8 1, ptr %8, align 1 br label %62 62: ; preds = %61, %56 br label %63 63: ; preds = %62, %48 %64 = load i32, ptr %9, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %9, align 4 %66 = load ptr, ptr %11, align 8 %67 = getelementptr inbounds i8, ptr %66, i64 1 store ptr %67, ptr %11, align 8 %68 = load ptr, ptr %11, align 8 %69 = call ptr @strchr(ptr noundef %68, i8 noundef signext 32) store ptr %69, ptr %11, align 8 br label %45, !llvm.loop !6 70: ; preds = %45 br label %71 71: ; preds = %70, %26 %72 = load ptr, ptr %6, align 8 %73 = load ptr, ptr %5, align 8 %74 = call ptr @fgets(ptr noundef %72, i32 noundef 300, ptr noundef %73) %75 = icmp eq ptr %74, null br i1 %75, label %76, label %78 76: ; preds = %71 %77 = call i32 @perror(ptr noundef @.str.3) br label %78 78: ; preds = %76, %71 %79 = load i32, ptr %10, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %10, align 4 br label %23, !llvm.loop !8 81: ; preds = %23 %82 = load i32, ptr %10, align 4 %83 = load i32, ptr %9, align 4 %84 = load i8, ptr %7, align 1 %85 = sext i8 %84 to i32 %86 = load i8, ptr %8, align 1 %87 = sext i8 %86 to i32 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %82, i32 noundef %83, i32 noundef %85, i32 noundef %87) %89 = load i32, ptr %10, align 4 %90 = icmp eq i32 %89, 4 br i1 %90, label %91, label %105 91: ; preds = %81 %92 = load i32, ptr %9, align 4 %93 = icmp eq i32 %92, 3 br i1 %93, label %94, label %105 94: ; preds = %91 %95 = load i8, ptr %7, align 1 %96 = sext i8 %95 to i32 %97 = icmp ne i32 %96, 0 br i1 %97, label %98, label %105 98: ; preds = %94 %99 = load i8, ptr %8, align 1 %100 = sext i8 %99 to i32 %101 = icmp ne i32 %100, 0 br i1 %101, label %102, label %105 102: ; preds = %98 %103 = load ptr, ptr %3, align 8 %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %103) br label %108 105: ; preds = %98, %94, %91, %81 %106 = load ptr, ptr %4, align 8 %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %106) br label %108 108: ; preds = %105, %102 %109 = load ptr, ptr %5, align 8 %110 = call i32 @fclose(ptr noundef %109) ret i32 0 } declare i32 @sleep(i32 noundef) #1 declare ptr @fdopen(i32 noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fclose(ptr noundef) #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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp sgt i32 %9, 1 br i1 %10, label %11, label %19 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.10) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %11 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) store i32 42, ptr %3, align 4 br label %42 19: ; preds = %11, %2 %20 = call i32 @creer_serveur(i32 noundef 8080) store i32 %20, ptr %6, align 4 br label %21 21: ; preds = %19, %41 %22 = load i32, ptr %6, align 4 %23 = call i32 @accept(i32 noundef %22, ptr noundef null, ptr noundef null) store i32 %23, ptr %7, align 4 %24 = call i32 (...) @initialiser_signaux() %25 = load i32, ptr %7, align 4 %26 = icmp eq i32 %25, -1 br i1 %26, label %27, label %29 27: ; preds = %21 %28 = call i32 @perror(ptr noundef @.str.12) store i32 -1, ptr %3, align 4 br label %42 29: ; preds = %21 %30 = load i32, ptr %7, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %30) br label %32 32: ; preds = %29 %33 = call i32 (...) @fork() store i32 %33, ptr %8, align 4 %34 = load i32, ptr %8, align 4 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %41 36: ; preds = %32 %37 = load i32, ptr %7, align 4 %38 = call i32 @traitement_client(i32 noundef %37) %39 = load i32, ptr %7, align 4 %40 = call i32 @close(i32 noundef %39) br label %41 41: ; preds = %36, %32 br label %21 42: ; preds = %27, %17 %43 = load i32, ptr %3, align 4 ret i32 %43 } declare i32 @creer_serveur(i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @initialiser_signaux(...) #1 declare i32 @fork(...) #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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphct4suj9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3087 x i8] c"HTTP/1.1 200 OK\0D\0AConnection: close\0D\0AContent-Length: 3027\0D\0A\0A__________________________________________\E2\96\93\E2\96\93\E2\96\93\0A_________________________________________\E2\96\93\E2\96\92\E2\96\92\E2\96\92\E2\96\93\E2\96\93\0A____________________\E2\96\84\E2\96\84\E2\96\84\E2\96\84\E2\96\84\E2\96\84\E2\96\84\E2\96\84\E2\96\84__________\E2\96\93\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\93\0A___\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93____\E2\96\84\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\91\E2\96\91\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\93\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\93\E2\96\92\E2\96\93\0A____\E2\96\93\E2\96\92\E2\96\93\E2\96\92\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\88\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\91\E2\96\91\E2\96\91\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\93\E2\96\92\E2\96\93\0A______\E2\96\93\E2\96\92\E2\96\92\E2\96\92\E2\96\93\E2\96\92\E2\96\92\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\91\E2\96\91\E2\96\91\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\93\E2\96\92\E2\96\93\0A______\E2\96\88\E2\96\93\E2\96\93\E2\96\92\E2\96\92\E2\96\93\E2\96\92\E2\96\92\E2\96\93\E2\96\92\E2\96\92\E2\96\93\E2\96\93\E2\96\93\E2\96\91\E2\96\91\E2\96\91\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\93\E2\96\92\E2\96\93\0A____\E2\96\84\E2\96\88\E2\96\93\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\92\E2\96\92\E2\96\92\E2\96\93\E2\96\92\E2\96\93\E2\96\93\E2\96\91\E2\96\91\E2\96\91\E2\96\91\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\93\E2\96\92\E2\96\92\E2\96\93\0A___\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\92\E2\96\93\E2\96\92\E2\96\93\E2\96\93\E2\96\93\E2\96\91\E2\96\91\E2\96\91\E2\96\91\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\93\E2\96\92\E2\96\92\E2\96\92\E2\96\93\0A__\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\91\E2\96\91\E2\96\91\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\93\0A__\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\92\E2\96\8C__\E2\96\93\E2\96\88_____\E2\96\93\E2\96\93\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\93\0A_\E2\96\90\E2\96\88\E2\96\93\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\8C__\E2\96\93\E2\96\93\E2\96\88\E2\96\84____\E2\96\93\E2\96\93\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\93\0A_\E2\96\90\E2\96\88\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\88\E2\96\88\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\8C__\E2\96\93\E2\96\93\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\93\E2\96\93\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\93\0A__\E2\96\88\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\88\E2\96\88_\E2\96\85\E2\96\84\E2\96\88\E2\96\88\E2\96\84\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\90___\E2\96\93\E2\96\93\E2\96\88\E2\96\84_\E2\96\88\E2\96\88\E2\96\93\E2\96\93\E2\96\84\E2\96\85\E2\96\85\E2\96\92\E2\96\92\E2\96\92\E2\96\93\0A__\E2\96\88\E2\96\93\E2\96\93\E2\96\88\E2\96\88__\E2\96\85\E2\96\84\E2\96\84\E2\96\84\E2\96\8C__\E2\96\80\E2\96\84\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\90___\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\88\E2\96\88\E2\96\88\E2\96\93\E2\96\85\E2\96\85\E2\96\84\E2\96\92\E2\96\92\E2\96\92\E2\96\88\0A__\E2\96\88\E2\96\93\E2\96\88_________\E2\96\93\E2\96\84___\E2\96\80\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\90____\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\85\E2\96\85\E2\96\84\E2\96\92\E2\96\92\E2\96\92\E2\96\88\E2\96\88\0A__\E2\96\88\E2\96\88___________\E2\96\93\E2\96\93\E2\96\88\E2\96\80\E2\96\88\E2\96\84\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\8C________\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\88\E2\96\93\E2\96\88\E2\96\8C\0A_________________\E2\96\93\E2\96\93\E2\96\88\E2\96\88\E2\96\88\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\90____\E2\96\92\E2\96\92\E2\96\92\E2\96\88\E2\96\88\E2\96\92\E2\96\92\E2\96\88\E2\96\88\E2\96\93\E2\96\88\E2\96\88\E2\96\8C\0A___________________\E2\96\93\E2\96\93\E2\96\93\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\88\E2\96\93\E2\96\93\E2\96\88\E2\96\88\E2\96\93\E2\96\93\E2\96\88\E2\96\88\E2\96\93\E2\96\8C\0A____________________\E2\96\93\E2\96\92\E2\96\92\E2\96\84\E2\96\92\E2\96\92\E2\96\8C\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\88\0A___________________\E2\96\93\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\90\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\88\E2\96\93\E2\96\88\E2\96\88\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\88\E2\96\8C\0A_____________________\E2\96\93\E2\96\93\E2\96\93\E2\96\84\E2\96\80\E2\96\92\E2\96\92\E2\96\92\E2\96\92\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\88\E2\96\88\0A_________________________\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93____\E2\96\88\E2\96\93\E2\96\93\E2\96\88\E2\96\88\E2\96\80\E2\96\80\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\91\E2\96\91\E2\96\88\0A______________________________________\E2\96\80\E2\96\80__\E2\96\84\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\91\E2\96\91\E2\96\93\E2\96\88\0A_______________________________________\E2\96\84\E2\96\88\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\91\E2\96\91\E2\96\93\E2\96\93\E2\96\88\0A_____________________________________\E2\96\88\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\91\E2\96\91\E2\96\93\E2\96\93\E2\96\88\0A______________________________________\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\91\E2\96\91\E2\96\91\E2\96\93\E2\96\93\E2\96\88\0A_______________________________________\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\91\E2\96\91\E2\96\91\E2\96\93\E2\96\93\E2\96\93\E2\96\88\0A________________________________________\E2\96\88\E2\96\93\E2\96\93\E2\96\93\E2\96\91\E2\96\91\E2\96\91\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\88\0A__________________________________________\E2\96\88\E2\96\88\E2\96\91\E2\96\91\E2\96\91\E2\96\93\E2\96\93\E2\96\93\E2\96\93\E2\96\88\0A_____________________________________________\E2\96\88\E2\96\91\E2\96\93\E2\96\93\E2\96\93\E2\96\88\0A_______________________________________________\E2\96\88\E2\96\88\E2\96\88\E2\96\88\0A\00", align 1 @.str.1 = private unnamed_addr constant [85 x i8] c"HTTP/1.1 400 Bad Request\0D\0AConnection: close\0D\0AContent-Length: 17\0D\0A\0D\0A400 Bad Request\0D\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.3 = private unnamed_addr constant [48 x i8] c"Erreur lors de la lecture de la requ\C3\AAte client\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] zeroinitializer, align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"GET\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"HTTP/1.0\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"HTTP/1.1\00", align 1 @.str.8 = private unnamed_addr constant [13 x i8] c"%d %d %d %d\0A\00", align 1 @.str.9 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.10 = private unnamed_addr constant [8 x i8] c"-advice\00", align 1 @.str.11 = private unnamed_addr constant [18 x i8] c"Don \E2\80\99t Panic !\0A\00", align 1 @.str.12 = private unnamed_addr constant [7 x i8] c"accept\00", align 1 @.str.13 = private unnamed_addr constant [13 x i8] c"Client = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @traitement_client(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i8, align 1 %8 = alloca i8, align 1 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %12 = call i32 @sleep(i32 noundef 1) store ptr @.str, ptr %3, align 8 store ptr @.str.1, ptr %4, align 8 %13 = load i32, ptr %2, align 4 %14 = call ptr @fdopen(i32 noundef %13, ptr noundef @.str.2) store ptr %14, ptr %5, align 8 %15 = call ptr @malloc(i32 noundef 500) store ptr %15, ptr %6, align 8 store i8 0, ptr %7, align 1 store i8 0, ptr %8, align 1 store i32 0, ptr %9, align 4 store i32 1, ptr %10, align 4 %16 = load ptr, ptr %6, align 8 %17 = load ptr, ptr %5, align 8 %18 = call ptr @fgets(ptr noundef %16, i32 noundef 300, ptr noundef %17) %19 = icmp eq ptr %18, null br i1 %19, label %20, label %22 20: ; preds = %1 %21 = call i32 @perror(ptr noundef @.str.3) br label %22 22: ; preds = %20, %1 %23 = load i32, ptr %10, align 4 %24 = icmp slt i32 %23, 4 br i1 %24, label %.lr.ph2, label %83 .lr.ph2: ; preds = %22 br label %25 25: ; preds = %.lr.ph2, %78 %26 = load i32, ptr %10, align 4 %27 = icmp eq i32 %26, 1 br i1 %27, label %28, label %71 28: ; preds = %25 %29 = call ptr @malloc(i32 noundef 500) store ptr %29, ptr %11, align 8 %30 = load ptr, ptr %11, align 8 %31 = load ptr, ptr %6, align 8 %32 = call i32 @strncpy(ptr noundef %30, ptr noundef %31, i32 noundef 3) %33 = load ptr, ptr %11, align 8 %34 = call i32 @strcat(ptr noundef %33, ptr noundef @.str.4) %35 = load ptr, ptr %11, align 8 %36 = call i64 @strcmp(ptr noundef %35, ptr noundef @.str.5) %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %39 38: ; preds = %28 store i8 1, ptr %7, align 1 br label %39 39: ; preds = %38, %28 %40 = load i32, ptr %9, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %9, align 4 %42 = load ptr, ptr %6, align 8 %43 = call ptr @strchr(ptr noundef %42, i8 noundef signext 32) store ptr %43, ptr %11, align 8 %44 = load ptr, ptr %11, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %.lr.ph, label %70 .lr.ph: ; preds = %39 br label %46 46: ; preds = %.lr.ph, %61 %47 = load i32, ptr %9, align 4 %48 = icmp eq i32 %47, 2 br i1 %48, label %49, label %61 49: ; preds = %46 %50 = load ptr, ptr %11, align 8 %51 = getelementptr inbounds i8, ptr %50, i64 1 %52 = call i64 @strncmp(ptr noundef %51, ptr noundef @.str.6, i32 noundef 8) %53 = icmp eq i64 %52, 0 br i1 %53, label %59, label %54 54: ; preds = %49 %55 = load ptr, ptr %11, align 8 %56 = getelementptr inbounds i8, ptr %55, i64 1 %57 = call i64 @strncmp(ptr noundef %56, ptr noundef @.str.7, i32 noundef 8) %58 = icmp eq i64 %57, 0 br i1 %58, label %59, label %60 59: ; preds = %54, %49 store i8 1, ptr %8, align 1 br label %60 60: ; preds = %59, %54 br label %61 61: ; preds = %60, %46 %62 = load i32, ptr %9, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %9, align 4 %64 = load ptr, ptr %11, align 8 %65 = getelementptr inbounds i8, ptr %64, i64 1 store ptr %65, ptr %11, align 8 %66 = load ptr, ptr %11, align 8 %67 = call ptr @strchr(ptr noundef %66, i8 noundef signext 32) store ptr %67, ptr %11, align 8 %68 = load ptr, ptr %11, align 8 %69 = icmp ne ptr %68, null br i1 %69, label %46, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %61 br label %70 70: ; preds = %._crit_edge, %39 br label %71 71: ; preds = %70, %25 %72 = load ptr, ptr %6, align 8 %73 = load ptr, ptr %5, align 8 %74 = call ptr @fgets(ptr noundef %72, i32 noundef 300, ptr noundef %73) %75 = icmp eq ptr %74, null br i1 %75, label %76, label %78 76: ; preds = %71 %77 = call i32 @perror(ptr noundef @.str.3) br label %78 78: ; preds = %76, %71 %79 = load i32, ptr %10, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %10, align 4 %81 = load i32, ptr %10, align 4 %82 = icmp slt i32 %81, 4 br i1 %82, label %25, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %78 br label %83 83: ; preds = %._crit_edge3, %22 %84 = load i32, ptr %10, align 4 %85 = load i32, ptr %9, align 4 %86 = load i8, ptr %7, align 1 %87 = sext i8 %86 to i32 %88 = load i8, ptr %8, align 1 %89 = sext i8 %88 to i32 %90 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %84, i32 noundef %85, i32 noundef %87, i32 noundef %89) %91 = load i32, ptr %10, align 4 %92 = icmp eq i32 %91, 4 br i1 %92, label %93, label %107 93: ; preds = %83 %94 = load i32, ptr %9, align 4 %95 = icmp eq i32 %94, 3 br i1 %95, label %96, label %107 96: ; preds = %93 %97 = load i8, ptr %7, align 1 %98 = sext i8 %97 to i32 %99 = icmp ne i32 %98, 0 br i1 %99, label %100, label %107 100: ; preds = %96 %101 = load i8, ptr %8, align 1 %102 = sext i8 %101 to i32 %103 = icmp ne i32 %102, 0 br i1 %103, label %104, label %107 104: ; preds = %100 %105 = load ptr, ptr %3, align 8 %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %105) br label %110 107: ; preds = %100, %96, %93, %83 %108 = load ptr, ptr %4, align 8 %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %108) br label %110 110: ; preds = %107, %104 %111 = load ptr, ptr %5, align 8 %112 = call i32 @fclose(ptr noundef %111) ret i32 0 } declare i32 @sleep(i32 noundef) #1 declare ptr @fdopen(i32 noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fclose(ptr noundef) #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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp sgt i32 %9, 1 br i1 %10, label %11, label %19 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.10) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %11 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) store i32 42, ptr %3, align 4 br label %46 19: ; preds = %11, %2 %20 = call i32 @creer_serveur(i32 noundef 8080) store i32 %20, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = call i32 @accept(i32 noundef %21, ptr noundef null, ptr noundef null) store i32 %22, ptr %7, align 4 %23 = call i32 (...) @initialiser_signaux() %24 = load i32, ptr %7, align 4 %25 = icmp eq i32 %24, -1 br i1 %25, label %26, label %.lr.ph .lr.ph: ; preds = %19 br label %28 ._crit_edge: ; preds = %40 br label %26 26: ; preds = %._crit_edge, %19 %27 = call i32 @perror(ptr noundef @.str.12) store i32 -1, ptr %3, align 4 br label %46 28: ; preds = %.lr.ph, %40 %29 = load i32, ptr %7, align 4 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %29) br label %31 31: ; preds = %28 %32 = call i32 (...) @fork() store i32 %32, ptr %8, align 4 %33 = load i32, ptr %8, align 4 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %40 35: ; preds = %31 %36 = load i32, ptr %7, align 4 %37 = call i32 @traitement_client(i32 noundef %36) %38 = load i32, ptr %7, align 4 %39 = call i32 @close(i32 noundef %38) br label %40 40: ; preds = %35, %31 %41 = load i32, ptr %6, align 4 %42 = call i32 @accept(i32 noundef %41, ptr noundef null, ptr noundef null) store i32 %42, ptr %7, align 4 %43 = call i32 (...) @initialiser_signaux() %44 = load i32, ptr %7, align 4 %45 = icmp eq i32 %44, -1 br i1 %45, label %._crit_edge, label %28 46: ; preds = %26, %17 %47 = load i32, ptr %3, align 4 ret i32 %47 } declare i32 @creer_serveur(i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @initialiser_signaux(...) #1 declare i32 @fork(...) #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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpsgup40ey.c' source_filename = "/tmp/tmpsgup40ey.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [11 x i8] c"%f,%f,0,0\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = 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 %10 = call i64 @time(ptr noundef null) %11 = trunc i64 %10 to i32 %12 = call i32 @srand(i32 noundef %11) store i32 0, ptr %6, align 4 br label %13 13: ; preds = %34, %2 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %14, 100 br i1 %15, label %16, label %37 16: ; preds = %13 %17 = call i64 (...) @rand() %18 = sitofp i64 %17 to float %19 = load i64, ptr @RAND_MAX, align 8 %20 = sitofp i64 %19 to float %21 = fdiv float %20, 2.000000e+00 %22 = fdiv float %18, %21 %23 = fsub float 1.000000e+00, %22 store float %23, ptr %7, align 4 %24 = call i64 (...) @rand() %25 = sitofp i64 %24 to float %26 = load i64, ptr @RAND_MAX, align 8 %27 = sitofp i64 %26 to float %28 = fdiv float %27, 2.000000e+00 %29 = fdiv float %25, %28 %30 = fsub float 1.000000e+00, %29 store float %30, ptr %8, align 4 %31 = load float, ptr %7, align 4 %32 = load float, ptr %8, align 4 %33 = call i32 @printf(ptr noundef @.str, float noundef %31, float noundef %32) br label %34 34: ; preds = %16 %35 = load i32, ptr %6, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %6, align 4 br label %13, !llvm.loop !6 37: ; preds = %13 ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i64 @rand(...) #1 declare i32 @printf(ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsgup40ey.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [11 x i8] c"%f,%f,0,0\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = 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 %10 = call i64 @time(ptr noundef null) %11 = trunc i64 %10 to i32 %12 = call i32 @srand(i32 noundef %11) store i32 0, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %13, 100 br i1 %14, label %.lr.ph, label %38 .lr.ph: ; preds = %2 br label %15 15: ; preds = %.lr.ph, %33 %16 = call i64 (...) @rand() %17 = sitofp i64 %16 to float %18 = load i64, ptr @RAND_MAX, align 8 %19 = sitofp i64 %18 to float %20 = fdiv float %19, 2.000000e+00 %21 = fdiv float %17, %20 %22 = fsub float 1.000000e+00, %21 store float %22, ptr %7, align 4 %23 = call i64 (...) @rand() %24 = sitofp i64 %23 to float %25 = load i64, ptr @RAND_MAX, align 8 %26 = sitofp i64 %25 to float %27 = fdiv float %26, 2.000000e+00 %28 = fdiv float %24, %27 %29 = fsub float 1.000000e+00, %28 store float %29, ptr %8, align 4 %30 = load float, ptr %7, align 4 %31 = load float, ptr %8, align 4 %32 = call i32 @printf(ptr noundef @.str, float noundef %30, float noundef %31) br label %33 33: ; preds = %15 %34 = load i32, ptr %6, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %6, align 4 %36 = load i32, ptr %6, align 4 %37 = icmp slt i32 %36, 100 br i1 %37, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %38 38: ; preds = %._crit_edge, %2 ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i64 @rand(...) #1 declare i32 @printf(ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp17bc_n55.c' source_filename = "/tmp/tmp17bc_n55.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sys_stat64(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 @printargs(ptr noundef %3) ret i32 %4 } declare i32 @printargs(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp17bc_n55.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sys_stat64(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 @printargs(ptr noundef %3) ret i32 %4 } declare i32 @printargs(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2_enmp7d.c' source_filename = "/tmp/tmp2_enmp7d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @flag_get_value(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %5, align 4 %9 = load ptr, ptr %3, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %8, align 4 store i32 0, ptr %4, align 4 br label %11 11: ; preds = %57, %1 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %8, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %68 15: ; preds = %11 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 46 br i1 %22, label %23, label %29 23: ; preds = %15 %24 = load i32, ptr %5, align 4 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %23 %27 = load i32, ptr %4, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %5, align 4 br label %57 29: ; preds = %23, %15 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %4, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %35, 64 br i1 %36, label %37, label %42 37: ; preds = %29 %38 = load i32, ptr %6, align 4 %39 = icmp ne i32 %38, 0 br i1 %39, label %40, label %42 40: ; preds = %37 %41 = load i32, ptr %4, align 4 store i32 %41, ptr %7, align 4 br label %68 42: ; preds = %37, %29 %43 = load ptr, ptr %3, align 8 %44 = load i32, ptr %4, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = icmp eq i32 %48, 46 br i1 %49, label %50, label %56 50: ; preds = %42 %51 = load i32, ptr %5, align 4 %52 = icmp ne i32 %51, 0 br i1 %52, label %53, label %56 53: ; preds = %50 %54 = load i32, ptr %4, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %6, align 4 br label %57 56: ; preds = %50, %42 br label %57 57: ; preds = %56, %53, %26 %58 = load ptr, ptr %3, align 8 %59 = load i32, ptr %4, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 %62 = call i64 @utf8skip(ptr noundef %61) %63 = add nsw i64 %62, 1 %64 = load i32, ptr %4, align 4 %65 = sext i32 %64 to i64 %66 = add nsw i64 %65, %63 %67 = trunc i64 %66 to i32 store i32 %67, ptr %4, align 4 br label %11, !llvm.loop !6 68: ; preds = %40, %11 %69 = load i32, ptr %6, align 4 %70 = icmp sgt i32 %69, 0 br i1 %70, label %71, label %83 71: ; preds = %68 %72 = load i32, ptr %7, align 4 %73 = icmp sgt i32 %72, 0 br i1 %73, label %74, label %83 74: ; preds = %71 %75 = load ptr, ptr %3, align 8 %76 = load i32, ptr %6, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %75, i64 %77 %79 = load i32, ptr %7, align 4 %80 = load i32, ptr %6, align 4 %81 = sub nsw i32 %79, %80 %82 = call ptr @xxstrndup(ptr noundef %78, i32 noundef %81) store ptr %82, ptr %2, align 8 br label %84 83: ; preds = %71, %68 store ptr null, ptr %2, align 8 br label %84 84: ; preds = %83, %74 %85 = load ptr, ptr %2, align 8 ret ptr %85 } declare i32 @strlen(ptr noundef) #1 declare i64 @utf8skip(ptr noundef) #1 declare ptr @xxstrndup(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2_enmp7d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @flag_get_value(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %5, align 4 %9 = load ptr, ptr %3, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %8, align 4 store i32 0, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %8, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %1 br label %14 14: ; preds = %.lr.ph, %56 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 46 br i1 %21, label %22, label %28 22: ; preds = %14 %23 = load i32, ptr %5, align 4 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %22 %26 = load i32, ptr %4, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 br label %56 28: ; preds = %22, %14 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %4, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 64 br i1 %35, label %36, label %41 36: ; preds = %28 %37 = load i32, ptr %6, align 4 %38 = icmp ne i32 %37, 0 br i1 %38, label %39, label %41 39: ; preds = %36 %40 = load i32, ptr %4, align 4 store i32 %40, ptr %7, align 4 br label %70 41: ; preds = %36, %28 %42 = load ptr, ptr %3, align 8 %43 = load i32, ptr %4, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp eq i32 %47, 46 br i1 %48, label %49, label %55 49: ; preds = %41 %50 = load i32, ptr %5, align 4 %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %55 52: ; preds = %49 %53 = load i32, ptr %4, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %6, align 4 br label %56 55: ; preds = %49, %41 br label %56 56: ; preds = %55, %52, %25 %57 = load ptr, ptr %3, align 8 %58 = load i32, ptr %4, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %57, i64 %59 %61 = call i64 @utf8skip(ptr noundef %60) %62 = add nsw i64 %61, 1 %63 = load i32, ptr %4, align 4 %64 = sext i32 %63 to i64 %65 = add nsw i64 %64, %62 %66 = trunc i64 %65 to i32 store i32 %66, ptr %4, align 4 %67 = load i32, ptr %4, align 4 %68 = load i32, ptr %8, align 4 %69 = icmp slt i32 %67, %68 br i1 %69, label %14, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %56 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %1 br label %70 70: ; preds = %.loopexit, %39 %71 = load i32, ptr %6, align 4 %72 = icmp sgt i32 %71, 0 br i1 %72, label %73, label %85 73: ; preds = %70 %74 = load i32, ptr %7, align 4 %75 = icmp sgt i32 %74, 0 br i1 %75, label %76, label %85 76: ; preds = %73 %77 = load ptr, ptr %3, align 8 %78 = load i32, ptr %6, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i8, ptr %77, i64 %79 %81 = load i32, ptr %7, align 4 %82 = load i32, ptr %6, align 4 %83 = sub nsw i32 %81, %82 %84 = call ptr @xxstrndup(ptr noundef %80, i32 noundef %83) store ptr %84, ptr %2, align 8 br label %86 85: ; preds = %73, %70 store ptr null, ptr %2, align 8 br label %86 86: ; preds = %85, %76 %87 = load ptr, ptr %2, align 8 ret ptr %87 } declare i32 @strlen(ptr noundef) #1 declare i64 @utf8skip(ptr noundef) #1 declare ptr @xxstrndup(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp0uwooi1r.c' source_filename = "/tmp/tmp0uwooi1r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_XEvent_xfocus_display(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 %7 = inttoptr i64 %6 to ptr ret ptr %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0uwooi1r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_XEvent_xfocus_display(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 %7 = inttoptr i64 %6 to ptr ret ptr %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpprz67mam.c' source_filename = "/tmp/tmpprz67mam.c" target datalayout = "e-m:e-p270: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/tmpprz67mam.c" target datalayout = "e-m:e-p270: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/tmp64ud3lkz.c' source_filename = "/tmp/tmp64ud3lkz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FP_ILOGB0 = dso_local global i32 0, align 4 @INT_MIN = dso_local global i32 0, align 4 @INT_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"FP_ILOGB0 has no valid value\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"FP_ILOGB0 value is OK\00", align 1 @FP_ILOGBNAN = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [30 x i8] c"FP_ILOBNAN has no valid value\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"FP_ILOGBNAN value is OK\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 @FP_ILOGB0, align 4 %4 = load i32, ptr @INT_MIN, align 4 %5 = icmp ne i32 %3, %4 br i1 %5, label %6, label %13 6: ; preds = %0 %7 = load i32, ptr @FP_ILOGB0, align 4 %8 = load i32, ptr @INT_MAX, align 4 %9 = sub nsw i32 0, %8 %10 = icmp ne i32 %7, %9 br i1 %10, label %11, label %13 11: ; preds = %6 %12 = call i32 @puts(ptr noundef @.str) store i32 1, ptr %2, align 4 br label %15 13: ; preds = %6, %0 %14 = call i32 @puts(ptr noundef @.str.1) br label %15 15: ; preds = %13, %11 %16 = load i32, ptr @FP_ILOGBNAN, align 4 %17 = load i32, ptr @INT_MIN, align 4 %18 = icmp ne i32 %16, %17 br i1 %18, label %19, label %25 19: ; preds = %15 %20 = load i32, ptr @FP_ILOGBNAN, align 4 %21 = load i32, ptr @INT_MAX, align 4 %22 = icmp ne i32 %20, %21 br i1 %22, label %23, label %25 23: ; preds = %19 %24 = call i32 @puts(ptr noundef @.str.2) store i32 1, ptr %2, align 4 br label %27 25: ; preds = %19, %15 %26 = call i32 @puts(ptr noundef @.str.3) br label %27 27: ; preds = %25, %23 %28 = load i32, ptr %2, align 4 ret i32 %28 } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp64ud3lkz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FP_ILOGB0 = dso_local global i32 0, align 4 @INT_MIN = dso_local global i32 0, align 4 @INT_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"FP_ILOGB0 has no valid value\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"FP_ILOGB0 value is OK\00", align 1 @FP_ILOGBNAN = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [30 x i8] c"FP_ILOBNAN has no valid value\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"FP_ILOGBNAN value is OK\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 @FP_ILOGB0, align 4 %4 = load i32, ptr @INT_MIN, align 4 %5 = icmp ne i32 %3, %4 br i1 %5, label %6, label %13 6: ; preds = %0 %7 = load i32, ptr @FP_ILOGB0, align 4 %8 = load i32, ptr @INT_MAX, align 4 %9 = sub nsw i32 0, %8 %10 = icmp ne i32 %7, %9 br i1 %10, label %11, label %13 11: ; preds = %6 %12 = call i32 @puts(ptr noundef @.str) store i32 1, ptr %2, align 4 br label %15 13: ; preds = %6, %0 %14 = call i32 @puts(ptr noundef @.str.1) br label %15 15: ; preds = %13, %11 %16 = load i32, ptr @FP_ILOGBNAN, align 4 %17 = load i32, ptr @INT_MIN, align 4 %18 = icmp ne i32 %16, %17 br i1 %18, label %19, label %25 19: ; preds = %15 %20 = load i32, ptr @FP_ILOGBNAN, align 4 %21 = load i32, ptr @INT_MAX, align 4 %22 = icmp ne i32 %20, %21 br i1 %22, label %23, label %25 23: ; preds = %19 %24 = call i32 @puts(ptr noundef @.str.2) store i32 1, ptr %2, align 4 br label %27 25: ; preds = %19, %15 %26 = call i32 @puts(ptr noundef @.str.3) br label %27 27: ; preds = %25, %23 %28 = load i32, ptr %2, align 4 ret i32 %28 } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppfygbj7u.c' source_filename = "/tmp/tmppfygbj7u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @asserter_crash_if_not_equal(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp ne i32 %7, %8 %10 = zext i1 %9 to i32 %11 = load i32, ptr %6, align 4 %12 = call i32 @asserter_crash_if(i32 noundef %10, i32 noundef %11) ret void } declare i32 @asserter_crash_if(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/tmppfygbj7u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @asserter_crash_if_not_equal(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp ne i32 %7, %8 %10 = zext i1 %9 to i32 %11 = load i32, ptr %6, align 4 %12 = call i32 @asserter_crash_if(i32 noundef %10, i32 noundef %11) ret void } declare i32 @asserter_crash_if(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/tmpjcokcstf.c' source_filename = "/tmp/tmpjcokcstf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUFSIZ = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"/proc/cpuinfo\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"UNKNOWN\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"UNKNOWN \00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"vendor_id\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"%*s%*s%s\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"GenuineIntel\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"Intel\00", align 1 @.str.8 = private unnamed_addr constant [13 x i8] c"AuthenticAMD\00", align 1 @.str.9 = private unnamed_addr constant [4 x i8] c"AMD\00", align 1 @.str.10 = private unnamed_addr constant [11 x i8] c"cpu family\00", align 1 @.str.11 = private unnamed_addr constant [12 x i8] c"%*s%*s%*s%d\00", align 1 @.str.12 = private unnamed_addr constant [6 x i8] c"model\00", align 1 @.str.13 = private unnamed_addr constant [6 x i8] c"%*s%s\00", align 1 @.str.14 = private unnamed_addr constant [9 x i8] c"%*s%*s%d\00", align 1 @.str.15 = private unnamed_addr constant [9 x i8] c"stepping\00", align 1 @.str.16 = private unnamed_addr constant [13 x i8] c"%s %d/%d/%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_cpuinfo_x86(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %13 = load i32, ptr @BUFSIZ, align 4 %14 = zext i32 %13 to i64 %15 = call ptr @llvm.stacksave() store ptr %15, ptr %4, align 8 %16 = alloca i8, i64 %14, align 16 store i64 %14, ptr %5, align 8 %17 = load i32, ptr @BUFSIZ, align 4 %18 = zext i32 %17 to i64 %19 = alloca i8, i64 %18, align 16 store i64 %18, ptr %6, align 8 %20 = load i32, ptr @BUFSIZ, align 4 %21 = zext i32 %20 to i64 %22 = alloca i8, i64 %21, align 16 store i64 %21, ptr %7, align 8 %23 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %23, ptr %3, align 8 %24 = load ptr, ptr %3, align 8 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %29 26: ; preds = %1 %27 = load ptr, ptr %2, align 8 %28 = call i32 @strcpy(ptr noundef %27, ptr noundef @.str.2) store i32 1, ptr %12, align 4 br label %86 29: ; preds = %1 %30 = call i32 @strcpy(ptr noundef %22, ptr noundef @.str.3) br label %31 31: ; preds = %77, %29 br label %32 32: ; preds = %31 %33 = load i32, ptr @BUFSIZ, align 4 %34 = load ptr, ptr %3, align 8 %35 = call ptr @fgets(ptr noundef %16, i32 noundef %33, ptr noundef %34) store ptr %35, ptr %8, align 8 %36 = load ptr, ptr %8, align 8 %37 = icmp eq ptr %36, null br i1 %37, label %38, label %39 38: ; preds = %32 br label %78 39: ; preds = %32 %40 = call i32 @strncmp(ptr noundef %16, ptr noundef @.str.4, i32 noundef 9) %41 = icmp ne i32 %40, 0 br i1 %41, label %55, label %42 42: ; preds = %39 %43 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %16, ptr noundef @.str.5, ptr noundef %19) %44 = call i32 @strncmp(ptr noundef %19, ptr noundef @.str.6, i32 noundef 12) %45 = icmp ne i32 %44, 0 br i1 %45, label %48, label %46 46: ; preds = %42 %47 = call i32 @strcpy(ptr noundef %22, ptr noundef @.str.7) br label %54 48: ; preds = %42 %49 = call i32 @strncmp(ptr noundef %19, ptr noundef @.str.8, i32 noundef 12) %50 = icmp ne i32 %49, 0 br i1 %50, label %53, label %51 51: ; preds = %48 %52 = call i32 @strcpy(ptr noundef %22, ptr noundef @.str.9) br label %53 53: ; preds = %51, %48 br label %54 54: ; preds = %53, %46 br label %55 55: ; preds = %54, %39 %56 = call i32 @strncmp(ptr noundef %16, ptr noundef @.str.10, i32 noundef 10) %57 = icmp ne i32 %56, 0 br i1 %57, label %60, label %58 58: ; preds = %55 %59 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %16, ptr noundef @.str.11, ptr noundef %9) br label %60 60: ; preds = %58, %55 %61 = call i32 @strncmp(ptr noundef %16, ptr noundef @.str.12, i32 noundef 5) %62 = icmp ne i32 %61, 0 br i1 %62, label %72, label %63 63: ; preds = %60 %64 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %16, ptr noundef @.str.13, ptr noundef %19) %65 = getelementptr inbounds i8, ptr %19, i64 0 %66 = load i8, ptr %65, align 16 %67 = sext i8 %66 to i32 %68 = icmp eq i32 %67, 58 br i1 %68, label %69, label %71 69: ; preds = %63 %70 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %16, ptr noundef @.str.14, ptr noundef %10) br label %71 71: ; preds = %69, %63 br label %72 72: ; preds = %71, %60 %73 = call i32 @strncmp(ptr noundef %16, ptr noundef @.str.15, i32 noundef 8) %74 = icmp ne i32 %73, 0 br i1 %74, label %77, label %75 75: ; preds = %72 %76 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %16, ptr noundef @.str.14, ptr noundef %11) br label %77 77: ; preds = %75, %72 br label %31 78: ; preds = %38 %79 = load ptr, ptr %3, align 8 %80 = call i32 @fclose(ptr noundef %79) %81 = load ptr, ptr %2, align 8 %82 = load i32, ptr %9, align 4 %83 = load i32, ptr %10, align 4 %84 = load i32, ptr %11, align 4 %85 = call i32 @sprintf(ptr noundef %81, ptr noundef @.str.16, ptr noundef %22, i32 noundef %82, i32 noundef %83, i32 noundef %84) store i32 0, ptr %12, align 4 br label %86 86: ; preds = %78, %26 %87 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %87) %88 = load i32, ptr %12, align 4 switch i32 %88, label %90 [ i32 0, label %89 i32 1, label %89 ] 89: ; preds = %86, %86 ret void 90: ; preds = %86 unreachable } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @sscanf(ptr noundef, ptr noundef, ...) #2 declare i32 @fclose(ptr noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 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/tmpjcokcstf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUFSIZ = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"/proc/cpuinfo\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"UNKNOWN\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"UNKNOWN \00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"vendor_id\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"%*s%*s%s\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"GenuineIntel\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"Intel\00", align 1 @.str.8 = private unnamed_addr constant [13 x i8] c"AuthenticAMD\00", align 1 @.str.9 = private unnamed_addr constant [4 x i8] c"AMD\00", align 1 @.str.10 = private unnamed_addr constant [11 x i8] c"cpu family\00", align 1 @.str.11 = private unnamed_addr constant [12 x i8] c"%*s%*s%*s%d\00", align 1 @.str.12 = private unnamed_addr constant [6 x i8] c"model\00", align 1 @.str.13 = private unnamed_addr constant [6 x i8] c"%*s%s\00", align 1 @.str.14 = private unnamed_addr constant [9 x i8] c"%*s%*s%d\00", align 1 @.str.15 = private unnamed_addr constant [9 x i8] c"stepping\00", align 1 @.str.16 = private unnamed_addr constant [13 x i8] c"%s %d/%d/%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_cpuinfo_x86(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %13 = load i32, ptr @BUFSIZ, align 4 %14 = zext i32 %13 to i64 %15 = call ptr @llvm.stacksave() store ptr %15, ptr %4, align 8 %16 = alloca i8, i64 %14, align 16 store i64 %14, ptr %5, align 8 %17 = load i32, ptr @BUFSIZ, align 4 %18 = zext i32 %17 to i64 %19 = alloca i8, i64 %18, align 16 store i64 %18, ptr %6, align 8 %20 = load i32, ptr @BUFSIZ, align 4 %21 = zext i32 %20 to i64 %22 = alloca i8, i64 %21, align 16 store i64 %21, ptr %7, align 8 %23 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %23, ptr %3, align 8 %24 = load ptr, ptr %3, align 8 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %29 26: ; preds = %1 %27 = load ptr, ptr %2, align 8 %28 = call i32 @strcpy(ptr noundef %27, ptr noundef @.str.2) store i32 1, ptr %12, align 4 br label %86 29: ; preds = %1 %30 = call i32 @strcpy(ptr noundef %22, ptr noundef @.str.3) br label %31 31: ; preds = %77, %29 br label %32 32: ; preds = %31 %33 = load i32, ptr @BUFSIZ, align 4 %34 = load ptr, ptr %3, align 8 %35 = call ptr @fgets(ptr noundef %16, i32 noundef %33, ptr noundef %34) store ptr %35, ptr %8, align 8 %36 = load ptr, ptr %8, align 8 %37 = icmp eq ptr %36, null br i1 %37, label %38, label %39 38: ; preds = %32 br label %78 39: ; preds = %32 %40 = call i32 @strncmp(ptr noundef %16, ptr noundef @.str.4, i32 noundef 9) %41 = icmp ne i32 %40, 0 br i1 %41, label %55, label %42 42: ; preds = %39 %43 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %16, ptr noundef @.str.5, ptr noundef %19) %44 = call i32 @strncmp(ptr noundef %19, ptr noundef @.str.6, i32 noundef 12) %45 = icmp ne i32 %44, 0 br i1 %45, label %48, label %46 46: ; preds = %42 %47 = call i32 @strcpy(ptr noundef %22, ptr noundef @.str.7) br label %54 48: ; preds = %42 %49 = call i32 @strncmp(ptr noundef %19, ptr noundef @.str.8, i32 noundef 12) %50 = icmp ne i32 %49, 0 br i1 %50, label %53, label %51 51: ; preds = %48 %52 = call i32 @strcpy(ptr noundef %22, ptr noundef @.str.9) br label %53 53: ; preds = %51, %48 br label %54 54: ; preds = %53, %46 br label %55 55: ; preds = %54, %39 %56 = call i32 @strncmp(ptr noundef %16, ptr noundef @.str.10, i32 noundef 10) %57 = icmp ne i32 %56, 0 br i1 %57, label %60, label %58 58: ; preds = %55 %59 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %16, ptr noundef @.str.11, ptr noundef %9) br label %60 60: ; preds = %58, %55 %61 = call i32 @strncmp(ptr noundef %16, ptr noundef @.str.12, i32 noundef 5) %62 = icmp ne i32 %61, 0 br i1 %62, label %72, label %63 63: ; preds = %60 %64 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %16, ptr noundef @.str.13, ptr noundef %19) %65 = getelementptr inbounds i8, ptr %19, i64 0 %66 = load i8, ptr %65, align 16 %67 = sext i8 %66 to i32 %68 = icmp eq i32 %67, 58 br i1 %68, label %69, label %71 69: ; preds = %63 %70 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %16, ptr noundef @.str.14, ptr noundef %10) br label %71 71: ; preds = %69, %63 br label %72 72: ; preds = %71, %60 %73 = call i32 @strncmp(ptr noundef %16, ptr noundef @.str.15, i32 noundef 8) %74 = icmp ne i32 %73, 0 br i1 %74, label %77, label %75 75: ; preds = %72 %76 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %16, ptr noundef @.str.14, ptr noundef %11) br label %77 77: ; preds = %75, %72 br label %31 78: ; preds = %38 %79 = load ptr, ptr %3, align 8 %80 = call i32 @fclose(ptr noundef %79) %81 = load ptr, ptr %2, align 8 %82 = load i32, ptr %9, align 4 %83 = load i32, ptr %10, align 4 %84 = load i32, ptr %11, align 4 %85 = call i32 @sprintf(ptr noundef %81, ptr noundef @.str.16, ptr noundef %22, i32 noundef %82, i32 noundef %83, i32 noundef %84) store i32 0, ptr %12, align 4 br label %86 86: ; preds = %78, %26 %87 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %87) %88 = load i32, ptr %12, align 4 switch i32 %88, label %90 [ i32 0, label %89 i32 1, label %89 ] 89: ; preds = %86, %86 ret void 90: ; preds = %86 unreachable } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @sscanf(ptr noundef, ptr noundef, ...) #2 declare i32 @fclose(ptr noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 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/tmphae_lez6.c' source_filename = "/tmp/tmphae_lez6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1000, ptr %2, align 4 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %6, align 8 %10 = alloca double, i64 1000, align 16 store i32 0, ptr %3, align 4 br label %11 11: ; preds = %20, %0 %12 = load i32, ptr %3, align 4 %13 = icmp slt i32 %12, 1000 br i1 %13, label %14, label %23 14: ; preds = %11 %15 = load i32, ptr %3, align 4 %16 = sitofp i32 %15 to double %17 = load i32, ptr %3, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds double, ptr %10, i64 %18 store double %16, ptr %19, align 8 br label %20 20: ; preds = %14 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %3, align 4 br label %11, !llvm.loop !6 23: ; preds = %11 store double 0.000000e+00, ptr %5, align 8 store double 0.000000e+00, ptr %4, align 8 store i32 0, ptr %3, align 4 br label %24 24: ; preds = %34, %23 %25 = load i32, ptr %3, align 4 %26 = icmp slt i32 %25, 1000 br i1 %26, label %27, label %37 27: ; preds = %24 %28 = load i32, ptr %3, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds double, ptr %10, i64 %29 %31 = load double, ptr %30, align 8 %32 = load double, ptr %5, align 8 %33 = fadd double %32, %31 store double %33, ptr %5, align 8 br label %34 34: ; preds = %27 %35 = load i32, ptr %3, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %3, align 4 br label %24, !llvm.loop !8 37: ; preds = %24 store i32 0, ptr %3, align 4 br label %38 38: ; preds = %48, %37 %39 = load i32, ptr %3, align 4 %40 = icmp slt i32 %39, 1000 br i1 %40, label %41, label %51 41: ; preds = %38 %42 = load i32, ptr %3, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds double, ptr %10, i64 %43 %45 = load double, ptr %44, align 8 %46 = load double, ptr %4, align 8 %47 = fadd double %46, %45 store double %47, ptr %4, align 8 br label %48 48: ; preds = %41 %49 = load i32, ptr %3, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %3, align 4 br label %38, !llvm.loop !9 51: ; preds = %38 %52 = load double, ptr %5, align 8 %53 = load double, ptr %4, align 8 %54 = fcmp une double %52, %53 br i1 %54, label %55, label %57 55: ; preds = %51 %56 = call i32 (...) @abort() #4 unreachable 57: ; preds = %51 store double 0.000000e+00, ptr %5, align 8 store double 0.000000e+00, ptr %4, align 8 store i32 0, ptr %3, align 4 br label %58 58: ; preds = %68, %57 %59 = load i32, ptr %3, align 4 %60 = icmp slt i32 %59, 1000 br i1 %60, label %61, label %71 61: ; preds = %58 %62 = load i32, ptr %3, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds double, ptr %10, i64 %63 %65 = load double, ptr %64, align 8 %66 = load double, ptr %5, align 8 %67 = fmul double %66, %65 store double %67, ptr %5, align 8 br label %68 68: ; preds = %61 %69 = load i32, ptr %3, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %3, align 4 br label %58, !llvm.loop !10 71: ; preds = %58 store i32 0, ptr %3, align 4 br label %72 72: ; preds = %82, %71 %73 = load i32, ptr %3, align 4 %74 = icmp slt i32 %73, 1000 br i1 %74, label %75, label %85 75: ; preds = %72 %76 = load i32, ptr %3, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds double, ptr %10, i64 %77 %79 = load double, ptr %78, align 8 %80 = load double, ptr %4, align 8 %81 = fmul double %80, %79 store double %81, ptr %4, align 8 br label %82 82: ; preds = %75 %83 = load i32, ptr %3, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %3, align 4 br label %72, !llvm.loop !11 85: ; preds = %72 %86 = load double, ptr %5, align 8 %87 = load double, ptr %4, align 8 %88 = fsub double %86, %87 %89 = call double @llvm.fabs.f64(double %88) %90 = fcmp ogt double %89, 1.000000e-04 br i1 %90, label %91, label %93 91: ; preds = %85 %92 = call i32 (...) @abort() #4 unreachable 93: ; preds = %85 store double 5.000000e+00, ptr %5, align 8 store double 5.000000e+00, ptr %4, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %3, align 4 br label %94 94: ; preds = %110, %93 %95 = load i32, ptr %3, align 4 %96 = icmp slt i32 %95, 1000 br i1 %96, label %97, label %113 97: ; preds = %94 %98 = load i32, ptr %8, align 4 %99 = icmp ne i32 %98, 0 br i1 %99, label %100, label %107 100: ; preds = %97 %101 = load double, ptr %5, align 8 %102 = load i32, ptr %3, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds double, ptr %10, i64 %103 %105 = load double, ptr %104, align 8 %106 = fcmp ogt double %101, %105 br label %107 107: ; preds = %100, %97 %108 = phi i1 [ false, %97 ], [ %106, %100 ] %109 = zext i1 %108 to i32 store i32 %109, ptr %8, align 4 br label %110 110: ; preds = %107 %111 = load i32, ptr %3, align 4 %112 = add nsw i32 %111, 1 store i32 %112, ptr %3, align 4 br label %94, !llvm.loop !12 113: ; preds = %94 store i32 0, ptr %3, align 4 br label %114 114: ; preds = %130, %113 %115 = load i32, ptr %3, align 4 %116 = icmp slt i32 %115, 1000 br i1 %116, label %117, label %133 117: ; preds = %114 %118 = load i32, ptr %8, align 4 %119 = icmp ne i32 %118, 0 br i1 %119, label %120, label %127 120: ; preds = %117 %121 = load double, ptr %5, align 8 %122 = load i32, ptr %3, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds double, ptr %10, i64 %123 %125 = load double, ptr %124, align 8 %126 = fcmp ogt double %121, %125 br label %127 127: ; preds = %120, %117 %128 = phi i1 [ false, %117 ], [ %126, %120 ] %129 = zext i1 %128 to i32 store i32 %129, ptr %7, align 4 br label %130 130: ; preds = %127 %131 = load i32, ptr %3, align 4 %132 = add nsw i32 %131, 1 store i32 %132, ptr %3, align 4 br label %114, !llvm.loop !13 133: ; preds = %114 %134 = load i32, ptr %8, align 4 %135 = load i32, ptr %7, align 4 %136 = icmp ne i32 %134, %135 br i1 %136, label %137, label %139 137: ; preds = %133 %138 = call i32 (...) @abort() #4 unreachable 139: ; preds = %133 store double 5.000000e+00, ptr %5, align 8 store double 5.000000e+00, ptr %4, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %3, align 4 br label %140 140: ; preds = %156, %139 %141 = load i32, ptr %3, align 4 %142 = icmp slt i32 %141, 1000 br i1 %142, label %143, label %159 143: ; preds = %140 %144 = load i32, ptr %8, align 4 %145 = icmp ne i32 %144, 0 br i1 %145, label %153, label %146 146: ; preds = %143 %147 = load double, ptr %5, align 8 %148 = load i32, ptr %3, align 4 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds double, ptr %10, i64 %149 %151 = load double, ptr %150, align 8 %152 = fcmp ogt double %147, %151 br label %153 153: ; preds = %146, %143 %154 = phi i1 [ true, %143 ], [ %152, %146 ] %155 = zext i1 %154 to i32 store i32 %155, ptr %8, align 4 br label %156 156: ; preds = %153 %157 = load i32, ptr %3, align 4 %158 = add nsw i32 %157, 1 store i32 %158, ptr %3, align 4 br label %140, !llvm.loop !14 159: ; preds = %140 store i32 0, ptr %3, align 4 br label %160 160: ; preds = %176, %159 %161 = load i32, ptr %3, align 4 %162 = icmp slt i32 %161, 1000 br i1 %162, label %163, label %179 163: ; preds = %160 %164 = load i32, ptr %8, align 4 %165 = icmp ne i32 %164, 0 br i1 %165, label %173, label %166 166: ; preds = %163 %167 = load double, ptr %5, align 8 %168 = load i32, ptr %3, align 4 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds double, ptr %10, i64 %169 %171 = load double, ptr %170, align 8 %172 = fcmp ogt double %167, %171 br label %173 173: ; preds = %166, %163 %174 = phi i1 [ true, %163 ], [ %172, %166 ] %175 = zext i1 %174 to i32 store i32 %175, ptr %7, align 4 br label %176 176: ; preds = %173 %177 = load i32, ptr %3, align 4 %178 = add nsw i32 %177, 1 store i32 %178, ptr %3, align 4 br label %160, !llvm.loop !15 179: ; preds = %160 %180 = load i32, ptr %8, align 4 %181 = load i32, ptr %7, align 4 %182 = icmp ne i32 %180, %181 br i1 %182, label %183, label %185 183: ; preds = %179 %184 = call i32 (...) @abort() #4 unreachable 185: ; preds = %179 store i32 0, ptr %1, align 4 %186 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %186) %187 = load i32, ptr %1, align 4 ret i32 %187 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #3 ; 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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphae_lez6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1000, ptr %2, align 4 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %6, align 8 %10 = alloca double, i64 1000, align 16 store i32 0, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %11, 1000 br i1 %12, label %.lr.ph, label %24 .lr.ph: ; preds = %0 br label %13 13: ; preds = %.lr.ph, %19 %14 = load i32, ptr %3, align 4 %15 = sitofp i32 %14 to double %16 = load i32, ptr %3, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds double, ptr %10, i64 %17 store double %15, ptr %18, align 8 br label %19 19: ; preds = %13 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %3, align 4 %22 = load i32, ptr %3, align 4 %23 = icmp slt i32 %22, 1000 br i1 %23, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %0 store double 0.000000e+00, ptr %5, align 8 store double 0.000000e+00, ptr %4, align 8 store i32 0, ptr %3, align 4 %25 = load i32, ptr %3, align 4 %26 = icmp slt i32 %25, 1000 br i1 %26, label %.lr.ph2, label %39 .lr.ph2: ; preds = %24 br label %27 27: ; preds = %.lr.ph2, %34 %28 = load i32, ptr %3, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds double, ptr %10, i64 %29 %31 = load double, ptr %30, align 8 %32 = load double, ptr %5, align 8 %33 = fadd double %32, %31 store double %33, ptr %5, align 8 br label %34 34: ; preds = %27 %35 = load i32, ptr %3, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %3, align 4 %37 = load i32, ptr %3, align 4 %38 = icmp slt i32 %37, 1000 br i1 %38, label %27, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %34 br label %39 39: ; preds = %._crit_edge3, %24 store i32 0, ptr %3, align 4 %40 = load i32, ptr %3, align 4 %41 = icmp slt i32 %40, 1000 br i1 %41, label %.lr.ph5, label %54 .lr.ph5: ; preds = %39 br label %42 42: ; preds = %.lr.ph5, %49 %43 = load i32, ptr %3, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds double, ptr %10, i64 %44 %46 = load double, ptr %45, align 8 %47 = load double, ptr %4, align 8 %48 = fadd double %47, %46 store double %48, ptr %4, align 8 br label %49 49: ; preds = %42 %50 = load i32, ptr %3, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %3, align 4 %52 = load i32, ptr %3, align 4 %53 = icmp slt i32 %52, 1000 br i1 %53, label %42, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %49 br label %54 54: ; preds = %._crit_edge6, %39 %55 = load double, ptr %5, align 8 %56 = load double, ptr %4, align 8 %57 = fcmp une double %55, %56 br i1 %57, label %58, label %60 58: ; preds = %54 %59 = call i32 (...) @abort() #4 unreachable 60: ; preds = %54 store double 0.000000e+00, ptr %5, align 8 store double 0.000000e+00, ptr %4, align 8 store i32 0, ptr %3, align 4 %61 = load i32, ptr %3, align 4 %62 = icmp slt i32 %61, 1000 br i1 %62, label %.lr.ph8, label %75 .lr.ph8: ; preds = %60 br label %63 63: ; preds = %.lr.ph8, %70 %64 = load i32, ptr %3, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds double, ptr %10, i64 %65 %67 = load double, ptr %66, align 8 %68 = load double, ptr %5, align 8 %69 = fmul double %68, %67 store double %69, ptr %5, align 8 br label %70 70: ; preds = %63 %71 = load i32, ptr %3, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %3, align 4 %73 = load i32, ptr %3, align 4 %74 = icmp slt i32 %73, 1000 br i1 %74, label %63, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %70 br label %75 75: ; preds = %._crit_edge9, %60 store i32 0, ptr %3, align 4 %76 = load i32, ptr %3, align 4 %77 = icmp slt i32 %76, 1000 br i1 %77, label %.lr.ph11, label %90 .lr.ph11: ; preds = %75 br label %78 78: ; preds = %.lr.ph11, %85 %79 = load i32, ptr %3, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds double, ptr %10, i64 %80 %82 = load double, ptr %81, align 8 %83 = load double, ptr %4, align 8 %84 = fmul double %83, %82 store double %84, ptr %4, align 8 br label %85 85: ; preds = %78 %86 = load i32, ptr %3, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %3, align 4 %88 = load i32, ptr %3, align 4 %89 = icmp slt i32 %88, 1000 br i1 %89, label %78, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %85 br label %90 90: ; preds = %._crit_edge12, %75 %91 = load double, ptr %5, align 8 %92 = load double, ptr %4, align 8 %93 = fsub double %91, %92 %94 = call double @llvm.fabs.f64(double %93) %95 = fcmp ogt double %94, 1.000000e-04 br i1 %95, label %96, label %98 96: ; preds = %90 %97 = call i32 (...) @abort() #4 unreachable 98: ; preds = %90 store double 5.000000e+00, ptr %5, align 8 store double 5.000000e+00, ptr %4, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %3, align 4 %99 = load i32, ptr %3, align 4 %100 = icmp slt i32 %99, 1000 br i1 %100, label %.lr.ph14, label %119 .lr.ph14: ; preds = %98 br label %101 101: ; preds = %.lr.ph14, %114 %102 = load i32, ptr %8, align 4 %103 = icmp ne i32 %102, 0 br i1 %103, label %104, label %111 104: ; preds = %101 %105 = load double, ptr %5, align 8 %106 = load i32, ptr %3, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds double, ptr %10, i64 %107 %109 = load double, ptr %108, align 8 %110 = fcmp ogt double %105, %109 br label %111 111: ; preds = %104, %101 %112 = phi i1 [ false, %101 ], [ %110, %104 ] %113 = zext i1 %112 to i32 store i32 %113, ptr %8, align 4 br label %114 114: ; preds = %111 %115 = load i32, ptr %3, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %3, align 4 %117 = load i32, ptr %3, align 4 %118 = icmp slt i32 %117, 1000 br i1 %118, label %101, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %114 br label %119 119: ; preds = %._crit_edge15, %98 store i32 0, ptr %3, align 4 %120 = load i32, ptr %3, align 4 %121 = icmp slt i32 %120, 1000 br i1 %121, label %.lr.ph17, label %140 .lr.ph17: ; preds = %119 br label %122 122: ; preds = %.lr.ph17, %135 %123 = load i32, ptr %8, align 4 %124 = icmp ne i32 %123, 0 br i1 %124, label %125, label %132 125: ; preds = %122 %126 = load double, ptr %5, align 8 %127 = load i32, ptr %3, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds double, ptr %10, i64 %128 %130 = load double, ptr %129, align 8 %131 = fcmp ogt double %126, %130 br label %132 132: ; preds = %125, %122 %133 = phi i1 [ false, %122 ], [ %131, %125 ] %134 = zext i1 %133 to i32 store i32 %134, ptr %7, align 4 br label %135 135: ; preds = %132 %136 = load i32, ptr %3, align 4 %137 = add nsw i32 %136, 1 store i32 %137, ptr %3, align 4 %138 = load i32, ptr %3, align 4 %139 = icmp slt i32 %138, 1000 br i1 %139, label %122, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %135 br label %140 140: ; preds = %._crit_edge18, %119 %141 = load i32, ptr %8, align 4 %142 = load i32, ptr %7, align 4 %143 = icmp ne i32 %141, %142 br i1 %143, label %144, label %146 144: ; preds = %140 %145 = call i32 (...) @abort() #4 unreachable 146: ; preds = %140 store double 5.000000e+00, ptr %5, align 8 store double 5.000000e+00, ptr %4, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %3, align 4 %147 = load i32, ptr %3, align 4 %148 = icmp slt i32 %147, 1000 br i1 %148, label %.lr.ph20, label %167 .lr.ph20: ; preds = %146 br label %149 149: ; preds = %.lr.ph20, %162 %150 = load i32, ptr %8, align 4 %151 = icmp ne i32 %150, 0 br i1 %151, label %159, label %152 152: ; preds = %149 %153 = load double, ptr %5, align 8 %154 = load i32, ptr %3, align 4 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds double, ptr %10, i64 %155 %157 = load double, ptr %156, align 8 %158 = fcmp ogt double %153, %157 br label %159 159: ; preds = %152, %149 %160 = phi i1 [ true, %149 ], [ %158, %152 ] %161 = zext i1 %160 to i32 store i32 %161, ptr %8, align 4 br label %162 162: ; preds = %159 %163 = load i32, ptr %3, align 4 %164 = add nsw i32 %163, 1 store i32 %164, ptr %3, align 4 %165 = load i32, ptr %3, align 4 %166 = icmp slt i32 %165, 1000 br i1 %166, label %149, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %162 br label %167 167: ; preds = %._crit_edge21, %146 store i32 0, ptr %3, align 4 %168 = load i32, ptr %3, align 4 %169 = icmp slt i32 %168, 1000 br i1 %169, label %.lr.ph23, label %188 .lr.ph23: ; preds = %167 br label %170 170: ; preds = %.lr.ph23, %183 %171 = load i32, ptr %8, align 4 %172 = icmp ne i32 %171, 0 br i1 %172, label %180, label %173 173: ; preds = %170 %174 = load double, ptr %5, align 8 %175 = load i32, ptr %3, align 4 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds double, ptr %10, i64 %176 %178 = load double, ptr %177, align 8 %179 = fcmp ogt double %174, %178 br label %180 180: ; preds = %173, %170 %181 = phi i1 [ true, %170 ], [ %179, %173 ] %182 = zext i1 %181 to i32 store i32 %182, ptr %7, align 4 br label %183 183: ; preds = %180 %184 = load i32, ptr %3, align 4 %185 = add nsw i32 %184, 1 store i32 %185, ptr %3, align 4 %186 = load i32, ptr %3, align 4 %187 = icmp slt i32 %186, 1000 br i1 %187, label %170, label %._crit_edge24, !llvm.loop !15 ._crit_edge24: ; preds = %183 br label %188 188: ; preds = %._crit_edge24, %167 %189 = load i32, ptr %8, align 4 %190 = load i32, ptr %7, align 4 %191 = icmp ne i32 %189, %190 br i1 %191, label %192, label %194 192: ; preds = %188 %193 = call i32 (...) @abort() #4 unreachable 194: ; preds = %188 store i32 0, ptr %1, align 4 %195 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %195) %196 = load i32, ptr %1, align 4 ret i32 %196 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #3 ; 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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7}
; ModuleID = '/tmp/tmpm535nf7d.c' source_filename = "/tmp/tmpm535nf7d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter a number: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [40 x i8] c"The digit %d is encountered %d time(s)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca i32, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 40, i1 false) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) br label %6 6: ; preds = %9, %0 %7 = load i32, ptr %1, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %18 9: ; preds = %6 %10 = load i32, ptr %1, align 4 %11 = srem i32 %10, 10 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %12 %14 = load i32, ptr %13, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %13, align 4 %16 = load i32, ptr %1, align 4 %17 = sdiv i32 %16, 10 store i32 %17, ptr %1, align 4 br label %6, !llvm.loop !6 18: ; preds = %6 store i32 0, ptr %3, align 4 br label %19 19: ; preds = %36, %18 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %20, 10 br i1 %21, label %22, label %39 22: ; preds = %19 %23 = load i32, ptr %3, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %24 %26 = load i32, ptr %25, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %35 28: ; preds = %22 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %31 %33 = load i32, ptr %32, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %29, i32 noundef %33) br label %35 35: ; preds = %28, %22 br label %36 36: ; preds = %35 %37 = load i32, ptr %3, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %3, align 4 br label %19, !llvm.loop !8 39: ; preds = %19 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @scanf(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm535nf7d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter a number: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [40 x i8] c"The digit %d is encountered %d time(s)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca i32, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 40, i1 false) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) %6 = load i32, ptr %1, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %8 %9 = load i32, ptr %1, align 4 %10 = srem i32 %9, 10 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %11 %13 = load i32, ptr %12, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %12, align 4 %15 = load i32, ptr %1, align 4 %16 = sdiv i32 %15, 10 store i32 %16, ptr %1, align 4 %17 = load i32, ptr %1, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %19 19: ; preds = %._crit_edge, %0 store i32 0, ptr %3, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %20, 10 br i1 %21, label %.lr.ph2, label %41 .lr.ph2: ; preds = %19 br label %22 22: ; preds = %.lr.ph2, %36 %23 = load i32, ptr %3, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %24 %26 = load i32, ptr %25, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %35 28: ; preds = %22 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %31 %33 = load i32, ptr %32, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %29, i32 noundef %33) br label %35 35: ; preds = %28, %22 br label %36 36: ; preds = %35 %37 = load i32, ptr %3, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %3, align 4 %39 = load i32, ptr %3, align 4 %40 = icmp slt i32 %39, 10 br i1 %40, label %22, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %36 br label %41 41: ; preds = %._crit_edge3, %19 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @scanf(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp7na59glc.c' source_filename = "/tmp/tmp7na59glc.c" target datalayout = "e-m:e-p270: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/tmp7na59glc.c" target datalayout = "e-m:e-p270: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/tmp3zpx1lm6.c' source_filename = "/tmp/tmp3zpx1lm6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"month_day failed: %d %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"bad result: %d %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"month = %d, day = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1970, ptr %2, align 4 br label %6 6: ; preds = %42, %0 %7 = load i32, ptr %2, align 4 %8 = icmp sle i32 %7, 2000 br i1 %8, label %9, label %45 9: ; preds = %6 store i32 1, ptr %5, align 4 br label %10 10: ; preds = %38, %9 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %11, 366 br i1 %12, label %13, label %41 13: ; preds = %10 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %5, align 4 %16 = call i32 @month_day(i32 noundef %14, i32 noundef %15, ptr noundef %3, ptr noundef %4) %17 = icmp eq i32 %16, -1 br i1 %17, label %18, label %22 18: ; preds = %13 %19 = load i32, ptr %2, align 4 %20 = load i32, ptr %5, align 4 %21 = call i32 @printf(ptr noundef @.str, i32 noundef %19, i32 noundef %20) br label %37 22: ; preds = %13 %23 = load i32, ptr %2, align 4 %24 = load i32, ptr %3, align 4 %25 = load i32, ptr %4, align 4 %26 = call i32 @day_of_year(i32 noundef %23, i32 noundef %24, i32 noundef %25) %27 = load i32, ptr %5, align 4 %28 = icmp ne i32 %26, %27 br i1 %28, label %29, label %36 29: ; preds = %22 %30 = load i32, ptr %2, align 4 %31 = load i32, ptr %5, align 4 %32 = call i32 @printf(ptr noundef @.str.1, i32 noundef %30, i32 noundef %31) %33 = load i32, ptr %3, align 4 %34 = load i32, ptr %4, align 4 %35 = call i32 @printf(ptr noundef @.str.2, i32 noundef %33, i32 noundef %34) br label %36 36: ; preds = %29, %22 br label %37 37: ; preds = %36, %18 br label %38 38: ; preds = %37 %39 = load i32, ptr %5, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %5, align 4 br label %10, !llvm.loop !6 41: ; preds = %10 br label %42 42: ; preds = %41 %43 = load i32, ptr %2, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %2, align 4 br label %6, !llvm.loop !8 45: ; preds = %6 ret i32 0 } declare i32 @month_day(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @day_of_year(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3zpx1lm6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"month_day failed: %d %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"bad result: %d %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"month = %d, day = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1970, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp sle i32 %6, 2000 br i1 %7, label %.lr.ph2, label %47 .lr.ph2: ; preds = %0 br label %8 8: ; preds = %.lr.ph2, %42 store i32 1, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 366 br i1 %10, label %.lr.ph, label %41 .lr.ph: ; preds = %8 br label %11 11: ; preds = %.lr.ph, %36 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %5, align 4 %14 = call i32 @month_day(i32 noundef %12, i32 noundef %13, ptr noundef %3, ptr noundef %4) %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %20 16: ; preds = %11 %17 = load i32, ptr %2, align 4 %18 = load i32, ptr %5, align 4 %19 = call i32 @printf(ptr noundef @.str, i32 noundef %17, i32 noundef %18) br label %35 20: ; preds = %11 %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %3, align 4 %23 = load i32, ptr %4, align 4 %24 = call i32 @day_of_year(i32 noundef %21, i32 noundef %22, i32 noundef %23) %25 = load i32, ptr %5, align 4 %26 = icmp ne i32 %24, %25 br i1 %26, label %27, label %34 27: ; preds = %20 %28 = load i32, ptr %2, align 4 %29 = load i32, ptr %5, align 4 %30 = call i32 @printf(ptr noundef @.str.1, i32 noundef %28, i32 noundef %29) %31 = load i32, ptr %3, align 4 %32 = load i32, ptr %4, align 4 %33 = call i32 @printf(ptr noundef @.str.2, i32 noundef %31, i32 noundef %32) br label %34 34: ; preds = %27, %20 br label %35 35: ; preds = %34, %16 br label %36 36: ; preds = %35 %37 = load i32, ptr %5, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %5, align 4 %39 = load i32, ptr %5, align 4 %40 = icmp slt i32 %39, 366 br i1 %40, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %41 41: ; preds = %._crit_edge, %8 br label %42 42: ; preds = %41 %43 = load i32, ptr %2, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %2, align 4 %45 = load i32, ptr %2, align 4 %46 = icmp sle i32 %45, 2000 br i1 %46, label %8, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %42 br label %47 47: ; preds = %._crit_edge3, %0 ret i32 0 } declare i32 @month_day(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @day_of_year(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpmmewcg_n.c' source_filename = "/tmp/tmpmmewcg_n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"truncate(): file=%s, size=%ld\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"(null)\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [12 x i8] c"\09\09ret = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"\09Succeeded Phase 1\0A\00", align 1 @.str.4 = private unnamed_addr constant [53 x i8] c"\09Failed Phase 1: returned undefined value! ret = %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [43 x i8] c"Internal syscalltester error: passed = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @truncate_test(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %11 10: ; preds = %2 br label %13 11: ; preds = %2 %12 = load ptr, ptr %3, align 8 br label %13 13: ; preds = %11, %10 %14 = phi ptr [ @.str.1, %10 ], [ %12, %11 ] %15 = load i64, ptr %4, align 8 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %14, i64 noundef %15) %17 = call i32 @fflush(ptr noundef null) %18 = load ptr, ptr %3, align 8 %19 = load i64, ptr %4, align 8 %20 = call i32 @truncate(ptr noundef %18, i64 noundef %19) store i32 %20, ptr %5, align 4 %21 = call i32 @handle_zng(i32 noundef %20) store i32 %21, ptr %7, align 4 %22 = load i32, ptr @errno, align 4 store i32 %22, ptr %6, align 4 %23 = load i32, ptr %7, align 4 switch i32 %23, label %33 [ i32 -1, label %24 i32 0, label %24 i32 -2, label %29 ] 24: ; preds = %13, %13 %25 = load i32, ptr %5, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %25) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %28 = call i32 @fflush(ptr noundef null) br label %37 29: ; preds = %13 %30 = load i32, ptr %5, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %30) %32 = call i32 @fflush(ptr noundef null) br label %37 33: ; preds = %13 %34 = load i32, ptr %7, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %34) %36 = call i32 @fflush(ptr noundef null) br label %37 37: ; preds = %33, %29, %24 %38 = load i32, ptr %6, align 4 store i32 %38, ptr @errno, align 4 %39 = load i32, ptr %5, align 4 ret i32 %39 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fflush(ptr noundef) #1 declare i32 @handle_zng(i32 noundef) #1 declare i32 @truncate(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmmewcg_n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"truncate(): file=%s, size=%ld\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"(null)\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [12 x i8] c"\09\09ret = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"\09Succeeded Phase 1\0A\00", align 1 @.str.4 = private unnamed_addr constant [53 x i8] c"\09Failed Phase 1: returned undefined value! ret = %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [43 x i8] c"Internal syscalltester error: passed = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @truncate_test(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %11 10: ; preds = %2 br label %13 11: ; preds = %2 %12 = load ptr, ptr %3, align 8 br label %13 13: ; preds = %11, %10 %14 = phi ptr [ @.str.1, %10 ], [ %12, %11 ] %15 = load i64, ptr %4, align 8 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %14, i64 noundef %15) %17 = call i32 @fflush(ptr noundef null) %18 = load ptr, ptr %3, align 8 %19 = load i64, ptr %4, align 8 %20 = call i32 @truncate(ptr noundef %18, i64 noundef %19) store i32 %20, ptr %5, align 4 %21 = call i32 @handle_zng(i32 noundef %20) store i32 %21, ptr %7, align 4 %22 = load i32, ptr @errno, align 4 store i32 %22, ptr %6, align 4 %23 = load i32, ptr %7, align 4 switch i32 %23, label %33 [ i32 -1, label %24 i32 0, label %24 i32 -2, label %29 ] 24: ; preds = %13, %13 %25 = load i32, ptr %5, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %25) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %28 = call i32 @fflush(ptr noundef null) br label %37 29: ; preds = %13 %30 = load i32, ptr %5, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %30) %32 = call i32 @fflush(ptr noundef null) br label %37 33: ; preds = %13 %34 = load i32, ptr %7, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %34) %36 = call i32 @fflush(ptr noundef null) br label %37 37: ; preds = %33, %29, %24 %38 = load i32, ptr %6, align 4 store i32 %38, ptr @errno, align 4 %39 = load i32, ptr %5, align 4 ret i32 %39 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fflush(ptr noundef) #1 declare i32 @handle_zng(i32 noundef) #1 declare i32 @truncate(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpos8oios5.c' source_filename = "/tmp/tmpos8oios5.c" target datalayout = "e-m:e-p270: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/tmpos8oios5.c" target datalayout = "e-m:e-p270: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/tmpfk9mrnis.c' source_filename = "/tmp/tmpfk9mrnis.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [4 x i8] c"{1D\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"=\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"npow\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"nbas\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"xstart\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"xend\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"}\00", align 1 @.str.8 = private unnamed_addr constant [70 x i8] c"\0A Cannot open input file %s, using default parameters for {harmonic}\0A\00", align 1 @.str.9 = private unnamed_addr constant [28 x i8] c"\0A Entire {1D} line: \0A {1D: \00", align 1 @.str.10 = private unnamed_addr constant [59 x i8] c"npow = %5i, nbas = %5i, xstart = %15.10f, xend = %15.10f}\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @parse_1d(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %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 %11 = alloca [82 x i8], align 16 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 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 store ptr %4, ptr %10, align 8 %14 = load ptr, ptr %6, align 8 %15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str) store ptr %15, ptr %13, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %92 17: ; preds = %5 br label %18 18: ; preds = %88, %17 %19 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0 %20 = load ptr, ptr %13, align 8 %21 = call ptr @fgets(ptr noundef %19, i32 noundef 80, ptr noundef %20) %22 = icmp ne ptr %21, null br i1 %22, label %23, label %89 23: ; preds = %18 %24 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0 %25 = call ptr @strstr(ptr noundef %24, ptr noundef @.str.1) %26 = icmp ne ptr %25, null br i1 %26, label %27, label %88 27: ; preds = %23 br label %28 28: ; preds = %82, %27 %29 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0 %30 = call ptr @strtok(ptr noundef %29, ptr noundef @.str.2) store ptr %30, ptr %12, align 8 br label %31 31: ; preds = %75, %28 %32 = load ptr, ptr %12, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %34, label %76 34: ; preds = %31 %35 = load ptr, ptr %12, align 8 %36 = call ptr @strstr(ptr noundef %35, ptr noundef @.str.3) %37 = icmp ne ptr %36, null br i1 %37, label %38, label %43 38: ; preds = %34 %39 = call ptr @strtok(ptr noundef null, ptr noundef @.str.2) store ptr %39, ptr %12, align 8 %40 = load ptr, ptr %12, align 8 %41 = call i32 @atoi(ptr noundef %40) %42 = load ptr, ptr %7, align 8 store i32 %41, ptr %42, align 4 br label %75 43: ; preds = %34 %44 = load ptr, ptr %12, align 8 %45 = call ptr @strstr(ptr noundef %44, ptr noundef @.str.4) %46 = icmp ne ptr %45, null br i1 %46, label %47, label %52 47: ; preds = %43 %48 = call ptr @strtok(ptr noundef null, ptr noundef @.str.2) store ptr %48, ptr %12, align 8 %49 = load ptr, ptr %12, align 8 %50 = call i32 @atoi(ptr noundef %49) %51 = load ptr, ptr %8, align 8 store i32 %50, ptr %51, align 4 br label %74 52: ; preds = %43 %53 = load ptr, ptr %12, align 8 %54 = call ptr @strstr(ptr noundef %53, ptr noundef @.str.5) %55 = icmp ne ptr %54, null br i1 %55, label %56, label %61 56: ; preds = %52 %57 = call ptr @strtok(ptr noundef null, ptr noundef @.str.2) store ptr %57, ptr %12, align 8 %58 = load ptr, ptr %12, align 8 %59 = call double @atof(ptr noundef %58) %60 = load ptr, ptr %9, align 8 store double %59, ptr %60, align 8 br label %73 61: ; preds = %52 %62 = load ptr, ptr %12, align 8 %63 = call ptr @strstr(ptr noundef %62, ptr noundef @.str.6) %64 = icmp ne ptr %63, null br i1 %64, label %65, label %70 65: ; preds = %61 %66 = call ptr @strtok(ptr noundef null, ptr noundef @.str.2) store ptr %66, ptr %12, align 8 %67 = load ptr, ptr %12, align 8 %68 = call double @atof(ptr noundef %67) %69 = load ptr, ptr %10, align 8 store double %68, ptr %69, align 8 br label %72 70: ; preds = %61 %71 = call ptr @strtok(ptr noundef null, ptr noundef @.str.2) store ptr %71, ptr %12, align 8 br label %72 72: ; preds = %70, %65 br label %73 73: ; preds = %72, %56 br label %74 74: ; preds = %73, %47 br label %75 75: ; preds = %74, %38 br label %31, !llvm.loop !6 76: ; preds = %31 %77 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0 %78 = call ptr @strstr(ptr noundef %77, ptr noundef @.str.7) %79 = icmp ne ptr %78, null br i1 %79, label %80, label %81 80: ; preds = %76 br label %87 81: ; preds = %76 br label %82 82: ; preds = %81 %83 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0 %84 = load ptr, ptr %13, align 8 %85 = call ptr @fgets(ptr noundef %83, i32 noundef 80, ptr noundef %84) %86 = icmp ne ptr %85, null br i1 %86, label %28, label %87, !llvm.loop !8 87: ; preds = %82, %80 br label %88 88: ; preds = %87, %23 br label %18, !llvm.loop !9 89: ; preds = %18 %90 = load ptr, ptr %13, align 8 %91 = call i32 @fclose(ptr noundef %90) br label %95 92: ; preds = %5 %93 = load ptr, ptr %6, align 8 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %93) br label %95 95: ; preds = %92, %89 %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %97 = load ptr, ptr %7, align 8 %98 = load i32, ptr %97, align 4 %99 = load ptr, ptr %8, align 8 %100 = load i32, ptr %99, align 4 %101 = load ptr, ptr %9, align 8 %102 = load double, ptr %101, align 8 %103 = load ptr, ptr %10, align 8 %104 = load double, ptr %103, align 8 %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %98, i32 noundef %100, double noundef %102, double noundef %104) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare double @atof(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfk9mrnis.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [4 x i8] c"{1D\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"=\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"npow\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"nbas\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"xstart\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"xend\00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"}\00", align 1 @.str.8 = private unnamed_addr constant [70 x i8] c"\0A Cannot open input file %s, using default parameters for {harmonic}\0A\00", align 1 @.str.9 = private unnamed_addr constant [28 x i8] c"\0A Entire {1D} line: \0A {1D: \00", align 1 @.str.10 = private unnamed_addr constant [59 x i8] c"npow = %5i, nbas = %5i, xstart = %15.10f, xend = %15.10f}\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @parse_1d(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %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 %11 = alloca [82 x i8], align 16 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 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 store ptr %4, ptr %10, align 8 %14 = load ptr, ptr %6, align 8 %15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str) store ptr %15, ptr %13, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %95 17: ; preds = %5 %18 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0 %19 = load ptr, ptr %13, align 8 %20 = call ptr @fgets(ptr noundef %18, i32 noundef 80, ptr noundef %19) %21 = icmp ne ptr %20, null br i1 %21, label %.lr.ph2, label %92 .lr.ph2: ; preds = %17 br label %22 22: ; preds = %.lr.ph2, %88 %23 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0 %24 = call ptr @strstr(ptr noundef %23, ptr noundef @.str.1) %25 = icmp ne ptr %24, null br i1 %25, label %26, label %88 26: ; preds = %22 br label %27 27: ; preds = %82, %26 %28 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0 %29 = call ptr @strtok(ptr noundef %28, ptr noundef @.str.2) store ptr %29, ptr %12, align 8 %30 = load ptr, ptr %12, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %.lr.ph, label %76 .lr.ph: ; preds = %27 br label %32 32: ; preds = %.lr.ph, %73 %33 = load ptr, ptr %12, align 8 %34 = call ptr @strstr(ptr noundef %33, ptr noundef @.str.3) %35 = icmp ne ptr %34, null br i1 %35, label %36, label %41 36: ; preds = %32 %37 = call ptr @strtok(ptr noundef null, ptr noundef @.str.2) store ptr %37, ptr %12, align 8 %38 = load ptr, ptr %12, align 8 %39 = call i32 @atoi(ptr noundef %38) %40 = load ptr, ptr %7, align 8 store i32 %39, ptr %40, align 4 br label %73 41: ; preds = %32 %42 = load ptr, ptr %12, align 8 %43 = call ptr @strstr(ptr noundef %42, ptr noundef @.str.4) %44 = icmp ne ptr %43, null br i1 %44, label %45, label %50 45: ; preds = %41 %46 = call ptr @strtok(ptr noundef null, ptr noundef @.str.2) store ptr %46, ptr %12, align 8 %47 = load ptr, ptr %12, align 8 %48 = call i32 @atoi(ptr noundef %47) %49 = load ptr, ptr %8, align 8 store i32 %48, ptr %49, align 4 br label %72 50: ; preds = %41 %51 = load ptr, ptr %12, align 8 %52 = call ptr @strstr(ptr noundef %51, ptr noundef @.str.5) %53 = icmp ne ptr %52, null br i1 %53, label %54, label %59 54: ; preds = %50 %55 = call ptr @strtok(ptr noundef null, ptr noundef @.str.2) store ptr %55, ptr %12, align 8 %56 = load ptr, ptr %12, align 8 %57 = call double @atof(ptr noundef %56) %58 = load ptr, ptr %9, align 8 store double %57, ptr %58, align 8 br label %71 59: ; preds = %50 %60 = load ptr, ptr %12, align 8 %61 = call ptr @strstr(ptr noundef %60, ptr noundef @.str.6) %62 = icmp ne ptr %61, null br i1 %62, label %63, label %68 63: ; preds = %59 %64 = call ptr @strtok(ptr noundef null, ptr noundef @.str.2) store ptr %64, ptr %12, align 8 %65 = load ptr, ptr %12, align 8 %66 = call double @atof(ptr noundef %65) %67 = load ptr, ptr %10, align 8 store double %66, ptr %67, align 8 br label %70 68: ; preds = %59 %69 = call ptr @strtok(ptr noundef null, ptr noundef @.str.2) store ptr %69, ptr %12, align 8 br label %70 70: ; preds = %68, %63 br label %71 71: ; preds = %70, %54 br label %72 72: ; preds = %71, %45 br label %73 73: ; preds = %72, %36 %74 = load ptr, ptr %12, align 8 %75 = icmp ne ptr %74, null br i1 %75, label %32, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %73 br label %76 76: ; preds = %._crit_edge, %27 %77 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0 %78 = call ptr @strstr(ptr noundef %77, ptr noundef @.str.7) %79 = icmp ne ptr %78, null br i1 %79, label %80, label %81 80: ; preds = %76 br label %87 81: ; preds = %76 br label %82 82: ; preds = %81 %83 = getelementptr inbounds [82 x i8], ptr %11, i64 0, i64 0 %84 = load ptr, ptr %13, align 8 %85 = call ptr @fgets(ptr noundef %83, i32 noundef 80, ptr noundef %84) %86 = icmp ne ptr %85, null br i1 %86, label %27, label %.loopexit, !llvm.loop !8 .loopexit: ; preds = %82 br label %87 87: ; preds = %.loopexit, %80 br label %88 88: ; preds = %87, %22 %89 = load ptr, ptr %13, align 8 %90 = call ptr @fgets(ptr noundef %18, i32 noundef 80, ptr noundef %89) %91 = icmp ne ptr %90, null br i1 %91, label %22, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %88 br label %92 92: ; preds = %._crit_edge3, %17 %93 = load ptr, ptr %13, align 8 %94 = call i32 @fclose(ptr noundef %93) br label %98 95: ; preds = %5 %96 = load ptr, ptr %6, align 8 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %96) br label %98 98: ; preds = %95, %92 %99 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %100 = load ptr, ptr %7, align 8 %101 = load i32, ptr %100, align 4 %102 = load ptr, ptr %8, align 8 %103 = load i32, ptr %102, align 4 %104 = load ptr, ptr %9, align 8 %105 = load double, ptr %104, align 8 %106 = load ptr, ptr %10, align 8 %107 = load double, ptr %106, align 8 %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %101, i32 noundef %103, double noundef %105, double noundef %107) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare double @atof(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpy1r6j5dd.c' source_filename = "/tmp/tmpy1r6j5dd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isodigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isodigit should be 0 for 0x07\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isodigit_0x07() #0 { %1 = call i64 @isodigit(i32 noundef 7) %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 40, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isodigit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy1r6j5dd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isodigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isodigit should be 0 for 0x07\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isodigit_0x07() #0 { %1 = call i64 @isodigit(i32 noundef 7) %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 40, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isodigit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpibbf3dwp.c' source_filename = "/tmp/tmpibbf3dwp.c" target datalayout = "e-m:e-p270: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.timeval = type { i32, i32 } %struct.sockaddr_in = type { i32, %struct.in_addr, i32, i32 } %struct.in_addr = type { i32 } %struct.hostent = type { i64 } @.str = private unnamed_addr constant [10 x i8] c"localhost\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [9 x i8] c"socket()\00", align 1 @F_GETFL = dso_local global i32 0, align 4 @O_NONBLOCK = dso_local global i32 0, align 4 @F_SETFL = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [34 x i8] c"Type (q or Q) at anytime to quit\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"select\00", align 1 @.str.4 = private unnamed_addr constant [50 x i8] c"Timeout occurred! No data after 10.5 seconds.\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"q\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"Q\00", align 1 @.str.7 = private unnamed_addr constant [30 x i8] c"\0AServer has exited the chat.\0A\00", align 1 @.str.8 = private unnamed_addr constant [21 x i8] c"\0A(%s , %d) said: %s\0A\00", align 1 @.str.9 = private unnamed_addr constant [9 x i8] c"ClIENT: \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [29 x i8] c"\0AOOPS! What happened? CLIENT\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca %struct.timeval, 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 %struct.sockaddr_in, align 4 %13 = alloca ptr, align 8 %14 = alloca [1024 x i8], align 16 %15 = alloca [1024 x i8], align 16 %16 = alloca i32, align 4 store i32 0, ptr %1, align 4 %17 = call i64 @gethostbyname(ptr noundef @.str) %18 = inttoptr i64 %17 to ptr store ptr %18, ptr %13, align 8 %19 = load i32, ptr @AF_INET, align 4 %20 = load i32, ptr @SOCK_DGRAM, align 4 %21 = call i32 @socket(i32 noundef %19, i32 noundef %20, i32 noundef 0) store i32 %21, ptr %9, align 4 %22 = icmp eq i32 %21, -1 br i1 %22, label %23, label %25 23: ; preds = %0 %24 = call i32 @error(ptr noundef @.str.1) br label %25 25: ; preds = %23, %0 %26 = load i32, ptr %9, align 4 %27 = load i32, ptr @F_GETFL, align 4 %28 = call i32 (i32, i32, ...) @fcntl(i32 noundef %26, i32 noundef %27) store i32 %28, ptr %8, align 4 %29 = load i32, ptr @O_NONBLOCK, align 4 %30 = load i32, ptr %8, align 4 %31 = or i32 %30, %29 store i32 %31, ptr %8, align 4 %32 = load i32, ptr %9, align 4 %33 = load i32, ptr @F_SETFL, align 4 %34 = load i32, ptr %8, align 4 %35 = call i32 (i32, i32, ...) @fcntl(i32 noundef %32, i32 noundef %33, i32 noundef %34) %36 = call i32 @FD_ZERO(ptr noundef %2) %37 = call i32 @FD_ZERO(ptr noundef %3) %38 = call i32 @FD_ZERO(ptr noundef %4) %39 = call i32 @FD_ZERO(ptr noundef %5) %40 = load i32, ptr %9, align 4 %41 = call i32 @FD_SET(i32 noundef %40, ptr noundef %2) %42 = load i32, ptr %9, align 4 %43 = call i32 @FD_SET(i32 noundef %42, ptr noundef %4) %44 = call i32 @FD_SET(i32 noundef 0, ptr noundef %3) %45 = call i32 @FD_SET(i32 noundef 0, ptr noundef %5) %46 = load i32, ptr %9, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %7, align 4 %48 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0 store i32 10, ptr %48, align 4 %49 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 1 store i32 500000, ptr %49, align 4 %50 = load i32, ptr @AF_INET, align 4 %51 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 3 store i32 %50, ptr %51, align 4 %52 = call i32 @htons(i32 noundef 5000) %53 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 0 store i32 %52, ptr %53, align 4 %54 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 1 %55 = load ptr, ptr %13, align 8 %56 = getelementptr inbounds %struct.hostent, ptr %55, i32 0, i32 0 %57 = load i64, ptr %56, align 8 %58 = inttoptr i64 %57 to ptr call void @llvm.memcpy.p0.p0.i64(ptr align 4 %54, ptr align 4 %58, i64 4, i1 false) %59 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 2 %60 = call i32 @bzero(ptr noundef %59, i32 noundef 8) store i32 4, ptr %11, align 4 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %62 62: ; preds = %25, %161 %63 = load i32, ptr %2, align 4 store i32 %63, ptr %4, align 4 %64 = load i32, ptr %3, align 4 store i32 %64, ptr %5, align 4 %65 = load i32, ptr %7, align 4 %66 = call i32 @select(i32 noundef %65, ptr noundef %4, ptr noundef %5, ptr noundef null, ptr noundef %6) store i32 %66, ptr %16, align 4 %67 = load i32, ptr %16, align 4 %68 = icmp eq i32 %67, -1 br i1 %68, label %69, label %71 69: ; preds = %62 %70 = call i32 @perror(ptr noundef @.str.3) br label %161 71: ; preds = %62 %72 = load i32, ptr %16, align 4 %73 = icmp eq i32 %72, 0 br i1 %73, label %74, label %76 74: ; preds = %71 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %160 76: ; preds = %71 %77 = load i32, ptr %9, align 4 %78 = call i64 @FD_ISSET(i32 noundef %77, ptr noundef %4) %79 = icmp ne i64 %78, 0 br i1 %79, label %80, label %108 80: ; preds = %76 %81 = load i32, ptr %9, align 4 %82 = call i32 @FD_CLR(i32 noundef %81, ptr noundef %4) %83 = load i32, ptr %9, align 4 %84 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 %85 = call i32 @recvfrom(i32 noundef %83, ptr noundef %84, i32 noundef 1024, i32 noundef 0, ptr noundef %12, ptr noundef %11) store i32 %85, ptr %10, align 4 %86 = load i32, ptr %10, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 %87 store i8 0, ptr %88, align 1 %89 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 %90 = call i64 @strcmp(ptr noundef %89, ptr noundef @.str.5) %91 = icmp eq i64 %90, 0 br i1 %91, label %96, label %92 92: ; preds = %80 %93 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 %94 = call i64 @strcmp(ptr noundef %93, ptr noundef @.str.6) %95 = icmp eq i64 %94, 0 br i1 %95, label %96, label %98 96: ; preds = %92, %80 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %162 98: ; preds = %92 %99 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 1 %100 = getelementptr inbounds %struct.in_addr, ptr %99, i32 0, i32 0 %101 = load i32, ptr %100, align 4 %102 = call ptr @inet_ntoa(i32 %101) %103 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 0 %104 = load i32, ptr %103, align 4 %105 = call i32 @ntohs(i32 noundef %104) %106 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %102, i32 noundef %105, ptr noundef %106) br label %159 108: ; preds = %76 %109 = call i64 @FD_ISSET(i32 noundef 0, ptr noundef %5) %110 = icmp ne i64 %109, 0 br i1 %110, label %111, label %156 111: ; preds = %108 %112 = call i32 @FD_CLR(i32 noundef 0, ptr noundef %5) %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %114 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0 %115 = load i32, ptr @stdin, align 4 %116 = call i32 @fgets(ptr noundef %114, i32 noundef 1024, i32 noundef %115) %117 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0 %118 = call i32 @strlen(ptr noundef %117) %119 = icmp sgt i32 %118, 0 br i1 %119, label %120, label %135 120: ; preds = %111 %121 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0 %122 = call i32 @strlen(ptr noundef %121) %123 = sub nsw i32 %122, 1 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 %124 %126 = load i8, ptr %125, align 1 %127 = sext i8 %126 to i32 %128 = icmp eq i32 %127, 10 br i1 %128, label %129, label %135 129: ; preds = %120 %130 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0 %131 = call i32 @strlen(ptr noundef %130) %132 = sub nsw i32 %131, 1 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 %133 store i8 0, ptr %134, align 1 br label %135 135: ; preds = %129, %120, %111 %136 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0 %137 = call i64 @strcmp(ptr noundef %136, ptr noundef @.str.5) %138 = icmp eq i64 %137, 0 br i1 %138, label %143, label %139 139: ; preds = %135 %140 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0 %141 = call i64 @strcmp(ptr noundef %140, ptr noundef @.str.6) %142 = icmp eq i64 %141, 0 br i1 %142, label %143, label %149 143: ; preds = %139, %135 %144 = load i32, ptr %9, align 4 %145 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0 %146 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0 %147 = call i32 @strlen(ptr noundef %146) %148 = call i32 @sendto(i32 noundef %144, ptr noundef %145, i32 noundef %147, i32 noundef 0, ptr noundef %12, i32 noundef 4) br label %162 149: ; preds = %139 %150 = load i32, ptr %9, align 4 %151 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0 %152 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0 %153 = call i32 @strlen(ptr noundef %152) %154 = call i32 @sendto(i32 noundef %150, ptr noundef %151, i32 noundef %153, i32 noundef 0, ptr noundef %12, i32 noundef 4) br label %155 155: ; preds = %149 br label %158 156: ; preds = %108 %157 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %158 158: ; preds = %156, %155 br label %159 159: ; preds = %158, %98 br label %160 160: ; preds = %159, %74 br label %161 161: ; preds = %160, %69 br label %62 162: ; preds = %143, %96 %163 = load i32, ptr %9, align 4 %164 = call i32 @close(i32 noundef %163) ret i32 0 } declare i64 @gethostbyname(ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @error(ptr noundef) #1 declare i32 @fcntl(i32 noundef, i32 noundef, ...) #1 declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @htons(i32 noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1 declare i32 @FD_CLR(i32 noundef, ptr noundef) #1 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @inet_ntoa(i32) #1 declare i32 @ntohs(i32 noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpibbf3dwp.c" target datalayout = "e-m:e-p270: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.timeval = type { i32, i32 } %struct.sockaddr_in = type { i32, %struct.in_addr, i32, i32 } %struct.in_addr = type { i32 } %struct.hostent = type { i64 } @.str = private unnamed_addr constant [10 x i8] c"localhost\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [9 x i8] c"socket()\00", align 1 @F_GETFL = dso_local global i32 0, align 4 @O_NONBLOCK = dso_local global i32 0, align 4 @F_SETFL = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [34 x i8] c"Type (q or Q) at anytime to quit\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"select\00", align 1 @.str.4 = private unnamed_addr constant [50 x i8] c"Timeout occurred! No data after 10.5 seconds.\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"q\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"Q\00", align 1 @.str.7 = private unnamed_addr constant [30 x i8] c"\0AServer has exited the chat.\0A\00", align 1 @.str.8 = private unnamed_addr constant [21 x i8] c"\0A(%s , %d) said: %s\0A\00", align 1 @.str.9 = private unnamed_addr constant [9 x i8] c"ClIENT: \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [29 x i8] c"\0AOOPS! What happened? CLIENT\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca %struct.timeval, 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 %struct.sockaddr_in, align 4 %13 = alloca ptr, align 8 %14 = alloca [1024 x i8], align 16 %15 = alloca [1024 x i8], align 16 %16 = alloca i32, align 4 store i32 0, ptr %1, align 4 %17 = call i64 @gethostbyname(ptr noundef @.str) %18 = inttoptr i64 %17 to ptr store ptr %18, ptr %13, align 8 %19 = load i32, ptr @AF_INET, align 4 %20 = load i32, ptr @SOCK_DGRAM, align 4 %21 = call i32 @socket(i32 noundef %19, i32 noundef %20, i32 noundef 0) store i32 %21, ptr %9, align 4 %22 = icmp eq i32 %21, -1 br i1 %22, label %23, label %25 23: ; preds = %0 %24 = call i32 @error(ptr noundef @.str.1) br label %25 25: ; preds = %23, %0 %26 = load i32, ptr %9, align 4 %27 = load i32, ptr @F_GETFL, align 4 %28 = call i32 (i32, i32, ...) @fcntl(i32 noundef %26, i32 noundef %27) store i32 %28, ptr %8, align 4 %29 = load i32, ptr @O_NONBLOCK, align 4 %30 = load i32, ptr %8, align 4 %31 = or i32 %30, %29 store i32 %31, ptr %8, align 4 %32 = load i32, ptr %9, align 4 %33 = load i32, ptr @F_SETFL, align 4 %34 = load i32, ptr %8, align 4 %35 = call i32 (i32, i32, ...) @fcntl(i32 noundef %32, i32 noundef %33, i32 noundef %34) %36 = call i32 @FD_ZERO(ptr noundef %2) %37 = call i32 @FD_ZERO(ptr noundef %3) %38 = call i32 @FD_ZERO(ptr noundef %4) %39 = call i32 @FD_ZERO(ptr noundef %5) %40 = load i32, ptr %9, align 4 %41 = call i32 @FD_SET(i32 noundef %40, ptr noundef %2) %42 = load i32, ptr %9, align 4 %43 = call i32 @FD_SET(i32 noundef %42, ptr noundef %4) %44 = call i32 @FD_SET(i32 noundef 0, ptr noundef %3) %45 = call i32 @FD_SET(i32 noundef 0, ptr noundef %5) %46 = load i32, ptr %9, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %7, align 4 %48 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0 store i32 10, ptr %48, align 4 %49 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 1 store i32 500000, ptr %49, align 4 %50 = load i32, ptr @AF_INET, align 4 %51 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 3 store i32 %50, ptr %51, align 4 %52 = call i32 @htons(i32 noundef 5000) %53 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 0 store i32 %52, ptr %53, align 4 %54 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 1 %55 = load ptr, ptr %13, align 8 %56 = getelementptr inbounds %struct.hostent, ptr %55, i32 0, i32 0 %57 = load i64, ptr %56, align 8 %58 = inttoptr i64 %57 to ptr call void @llvm.memcpy.p0.p0.i64(ptr align 4 %54, ptr align 4 %58, i64 4, i1 false) %59 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 2 %60 = call i32 @bzero(ptr noundef %59, i32 noundef 8) store i32 4, ptr %11, align 4 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %62 62: ; preds = %161, %25 %63 = load i32, ptr %2, align 4 store i32 %63, ptr %4, align 4 %64 = load i32, ptr %3, align 4 store i32 %64, ptr %5, align 4 %65 = load i32, ptr %7, align 4 %66 = call i32 @select(i32 noundef %65, ptr noundef %4, ptr noundef %5, ptr noundef null, ptr noundef %6) store i32 %66, ptr %16, align 4 %67 = load i32, ptr %16, align 4 %68 = icmp eq i32 %67, -1 br i1 %68, label %69, label %71 69: ; preds = %62 %70 = call i32 @perror(ptr noundef @.str.3) br label %161 71: ; preds = %62 %72 = load i32, ptr %16, align 4 %73 = icmp eq i32 %72, 0 br i1 %73, label %74, label %76 74: ; preds = %71 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %160 76: ; preds = %71 %77 = load i32, ptr %9, align 4 %78 = call i64 @FD_ISSET(i32 noundef %77, ptr noundef %4) %79 = icmp ne i64 %78, 0 br i1 %79, label %80, label %108 80: ; preds = %76 %81 = load i32, ptr %9, align 4 %82 = call i32 @FD_CLR(i32 noundef %81, ptr noundef %4) %83 = load i32, ptr %9, align 4 %84 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 %85 = call i32 @recvfrom(i32 noundef %83, ptr noundef %84, i32 noundef 1024, i32 noundef 0, ptr noundef %12, ptr noundef %11) store i32 %85, ptr %10, align 4 %86 = load i32, ptr %10, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 %87 store i8 0, ptr %88, align 1 %89 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 %90 = call i64 @strcmp(ptr noundef %89, ptr noundef @.str.5) %91 = icmp eq i64 %90, 0 br i1 %91, label %96, label %92 92: ; preds = %80 %93 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 %94 = call i64 @strcmp(ptr noundef %93, ptr noundef @.str.6) %95 = icmp eq i64 %94, 0 br i1 %95, label %96, label %98 96: ; preds = %92, %80 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %162 98: ; preds = %92 %99 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 1 %100 = getelementptr inbounds %struct.in_addr, ptr %99, i32 0, i32 0 %101 = load i32, ptr %100, align 4 %102 = call ptr @inet_ntoa(i32 %101) %103 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 0 %104 = load i32, ptr %103, align 4 %105 = call i32 @ntohs(i32 noundef %104) %106 = getelementptr inbounds [1024 x i8], ptr %15, i64 0, i64 0 %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %102, i32 noundef %105, ptr noundef %106) br label %159 108: ; preds = %76 %109 = call i64 @FD_ISSET(i32 noundef 0, ptr noundef %5) %110 = icmp ne i64 %109, 0 br i1 %110, label %111, label %156 111: ; preds = %108 %112 = call i32 @FD_CLR(i32 noundef 0, ptr noundef %5) %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %114 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0 %115 = load i32, ptr @stdin, align 4 %116 = call i32 @fgets(ptr noundef %114, i32 noundef 1024, i32 noundef %115) %117 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0 %118 = call i32 @strlen(ptr noundef %117) %119 = icmp sgt i32 %118, 0 br i1 %119, label %120, label %135 120: ; preds = %111 %121 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0 %122 = call i32 @strlen(ptr noundef %121) %123 = sub nsw i32 %122, 1 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 %124 %126 = load i8, ptr %125, align 1 %127 = sext i8 %126 to i32 %128 = icmp eq i32 %127, 10 br i1 %128, label %129, label %135 129: ; preds = %120 %130 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0 %131 = call i32 @strlen(ptr noundef %130) %132 = sub nsw i32 %131, 1 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 %133 store i8 0, ptr %134, align 1 br label %135 135: ; preds = %129, %120, %111 %136 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0 %137 = call i64 @strcmp(ptr noundef %136, ptr noundef @.str.5) %138 = icmp eq i64 %137, 0 br i1 %138, label %143, label %139 139: ; preds = %135 %140 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0 %141 = call i64 @strcmp(ptr noundef %140, ptr noundef @.str.6) %142 = icmp eq i64 %141, 0 br i1 %142, label %143, label %149 143: ; preds = %139, %135 %144 = load i32, ptr %9, align 4 %145 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0 %146 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0 %147 = call i32 @strlen(ptr noundef %146) %148 = call i32 @sendto(i32 noundef %144, ptr noundef %145, i32 noundef %147, i32 noundef 0, ptr noundef %12, i32 noundef 4) br label %162 149: ; preds = %139 %150 = load i32, ptr %9, align 4 %151 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0 %152 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0 %153 = call i32 @strlen(ptr noundef %152) %154 = call i32 @sendto(i32 noundef %150, ptr noundef %151, i32 noundef %153, i32 noundef 0, ptr noundef %12, i32 noundef 4) br label %155 155: ; preds = %149 br label %158 156: ; preds = %108 %157 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %158 158: ; preds = %156, %155 br label %159 159: ; preds = %158, %98 br label %160 160: ; preds = %159, %74 br label %161 161: ; preds = %160, %69 br label %62 162: ; preds = %143, %96 %163 = load i32, ptr %9, align 4 %164 = call i32 @close(i32 noundef %163) ret i32 0 } declare i64 @gethostbyname(ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @error(ptr noundef) #1 declare i32 @fcntl(i32 noundef, i32 noundef, ...) #1 declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @htons(i32 noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1 declare i32 @FD_CLR(i32 noundef, ptr noundef) #1 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @inet_ntoa(i32) #1 declare i32 @ntohs(i32 noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsodudzb1.c' source_filename = "/tmp/tmpsodudzb1.c" target datalayout = "e-m:e-p270: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/tmpsodudzb1.c" target datalayout = "e-m:e-p270: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/tmpzx_02a11.c' source_filename = "/tmp/tmpzx_02a11.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"genisofs\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Xorriso_as_genisofs(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 %15 = load ptr, ptr %10, align 8 %16 = load i32, ptr %15, align 4 store i32 %16, ptr %14, align 4 %17 = load ptr, ptr %7, align 8 %18 = load i32, ptr %8, align 4 %19 = load ptr, ptr %9, align 8 %20 = load ptr, ptr %10, align 8 %21 = load i32, ptr %20, align 4 %22 = call i32 @Xorriso_end_idx(ptr noundef %17, i32 noundef %18, ptr noundef %19, i32 noundef %21, i32 noundef 1) store i32 %22, ptr %12, align 4 %23 = load i32, ptr %12, align 4 %24 = load ptr, ptr %10, align 8 store i32 %23, ptr %24, align 4 %25 = load i32, ptr %12, align 4 %26 = icmp sle i32 %25, 0 br i1 %26, label %31, label %27 27: ; preds = %5 %28 = load i32, ptr %14, align 4 %29 = load i32, ptr %8, align 4 %30 = icmp sge i32 %28, %29 br i1 %30, label %31, label %32 31: ; preds = %27, %5 store i32 1, ptr %6, align 4 br label %43 32: ; preds = %27 %33 = load ptr, ptr %7, align 8 %34 = load i32, ptr %12, align 4 %35 = load i32, ptr %14, align 4 %36 = sub nsw i32 %34, %35 %37 = load ptr, ptr %9, align 8 %38 = load i32, ptr %14, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds ptr, ptr %37, i64 %39 %41 = call i32 @Xorriso_genisofs(ptr noundef %33, ptr noundef @.str, i32 noundef %36, ptr noundef %40, i32 noundef 0) store i32 %41, ptr %13, align 4 %42 = load i32, ptr %13, align 4 store i32 %42, ptr %6, align 4 br label %43 43: ; preds = %32, %31 %44 = load i32, ptr %6, align 4 ret i32 %44 } declare i32 @Xorriso_end_idx(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @Xorriso_genisofs(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzx_02a11.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"genisofs\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Xorriso_as_genisofs(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 %15 = load ptr, ptr %10, align 8 %16 = load i32, ptr %15, align 4 store i32 %16, ptr %14, align 4 %17 = load ptr, ptr %7, align 8 %18 = load i32, ptr %8, align 4 %19 = load ptr, ptr %9, align 8 %20 = load ptr, ptr %10, align 8 %21 = load i32, ptr %20, align 4 %22 = call i32 @Xorriso_end_idx(ptr noundef %17, i32 noundef %18, ptr noundef %19, i32 noundef %21, i32 noundef 1) store i32 %22, ptr %12, align 4 %23 = load i32, ptr %12, align 4 %24 = load ptr, ptr %10, align 8 store i32 %23, ptr %24, align 4 %25 = load i32, ptr %12, align 4 %26 = icmp sle i32 %25, 0 br i1 %26, label %31, label %27 27: ; preds = %5 %28 = load i32, ptr %14, align 4 %29 = load i32, ptr %8, align 4 %30 = icmp sge i32 %28, %29 br i1 %30, label %31, label %32 31: ; preds = %27, %5 store i32 1, ptr %6, align 4 br label %43 32: ; preds = %27 %33 = load ptr, ptr %7, align 8 %34 = load i32, ptr %12, align 4 %35 = load i32, ptr %14, align 4 %36 = sub nsw i32 %34, %35 %37 = load ptr, ptr %9, align 8 %38 = load i32, ptr %14, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds ptr, ptr %37, i64 %39 %41 = call i32 @Xorriso_genisofs(ptr noundef %33, ptr noundef @.str, i32 noundef %36, ptr noundef %40, i32 noundef 0) store i32 %41, ptr %13, align 4 %42 = load i32, ptr %13, align 4 store i32 %42, ptr %6, align 4 br label %43 43: ; preds = %32, %31 %44 = load i32, ptr %6, align 4 ret i32 %44 } declare i32 @Xorriso_end_idx(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @Xorriso_genisofs(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcm2ga4ag.c' source_filename = "/tmp/tmpcm2ga4ag.c" target datalayout = "e-m:e-p270: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/tmpcm2ga4ag.c" target datalayout = "e-m:e-p270: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/tmph6kaizhg.c' source_filename = "/tmp/tmph6kaizhg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [28 x i8] c"test-lab-3-b: open(%s): %s\0A\00", align 1 @errno = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [51 x i8] c"test-lab-3-b: read(%s) returned too little %d%s%s\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c": \00", align 1 @.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.5 = private unnamed_addr constant [43 x i8] c"test-lab-3-b: read(%s) got \22%s\22, not \22%s\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @check1(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 i32, align 4 %8 = alloca i32, align 4 %9 = alloca [512 x i8], align 16 %10 = alloca [21000 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %11 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %5, align 8 %14 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str, ptr noundef %12, ptr noundef %13) %15 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %16 = call i32 @open(ptr noundef %15, i32 noundef 0) store i32 %16, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %26 19: ; preds = %3 %20 = load i32, ptr @stderr, align 4 %21 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %22 = load i64, ptr @errno, align 8 %23 = call ptr @strerror(i64 noundef %22) %24 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.1, ptr noundef %21, ptr noundef %23) %25 = call i32 @exit(i32 noundef 1) #3 unreachable 26: ; preds = %3 store i64 0, ptr @errno, align 8 %27 = load i32, ptr %7, align 4 %28 = getelementptr inbounds [21000 x i8], ptr %10, i64 0, i64 0 %29 = call i32 @read(i32 noundef %27, ptr noundef %28, i32 noundef 20999) store i32 %29, ptr %8, align 4 %30 = load i32, ptr %8, align 4 %31 = load ptr, ptr %6, align 8 %32 = call i32 @strlen(ptr noundef %31) %33 = icmp ne i32 %30, %32 br i1 %33, label %34, label %52 34: ; preds = %26 %35 = load i32, ptr @stderr, align 4 %36 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %37 = load i32, ptr %8, align 4 %38 = load i64, ptr @errno, align 8 %39 = icmp ne i64 %38, 0 %40 = zext i1 %39 to i64 %41 = select i1 %39, ptr @.str.3, ptr @.str.4 %42 = load i64, ptr @errno, align 8 %43 = icmp ne i64 %42, 0 br i1 %43, label %44, label %47 44: ; preds = %34 %45 = load i64, ptr @errno, align 8 %46 = call ptr @strerror(i64 noundef %45) br label %48 47: ; preds = %34 br label %48 48: ; preds = %47, %44 %49 = phi ptr [ %46, %44 ], [ @.str.4, %47 ] %50 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %35, ptr noundef @.str.2, ptr noundef %36, i32 noundef %37, ptr noundef %41, ptr noundef %49) %51 = call i32 @exit(i32 noundef 1) #3 unreachable 52: ; preds = %26 %53 = load i32, ptr %7, align 4 %54 = call i32 @close(i32 noundef %53) %55 = load i32, ptr %8, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [21000 x i8], ptr %10, i64 0, i64 %56 store i8 0, ptr %57, align 1 %58 = getelementptr inbounds [21000 x i8], ptr %10, i64 0, i64 0 %59 = load ptr, ptr %6, align 8 %60 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %61 = call i32 @strlen(ptr noundef %60) %62 = call i64 @strncmp(ptr noundef %58, ptr noundef %59, i32 noundef %61) %63 = icmp ne i64 %62, 0 br i1 %63, label %64, label %71 64: ; preds = %52 %65 = load i32, ptr @stderr, align 4 %66 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %67 = getelementptr inbounds [21000 x i8], ptr %10, i64 0, i64 0 %68 = load ptr, ptr %6, align 8 %69 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %65, ptr noundef @.str.5, ptr noundef %66, ptr noundef %67, ptr noundef %68) %70 = call i32 @exit(i32 noundef 1) #3 unreachable 71: ; preds = %52 ret void } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @strerror(i64 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmph6kaizhg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [28 x i8] c"test-lab-3-b: open(%s): %s\0A\00", align 1 @errno = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [51 x i8] c"test-lab-3-b: read(%s) returned too little %d%s%s\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c": \00", align 1 @.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.5 = private unnamed_addr constant [43 x i8] c"test-lab-3-b: read(%s) got \22%s\22, not \22%s\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @check1(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 i32, align 4 %8 = alloca i32, align 4 %9 = alloca [512 x i8], align 16 %10 = alloca [21000 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %11 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %5, align 8 %14 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str, ptr noundef %12, ptr noundef %13) %15 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %16 = call i32 @open(ptr noundef %15, i32 noundef 0) store i32 %16, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %26 19: ; preds = %3 %20 = load i32, ptr @stderr, align 4 %21 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %22 = load i64, ptr @errno, align 8 %23 = call ptr @strerror(i64 noundef %22) %24 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.1, ptr noundef %21, ptr noundef %23) %25 = call i32 @exit(i32 noundef 1) #3 unreachable 26: ; preds = %3 store i64 0, ptr @errno, align 8 %27 = load i32, ptr %7, align 4 %28 = getelementptr inbounds [21000 x i8], ptr %10, i64 0, i64 0 %29 = call i32 @read(i32 noundef %27, ptr noundef %28, i32 noundef 20999) store i32 %29, ptr %8, align 4 %30 = load i32, ptr %8, align 4 %31 = load ptr, ptr %6, align 8 %32 = call i32 @strlen(ptr noundef %31) %33 = icmp ne i32 %30, %32 br i1 %33, label %34, label %52 34: ; preds = %26 %35 = load i32, ptr @stderr, align 4 %36 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %37 = load i32, ptr %8, align 4 %38 = load i64, ptr @errno, align 8 %39 = icmp ne i64 %38, 0 %40 = zext i1 %39 to i64 %41 = select i1 %39, ptr @.str.3, ptr @.str.4 %42 = load i64, ptr @errno, align 8 %43 = icmp ne i64 %42, 0 br i1 %43, label %44, label %47 44: ; preds = %34 %45 = load i64, ptr @errno, align 8 %46 = call ptr @strerror(i64 noundef %45) br label %48 47: ; preds = %34 br label %48 48: ; preds = %47, %44 %49 = phi ptr [ %46, %44 ], [ @.str.4, %47 ] %50 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %35, ptr noundef @.str.2, ptr noundef %36, i32 noundef %37, ptr noundef %41, ptr noundef %49) %51 = call i32 @exit(i32 noundef 1) #3 unreachable 52: ; preds = %26 %53 = load i32, ptr %7, align 4 %54 = call i32 @close(i32 noundef %53) %55 = load i32, ptr %8, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [21000 x i8], ptr %10, i64 0, i64 %56 store i8 0, ptr %57, align 1 %58 = getelementptr inbounds [21000 x i8], ptr %10, i64 0, i64 0 %59 = load ptr, ptr %6, align 8 %60 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %61 = call i32 @strlen(ptr noundef %60) %62 = call i64 @strncmp(ptr noundef %58, ptr noundef %59, i32 noundef %61) %63 = icmp ne i64 %62, 0 br i1 %63, label %64, label %71 64: ; preds = %52 %65 = load i32, ptr @stderr, align 4 %66 = getelementptr inbounds [512 x i8], ptr %9, i64 0, i64 0 %67 = getelementptr inbounds [21000 x i8], ptr %10, i64 0, i64 0 %68 = load ptr, ptr %6, align 8 %69 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %65, ptr noundef @.str.5, ptr noundef %66, ptr noundef %67, ptr noundef %68) %70 = call i32 @exit(i32 noundef 1) #3 unreachable 71: ; preds = %52 ret void } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @strerror(i64 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmphrgvukbg.c' source_filename = "/tmp/tmphrgvukbg.c" target datalayout = "e-m:e-p270: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/tmphrgvukbg.c" target datalayout = "e-m:e-p270: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/tmpft6vmlud.c' source_filename = "/tmp/tmpft6vmlud.c" target datalayout = "e-m:e-p270: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/tmpft6vmlud.c" target datalayout = "e-m:e-p270: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/tmpcxloibx8.c' source_filename = "/tmp/tmpcxloibx8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncpy_pad(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 i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %39 11: ; preds = %3 %12 = load ptr, ptr %5, align 8 %13 = call i64 @strlen(ptr noundef %12) %14 = load i64, ptr %6, align 8 %15 = icmp ult i64 %13, %14 br i1 %15, label %16, label %19 16: ; preds = %11 %17 = load ptr, ptr %5, align 8 %18 = call i64 @strlen(ptr noundef %17) br label %21 19: ; preds = %11 %20 = load i64, ptr %6, align 8 br label %21 21: ; preds = %19, %16 %22 = phi i64 [ %18, %16 ], [ %20, %19 ] store i64 %22, ptr %7, align 8 store i64 0, ptr %8, align 8 br label %23 23: ; preds = %35, %21 %24 = load i64, ptr %8, align 8 %25 = load i64, ptr %7, align 8 %26 = icmp ult i64 %24, %25 br i1 %26, label %27, label %38 27: ; preds = %23 %28 = load ptr, ptr %5, align 8 %29 = load i64, ptr %8, align 8 %30 = getelementptr inbounds i8, ptr %28, i64 %29 %31 = load i8, ptr %30, align 1 %32 = load ptr, ptr %4, align 8 %33 = load i64, ptr %8, align 8 %34 = getelementptr inbounds i8, ptr %32, i64 %33 store i8 %31, ptr %34, align 1 br label %35 35: ; preds = %27 %36 = load i64, ptr %8, align 8 %37 = add i64 %36, 1 store i64 %37, ptr %8, align 8 br label %23, !llvm.loop !6 38: ; preds = %23 br label %40 39: ; preds = %3 store i64 0, ptr %7, align 8 br label %40 40: ; preds = %39, %38 %41 = load i64, ptr %7, align 8 store i64 %41, ptr %8, align 8 br label %42 42: ; preds = %50, %40 %43 = load i64, ptr %8, align 8 %44 = load i64, ptr %6, align 8 %45 = icmp ult i64 %43, %44 br i1 %45, label %46, label %53 46: ; preds = %42 %47 = load ptr, ptr %4, align 8 %48 = load i64, ptr %8, align 8 %49 = getelementptr inbounds i8, ptr %47, i64 %48 store i8 32, ptr %49, align 1 br label %50 50: ; preds = %46 %51 = load i64, ptr %8, align 8 %52 = add i64 %51, 1 store i64 %52, ptr %8, align 8 br label %42, !llvm.loop !8 53: ; preds = %42 ret void } declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcxloibx8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncpy_pad(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 i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %41 11: ; preds = %3 %12 = load ptr, ptr %5, align 8 %13 = call i64 @strlen(ptr noundef %12) %14 = load i64, ptr %6, align 8 %15 = icmp ult i64 %13, %14 br i1 %15, label %16, label %19 16: ; preds = %11 %17 = load ptr, ptr %5, align 8 %18 = call i64 @strlen(ptr noundef %17) br label %21 19: ; preds = %11 %20 = load i64, ptr %6, align 8 br label %21 21: ; preds = %19, %16 %22 = phi i64 [ %18, %16 ], [ %20, %19 ] store i64 %22, ptr %7, align 8 store i64 0, ptr %8, align 8 %23 = load i64, ptr %8, align 8 %24 = load i64, ptr %7, align 8 %25 = icmp ult i64 %23, %24 br i1 %25, label %.lr.ph, label %40 .lr.ph: ; preds = %21 br label %26 26: ; preds = %.lr.ph, %34 %27 = load ptr, ptr %5, align 8 %28 = load i64, ptr %8, align 8 %29 = getelementptr inbounds i8, ptr %27, i64 %28 %30 = load i8, ptr %29, align 1 %31 = load ptr, ptr %4, align 8 %32 = load i64, ptr %8, align 8 %33 = getelementptr inbounds i8, ptr %31, i64 %32 store i8 %30, ptr %33, align 1 br label %34 34: ; preds = %26 %35 = load i64, ptr %8, align 8 %36 = add i64 %35, 1 store i64 %36, ptr %8, align 8 %37 = load i64, ptr %8, align 8 %38 = load i64, ptr %7, align 8 %39 = icmp ult i64 %37, %38 br i1 %39, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %40 40: ; preds = %._crit_edge, %21 br label %42 41: ; preds = %3 store i64 0, ptr %7, align 8 br label %42 42: ; preds = %41, %40 %43 = load i64, ptr %7, align 8 store i64 %43, ptr %8, align 8 %44 = load i64, ptr %8, align 8 %45 = load i64, ptr %6, align 8 %46 = icmp ult i64 %44, %45 br i1 %46, label %.lr.ph2, label %57 .lr.ph2: ; preds = %42 br label %47 47: ; preds = %.lr.ph2, %51 %48 = load ptr, ptr %4, align 8 %49 = load i64, ptr %8, align 8 %50 = getelementptr inbounds i8, ptr %48, i64 %49 store i8 32, ptr %50, align 1 br label %51 51: ; preds = %47 %52 = load i64, ptr %8, align 8 %53 = add i64 %52, 1 store i64 %53, ptr %8, align 8 %54 = load i64, ptr %8, align 8 %55 = load i64, ptr %6, align 8 %56 = icmp ult i64 %54, %55 br i1 %56, label %47, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %51 br label %57 57: ; preds = %._crit_edge3, %42 ret void } declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpxc04jy4g.c' source_filename = "/tmp/tmpxc04jy4g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @insert_newline() #0 { %1 = call i64 (...) @intercalate_newline() %2 = icmp ne i64 %1, 0 br i1 %2, label %3, label %6 3: ; preds = %0 %4 = call i64 (...) @forward_char() %5 = icmp ne i64 %4, 0 br label %6 6: ; preds = %3, %0 %7 = phi i1 [ false, %0 ], [ %5, %3 ] %8 = zext i1 %7 to i32 ret i32 %8 } declare i64 @intercalate_newline(...) #1 declare i64 @forward_char(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxc04jy4g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @insert_newline() #0 { %1 = call i64 (...) @intercalate_newline() %2 = icmp ne i64 %1, 0 br i1 %2, label %3, label %6 3: ; preds = %0 %4 = call i64 (...) @forward_char() %5 = icmp ne i64 %4, 0 br label %6 6: ; preds = %3, %0 %7 = phi i1 [ false, %0 ], [ %5, %3 ] %8 = zext i1 %7 to i32 ret i32 %8 } declare i64 @intercalate_newline(...) #1 declare i64 @forward_char(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptk88lj2d.c' source_filename = "/tmp/tmptk88lj2d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MCP23s17_ReadGPIO_B(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @spi_write16(i32 noundef 1, i32 noundef 255) %4 = load ptr, ptr %2, align 8 %5 = call i32 @spi_read16(i32 noundef 19, ptr noundef %4) ret void } declare i32 @spi_write16(i32 noundef, i32 noundef) #1 declare i32 @spi_read16(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/tmptk88lj2d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MCP23s17_ReadGPIO_B(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @spi_write16(i32 noundef 1, i32 noundef 255) %4 = load ptr, ptr %2, align 8 %5 = call i32 @spi_read16(i32 noundef 19, ptr noundef %4) ret void } declare i32 @spi_write16(i32 noundef, i32 noundef) #1 declare i32 @spi_read16(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/tmpdft3xa_q.c' source_filename = "/tmp/tmpdft3xa_q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @retrieve_facet(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %15 = load i32, ptr %5, align 4 store i32 %15, ptr %11, align 4 %16 = load i32, ptr %5, align 4 %17 = mul nsw i32 100, %16 %18 = zext i32 %17 to i64 %19 = call ptr @llvm.stacksave() store ptr %19, ptr %12, align 8 %20 = alloca i32, i64 %18, align 16 store i64 %18, ptr %13, align 8 %21 = load i32, ptr %6, align 4 %22 = getelementptr inbounds i32, ptr %20, i64 0 store i32 %21, ptr %22, align 16 %23 = load ptr, ptr %14, align 8 %24 = call i32 @_ada_use_c2phc4c(i32 noundef 583, ptr noundef %11, ptr noundef %20, ptr noundef %23, i32 noundef 0) store i32 %24, ptr %9, align 4 %25 = load i32, ptr %11, align 4 %26 = load ptr, ptr %7, align 8 store i32 %25, ptr %26, align 4 store i32 0, ptr %10, align 4 br label %27 27: ; preds = %41, %4 %28 = load i32, ptr %10, align 4 %29 = load i32, ptr %11, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %44 31: ; preds = %27 %32 = load i32, ptr %10, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %20, i64 %33 %35 = load i32, ptr %34, align 4 %36 = trunc i32 %35 to i8 %37 = load ptr, ptr %8, align 8 %38 = load i32, ptr %10, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 store i8 %36, ptr %40, align 1 br label %41 41: ; preds = %31 %42 = load i32, ptr %10, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %10, align 4 br label %27, !llvm.loop !6 44: ; preds = %27 %45 = load ptr, ptr %8, align 8 %46 = load i32, ptr %11, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %45, i64 %47 store i8 0, ptr %48, align 1 %49 = load i32, ptr %9, align 4 %50 = load ptr, ptr %12, align 8 call void @llvm.stackrestore(ptr %50) ret i32 %49 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdft3xa_q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @retrieve_facet(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %15 = load i32, ptr %5, align 4 store i32 %15, ptr %11, align 4 %16 = load i32, ptr %5, align 4 %17 = mul nsw i32 100, %16 %18 = zext i32 %17 to i64 %19 = call ptr @llvm.stacksave() store ptr %19, ptr %12, align 8 %20 = alloca i32, i64 %18, align 16 store i64 %18, ptr %13, align 8 %21 = load i32, ptr %6, align 4 %22 = getelementptr inbounds i32, ptr %20, i64 0 store i32 %21, ptr %22, align 16 %23 = load ptr, ptr %14, align 8 %24 = call i32 @_ada_use_c2phc4c(i32 noundef 583, ptr noundef %11, ptr noundef %20, ptr noundef %23, i32 noundef 0) store i32 %24, ptr %9, align 4 %25 = load i32, ptr %11, align 4 %26 = load ptr, ptr %7, align 8 store i32 %25, ptr %26, align 4 store i32 0, ptr %10, align 4 %27 = load i32, ptr %10, align 4 %28 = load i32, ptr %11, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %.lr.ph, label %46 .lr.ph: ; preds = %4 br label %30 30: ; preds = %.lr.ph, %40 %31 = load i32, ptr %10, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %20, i64 %32 %34 = load i32, ptr %33, align 4 %35 = trunc i32 %34 to i8 %36 = load ptr, ptr %8, align 8 %37 = load i32, ptr %10, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 store i8 %35, ptr %39, align 1 br label %40 40: ; preds = %30 %41 = load i32, ptr %10, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %10, align 4 %43 = load i32, ptr %10, align 4 %44 = load i32, ptr %11, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %46 46: ; preds = %._crit_edge, %4 %47 = load ptr, ptr %8, align 8 %48 = load i32, ptr %11, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 store i8 0, ptr %50, align 1 %51 = load i32, ptr %9, align 4 %52 = load ptr, ptr %12, align 8 call void @llvm.stackrestore(ptr %52) ret i32 %51 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpsjt4n7fo.c' source_filename = "/tmp/tmpsjt4n7fo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Are you sure? [y|Y]:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_confirmation() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca ptr, align 8 store ptr @.str, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i32 @printf(ptr noundef @.str.1, ptr noundef %4) %6 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %7 = load i8, ptr %2, align 1 %8 = sext i8 %7 to i32 %9 = icmp eq i32 %8, 121 br i1 %9, label %14, label %10 10: ; preds = %0 %11 = load i8, ptr %2, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 89 br i1 %13, label %14, label %15 14: ; preds = %10, %0 store i32 0, ptr %1, align 4 br label %16 15: ; preds = %10 store i32 6, ptr %1, align 4 br label %16 16: ; preds = %15, %14 %17 = load i32, ptr %1, align 4 ret i32 %17 } declare i32 @printf(ptr noundef, 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/tmpsjt4n7fo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Are you sure? [y|Y]:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_confirmation() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca ptr, align 8 store ptr @.str, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i32 @printf(ptr noundef @.str.1, ptr noundef %4) %6 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %7 = load i8, ptr %2, align 1 %8 = sext i8 %7 to i32 %9 = icmp eq i32 %8, 121 br i1 %9, label %14, label %10 10: ; preds = %0 %11 = load i8, ptr %2, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 89 br i1 %13, label %14, label %15 14: ; preds = %10, %0 store i32 0, ptr %1, align 4 br label %16 15: ; preds = %10 store i32 6, ptr %1, align 4 br label %16 16: ; preds = %15, %14 %17 = load i32, ptr %1, align 4 ret i32 %17 } declare i32 @printf(ptr noundef, 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/tmpj9ha29b6.c' source_filename = "/tmp/tmpj9ha29b6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strtrim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, 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 %57 8: ; preds = %1 br label %9 9: ; preds = %21, %8 %10 = load ptr, ptr %3, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %19 14: ; preds = %9 %15 = load ptr, ptr %3, align 8 %16 = load i8, ptr %15, align 1 %17 = call i64 @ft_is_whitespace(i8 noundef signext %16) %18 = icmp ne i64 %17, 0 br label %19 19: ; preds = %14, %9 %20 = phi i1 [ false, %9 ], [ %18, %14 ] br i1 %20, label %21, label %24 21: ; preds = %19 %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %3, align 8 br label %9, !llvm.loop !6 24: ; preds = %19 %25 = load ptr, ptr %3, align 8 %26 = call i32 @ft_strlen(ptr noundef %25) %27 = sub nsw i32 %26, 1 store i32 %27, ptr %4, align 4 br label %28 28: ; preds = %49, %24 %29 = load i32, ptr %4, align 4 %30 = icmp sgt i32 %29, 0 br i1 %30, label %31, label %47 31: ; preds = %28 %32 = load ptr, ptr %3, align 8 %33 = load i32, ptr %4, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp ne i32 %37, 0 br i1 %38, label %39, label %47 39: ; preds = %31 %40 = load ptr, ptr %3, align 8 %41 = load i32, ptr %4, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 %44 = load i8, ptr %43, align 1 %45 = call i64 @ft_is_whitespace(i8 noundef signext %44) %46 = icmp ne i64 %45, 0 br label %47 47: ; preds = %39, %31, %28 %48 = phi i1 [ false, %31 ], [ false, %28 ], [ %46, %39 ] br i1 %48, label %49, label %52 49: ; preds = %47 %50 = load i32, ptr %4, align 4 %51 = add nsw i32 %50, -1 store i32 %51, ptr %4, align 4 br label %28, !llvm.loop !8 52: ; preds = %47 %53 = load ptr, ptr %3, align 8 %54 = load i32, ptr %4, align 4 %55 = add nsw i32 %54, 1 %56 = call ptr @ft_strsub(ptr noundef %53, i32 noundef 0, i32 noundef %55) store ptr %56, ptr %2, align 8 br label %57 57: ; preds = %52, %7 %58 = load ptr, ptr %2, align 8 ret ptr %58 } declare i64 @ft_is_whitespace(i8 noundef signext) #1 declare i32 @ft_strlen(ptr noundef) #1 declare ptr @ft_strsub(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj9ha29b6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strtrim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, 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 %57 8: ; preds = %1 br label %9 9: ; preds = %21, %8 %10 = load ptr, ptr %3, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %19 14: ; preds = %9 %15 = load ptr, ptr %3, align 8 %16 = load i8, ptr %15, align 1 %17 = call i64 @ft_is_whitespace(i8 noundef signext %16) %18 = icmp ne i64 %17, 0 br label %19 19: ; preds = %14, %9 %20 = phi i1 [ false, %9 ], [ %18, %14 ] br i1 %20, label %21, label %24 21: ; preds = %19 %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %3, align 8 br label %9, !llvm.loop !6 24: ; preds = %19 %25 = load ptr, ptr %3, align 8 %26 = call i32 @ft_strlen(ptr noundef %25) %27 = sub nsw i32 %26, 1 store i32 %27, ptr %4, align 4 br label %28 28: ; preds = %49, %24 %29 = load i32, ptr %4, align 4 %30 = icmp sgt i32 %29, 0 br i1 %30, label %31, label %47 31: ; preds = %28 %32 = load ptr, ptr %3, align 8 %33 = load i32, ptr %4, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp ne i32 %37, 0 br i1 %38, label %39, label %47 39: ; preds = %31 %40 = load ptr, ptr %3, align 8 %41 = load i32, ptr %4, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 %44 = load i8, ptr %43, align 1 %45 = call i64 @ft_is_whitespace(i8 noundef signext %44) %46 = icmp ne i64 %45, 0 br label %47 47: ; preds = %39, %31, %28 %48 = phi i1 [ false, %31 ], [ false, %28 ], [ %46, %39 ] br i1 %48, label %49, label %52 49: ; preds = %47 %50 = load i32, ptr %4, align 4 %51 = add nsw i32 %50, -1 store i32 %51, ptr %4, align 4 br label %28, !llvm.loop !8 52: ; preds = %47 %53 = load ptr, ptr %3, align 8 %54 = load i32, ptr %4, align 4 %55 = add nsw i32 %54, 1 %56 = call ptr @ft_strsub(ptr noundef %53, i32 noundef 0, i32 noundef %55) store ptr %56, ptr %2, align 8 br label %57 57: ; preds = %52, %7 %58 = load ptr, ptr %2, align 8 ret ptr %58 } declare i64 @ft_is_whitespace(i8 noundef signext) #1 declare i32 @ft_strlen(ptr noundef) #1 declare ptr @ft_strsub(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp6chcs84w.c' source_filename = "/tmp/tmp6chcs84w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.gpio = private unnamed_addr constant [29 x i8] c"/sys/class/gpio/gpio00/value\00", align 16 @__const.main.dir = private unnamed_addr constant [33 x i8] c"/sys/class/gpio/gpio00/direction\00", align 16 @__const.main.pin_ports = private unnamed_addr constant [40 x i32] [i32 -1, i32 -1, i32 2, i32 -1, i32 3, i32 -1, i32 4, i32 14, i32 -1, i32 15, i32 17, i32 18, i32 27, i32 -1, i32 22, i32 23, i32 -1, i32 24, i32 10, i32 -1, i32 9, i32 25, i32 11, i32 8, i32 -1, i32 7, i32 -1, i32 -1, i32 5, i32 -1, i32 6, i32 12, i32 13, i32 -1, i32 19, i32 16, i32 26, i32 20, i32 -1, i32 21], align 16 @stderr = dso_local global ptr null, align 8 @.str = private unnamed_addr constant [22 x i8] c"usage: %s port value\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"9\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"NC\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"LOW\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"HIGH\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"Unsupported Port Error, %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [29 x i8] c"Unsupported Value Error, %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [25 x i8] c"/sys/class/gpio/unexport\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.9 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.10 = private unnamed_addr constant [4 x i8] c"-1\0A\00", align 1 @.str.11 = private unnamed_addr constant [10 x i8] c"IO Error\0A\00", align 1 @.str.12 = private unnamed_addr constant [11 x i8] c"%s%d/value\00", align 1 @.str.13 = private unnamed_addr constant [15 x i8] c"%s%d/direction\00", align 1 @.str.14 = private unnamed_addr constant [23 x i8] c"/sys/class/gpio/export\00", align 1 @.str.15 = private unnamed_addr constant [13 x i8] c"IO Error %s\0A\00", align 1 @.str.16 = private unnamed_addr constant [5 x i8] c"out\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 [29 x i8], align 16 %8 = alloca [33 x i8], align 16 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [40 x i32], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.gpio, i64 29, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.dir, i64 33, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.main.pin_ports, i64 160, i1 false) %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 3 br i1 %14, label %15, label %22 15: ; preds = %2 %16 = load ptr, ptr @stderr, align 8 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef @.str, ptr noundef %19) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %185 22: ; preds = %2 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = call i32 @atoi(ptr noundef %25) store i32 %26, ptr %10, align 4 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 2 %29 = load ptr, ptr %28, align 8 %30 = call i32 @strcmp(ptr noundef %29, ptr noundef @.str.2) %31 = icmp ne i32 %30, 0 br i1 %31, label %33, label %32 32: ; preds = %22 store i32 -1, ptr %11, align 4 br label %54 33: ; preds = %22 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 2 %36 = load ptr, ptr %35, align 8 %37 = call i32 @strcmp(ptr noundef %36, ptr noundef @.str.3) %38 = icmp ne i32 %37, 0 br i1 %38, label %40, label %39 39: ; preds = %33 store i32 0, ptr %11, align 4 br label %53 40: ; preds = %33 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds ptr, ptr %41, i64 2 %43 = load ptr, ptr %42, align 8 %44 = call i32 @strcmp(ptr noundef %43, ptr noundef @.str.4) %45 = icmp ne i32 %44, 0 br i1 %45, label %47, label %46 46: ; preds = %40 store i32 1, ptr %11, align 4 br label %52 47: ; preds = %40 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds ptr, ptr %48, i64 2 %50 = load ptr, ptr %49, align 8 %51 = call i32 @atoi(ptr noundef %50) store i32 %51, ptr %11, align 4 br label %52 52: ; preds = %47, %46 br label %53 53: ; preds = %52, %39 br label %54 54: ; preds = %53, %32 store i32 0, ptr %9, align 4 br label %55 55: ; preds = %67, %54 %56 = load i32, ptr %9, align 4 %57 = icmp slt i32 %56, 40 br i1 %57, label %58, label %70 58: ; preds = %55 %59 = load i32, ptr %9, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [40 x i32], ptr %12, i64 0, i64 %60 %62 = load i32, ptr %61, align 4 %63 = load i32, ptr %10, align 4 %64 = icmp eq i32 %62, %63 br i1 %64, label %65, label %66 65: ; preds = %58 br label %70 66: ; preds = %58 br label %67 67: ; preds = %66 %68 = load i32, ptr %9, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %9, align 4 br label %55, !llvm.loop !6 70: ; preds = %65, %55 %71 = load i32, ptr %9, align 4 %72 = icmp eq i32 %71, 40 br i1 %72, label %76, label %73 73: ; preds = %70 %74 = load i32, ptr %10, align 4 %75 = icmp slt i32 %74, 0 br i1 %75, label %76, label %81 76: ; preds = %73, %70 %77 = load ptr, ptr @stderr, align 8 %78 = load i32, ptr %10, align 4 %79 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef @.str.5, i32 noundef %78) %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %185 81: ; preds = %73 %82 = load i32, ptr %11, align 4 %83 = icmp slt i32 %82, -1 br i1 %83, label %87, label %84 84: ; preds = %81 %85 = load i32, ptr %11, align 4 %86 = icmp sgt i32 %85, 1 br i1 %86, label %87, label %92 87: ; preds = %84, %81 %88 = load ptr, ptr @stderr, align 8 %89 = load i32, ptr %11, align 4 %90 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %88, ptr noundef @.str.6, i32 noundef %89) %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %185 92: ; preds = %84 %93 = load i32, ptr %11, align 4 %94 = icmp eq i32 %93, -1 br i1 %94, label %95, label %110 95: ; preds = %92 %96 = call ptr @fopen(ptr noundef @.str.7, ptr noundef @.str.8) store ptr %96, ptr %6, align 8 %97 = load ptr, ptr %6, align 8 %98 = icmp ne ptr %97, null br i1 %98, label %99, label %106 99: ; preds = %95 %100 = load ptr, ptr %6, align 8 %101 = load i32, ptr %10, align 4 %102 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef @.str.9, i32 noundef %101) %103 = load ptr, ptr %6, align 8 %104 = call i32 @fclose(ptr noundef %103) %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) store i32 0, ptr %3, align 4 br label %185 106: ; preds = %95 %107 = load ptr, ptr @stderr, align 8 %108 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef @.str.11) %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %185 110: ; preds = %92 %111 = getelementptr inbounds [29 x i8], ptr %7, i64 0, i64 20 store i8 0, ptr %111, align 4 %112 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 20 store i8 0, ptr %112, align 4 %113 = getelementptr inbounds [29 x i8], ptr %7, i64 0, i64 0 %114 = getelementptr inbounds [29 x i8], ptr %7, i64 0, i64 0 %115 = load i32, ptr %10, align 4 %116 = call i32 @sprintf(ptr noundef %113, ptr noundef @.str.12, ptr noundef %114, i32 noundef %115) %117 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 0 %118 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 0 %119 = load i32, ptr %10, align 4 %120 = call i32 @sprintf(ptr noundef %117, ptr noundef @.str.13, ptr noundef %118, i32 noundef %119) %121 = getelementptr inbounds [29 x i8], ptr %7, i64 0, i64 0 %122 = call ptr @fopen(ptr noundef %121, ptr noundef @.str.8) store ptr %122, ptr %6, align 8 %123 = load ptr, ptr %6, align 8 %124 = icmp eq ptr %123, null br i1 %124, label %125, label %177 125: ; preds = %110 %126 = call ptr @fopen(ptr noundef @.str.14, ptr noundef @.str.8) store ptr %126, ptr %6, align 8 %127 = load ptr, ptr %6, align 8 %128 = icmp eq ptr %127, null br i1 %128, label %129, label %133 129: ; preds = %125 %130 = load ptr, ptr @stderr, align 8 %131 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %130, ptr noundef @.str.11) %132 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %185 133: ; preds = %125 %134 = load ptr, ptr %6, align 8 %135 = load i32, ptr %10, align 4 %136 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef @.str.9, i32 noundef %135) %137 = load ptr, ptr %6, align 8 %138 = call i32 @fclose(ptr noundef %137) store i32 0, ptr %9, align 4 br label %139 139: ; preds = %150, %133 %140 = load i32, ptr %9, align 4 %141 = icmp slt i32 %140, 3 br i1 %141, label %142, label %153 142: ; preds = %139 %143 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 0 %144 = call ptr @fopen(ptr noundef %143, ptr noundef @.str.8) store ptr %144, ptr %6, align 8 %145 = load ptr, ptr %6, align 8 %146 = icmp ne ptr %145, null br i1 %146, label %147, label %148 147: ; preds = %142 br label %153 148: ; preds = %142 %149 = call i32 @usleep(i32 noundef 50000) br label %150 150: ; preds = %148 %151 = load i32, ptr %9, align 4 %152 = add nsw i32 %151, 1 store i32 %152, ptr %9, align 4 br label %139, !llvm.loop !8 153: ; preds = %147, %139 %154 = load i32, ptr %9, align 4 %155 = icmp eq i32 %154, 3 br i1 %155, label %156, label %161 156: ; preds = %153 %157 = load ptr, ptr @stderr, align 8 %158 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 0 %159 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %157, ptr noundef @.str.15, ptr noundef %158) %160 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %185 161: ; preds = %153 %162 = load ptr, ptr %6, align 8 %163 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %162, ptr noundef @.str.16) %164 = load ptr, ptr %6, align 8 %165 = call i32 @fclose(ptr noundef %164) %166 = getelementptr inbounds [29 x i8], ptr %7, i64 0, i64 0 %167 = call ptr @fopen(ptr noundef %166, ptr noundef @.str.8) store ptr %167, ptr %6, align 8 %168 = load ptr, ptr %6, align 8 %169 = icmp eq ptr %168, null br i1 %169, label %170, label %175 170: ; preds = %161 %171 = load ptr, ptr @stderr, align 8 %172 = getelementptr inbounds [29 x i8], ptr %7, i64 0, i64 0 %173 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %171, ptr noundef @.str.15, ptr noundef %172) %174 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %185 175: ; preds = %161 br label %176 176: ; preds = %175 br label %177 177: ; preds = %176, %110 %178 = load ptr, ptr %6, align 8 %179 = load i32, ptr %11, align 4 %180 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %178, ptr noundef @.str.9, i32 noundef %179) %181 = load ptr, ptr %6, align 8 %182 = call i32 @fclose(ptr noundef %181) %183 = load i32, ptr %11, align 4 %184 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %183) store i32 0, ptr %3, align 4 br label %185 185: ; preds = %177, %170, %156, %129, %106, %99, %87, %76, %15 %186 = load i32, ptr %3, align 4 ret i32 %186 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @atoi(ptr noundef) #2 declare i32 @strcmp(ptr noundef, ptr noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @usleep(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6chcs84w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.gpio = private unnamed_addr constant [29 x i8] c"/sys/class/gpio/gpio00/value\00", align 16 @__const.main.dir = private unnamed_addr constant [33 x i8] c"/sys/class/gpio/gpio00/direction\00", align 16 @__const.main.pin_ports = private unnamed_addr constant [40 x i32] [i32 -1, i32 -1, i32 2, i32 -1, i32 3, i32 -1, i32 4, i32 14, i32 -1, i32 15, i32 17, i32 18, i32 27, i32 -1, i32 22, i32 23, i32 -1, i32 24, i32 10, i32 -1, i32 9, i32 25, i32 11, i32 8, i32 -1, i32 7, i32 -1, i32 -1, i32 5, i32 -1, i32 6, i32 12, i32 13, i32 -1, i32 19, i32 16, i32 26, i32 20, i32 -1, i32 21], align 16 @stderr = dso_local global ptr null, align 8 @.str = private unnamed_addr constant [22 x i8] c"usage: %s port value\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"9\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"NC\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"LOW\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"HIGH\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"Unsupported Port Error, %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [29 x i8] c"Unsupported Value Error, %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [25 x i8] c"/sys/class/gpio/unexport\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.9 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.10 = private unnamed_addr constant [4 x i8] c"-1\0A\00", align 1 @.str.11 = private unnamed_addr constant [10 x i8] c"IO Error\0A\00", align 1 @.str.12 = private unnamed_addr constant [11 x i8] c"%s%d/value\00", align 1 @.str.13 = private unnamed_addr constant [15 x i8] c"%s%d/direction\00", align 1 @.str.14 = private unnamed_addr constant [23 x i8] c"/sys/class/gpio/export\00", align 1 @.str.15 = private unnamed_addr constant [13 x i8] c"IO Error %s\0A\00", align 1 @.str.16 = private unnamed_addr constant [5 x i8] c"out\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 [29 x i8], align 16 %8 = alloca [33 x i8], align 16 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [40 x i32], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.gpio, i64 29, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.dir, i64 33, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.main.pin_ports, i64 160, i1 false) %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 3 br i1 %14, label %15, label %22 15: ; preds = %2 %16 = load ptr, ptr @stderr, align 8 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef @.str, ptr noundef %19) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %187 22: ; preds = %2 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = call i32 @atoi(ptr noundef %25) store i32 %26, ptr %10, align 4 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 2 %29 = load ptr, ptr %28, align 8 %30 = call i32 @strcmp(ptr noundef %29, ptr noundef @.str.2) %31 = icmp ne i32 %30, 0 br i1 %31, label %33, label %32 32: ; preds = %22 store i32 -1, ptr %11, align 4 br label %54 33: ; preds = %22 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 2 %36 = load ptr, ptr %35, align 8 %37 = call i32 @strcmp(ptr noundef %36, ptr noundef @.str.3) %38 = icmp ne i32 %37, 0 br i1 %38, label %40, label %39 39: ; preds = %33 store i32 0, ptr %11, align 4 br label %53 40: ; preds = %33 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds ptr, ptr %41, i64 2 %43 = load ptr, ptr %42, align 8 %44 = call i32 @strcmp(ptr noundef %43, ptr noundef @.str.4) %45 = icmp ne i32 %44, 0 br i1 %45, label %47, label %46 46: ; preds = %40 store i32 1, ptr %11, align 4 br label %52 47: ; preds = %40 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds ptr, ptr %48, i64 2 %50 = load ptr, ptr %49, align 8 %51 = call i32 @atoi(ptr noundef %50) store i32 %51, ptr %11, align 4 br label %52 52: ; preds = %47, %46 br label %53 53: ; preds = %52, %39 br label %54 54: ; preds = %53, %32 store i32 0, ptr %9, align 4 %55 = load i32, ptr %9, align 4 %56 = icmp slt i32 %55, 40 br i1 %56, label %.lr.ph, label %.loopexit1 .lr.ph: ; preds = %54 br label %57 57: ; preds = %.lr.ph, %66 %58 = load i32, ptr %9, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [40 x i32], ptr %12, i64 0, i64 %59 %61 = load i32, ptr %60, align 4 %62 = load i32, ptr %10, align 4 %63 = icmp eq i32 %61, %62 br i1 %63, label %64, label %65 64: ; preds = %57 br label %71 65: ; preds = %57 br label %66 66: ; preds = %65 %67 = load i32, ptr %9, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %9, align 4 %69 = load i32, ptr %9, align 4 %70 = icmp slt i32 %69, 40 br i1 %70, label %57, label %..loopexit1_crit_edge, !llvm.loop !6 ..loopexit1_crit_edge: ; preds = %66 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %54 br label %71 71: ; preds = %.loopexit1, %64 %72 = load i32, ptr %9, align 4 %73 = icmp eq i32 %72, 40 br i1 %73, label %77, label %74 74: ; preds = %71 %75 = load i32, ptr %10, align 4 %76 = icmp slt i32 %75, 0 br i1 %76, label %77, label %82 77: ; preds = %74, %71 %78 = load ptr, ptr @stderr, align 8 %79 = load i32, ptr %10, align 4 %80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef @.str.5, i32 noundef %79) %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %187 82: ; preds = %74 %83 = load i32, ptr %11, align 4 %84 = icmp slt i32 %83, -1 br i1 %84, label %88, label %85 85: ; preds = %82 %86 = load i32, ptr %11, align 4 %87 = icmp sgt i32 %86, 1 br i1 %87, label %88, label %93 88: ; preds = %85, %82 %89 = load ptr, ptr @stderr, align 8 %90 = load i32, ptr %11, align 4 %91 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %89, ptr noundef @.str.6, i32 noundef %90) %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %187 93: ; preds = %85 %94 = load i32, ptr %11, align 4 %95 = icmp eq i32 %94, -1 br i1 %95, label %96, label %111 96: ; preds = %93 %97 = call ptr @fopen(ptr noundef @.str.7, ptr noundef @.str.8) store ptr %97, ptr %6, align 8 %98 = load ptr, ptr %6, align 8 %99 = icmp ne ptr %98, null br i1 %99, label %100, label %107 100: ; preds = %96 %101 = load ptr, ptr %6, align 8 %102 = load i32, ptr %10, align 4 %103 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %101, ptr noundef @.str.9, i32 noundef %102) %104 = load ptr, ptr %6, align 8 %105 = call i32 @fclose(ptr noundef %104) %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) store i32 0, ptr %3, align 4 br label %187 107: ; preds = %96 %108 = load ptr, ptr @stderr, align 8 %109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %108, ptr noundef @.str.11) %110 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %187 111: ; preds = %93 %112 = getelementptr inbounds [29 x i8], ptr %7, i64 0, i64 20 store i8 0, ptr %112, align 4 %113 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 20 store i8 0, ptr %113, align 4 %114 = getelementptr inbounds [29 x i8], ptr %7, i64 0, i64 0 %115 = getelementptr inbounds [29 x i8], ptr %7, i64 0, i64 0 %116 = load i32, ptr %10, align 4 %117 = call i32 @sprintf(ptr noundef %114, ptr noundef @.str.12, ptr noundef %115, i32 noundef %116) %118 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 0 %119 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 0 %120 = load i32, ptr %10, align 4 %121 = call i32 @sprintf(ptr noundef %118, ptr noundef @.str.13, ptr noundef %119, i32 noundef %120) %122 = getelementptr inbounds [29 x i8], ptr %7, i64 0, i64 0 %123 = call ptr @fopen(ptr noundef %122, ptr noundef @.str.8) store ptr %123, ptr %6, align 8 %124 = load ptr, ptr %6, align 8 %125 = icmp eq ptr %124, null br i1 %125, label %126, label %179 126: ; preds = %111 %127 = call ptr @fopen(ptr noundef @.str.14, ptr noundef @.str.8) store ptr %127, ptr %6, align 8 %128 = load ptr, ptr %6, align 8 %129 = icmp eq ptr %128, null br i1 %129, label %130, label %134 130: ; preds = %126 %131 = load ptr, ptr @stderr, align 8 %132 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %131, ptr noundef @.str.11) %133 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %187 134: ; preds = %126 %135 = load ptr, ptr %6, align 8 %136 = load i32, ptr %10, align 4 %137 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %135, ptr noundef @.str.9, i32 noundef %136) %138 = load ptr, ptr %6, align 8 %139 = call i32 @fclose(ptr noundef %138) store i32 0, ptr %9, align 4 %140 = load i32, ptr %9, align 4 %141 = icmp slt i32 %140, 3 br i1 %141, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %134 br label %142 142: ; preds = %.lr.ph2, %150 %143 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 0 %144 = call ptr @fopen(ptr noundef %143, ptr noundef @.str.8) store ptr %144, ptr %6, align 8 %145 = load ptr, ptr %6, align 8 %146 = icmp ne ptr %145, null br i1 %146, label %147, label %148 147: ; preds = %142 br label %155 148: ; preds = %142 %149 = call i32 @usleep(i32 noundef 50000) br label %150 150: ; preds = %148 %151 = load i32, ptr %9, align 4 %152 = add nsw i32 %151, 1 store i32 %152, ptr %9, align 4 %153 = load i32, ptr %9, align 4 %154 = icmp slt i32 %153, 3 br i1 %154, label %142, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %150 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %134 br label %155 155: ; preds = %.loopexit, %147 %156 = load i32, ptr %9, align 4 %157 = icmp eq i32 %156, 3 br i1 %157, label %158, label %163 158: ; preds = %155 %159 = load ptr, ptr @stderr, align 8 %160 = getelementptr inbounds [33 x i8], ptr %8, i64 0, i64 0 %161 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %159, ptr noundef @.str.15, ptr noundef %160) %162 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %187 163: ; preds = %155 %164 = load ptr, ptr %6, align 8 %165 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %164, ptr noundef @.str.16) %166 = load ptr, ptr %6, align 8 %167 = call i32 @fclose(ptr noundef %166) %168 = getelementptr inbounds [29 x i8], ptr %7, i64 0, i64 0 %169 = call ptr @fopen(ptr noundef %168, ptr noundef @.str.8) store ptr %169, ptr %6, align 8 %170 = load ptr, ptr %6, align 8 %171 = icmp eq ptr %170, null br i1 %171, label %172, label %177 172: ; preds = %163 %173 = load ptr, ptr @stderr, align 8 %174 = getelementptr inbounds [29 x i8], ptr %7, i64 0, i64 0 %175 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %173, ptr noundef @.str.15, ptr noundef %174) %176 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %187 177: ; preds = %163 br label %178 178: ; preds = %177 br label %179 179: ; preds = %178, %111 %180 = load ptr, ptr %6, align 8 %181 = load i32, ptr %11, align 4 %182 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %180, ptr noundef @.str.9, i32 noundef %181) %183 = load ptr, ptr %6, align 8 %184 = call i32 @fclose(ptr noundef %183) %185 = load i32, ptr %11, align 4 %186 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %185) store i32 0, ptr %3, align 4 br label %187 187: ; preds = %179, %172, %158, %130, %107, %100, %88, %77, %15 %188 = load i32, ptr %3, align 4 ret i32 %188 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @atoi(ptr noundef) #2 declare i32 @strcmp(ptr noundef, ptr noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @usleep(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpywgse4mx.c' source_filename = "/tmp/tmpywgse4mx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [128 x i8], align 16 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 128, i1 false) br label %4 4: ; preds = %9, %0 %5 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %6 = call i64 @scanf(ptr noundef @.str, ptr noundef %5) %7 = load i64, ptr @EOF, align 8 %8 = icmp ne i64 %6, %7 br i1 %8, label %9, label %22 9: ; preds = %4 %10 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %11 = call i32 @strlen(ptr noundef %10) %12 = mul nsw i32 %11, 2 %13 = add nsw i32 %12, 4 %14 = call ptr @malloc(i32 noundef %13) store ptr %14, ptr %3, align 8 %15 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %16 = load ptr, ptr %3, align 8 %17 = call i32 @pre_process(ptr noundef %15, ptr noundef %16) %18 = load ptr, ptr %3, align 8 %19 = call i32 @printf(ptr noundef @.str.1, ptr noundef %18) %20 = load ptr, ptr %3, align 8 %21 = call i32 @longest_palindrome(ptr noundef %20) br label %4, !llvm.loop !6 22: ; preds = %4 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i64 @scanf(ptr noundef, ptr noundef) #2 declare ptr @malloc(i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @pre_process(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 declare i32 @longest_palindrome(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpywgse4mx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [128 x i8], align 16 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 128, i1 false) %4 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %5 = call i64 @scanf(ptr noundef @.str, ptr noundef %4) %6 = load i64, ptr @EOF, align 8 %7 = icmp ne i64 %5, %6 br i1 %7, label %.lr.ph, label %24 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %8 %9 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %10 = call i32 @strlen(ptr noundef %9) %11 = mul nsw i32 %10, 2 %12 = add nsw i32 %11, 4 %13 = call ptr @malloc(i32 noundef %12) store ptr %13, ptr %3, align 8 %14 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %15 = load ptr, ptr %3, align 8 %16 = call i32 @pre_process(ptr noundef %14, ptr noundef %15) %17 = load ptr, ptr %3, align 8 %18 = call i32 @printf(ptr noundef @.str.1, ptr noundef %17) %19 = load ptr, ptr %3, align 8 %20 = call i32 @longest_palindrome(ptr noundef %19) %21 = call i64 @scanf(ptr noundef @.str, ptr noundef %4) %22 = load i64, ptr @EOF, align 8 %23 = icmp ne i64 %21, %22 br i1 %23, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %24 24: ; preds = %._crit_edge, %0 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i64 @scanf(ptr noundef, ptr noundef) #2 declare ptr @malloc(i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @pre_process(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 declare i32 @longest_palindrome(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpuekf9lmv.c' source_filename = "/tmp/tmpuekf9lmv.c" target datalayout = "e-m:e-p270: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/tmpuekf9lmv.c" target datalayout = "e-m:e-p270: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/tmppx40za3s.c' source_filename = "/tmp/tmppx40za3s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" \0A\00", align 1 @errno = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [54 x i8] c"[ERROR] (%s:%d: errno: %s) strtod sets errno to zero\0A\00", align 1 @.str.2 = private unnamed_addr constant [135 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/efferifick/wave/refs/heads/master/src/wave.c\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"None\00", align 1 @.str.4 = private unnamed_addr constant [47 x i8] c"[ERROR] (%s:%d: errno: %s) no frequency found\0A\00", align 1 @.str.5 = private unnamed_addr constant [33 x i8] c"DEBUG %s:%d: frequency[%d]: %lf\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_all_frequencies(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store ptr null, ptr %7, align 8 store ptr null, ptr %8, align 8 store i32 0, ptr %9, align 4 store double 0.000000e+00, ptr %10, align 8 store ptr null, ptr %11, align 8 br label %12 12: ; preds = %89, %3 %13 = load i32, ptr %9, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %12 %16 = load ptr, ptr %6, align 8 %17 = call ptr @strtok_r(ptr noundef %16, ptr noundef @.str, ptr noundef %8) store ptr %17, ptr %7, align 8 br label %20 18: ; preds = %12 %19 = call ptr @strtok_r(ptr noundef null, ptr noundef @.str, ptr noundef %8) store ptr %19, ptr %7, align 8 br label %20 20: ; preds = %18, %15 %21 = load i32, ptr %9, align 4 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %31 23: ; preds = %20 %24 = load ptr, ptr %7, align 8 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %31 26: ; preds = %23 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %9, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds double, ptr %27, i64 %29 store double 0.000000e+00, ptr %30, align 8 br label %31 31: ; preds = %26, %23, %20 %32 = load ptr, ptr %7, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %34, label %79 34: ; preds = %31 %35 = load ptr, ptr %7, align 8 %36 = call double @strtod(ptr noundef %35, ptr noundef %11) store double %36, ptr %10, align 8 %37 = load i64, ptr @errno, align 8 %38 = icmp eq i64 0, %37 br i1 %38, label %50, label %39 39: ; preds = %34 %40 = load i32, ptr @stderr, align 4 %41 = load i64, ptr @errno, align 8 %42 = icmp eq i64 %41, 0 br i1 %42, label %43, label %44 43: ; preds = %39 br label %47 44: ; preds = %39 %45 = load i64, ptr @errno, align 8 %46 = call ptr @strerror(i64 noundef %45) br label %47 47: ; preds = %44, %43 %48 = phi ptr [ @.str.3, %43 ], [ %46, %44 ] %49 = call i32 (i32, ptr, ptr, i32, ...) @fprintf(i32 noundef %40, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 363, ptr noundef %48) store i64 0, ptr @errno, align 8 br label %93 50: ; preds = %34 %51 = load ptr, ptr %7, align 8 %52 = load ptr, ptr %11, align 8 %53 = icmp ne ptr %51, %52 br i1 %53, label %65, label %54 54: ; preds = %50 %55 = load i32, ptr @stderr, align 4 %56 = load i64, ptr @errno, align 8 %57 = icmp eq i64 %56, 0 br i1 %57, label %58, label %59 58: ; preds = %54 br label %62 59: ; preds = %54 %60 = load i64, ptr @errno, align 8 %61 = call ptr @strerror(i64 noundef %60) br label %62 62: ; preds = %59, %58 %63 = phi ptr [ @.str.3, %58 ], [ %61, %59 ] %64 = call i32 (i32, ptr, ptr, i32, ...) @fprintf(i32 noundef %55, ptr noundef @.str.4, ptr noundef @.str.2, i32 noundef 364, ptr noundef %63) store i64 0, ptr @errno, align 8 br label %93 65: ; preds = %50 %66 = load double, ptr %10, align 8 %67 = load ptr, ptr %4, align 8 %68 = load i32, ptr %9, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds double, ptr %67, i64 %69 store double %66, ptr %70, align 8 %71 = load i32, ptr @stderr, align 4 %72 = load i32, ptr %9, align 4 %73 = load ptr, ptr %4, align 8 %74 = load i32, ptr %9, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds double, ptr %73, i64 %75 %77 = load double, ptr %76, align 8 %78 = call i32 (i32, ptr, ptr, i32, ...) @fprintf(i32 noundef %71, ptr noundef @.str.5, ptr noundef @.str.2, i32 noundef 366, i32 noundef %72, double noundef %77) br label %79 79: ; preds = %65, %31 %80 = load i32, ptr %9, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %9, align 4 br label %82 82: ; preds = %79 %83 = load ptr, ptr %7, align 8 %84 = icmp ne ptr %83, null br i1 %84, label %85, label %89 85: ; preds = %82 %86 = load i32, ptr %9, align 4 %87 = load i32, ptr %5, align 4 %88 = icmp slt i32 %86, %87 br label %89 89: ; preds = %85, %82 %90 = phi i1 [ false, %82 ], [ %88, %85 ] br i1 %90, label %12, label %91, !llvm.loop !6 91: ; preds = %89 %92 = load i32, ptr %9, align 4 ret i32 %92 93: ; preds = %62, %47 %94 = load i32, ptr @EXIT_FAILURE, align 4 %95 = call i32 @exit(i32 noundef %94) #3 unreachable } declare ptr @strtok_r(ptr noundef, ptr noundef, ptr noundef) #1 declare double @strtod(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ...) #1 declare ptr @strerror(i64 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/tmppx40za3s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" \0A\00", align 1 @errno = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [54 x i8] c"[ERROR] (%s:%d: errno: %s) strtod sets errno to zero\0A\00", align 1 @.str.2 = private unnamed_addr constant [135 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/efferifick/wave/refs/heads/master/src/wave.c\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"None\00", align 1 @.str.4 = private unnamed_addr constant [47 x i8] c"[ERROR] (%s:%d: errno: %s) no frequency found\0A\00", align 1 @.str.5 = private unnamed_addr constant [33 x i8] c"DEBUG %s:%d: frequency[%d]: %lf\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_all_frequencies(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store ptr null, ptr %7, align 8 store ptr null, ptr %8, align 8 store i32 0, ptr %9, align 4 store double 0.000000e+00, ptr %10, align 8 store ptr null, ptr %11, align 8 br label %12 12: ; preds = %89, %3 %13 = load i32, ptr %9, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %12 %16 = load ptr, ptr %6, align 8 %17 = call ptr @strtok_r(ptr noundef %16, ptr noundef @.str, ptr noundef %8) store ptr %17, ptr %7, align 8 br label %20 18: ; preds = %12 %19 = call ptr @strtok_r(ptr noundef null, ptr noundef @.str, ptr noundef %8) store ptr %19, ptr %7, align 8 br label %20 20: ; preds = %18, %15 %21 = load i32, ptr %9, align 4 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %31 23: ; preds = %20 %24 = load ptr, ptr %7, align 8 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %31 26: ; preds = %23 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %9, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds double, ptr %27, i64 %29 store double 0.000000e+00, ptr %30, align 8 br label %31 31: ; preds = %26, %23, %20 %32 = load ptr, ptr %7, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %34, label %79 34: ; preds = %31 %35 = load ptr, ptr %7, align 8 %36 = call double @strtod(ptr noundef %35, ptr noundef %11) store double %36, ptr %10, align 8 %37 = load i64, ptr @errno, align 8 %38 = icmp eq i64 0, %37 br i1 %38, label %50, label %39 39: ; preds = %34 %40 = load i32, ptr @stderr, align 4 %41 = load i64, ptr @errno, align 8 %42 = icmp eq i64 %41, 0 br i1 %42, label %43, label %44 43: ; preds = %39 br label %47 44: ; preds = %39 %45 = load i64, ptr @errno, align 8 %46 = call ptr @strerror(i64 noundef %45) br label %47 47: ; preds = %44, %43 %48 = phi ptr [ @.str.3, %43 ], [ %46, %44 ] %49 = call i32 (i32, ptr, ptr, i32, ...) @fprintf(i32 noundef %40, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 363, ptr noundef %48) store i64 0, ptr @errno, align 8 br label %93 50: ; preds = %34 %51 = load ptr, ptr %7, align 8 %52 = load ptr, ptr %11, align 8 %53 = icmp ne ptr %51, %52 br i1 %53, label %65, label %54 54: ; preds = %50 %55 = load i32, ptr @stderr, align 4 %56 = load i64, ptr @errno, align 8 %57 = icmp eq i64 %56, 0 br i1 %57, label %58, label %59 58: ; preds = %54 br label %62 59: ; preds = %54 %60 = load i64, ptr @errno, align 8 %61 = call ptr @strerror(i64 noundef %60) br label %62 62: ; preds = %59, %58 %63 = phi ptr [ @.str.3, %58 ], [ %61, %59 ] %64 = call i32 (i32, ptr, ptr, i32, ...) @fprintf(i32 noundef %55, ptr noundef @.str.4, ptr noundef @.str.2, i32 noundef 364, ptr noundef %63) store i64 0, ptr @errno, align 8 br label %93 65: ; preds = %50 %66 = load double, ptr %10, align 8 %67 = load ptr, ptr %4, align 8 %68 = load i32, ptr %9, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds double, ptr %67, i64 %69 store double %66, ptr %70, align 8 %71 = load i32, ptr @stderr, align 4 %72 = load i32, ptr %9, align 4 %73 = load ptr, ptr %4, align 8 %74 = load i32, ptr %9, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds double, ptr %73, i64 %75 %77 = load double, ptr %76, align 8 %78 = call i32 (i32, ptr, ptr, i32, ...) @fprintf(i32 noundef %71, ptr noundef @.str.5, ptr noundef @.str.2, i32 noundef 366, i32 noundef %72, double noundef %77) br label %79 79: ; preds = %65, %31 %80 = load i32, ptr %9, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %9, align 4 br label %82 82: ; preds = %79 %83 = load ptr, ptr %7, align 8 %84 = icmp ne ptr %83, null br i1 %84, label %85, label %89 85: ; preds = %82 %86 = load i32, ptr %9, align 4 %87 = load i32, ptr %5, align 4 %88 = icmp slt i32 %86, %87 br label %89 89: ; preds = %85, %82 %90 = phi i1 [ false, %82 ], [ %88, %85 ] br i1 %90, label %12, label %91, !llvm.loop !6 91: ; preds = %89 %92 = load i32, ptr %9, align 4 ret i32 %92 93: ; preds = %62, %47 %94 = load i32, ptr @EXIT_FAILURE, align 4 %95 = call i32 @exit(i32 noundef %94) #3 unreachable } declare ptr @strtok_r(ptr noundef, ptr noundef, ptr noundef) #1 declare double @strtod(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ...) #1 declare ptr @strerror(i64 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/tmpqyl8tsds.c' source_filename = "/tmp/tmpqyl8tsds.c" target datalayout = "e-m:e-p270: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/tmpqyl8tsds.c" target datalayout = "e-m:e-p270: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/tmpkqhht8ip.c' source_filename = "/tmp/tmpkqhht8ip.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @objc_valloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call ptr @valloc(i64 noundef %3) ret ptr %4 } declare ptr @valloc(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkqhht8ip.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @objc_valloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call ptr @valloc(i64 noundef %3) ret ptr %4 } declare ptr @valloc(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp75rj1ww_.c' source_filename = "/tmp/tmp75rj1ww_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ld0014(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 double, align 8 %10 = alloca double, align 8 %11 = alloca i32, align 4 %12 = alloca double, 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 store double 0.000000e+00, ptr %9, align 8 store double 0.000000e+00, ptr %10, align 8 store i32 0, ptr %11, align 4 store double 0x3FB1111111111111, ptr %12, align 8 %13 = load i32, ptr %11, align 4 %14 = load double, ptr %9, align 8 %15 = load double, ptr %10, align 8 %16 = load double, ptr %12, align 8 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %11, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds double, ptr %17, i64 %19 %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr %11, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds double, ptr %21, i64 %23 %25 = load ptr, ptr %7, align 8 %26 = load i32, ptr %11, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds double, ptr %25, i64 %27 %29 = load ptr, ptr %8, align 8 %30 = load i32, ptr %11, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds double, ptr %29, i64 %31 %33 = call i32 @gen_oh(i32 noundef 1, double noundef %14, double noundef %15, double noundef %16, ptr noundef %20, ptr noundef %24, ptr noundef %28, ptr noundef %32) %34 = add nsw i32 %13, %33 store i32 %34, ptr %11, align 4 store double 0x3FB3333333333333, ptr %12, align 8 %35 = load i32, ptr %11, align 4 %36 = load double, ptr %9, align 8 %37 = load double, ptr %10, align 8 %38 = load double, ptr %12, align 8 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %11, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds double, ptr %39, i64 %41 %43 = load ptr, ptr %6, align 8 %44 = load i32, ptr %11, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds double, ptr %43, i64 %45 %47 = load ptr, ptr %7, align 8 %48 = load i32, ptr %11, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds double, ptr %47, i64 %49 %51 = load ptr, ptr %8, align 8 %52 = load i32, ptr %11, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds double, ptr %51, i64 %53 %55 = call i32 @gen_oh(i32 noundef 3, double noundef %36, double noundef %37, double noundef %38, ptr noundef %42, ptr noundef %46, ptr noundef %50, ptr noundef %54) %56 = add nsw i32 %35, %55 store i32 %56, ptr %11, align 4 %57 = load i32, ptr %11, align 4 %58 = sub nsw i32 %57, 1 store i32 %58, ptr %11, align 4 ret void } declare i32 @gen_oh(i32 noundef, double noundef, double noundef, double 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/tmp75rj1ww_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ld0014(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 double, align 8 %10 = alloca double, align 8 %11 = alloca i32, align 4 %12 = alloca double, 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 store double 0.000000e+00, ptr %9, align 8 store double 0.000000e+00, ptr %10, align 8 store i32 0, ptr %11, align 4 store double 0x3FB1111111111111, ptr %12, align 8 %13 = load i32, ptr %11, align 4 %14 = load double, ptr %9, align 8 %15 = load double, ptr %10, align 8 %16 = load double, ptr %12, align 8 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %11, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds double, ptr %17, i64 %19 %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr %11, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds double, ptr %21, i64 %23 %25 = load ptr, ptr %7, align 8 %26 = load i32, ptr %11, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds double, ptr %25, i64 %27 %29 = load ptr, ptr %8, align 8 %30 = load i32, ptr %11, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds double, ptr %29, i64 %31 %33 = call i32 @gen_oh(i32 noundef 1, double noundef %14, double noundef %15, double noundef %16, ptr noundef %20, ptr noundef %24, ptr noundef %28, ptr noundef %32) %34 = add nsw i32 %13, %33 store i32 %34, ptr %11, align 4 store double 0x3FB3333333333333, ptr %12, align 8 %35 = load i32, ptr %11, align 4 %36 = load double, ptr %9, align 8 %37 = load double, ptr %10, align 8 %38 = load double, ptr %12, align 8 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %11, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds double, ptr %39, i64 %41 %43 = load ptr, ptr %6, align 8 %44 = load i32, ptr %11, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds double, ptr %43, i64 %45 %47 = load ptr, ptr %7, align 8 %48 = load i32, ptr %11, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds double, ptr %47, i64 %49 %51 = load ptr, ptr %8, align 8 %52 = load i32, ptr %11, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds double, ptr %51, i64 %53 %55 = call i32 @gen_oh(i32 noundef 3, double noundef %36, double noundef %37, double noundef %38, ptr noundef %42, ptr noundef %46, ptr noundef %50, ptr noundef %54) %56 = add nsw i32 %35, %55 store i32 %56, ptr %11, align 4 %57 = load i32, ptr %11, align 4 %58 = sub nsw i32 %57, 1 store i32 %58, ptr %11, align 4 ret void } declare i32 @gen_oh(i32 noundef, double noundef, double noundef, double 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/tmpwawxb1to.c' source_filename = "/tmp/tmpwawxb1to.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @die_obj_line_v(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %9 = call i32 @set_warn_handler(ptr noundef null) %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr %6, align 4 %12 = load ptr, ptr %7, align 8 %13 = load i32, ptr %8, align 4 %14 = call i32 @warn_obj_line_v(ptr noundef %10, i32 noundef %11, ptr noundef %12, i32 noundef %13) %15 = load i32, ptr @EXIT_FAILURE, align 4 %16 = call i32 @exit(i32 noundef %15) #3 unreachable } declare i32 @set_warn_handler(ptr noundef) #1 declare i32 @warn_obj_line_v(ptr noundef, i32 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/tmpwawxb1to.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @die_obj_line_v(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %9 = call i32 @set_warn_handler(ptr noundef null) %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr %6, align 4 %12 = load ptr, ptr %7, align 8 %13 = load i32, ptr %8, align 4 %14 = call i32 @warn_obj_line_v(ptr noundef %10, i32 noundef %11, ptr noundef %12, i32 noundef %13) %15 = load i32, ptr @EXIT_FAILURE, align 4 %16 = call i32 @exit(i32 noundef %15) #3 unreachable } declare i32 @set_warn_handler(ptr noundef) #1 declare i32 @warn_obj_line_v(ptr noundef, i32 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/tmpjxjqqsxn.c' source_filename = "/tmp/tmpjxjqqsxn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tcpconHandleBnlpull(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 @tcpconHandleBnlTransfer(ptr noundef %3, i32 noundef 1) ret i32 %4 } declare i32 @tcpconHandleBnlTransfer(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/tmpjxjqqsxn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tcpconHandleBnlpull(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 @tcpconHandleBnlTransfer(ptr noundef %3, i32 noundef 1) ret i32 %4 } declare i32 @tcpconHandleBnlTransfer(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/tmphg5gumen.c' source_filename = "/tmp/tmphg5gumen.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"rlog \22-d>%s\22 %s 2>/dev/null\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"locks:\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"----------------------------\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c" (is being edited)\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.8 = private unnamed_addr constant [78 x i8] c"=============================================================================\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [4096 x i8], align 16 %10 = alloca [4096 x i8], align 16 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = 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 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 store ptr %16, ptr %6, align 8 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 2 %19 = load ptr, ptr %18, align 8 store ptr %19, ptr %7, align 8 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 %20 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %21 = load ptr, ptr %6, align 8 %22 = load ptr, ptr %7, align 8 %23 = call i32 @sprintf(ptr noundef %20, ptr noundef @.str, ptr noundef %21, ptr noundef %22) %24 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %25 = call ptr @popen(ptr noundef %24, ptr noundef @.str.1) store ptr %25, ptr %8, align 8 br label %26 26: ; preds = %81, %2 %27 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0 %28 = load ptr, ptr %8, align 8 %29 = call i64 @fgets(ptr noundef %27, i32 noundef 4096, ptr noundef %28) %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %82 31: ; preds = %26 %32 = load i32, ptr %12, align 4 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %40 34: ; preds = %31 %35 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0 %36 = call i64 @strncmp(ptr noundef %35, ptr noundef @.str.2, i32 noundef 6) %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %39 38: ; preds = %34 store i32 1, ptr %12, align 4 br label %39 39: ; preds = %38, %34 br label %51 40: ; preds = %31 %41 = load i32, ptr %12, align 4 %42 = icmp eq i32 %41, 1 br i1 %42, label %43, label %50 43: ; preds = %40 %44 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0 %45 = load i8, ptr %44, align 16 %46 = call i64 @isspace(i8 noundef signext %45) %47 = icmp ne i64 %46, 0 br i1 %47, label %48, label %49 48: ; preds = %43 store i32 1, ptr %13, align 4 br label %49 49: ; preds = %48, %43 store i32 2, ptr %12, align 4 br label %50 50: ; preds = %49, %40 br label %51 51: ; preds = %50, %39 %52 = load i32, ptr %11, align 4 %53 = icmp ne i32 %52, 0 br i1 %53, label %74, label %54 54: ; preds = %51 %55 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0 %56 = call i64 @strcmp(ptr noundef %55, ptr noundef @.str.3) %57 = icmp eq i64 %56, 0 %58 = zext i1 %57 to i32 store i32 %58, ptr %11, align 4 %59 = load i32, ptr %11, align 4 %60 = icmp ne i32 %59, 0 br i1 %60, label %61, label %73 61: ; preds = %54 %62 = load i32, ptr @stdout, align 4 %63 = load ptr, ptr %7, align 8 %64 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %62, ptr noundef @.str.4, ptr noundef %63) %65 = load i32, ptr %13, align 4 %66 = icmp ne i32 %65, 0 br i1 %66, label %67, label %70 67: ; preds = %61 %68 = load i32, ptr @stdout, align 4 %69 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %68, ptr noundef @.str.5) br label %70 70: ; preds = %67, %61 %71 = load i32, ptr @stdout, align 4 %72 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %71, ptr noundef @.str.6) store i32 0, ptr %13, align 4 br label %73 73: ; preds = %70, %54 br label %74 74: ; preds = %73, %51 %75 = load i32, ptr %11, align 4 %76 = icmp ne i32 %75, 0 br i1 %76, label %77, label %81 77: ; preds = %74 %78 = load i32, ptr @stdout, align 4 %79 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0 %80 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %78, ptr noundef @.str.4, ptr noundef %79) br label %81 81: ; preds = %77, %74 br label %26, !llvm.loop !6 82: ; preds = %26 %83 = load ptr, ptr %8, align 8 %84 = call i32 @pclose(ptr noundef %83) %85 = load i32, ptr %13, align 4 %86 = icmp ne i32 %85, 0 br i1 %86, label %87, label %101 87: ; preds = %82 %88 = load i32, ptr @stdout, align 4 %89 = load ptr, ptr %7, align 8 %90 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %88, ptr noundef @.str.4, ptr noundef %89) %91 = load i32, ptr %13, align 4 %92 = icmp ne i32 %91, 0 br i1 %92, label %93, label %96 93: ; preds = %87 %94 = load i32, ptr @stdout, align 4 %95 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %94, ptr noundef @.str.5) br label %96 96: ; preds = %93, %87 %97 = load i32, ptr @stdout, align 4 %98 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %97, ptr noundef @.str.6) %99 = load i32, ptr @stdout, align 4 %100 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %99, ptr noundef @.str.7, ptr noundef @.str.8) br label %101 101: ; preds = %96, %82 %102 = load i32, ptr %11, align 4 %103 = icmp ne i32 %102, 0 br i1 %103, label %107, label %104 104: ; preds = %101 %105 = load i32, ptr %13, align 4 %106 = icmp ne i32 %105, 0 br i1 %106, label %107, label %110 107: ; preds = %104, %101 %108 = load i32, ptr @stdout, align 4 %109 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %108, ptr noundef @.str.6) br label %110 110: ; preds = %107, %104 ret i32 0 } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @popen(ptr noundef, ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @isspace(i8 noundef signext) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @pclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmphg5gumen.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"rlog \22-d>%s\22 %s 2>/dev/null\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"locks:\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"----------------------------\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c" (is being edited)\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.8 = private unnamed_addr constant [78 x i8] c"=============================================================================\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [4096 x i8], align 16 %10 = alloca [4096 x i8], align 16 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = 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 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 store ptr %16, ptr %6, align 8 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 2 %19 = load ptr, ptr %18, align 8 store ptr %19, ptr %7, align 8 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 %20 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %21 = load ptr, ptr %6, align 8 %22 = load ptr, ptr %7, align 8 %23 = call i32 @sprintf(ptr noundef %20, ptr noundef @.str, ptr noundef %21, ptr noundef %22) %24 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %25 = call ptr @popen(ptr noundef %24, ptr noundef @.str.1) store ptr %25, ptr %8, align 8 %26 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0 %27 = load ptr, ptr %8, align 8 %28 = call i64 @fgets(ptr noundef %26, i32 noundef 4096, ptr noundef %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %.lr.ph, label %84 .lr.ph: ; preds = %2 br label %30 30: ; preds = %.lr.ph, %80 %31 = load i32, ptr %12, align 4 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %39 33: ; preds = %30 %34 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0 %35 = call i64 @strncmp(ptr noundef %34, ptr noundef @.str.2, i32 noundef 6) %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %38 37: ; preds = %33 store i32 1, ptr %12, align 4 br label %38 38: ; preds = %37, %33 br label %50 39: ; preds = %30 %40 = load i32, ptr %12, align 4 %41 = icmp eq i32 %40, 1 br i1 %41, label %42, label %49 42: ; preds = %39 %43 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0 %44 = load i8, ptr %43, align 16 %45 = call i64 @isspace(i8 noundef signext %44) %46 = icmp ne i64 %45, 0 br i1 %46, label %47, label %48 47: ; preds = %42 store i32 1, ptr %13, align 4 br label %48 48: ; preds = %47, %42 store i32 2, ptr %12, align 4 br label %49 49: ; preds = %48, %39 br label %50 50: ; preds = %49, %38 %51 = load i32, ptr %11, align 4 %52 = icmp ne i32 %51, 0 br i1 %52, label %73, label %53 53: ; preds = %50 %54 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0 %55 = call i64 @strcmp(ptr noundef %54, ptr noundef @.str.3) %56 = icmp eq i64 %55, 0 %57 = zext i1 %56 to i32 store i32 %57, ptr %11, align 4 %58 = load i32, ptr %11, align 4 %59 = icmp ne i32 %58, 0 br i1 %59, label %60, label %72 60: ; preds = %53 %61 = load i32, ptr @stdout, align 4 %62 = load ptr, ptr %7, align 8 %63 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %61, ptr noundef @.str.4, ptr noundef %62) %64 = load i32, ptr %13, align 4 %65 = icmp ne i32 %64, 0 br i1 %65, label %66, label %69 66: ; preds = %60 %67 = load i32, ptr @stdout, align 4 %68 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %67, ptr noundef @.str.5) br label %69 69: ; preds = %66, %60 %70 = load i32, ptr @stdout, align 4 %71 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %70, ptr noundef @.str.6) store i32 0, ptr %13, align 4 br label %72 72: ; preds = %69, %53 br label %73 73: ; preds = %72, %50 %74 = load i32, ptr %11, align 4 %75 = icmp ne i32 %74, 0 br i1 %75, label %76, label %80 76: ; preds = %73 %77 = load i32, ptr @stdout, align 4 %78 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0 %79 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %77, ptr noundef @.str.4, ptr noundef %78) br label %80 80: ; preds = %76, %73 %81 = load ptr, ptr %8, align 8 %82 = call i64 @fgets(ptr noundef %26, i32 noundef 4096, ptr noundef %81) %83 = icmp ne i64 %82, 0 br i1 %83, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %80 br label %84 84: ; preds = %._crit_edge, %2 %85 = load ptr, ptr %8, align 8 %86 = call i32 @pclose(ptr noundef %85) %87 = load i32, ptr %13, align 4 %88 = icmp ne i32 %87, 0 br i1 %88, label %89, label %103 89: ; preds = %84 %90 = load i32, ptr @stdout, align 4 %91 = load ptr, ptr %7, align 8 %92 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %90, ptr noundef @.str.4, ptr noundef %91) %93 = load i32, ptr %13, align 4 %94 = icmp ne i32 %93, 0 br i1 %94, label %95, label %98 95: ; preds = %89 %96 = load i32, ptr @stdout, align 4 %97 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %96, ptr noundef @.str.5) br label %98 98: ; preds = %95, %89 %99 = load i32, ptr @stdout, align 4 %100 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %99, ptr noundef @.str.6) %101 = load i32, ptr @stdout, align 4 %102 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %101, ptr noundef @.str.7, ptr noundef @.str.8) br label %103 103: ; preds = %98, %84 %104 = load i32, ptr %11, align 4 %105 = icmp ne i32 %104, 0 br i1 %105, label %109, label %106 106: ; preds = %103 %107 = load i32, ptr %13, align 4 %108 = icmp ne i32 %107, 0 br i1 %108, label %109, label %112 109: ; preds = %106, %103 %110 = load i32, ptr @stdout, align 4 %111 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %110, ptr noundef @.str.6) br label %112 112: ; preds = %109, %106 ret i32 0 } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @popen(ptr noundef, ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @isspace(i8 noundef signext) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @pclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpat99l8sa.c' source_filename = "/tmp/tmpat99l8sa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stdlib_strided_dmeanvarpn(i64 noundef %0, double noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i64 noundef %5) #0 { %7 = alloca i64, align 8 %8 = alloca double, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 store i64 %0, ptr %7, align 8 store double %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store i64 %5, ptr %12, align 8 %23 = load i64, ptr %10, align 8 %24 = icmp slt i64 %23, 0 br i1 %24, label %25, label %30 25: ; preds = %6 %26 = load i64, ptr %7, align 8 %27 = sub nsw i64 1, %26 %28 = load i64, ptr %10, align 8 %29 = mul nsw i64 %27, %28 store i64 %29, ptr %13, align 8 br label %31 30: ; preds = %6 store i64 0, ptr %13, align 8 br label %31 31: ; preds = %30, %25 %32 = load i64, ptr %12, align 8 %33 = icmp slt i64 %32, 0 br i1 %33, label %34, label %37 34: ; preds = %31 %35 = load i64, ptr %12, align 8 %36 = sub nsw i64 0, %35 store i64 %36, ptr %14, align 8 br label %38 37: ; preds = %31 store i64 0, ptr %14, align 8 br label %38 38: ; preds = %37, %34 %39 = load i64, ptr %7, align 8 %40 = icmp sle i64 %39, 0 br i1 %40, label %41, label %50 41: ; preds = %38 %42 = load ptr, ptr %11, align 8 %43 = load i64, ptr %14, align 8 %44 = getelementptr inbounds double, ptr %42, i64 %43 store double 0x7FF8000000000000, ptr %44, align 8 %45 = load ptr, ptr %11, align 8 %46 = load i64, ptr %14, align 8 %47 = load i64, ptr %12, align 8 %48 = add nsw i64 %46, %47 %49 = getelementptr inbounds double, ptr %45, i64 %48 store double 0x7FF8000000000000, ptr %49, align 8 br label %162 50: ; preds = %38 %51 = load i64, ptr %7, align 8 %52 = sitofp i64 %51 to double store double %52, ptr %18, align 8 %53 = load double, ptr %18, align 8 %54 = load double, ptr %8, align 8 %55 = fsub double %53, %54 store double %55, ptr %22, align 8 %56 = load i64, ptr %7, align 8 %57 = icmp eq i64 %56, 1 br i1 %57, label %61, label %58 58: ; preds = %50 %59 = load i64, ptr %10, align 8 %60 = icmp eq i64 %59, 0 br i1 %60, label %61, label %84 61: ; preds = %58, %50 %62 = load ptr, ptr %9, align 8 %63 = load i64, ptr %13, align 8 %64 = getelementptr inbounds double, ptr %62, i64 %63 %65 = load double, ptr %64, align 8 %66 = load ptr, ptr %11, align 8 %67 = load i64, ptr %14, align 8 %68 = getelementptr inbounds double, ptr %66, i64 %67 store double %65, ptr %68, align 8 %69 = load double, ptr %22, align 8 %70 = fcmp ole double %69, 0.000000e+00 br i1 %70, label %71, label %77 71: ; preds = %61 %72 = load ptr, ptr %11, align 8 %73 = load i64, ptr %14, align 8 %74 = load i64, ptr %12, align 8 %75 = add nsw i64 %73, %74 %76 = getelementptr inbounds double, ptr %72, i64 %75 store double 0x7FF8000000000000, ptr %76, align 8 br label %83 77: ; preds = %61 %78 = load ptr, ptr %11, align 8 %79 = load i64, ptr %14, align 8 %80 = load i64, ptr %12, align 8 %81 = add nsw i64 %79, %80 %82 = getelementptr inbounds double, ptr %78, i64 %81 store double 0.000000e+00, ptr %82, align 8 br label %83 83: ; preds = %77, %71 br label %162 84: ; preds = %58 %85 = load i64, ptr %7, align 8 %86 = load ptr, ptr %9, align 8 %87 = load i64, ptr %10, align 8 %88 = call double @stdlib_strided_dsumpw(i64 noundef %85, ptr noundef %86, i64 noundef %87) %89 = load double, ptr %18, align 8 %90 = fdiv double %88, %89 store double %90, ptr %17, align 8 %91 = load double, ptr %17, align 8 %92 = load double, ptr %17, align 8 %93 = fcmp une double %91, %92 br i1 %93, label %94, label %103 94: ; preds = %84 %95 = load ptr, ptr %11, align 8 %96 = load i64, ptr %14, align 8 %97 = getelementptr inbounds double, ptr %95, i64 %96 store double 0x7FF8000000000000, ptr %97, align 8 %98 = load ptr, ptr %11, align 8 %99 = load i64, ptr %14, align 8 %100 = load i64, ptr %12, align 8 %101 = add nsw i64 %99, %100 %102 = getelementptr inbounds double, ptr %98, i64 %101 store double 0x7FF8000000000000, ptr %102, align 8 br label %162 103: ; preds = %84 store double 0.000000e+00, ptr %16, align 8 store double 0.000000e+00, ptr %19, align 8 store i64 0, ptr %15, align 8 br label %104 104: ; preds = %125, %103 %105 = load i64, ptr %15, align 8 %106 = load i64, ptr %7, align 8 %107 = icmp slt i64 %105, %106 br i1 %107, label %108, label %128 108: ; preds = %104 %109 = load ptr, ptr %9, align 8 %110 = load i64, ptr %13, align 8 %111 = getelementptr inbounds double, ptr %109, i64 %110 %112 = load double, ptr %111, align 8 %113 = load double, ptr %17, align 8 %114 = fsub double %112, %113 store double %114, ptr %20, align 8 %115 = load double, ptr %20, align 8 %116 = load double, ptr %20, align 8 %117 = load double, ptr %16, align 8 %118 = call double @llvm.fmuladd.f64(double %115, double %116, double %117) store double %118, ptr %16, align 8 %119 = load double, ptr %20, align 8 %120 = load double, ptr %19, align 8 %121 = fadd double %120, %119 store double %121, ptr %19, align 8 %122 = load i64, ptr %10, align 8 %123 = load i64, ptr %13, align 8 %124 = add nsw i64 %123, %122 store i64 %124, ptr %13, align 8 br label %125 125: ; preds = %108 %126 = load i64, ptr %15, align 8 %127 = add nsw i64 %126, 1 store i64 %127, ptr %15, align 8 br label %104, !llvm.loop !6 128: ; preds = %104 %129 = load double, ptr %19, align 8 %130 = load double, ptr %18, align 8 %131 = fdiv double %129, %130 store double %131, ptr %21, align 8 %132 = load double, ptr %17, align 8 %133 = load double, ptr %21, align 8 %134 = fadd double %132, %133 %135 = load ptr, ptr %11, align 8 %136 = load i64, ptr %14, align 8 %137 = getelementptr inbounds double, ptr %135, i64 %136 store double %134, ptr %137, align 8 %138 = load double, ptr %22, align 8 %139 = fcmp ole double %138, 0.000000e+00 br i1 %139, label %140, label %146 140: ; preds = %128 %141 = load ptr, ptr %11, align 8 %142 = load i64, ptr %14, align 8 %143 = load i64, ptr %12, align 8 %144 = add nsw i64 %142, %143 %145 = getelementptr inbounds double, ptr %141, i64 %144 store double 0x7FF8000000000000, ptr %145, align 8 br label %161 146: ; preds = %128 %147 = load double, ptr %16, align 8 %148 = load double, ptr %22, align 8 %149 = fdiv double %147, %148 %150 = load double, ptr %21, align 8 %151 = load double, ptr %19, align 8 %152 = load double, ptr %22, align 8 %153 = fdiv double %151, %152 %154 = fneg double %150 %155 = call double @llvm.fmuladd.f64(double %154, double %153, double %149) %156 = load ptr, ptr %11, align 8 %157 = load i64, ptr %14, align 8 %158 = load i64, ptr %12, align 8 %159 = add nsw i64 %157, %158 %160 = getelementptr inbounds double, ptr %156, i64 %159 store double %155, ptr %160, align 8 br label %161 161: ; preds = %146, %140 br label %162 162: ; preds = %161, %94, %83, %41 ret void } declare double @stdlib_strided_dsumpw(i64 noundef, ptr noundef, i64 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpat99l8sa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stdlib_strided_dmeanvarpn(i64 noundef %0, double noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i64 noundef %5) #0 { %7 = alloca i64, align 8 %8 = alloca double, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 store i64 %0, ptr %7, align 8 store double %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store i64 %5, ptr %12, align 8 %23 = load i64, ptr %10, align 8 %24 = icmp slt i64 %23, 0 br i1 %24, label %25, label %30 25: ; preds = %6 %26 = load i64, ptr %7, align 8 %27 = sub nsw i64 1, %26 %28 = load i64, ptr %10, align 8 %29 = mul nsw i64 %27, %28 store i64 %29, ptr %13, align 8 br label %31 30: ; preds = %6 store i64 0, ptr %13, align 8 br label %31 31: ; preds = %30, %25 %32 = load i64, ptr %12, align 8 %33 = icmp slt i64 %32, 0 br i1 %33, label %34, label %37 34: ; preds = %31 %35 = load i64, ptr %12, align 8 %36 = sub nsw i64 0, %35 store i64 %36, ptr %14, align 8 br label %38 37: ; preds = %31 store i64 0, ptr %14, align 8 br label %38 38: ; preds = %37, %34 %39 = load i64, ptr %7, align 8 %40 = icmp sle i64 %39, 0 br i1 %40, label %41, label %50 41: ; preds = %38 %42 = load ptr, ptr %11, align 8 %43 = load i64, ptr %14, align 8 %44 = getelementptr inbounds double, ptr %42, i64 %43 store double 0x7FF8000000000000, ptr %44, align 8 %45 = load ptr, ptr %11, align 8 %46 = load i64, ptr %14, align 8 %47 = load i64, ptr %12, align 8 %48 = add nsw i64 %46, %47 %49 = getelementptr inbounds double, ptr %45, i64 %48 store double 0x7FF8000000000000, ptr %49, align 8 br label %164 50: ; preds = %38 %51 = load i64, ptr %7, align 8 %52 = sitofp i64 %51 to double store double %52, ptr %18, align 8 %53 = load double, ptr %18, align 8 %54 = load double, ptr %8, align 8 %55 = fsub double %53, %54 store double %55, ptr %22, align 8 %56 = load i64, ptr %7, align 8 %57 = icmp eq i64 %56, 1 br i1 %57, label %61, label %58 58: ; preds = %50 %59 = load i64, ptr %10, align 8 %60 = icmp eq i64 %59, 0 br i1 %60, label %61, label %84 61: ; preds = %58, %50 %62 = load ptr, ptr %9, align 8 %63 = load i64, ptr %13, align 8 %64 = getelementptr inbounds double, ptr %62, i64 %63 %65 = load double, ptr %64, align 8 %66 = load ptr, ptr %11, align 8 %67 = load i64, ptr %14, align 8 %68 = getelementptr inbounds double, ptr %66, i64 %67 store double %65, ptr %68, align 8 %69 = load double, ptr %22, align 8 %70 = fcmp ole double %69, 0.000000e+00 br i1 %70, label %71, label %77 71: ; preds = %61 %72 = load ptr, ptr %11, align 8 %73 = load i64, ptr %14, align 8 %74 = load i64, ptr %12, align 8 %75 = add nsw i64 %73, %74 %76 = getelementptr inbounds double, ptr %72, i64 %75 store double 0x7FF8000000000000, ptr %76, align 8 br label %83 77: ; preds = %61 %78 = load ptr, ptr %11, align 8 %79 = load i64, ptr %14, align 8 %80 = load i64, ptr %12, align 8 %81 = add nsw i64 %79, %80 %82 = getelementptr inbounds double, ptr %78, i64 %81 store double 0.000000e+00, ptr %82, align 8 br label %83 83: ; preds = %77, %71 br label %164 84: ; preds = %58 %85 = load i64, ptr %7, align 8 %86 = load ptr, ptr %9, align 8 %87 = load i64, ptr %10, align 8 %88 = call double @stdlib_strided_dsumpw(i64 noundef %85, ptr noundef %86, i64 noundef %87) %89 = load double, ptr %18, align 8 %90 = fdiv double %88, %89 store double %90, ptr %17, align 8 %91 = load double, ptr %17, align 8 %92 = load double, ptr %17, align 8 %93 = fcmp une double %91, %92 br i1 %93, label %94, label %103 94: ; preds = %84 %95 = load ptr, ptr %11, align 8 %96 = load i64, ptr %14, align 8 %97 = getelementptr inbounds double, ptr %95, i64 %96 store double 0x7FF8000000000000, ptr %97, align 8 %98 = load ptr, ptr %11, align 8 %99 = load i64, ptr %14, align 8 %100 = load i64, ptr %12, align 8 %101 = add nsw i64 %99, %100 %102 = getelementptr inbounds double, ptr %98, i64 %101 store double 0x7FF8000000000000, ptr %102, align 8 br label %164 103: ; preds = %84 store double 0.000000e+00, ptr %16, align 8 store double 0.000000e+00, ptr %19, align 8 store i64 0, ptr %15, align 8 %104 = load i64, ptr %15, align 8 %105 = load i64, ptr %7, align 8 %106 = icmp slt i64 %104, %105 br i1 %106, label %.lr.ph, label %130 .lr.ph: ; preds = %103 br label %107 107: ; preds = %.lr.ph, %124 %108 = load ptr, ptr %9, align 8 %109 = load i64, ptr %13, align 8 %110 = getelementptr inbounds double, ptr %108, i64 %109 %111 = load double, ptr %110, align 8 %112 = load double, ptr %17, align 8 %113 = fsub double %111, %112 store double %113, ptr %20, align 8 %114 = load double, ptr %20, align 8 %115 = load double, ptr %20, align 8 %116 = load double, ptr %16, align 8 %117 = call double @llvm.fmuladd.f64(double %114, double %115, double %116) store double %117, ptr %16, align 8 %118 = load double, ptr %20, align 8 %119 = load double, ptr %19, align 8 %120 = fadd double %119, %118 store double %120, ptr %19, align 8 %121 = load i64, ptr %10, align 8 %122 = load i64, ptr %13, align 8 %123 = add nsw i64 %122, %121 store i64 %123, ptr %13, align 8 br label %124 124: ; preds = %107 %125 = load i64, ptr %15, align 8 %126 = add nsw i64 %125, 1 store i64 %126, ptr %15, align 8 %127 = load i64, ptr %15, align 8 %128 = load i64, ptr %7, align 8 %129 = icmp slt i64 %127, %128 br i1 %129, label %107, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %124 br label %130 130: ; preds = %._crit_edge, %103 %131 = load double, ptr %19, align 8 %132 = load double, ptr %18, align 8 %133 = fdiv double %131, %132 store double %133, ptr %21, align 8 %134 = load double, ptr %17, align 8 %135 = load double, ptr %21, align 8 %136 = fadd double %134, %135 %137 = load ptr, ptr %11, align 8 %138 = load i64, ptr %14, align 8 %139 = getelementptr inbounds double, ptr %137, i64 %138 store double %136, ptr %139, align 8 %140 = load double, ptr %22, align 8 %141 = fcmp ole double %140, 0.000000e+00 br i1 %141, label %142, label %148 142: ; preds = %130 %143 = load ptr, ptr %11, align 8 %144 = load i64, ptr %14, align 8 %145 = load i64, ptr %12, align 8 %146 = add nsw i64 %144, %145 %147 = getelementptr inbounds double, ptr %143, i64 %146 store double 0x7FF8000000000000, ptr %147, align 8 br label %163 148: ; preds = %130 %149 = load double, ptr %16, align 8 %150 = load double, ptr %22, align 8 %151 = fdiv double %149, %150 %152 = load double, ptr %21, align 8 %153 = load double, ptr %19, align 8 %154 = load double, ptr %22, align 8 %155 = fdiv double %153, %154 %156 = fneg double %152 %157 = call double @llvm.fmuladd.f64(double %156, double %155, double %151) %158 = load ptr, ptr %11, align 8 %159 = load i64, ptr %14, align 8 %160 = load i64, ptr %12, align 8 %161 = add nsw i64 %159, %160 %162 = getelementptr inbounds double, ptr %158, i64 %161 store double %157, ptr %162, align 8 br label %163 163: ; preds = %148, %142 br label %164 164: ; preds = %163, %94, %83, %41 ret void } declare double @stdlib_strided_dsumpw(i64 noundef, ptr noundef, i64 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp34weoigm.c' source_filename = "/tmp/tmp34weoigm.c" target datalayout = "e-m:e-p270: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/tmp34weoigm.c" target datalayout = "e-m:e-p270: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/tmpoo4wfr36.c' source_filename = "/tmp/tmpoo4wfr36.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_dvb_string_iso_8859_5(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 @init_dvb_string(i32 noundef 1, ptr noundef %3) ret ptr %4 } declare ptr @init_dvb_string(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/tmpoo4wfr36.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_dvb_string_iso_8859_5(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 @init_dvb_string(i32 noundef 1, ptr noundef %3) ret ptr %4 } declare ptr @init_dvb_string(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/tmpbw7n6inz.c' source_filename = "/tmp/tmpbw7n6inz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.in_addr, i32, i64 } %struct.in_addr = type { i32 } %struct.hostent = type { i64, i64 } @.str = private unnamed_addr constant [29 x i8] c"GET / HTTP/1.0\0D\0AHost: %s\0D\0A\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"hostname = %s\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [23 x i8] c"Couldn't lookup %s: %s\00", align 1 @h_errno = dso_local global i32 0, align 4 @AF_INET = dso_local global i64 0, align 8 @.str.3 = private unnamed_addr constant [24 x i8] c"No ipv6 support, sorry.\00", align 1 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"connect\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"send\00", align 1 @.str.7 = private unnamed_addr constant [17 x i8] c"recv result = 0\0A\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c"recv\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [128 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca %struct.sockaddr_in, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca [1024 x i8], align 16 %15 = 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 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 128, i1 false) %16 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i32 @sprintf(ptr noundef %16, ptr noundef @.str, ptr noundef %19) %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 store ptr %23, ptr %7, align 8 %24 = load ptr, ptr %7, align 8 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %24) %26 = load ptr, ptr %7, align 8 %27 = call ptr @gethostbyname(ptr noundef %26) store ptr %27, ptr %9, align 8 %28 = load ptr, ptr %9, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %36, label %30 30: ; preds = %2 %31 = load i32, ptr @stderr, align 4 %32 = load ptr, ptr %7, align 8 %33 = load i32, ptr @h_errno, align 4 %34 = call ptr @hstrerror(i32 noundef %33) %35 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %31, ptr noundef @.str.2, ptr noundef %32, ptr noundef %34) store i32 1, ptr %3, align 4 br label %118 36: ; preds = %2 %37 = load ptr, ptr %9, align 8 %38 = getelementptr inbounds %struct.hostent, ptr %37, i32 0, i32 0 %39 = load i64, ptr %38, align 8 %40 = load i64, ptr @AF_INET, align 8 %41 = icmp ne i64 %39, %40 br i1 %41, label %42, label %45 42: ; preds = %36 %43 = load i32, ptr @stderr, align 4 %44 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.3) store i32 1, ptr %3, align 4 br label %118 45: ; preds = %36 %46 = load i64, ptr @AF_INET, align 8 %47 = load i32, ptr @SOCK_STREAM, align 4 %48 = call i32 @socket(i64 noundef %46, i32 noundef %47, i32 noundef 0) store i32 %48, ptr %11, align 4 %49 = load i32, ptr %11, align 4 %50 = icmp slt i32 %49, 0 br i1 %50, label %51, label %53 51: ; preds = %45 %52 = call i32 @perror(ptr noundef @.str.4) store i32 1, ptr %3, align 4 br label %118 53: ; preds = %45 %54 = load i64, ptr @AF_INET, align 8 %55 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2 store i64 %54, ptr %55, align 8 %56 = call i32 @htons(i32 noundef 80) %57 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1 store i32 %56, ptr %57, align 4 %58 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 %59 = load ptr, ptr %9, align 8 %60 = getelementptr inbounds %struct.hostent, ptr %59, i32 0, i32 1 %61 = load i64, ptr %60, align 8 %62 = inttoptr i64 %61 to ptr call void @llvm.memcpy.p0.p0.i64(ptr align 8 %58, ptr align 4 %62, i64 4, i1 false) %63 = load i32, ptr %11, align 4 %64 = call i64 @connect(i32 noundef %63, ptr noundef %8, i32 noundef 16) %65 = icmp ne i64 %64, 0 br i1 %65, label %66, label %70 66: ; preds = %53 %67 = call i32 @perror(ptr noundef @.str.5) %68 = load i32, ptr %11, align 4 %69 = call i32 @close(i32 noundef %68) store i32 1, ptr %3, align 4 br label %118 70: ; preds = %53 %71 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 store ptr %71, ptr %10, align 8 %72 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %73 = call i64 @strlen(ptr noundef %72) store i64 %73, ptr %13, align 8 br label %74 74: ; preds = %86, %70 %75 = load i64, ptr %13, align 8 %76 = icmp ne i64 %75, 0 br i1 %76, label %77, label %93 77: ; preds = %74 %78 = load i32, ptr %11, align 4 %79 = load ptr, ptr %10, align 8 %80 = load i64, ptr %13, align 8 %81 = call i64 @send(i32 noundef %78, ptr noundef %79, i64 noundef %80, i32 noundef 0) store i64 %81, ptr %12, align 8 %82 = load i64, ptr %12, align 8 %83 = icmp sle i64 %82, 0 br i1 %83, label %84, label %86 84: ; preds = %77 %85 = call i32 @perror(ptr noundef @.str.6) store i32 1, ptr %3, align 4 br label %118 86: ; preds = %77 %87 = load i64, ptr %12, align 8 %88 = load i64, ptr %13, align 8 %89 = sub nsw i64 %88, %87 store i64 %89, ptr %13, align 8 %90 = load i64, ptr %12, align 8 %91 = load ptr, ptr %10, align 8 %92 = getelementptr inbounds i8, ptr %91, i64 %90 store ptr %92, ptr %10, align 8 br label %74, !llvm.loop !6 93: ; preds = %74 br label %94 94: ; preds = %93, %110 %95 = load i32, ptr %11, align 4 %96 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0 %97 = call i64 @recv(i32 noundef %95, ptr noundef %96, i32 noundef 1024, i32 noundef 0) store i64 %97, ptr %15, align 8 %98 = load i64, ptr %15, align 8 %99 = icmp eq i64 %98, 0 br i1 %99, label %100, label %102 100: ; preds = %94 %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %115 102: ; preds = %94 %103 = load i64, ptr %15, align 8 %104 = icmp slt i64 %103, 0 br i1 %104, label %105, label %109 105: ; preds = %102 %106 = call i32 @perror(ptr noundef @.str.8) %107 = load i32, ptr %11, align 4 %108 = call i32 @close(i32 noundef %107) store i32 1, ptr %3, align 4 br label %118 109: ; preds = %102 br label %110 110: ; preds = %109 %111 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0 %112 = load i64, ptr %15, align 8 %113 = load i32, ptr @stdout, align 4 %114 = call i32 @fwrite(ptr noundef %111, i32 noundef 1, i64 noundef %112, i32 noundef %113) br label %94 115: ; preds = %100 %116 = load i32, ptr %11, align 4 %117 = call i32 @close(i32 noundef %116) store i32 0, ptr %3, align 4 br label %118 118: ; preds = %115, %105, %84, %66, %51, %42, %30 %119 = load i32, ptr %3, align 4 ret i32 %119 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare ptr @gethostbyname(ptr noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #2 declare ptr @hstrerror(i32 noundef) #2 declare i32 @socket(i64 noundef, i32 noundef, i32 noundef) #2 declare i32 @perror(ptr noundef) #2 declare i32 @htons(i32 noundef) #2 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @close(i32 noundef) #2 declare i64 @strlen(ptr noundef) #2 declare i64 @send(i32 noundef, ptr noundef, i64 noundef, i32 noundef) #2 declare i64 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @fwrite(ptr noundef, i32 noundef, i64 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbw7n6inz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.in_addr, i32, i64 } %struct.in_addr = type { i32 } %struct.hostent = type { i64, i64 } @.str = private unnamed_addr constant [29 x i8] c"GET / HTTP/1.0\0D\0AHost: %s\0D\0A\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"hostname = %s\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [23 x i8] c"Couldn't lookup %s: %s\00", align 1 @h_errno = dso_local global i32 0, align 4 @AF_INET = dso_local global i64 0, align 8 @.str.3 = private unnamed_addr constant [24 x i8] c"No ipv6 support, sorry.\00", align 1 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"connect\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"send\00", align 1 @.str.7 = private unnamed_addr constant [17 x i8] c"recv result = 0\0A\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c"recv\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [128 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca %struct.sockaddr_in, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca [1024 x i8], align 16 %15 = 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 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 128, i1 false) %16 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i32 @sprintf(ptr noundef %16, ptr noundef @.str, ptr noundef %19) %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 store ptr %23, ptr %7, align 8 %24 = load ptr, ptr %7, align 8 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %24) %26 = load ptr, ptr %7, align 8 %27 = call ptr @gethostbyname(ptr noundef %26) store ptr %27, ptr %9, align 8 %28 = load ptr, ptr %9, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %36, label %30 30: ; preds = %2 %31 = load i32, ptr @stderr, align 4 %32 = load ptr, ptr %7, align 8 %33 = load i32, ptr @h_errno, align 4 %34 = call ptr @hstrerror(i32 noundef %33) %35 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %31, ptr noundef @.str.2, ptr noundef %32, ptr noundef %34) store i32 1, ptr %3, align 4 br label %122 36: ; preds = %2 %37 = load ptr, ptr %9, align 8 %38 = getelementptr inbounds %struct.hostent, ptr %37, i32 0, i32 0 %39 = load i64, ptr %38, align 8 %40 = load i64, ptr @AF_INET, align 8 %41 = icmp ne i64 %39, %40 br i1 %41, label %42, label %45 42: ; preds = %36 %43 = load i32, ptr @stderr, align 4 %44 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.3) store i32 1, ptr %3, align 4 br label %122 45: ; preds = %36 %46 = load i64, ptr @AF_INET, align 8 %47 = load i32, ptr @SOCK_STREAM, align 4 %48 = call i32 @socket(i64 noundef %46, i32 noundef %47, i32 noundef 0) store i32 %48, ptr %11, align 4 %49 = load i32, ptr %11, align 4 %50 = icmp slt i32 %49, 0 br i1 %50, label %51, label %53 51: ; preds = %45 %52 = call i32 @perror(ptr noundef @.str.4) store i32 1, ptr %3, align 4 br label %122 53: ; preds = %45 %54 = load i64, ptr @AF_INET, align 8 %55 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2 store i64 %54, ptr %55, align 8 %56 = call i32 @htons(i32 noundef 80) %57 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1 store i32 %56, ptr %57, align 4 %58 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 %59 = load ptr, ptr %9, align 8 %60 = getelementptr inbounds %struct.hostent, ptr %59, i32 0, i32 1 %61 = load i64, ptr %60, align 8 %62 = inttoptr i64 %61 to ptr call void @llvm.memcpy.p0.p0.i64(ptr align 8 %58, ptr align 4 %62, i64 4, i1 false) %63 = load i32, ptr %11, align 4 %64 = call i64 @connect(i32 noundef %63, ptr noundef %8, i32 noundef 16) %65 = icmp ne i64 %64, 0 br i1 %65, label %66, label %70 66: ; preds = %53 %67 = call i32 @perror(ptr noundef @.str.5) %68 = load i32, ptr %11, align 4 %69 = call i32 @close(i32 noundef %68) store i32 1, ptr %3, align 4 br label %122 70: ; preds = %53 %71 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 store ptr %71, ptr %10, align 8 %72 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %73 = call i64 @strlen(ptr noundef %72) store i64 %73, ptr %13, align 8 %74 = load i64, ptr %13, align 8 %75 = icmp ne i64 %74, 0 br i1 %75, label %.lr.ph, label %94 .lr.ph: ; preds = %70 br label %76 76: ; preds = %.lr.ph, %85 %77 = load i32, ptr %11, align 4 %78 = load ptr, ptr %10, align 8 %79 = load i64, ptr %13, align 8 %80 = call i64 @send(i32 noundef %77, ptr noundef %78, i64 noundef %79, i32 noundef 0) store i64 %80, ptr %12, align 8 %81 = load i64, ptr %12, align 8 %82 = icmp sle i64 %81, 0 br i1 %82, label %83, label %85 83: ; preds = %76 %84 = call i32 @perror(ptr noundef @.str.6) store i32 1, ptr %3, align 4 br label %122 85: ; preds = %76 %86 = load i64, ptr %12, align 8 %87 = load i64, ptr %13, align 8 %88 = sub nsw i64 %87, %86 store i64 %88, ptr %13, align 8 %89 = load i64, ptr %12, align 8 %90 = load ptr, ptr %10, align 8 %91 = getelementptr inbounds i8, ptr %90, i64 %89 store ptr %91, ptr %10, align 8 %92 = load i64, ptr %13, align 8 %93 = icmp ne i64 %92, 0 br i1 %93, label %76, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %85 br label %94 94: ; preds = %._crit_edge, %70 %95 = load i32, ptr %11, align 4 %96 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0 %97 = call i64 @recv(i32 noundef %95, ptr noundef %96, i32 noundef 1024, i32 noundef 0) store i64 %97, ptr %15, align 8 %98 = load i64, ptr %15, align 8 %99 = icmp eq i64 %98, 0 br i1 %99, label %100, label %.lr.ph2 .lr.ph2: ; preds = %94 br label %102 ._crit_edge3: ; preds = %110 br label %100 100: ; preds = %._crit_edge3, %94 %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %119 102: ; preds = %.lr.ph2, %110 %103 = load i64, ptr %15, align 8 %104 = icmp slt i64 %103, 0 br i1 %104, label %105, label %109 105: ; preds = %102 %106 = call i32 @perror(ptr noundef @.str.8) %107 = load i32, ptr %11, align 4 %108 = call i32 @close(i32 noundef %107) store i32 1, ptr %3, align 4 br label %122 109: ; preds = %102 br label %110 110: ; preds = %109 %111 = getelementptr inbounds [1024 x i8], ptr %14, i64 0, i64 0 %112 = load i64, ptr %15, align 8 %113 = load i32, ptr @stdout, align 4 %114 = call i32 @fwrite(ptr noundef %111, i32 noundef 1, i64 noundef %112, i32 noundef %113) %115 = load i32, ptr %11, align 4 %116 = call i64 @recv(i32 noundef %115, ptr noundef %96, i32 noundef 1024, i32 noundef 0) store i64 %116, ptr %15, align 8 %117 = load i64, ptr %15, align 8 %118 = icmp eq i64 %117, 0 br i1 %118, label %._crit_edge3, label %102 119: ; preds = %100 %120 = load i32, ptr %11, align 4 %121 = call i32 @close(i32 noundef %120) store i32 0, ptr %3, align 4 br label %122 122: ; preds = %119, %105, %83, %66, %51, %42, %30 %123 = load i32, ptr %3, align 4 ret i32 %123 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare ptr @gethostbyname(ptr noundef) #2 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #2 declare ptr @hstrerror(i32 noundef) #2 declare i32 @socket(i64 noundef, i32 noundef, i32 noundef) #2 declare i32 @perror(ptr noundef) #2 declare i32 @htons(i32 noundef) #2 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @close(i32 noundef) #2 declare i64 @strlen(ptr noundef) #2 declare i64 @send(i32 noundef, ptr noundef, i64 noundef, i32 noundef) #2 declare i64 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @fwrite(ptr noundef, i32 noundef, i64 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpikd3pnr_.c' source_filename = "/tmp/tmpikd3pnr_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo3() #0 { %1 = call i32 (...) @bar1() %2 = call i32 (...) @bar2() %3 = call i32 (...) @bar1() %4 = call i32 (...) @bar2() ret void } declare i32 @bar1(...) #1 declare i32 @bar2(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpikd3pnr_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo3() #0 { %1 = call i32 (...) @bar1() %2 = call i32 (...) @bar2() %3 = call i32 (...) @bar1() %4 = call i32 (...) @bar2() ret void } declare i32 @bar1(...) #1 declare i32 @bar2(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpynqhufp4.c' source_filename = "/tmp/tmpynqhufp4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cvmx_helper_initialize_fpa(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %8, align 4 %14 = load i32, ptr %9, align 4 %15 = load i32, ptr %10, align 4 %16 = call i32 @__cvmx_helper_initialize_fpa(i32 noundef -1, i32 noundef 0, i32 noundef %11, i32 noundef -1, i32 noundef 0, i32 noundef %12, i32 noundef -1, i32 noundef 0, i32 noundef %13, i32 noundef -1, i32 noundef 0, i32 noundef %14, i32 noundef -1, i32 noundef 0, i32 noundef %15) ret i32 %16 } declare i32 @__cvmx_helper_initialize_fpa(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpynqhufp4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cvmx_helper_initialize_fpa(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %8, align 4 %14 = load i32, ptr %9, align 4 %15 = load i32, ptr %10, align 4 %16 = call i32 @__cvmx_helper_initialize_fpa(i32 noundef -1, i32 noundef 0, i32 noundef %11, i32 noundef -1, i32 noundef 0, i32 noundef %12, i32 noundef -1, i32 noundef 0, i32 noundef %13, i32 noundef -1, i32 noundef 0, i32 noundef %14, i32 noundef -1, i32 noundef 0, i32 noundef %15) ret i32 %16 } declare i32 @__cvmx_helper_initialize_fpa(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwrc05y69.c' source_filename = "/tmp/tmpwrc05y69.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"TEST\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwrc05y69.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"TEST\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6roq3zny.c' source_filename = "/tmp/tmp6roq3zny.c" target datalayout = "e-m:e-p270: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/tmp6roq3zny.c" target datalayout = "e-m:e-p270: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/tmp5jiuzyw5.c' source_filename = "/tmp/tmp5jiuzyw5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @servoHighDrop() #0 { %1 = call i32 @servoSetHigh(i32 noundef 160) ret void } declare i32 @servoSetHigh(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5jiuzyw5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @servoHighDrop() #0 { %1 = call i32 @servoSetHigh(i32 noundef 160) ret void } declare i32 @servoSetHigh(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}