llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpb5hdc32f.c' source_filename = "/tmp/tmpb5hdc32f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"htm\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"html\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_html_file(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [10 x i8], align 1 store ptr %0, ptr %3, align 8 %5 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %6 = load ptr, ptr %3, align 8 %7 = call i64 @get_extension(ptr noundef %5, ptr noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %1 store i32 0, ptr %2, align 4 br label %20 10: ; preds = %1 %11 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %12 = call i32 @strcmp(ptr noundef %11, ptr noundef @.str) %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %10 %15 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %16 = call i32 @strcmp(ptr noundef %15, ptr noundef @.str.1) %17 = icmp ne i32 %16, 0 br i1 %17, label %19, label %18 18: ; preds = %14, %10 store i32 1, ptr %2, align 4 br label %20 19: ; preds = %14 store i32 0, ptr %2, align 4 br label %20 20: ; preds = %19, %18, %9 %21 = load i32, ptr %2, align 4 ret i32 %21 } declare i64 @get_extension(ptr noundef, ptr noundef) #1 declare i32 @strcmp(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/tmpb5hdc32f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"htm\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"html\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_html_file(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [10 x i8], align 1 store ptr %0, ptr %3, align 8 %5 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %6 = load ptr, ptr %3, align 8 %7 = call i64 @get_extension(ptr noundef %5, ptr noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %1 store i32 0, ptr %2, align 4 br label %20 10: ; preds = %1 %11 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %12 = call i32 @strcmp(ptr noundef %11, ptr noundef @.str) %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %10 %15 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %16 = call i32 @strcmp(ptr noundef %15, ptr noundef @.str.1) %17 = icmp ne i32 %16, 0 br i1 %17, label %19, label %18 18: ; preds = %14, %10 store i32 1, ptr %2, align 4 br label %20 19: ; preds = %14 store i32 0, ptr %2, align 4 br label %20 20: ; preds = %19, %18, %9 %21 = load i32, ptr %2, align 4 ret i32 %21 } declare i64 @get_extension(ptr noundef, ptr noundef) #1 declare i32 @strcmp(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/tmpmabwkiq6.c' source_filename = "/tmp/tmpmabwkiq6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hola.\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) %7 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %7 } 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/tmpmabwkiq6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hola.\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) %7 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %7 } 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/tmps7qr3ypz.c' source_filename = "/tmp/tmps7qr3ypz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOTSUP = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"Not yet implemented.\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 ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr @ENOTSUP, align 4 store i32 %5, ptr @errno, align 4 %6 = load i32, ptr @EXIT_FAILURE, align 4 %7 = call i32 @err(i32 noundef %6, ptr noundef @.str) ret i32 0 } declare i32 @err(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/tmps7qr3ypz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOTSUP = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"Not yet implemented.\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 ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr @ENOTSUP, align 4 store i32 %5, ptr @errno, align 4 %6 = load i32, ptr @EXIT_FAILURE, align 4 %7 = call i32 @err(i32 noundef %6, ptr noundef @.str) ret i32 0 } declare i32 @err(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/tmps49nu05a.c' source_filename = "/tmp/tmps49nu05a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_iscntrl.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"iscntrl should be 0 for 0xf3\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_iscntrl_0xf3() #0 { %1 = call i64 @iscntrl(i32 noundef 243) %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 1220, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @iscntrl(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/tmps49nu05a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_iscntrl.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"iscntrl should be 0 for 0xf3\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_iscntrl_0xf3() #0 { %1 = call i64 @iscntrl(i32 noundef 243) %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 1220, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @iscntrl(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/tmpxf5pg2zj.c' source_filename = "/tmp/tmpxf5pg2zj.c" target datalayout = "e-m:e-p270: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/tmpxf5pg2zj.c" target datalayout = "e-m:e-p270: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/tmpiq9wgcpt.c' source_filename = "/tmp/tmpiq9wgcpt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MSG_NOSIGNAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @fnet_send(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 br label %9 9: ; preds = %24, %3 %10 = load i32, ptr %5, align 4 %11 = load ptr, ptr %6, align 8 %12 = load i64, ptr %7, align 8 %13 = load i32, ptr @MSG_NOSIGNAL, align 4 %14 = call i64 @send(i32 noundef %10, ptr noundef %11, i64 noundef %12, i32 noundef %13) store i64 %14, ptr %8, align 8 %15 = load i64, ptr %8, align 8 %16 = icmp sge i64 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %9 %18 = load i64, ptr %8, align 8 store i64 %18, ptr %4, align 8 br label %25 19: ; preds = %9 %20 = load i32, ptr @errno, align 4 switch i32 %20, label %23 [ i32 128, label %21 i32 129, label %22 ] 21: ; preds = %19 br label %24 22: ; preds = %19 store i64 -2, ptr %4, align 8 br label %25 23: ; preds = %19 store i64 -1, ptr %4, align 8 br label %25 24: ; preds = %21 br i1 true, label %9, label %25 25: ; preds = %17, %22, %23, %24 %26 = load i64, ptr %4, align 8 ret i64 %26 } declare i64 @send(i32 noundef, ptr noundef, i64 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiq9wgcpt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MSG_NOSIGNAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @fnet_send(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 br label %9 9: ; preds = %24, %3 %10 = load i32, ptr %5, align 4 %11 = load ptr, ptr %6, align 8 %12 = load i64, ptr %7, align 8 %13 = load i32, ptr @MSG_NOSIGNAL, align 4 %14 = call i64 @send(i32 noundef %10, ptr noundef %11, i64 noundef %12, i32 noundef %13) store i64 %14, ptr %8, align 8 %15 = load i64, ptr %8, align 8 %16 = icmp sge i64 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %9 %18 = load i64, ptr %8, align 8 store i64 %18, ptr %4, align 8 br label %25 19: ; preds = %9 %20 = load i32, ptr @errno, align 4 switch i32 %20, label %23 [ i32 128, label %21 i32 129, label %22 ] 21: ; preds = %19 br label %24 22: ; preds = %19 store i64 -2, ptr %4, align 8 br label %25 23: ; preds = %19 store i64 -1, ptr %4, align 8 br label %25 24: ; preds = %21 br i1 true, label %9, label %.loopexit .loopexit: ; preds = %24 br label %25 25: ; preds = %.loopexit, %23, %22, %17 %26 = load i64, ptr %4, align 8 ret i64 %26 } declare i64 @send(i32 noundef, ptr noundef, i64 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqccp23w9.c' source_filename = "/tmp/tmpqccp23w9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"$ValidateNick \00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"Malloc failed. validate_fbuser()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @validate_fbuser(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store ptr @.str, ptr %5, align 8 store ptr null, ptr %6, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %35 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = call i64 @strlen(ptr noundef %10) %12 = load ptr, ptr %3, align 8 %13 = call i64 @strlen(ptr noundef %12) %14 = add nsw i64 %11, %13 %15 = add nsw i64 %14, 1 %16 = call i64 @malloc(i64 noundef %15) %17 = inttoptr i64 %16 to ptr store ptr %17, ptr %6, align 8 %18 = load ptr, ptr %6, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %20, label %32 20: ; preds = %9 %21 = load ptr, ptr %6, align 8 %22 = load ptr, ptr %5, align 8 %23 = call i32 @strcpy(ptr noundef %21, ptr noundef %22) %24 = load ptr, ptr %6, align 8 %25 = load ptr, ptr %3, align 8 %26 = call i32 @strcat(ptr noundef %24, ptr noundef %25) %27 = load ptr, ptr %6, align 8 %28 = load ptr, ptr %4, align 8 %29 = call i32 @validate_nick(ptr noundef %27, ptr noundef %28) %30 = load ptr, ptr %6, align 8 %31 = call i32 @free(ptr noundef %30) br label %34 32: ; preds = %9 %33 = call i32 @logprintf(i32 noundef 4, ptr noundef @.str.1) br label %34 34: ; preds = %32, %20 br label %35 35: ; preds = %34, %2 ret void } declare i64 @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @validate_nick(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @logprintf(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/tmpqccp23w9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"$ValidateNick \00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"Malloc failed. validate_fbuser()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @validate_fbuser(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store ptr @.str, ptr %5, align 8 store ptr null, ptr %6, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %35 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = call i64 @strlen(ptr noundef %10) %12 = load ptr, ptr %3, align 8 %13 = call i64 @strlen(ptr noundef %12) %14 = add nsw i64 %11, %13 %15 = add nsw i64 %14, 1 %16 = call i64 @malloc(i64 noundef %15) %17 = inttoptr i64 %16 to ptr store ptr %17, ptr %6, align 8 %18 = load ptr, ptr %6, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %20, label %32 20: ; preds = %9 %21 = load ptr, ptr %6, align 8 %22 = load ptr, ptr %5, align 8 %23 = call i32 @strcpy(ptr noundef %21, ptr noundef %22) %24 = load ptr, ptr %6, align 8 %25 = load ptr, ptr %3, align 8 %26 = call i32 @strcat(ptr noundef %24, ptr noundef %25) %27 = load ptr, ptr %6, align 8 %28 = load ptr, ptr %4, align 8 %29 = call i32 @validate_nick(ptr noundef %27, ptr noundef %28) %30 = load ptr, ptr %6, align 8 %31 = call i32 @free(ptr noundef %30) br label %34 32: ; preds = %9 %33 = call i32 @logprintf(i32 noundef 4, ptr noundef @.str.1) br label %34 34: ; preds = %32, %20 br label %35 35: ; preds = %34, %2 ret void } declare i64 @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @validate_nick(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @logprintf(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/tmpko2q6vx0.c' source_filename = "/tmp/tmpko2q6vx0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"Invalid bind address\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @net_tcp_server(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca %struct.sockaddr_in, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr @AF_INET, align 4 %12 = call i32 @net_create_socket(ptr noundef %10, i32 noundef %11) store i32 %12, ptr %8, align 4 %13 = icmp eq i32 %12, -1 br i1 %13, label %14, label %15 14: ; preds = %3 store i32 -1, ptr %4, align 4 br label %46 15: ; preds = %3 %16 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 12) %17 = load i32, ptr @AF_INET, align 4 %18 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 2 store i32 %17, ptr %18, align 4 %19 = load i32, ptr %7, align 4 %20 = call i32 @htons(i32 noundef %19) %21 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 1 store i32 %20, ptr %21, align 4 %22 = load i32, ptr @INADDR_ANY, align 4 %23 = call i32 @htonl(i32 noundef %22) %24 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 %25 = getelementptr inbounds %struct.TYPE_2__, ptr %24, i32 0, i32 0 store i32 %23, ptr %25, align 4 %26 = load ptr, ptr %6, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %28, label %38 28: ; preds = %15 %29 = load ptr, ptr %6, align 8 %30 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 %31 = call i64 @inet_aton(ptr noundef %29, ptr noundef %30) %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %38 33: ; preds = %28 %34 = load ptr, ptr %5, align 8 %35 = call i32 @net_set_error(ptr noundef %34, ptr noundef @.str) %36 = load i32, ptr %8, align 4 %37 = call i32 @close(i32 noundef %36) store i32 -1, ptr %4, align 4 br label %46 38: ; preds = %28, %15 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %8, align 4 %41 = call i32 @net_listen(ptr noundef %39, i32 noundef %40, ptr noundef %9, i32 noundef 12) %42 = icmp eq i32 %41, -1 br i1 %42, label %43, label %44 43: ; preds = %38 store i32 -1, ptr %4, align 4 br label %46 44: ; preds = %38 %45 = load i32, ptr %8, align 4 store i32 %45, ptr %4, align 4 br label %46 46: ; preds = %44, %43, %33, %14 %47 = load i32, ptr %4, align 4 ret i32 %47 } declare i32 @net_create_socket(ptr noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i64 @inet_aton(ptr noundef, ptr noundef) #1 declare i32 @net_set_error(ptr noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @net_listen(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/tmpko2q6vx0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"Invalid bind address\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @net_tcp_server(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca %struct.sockaddr_in, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr @AF_INET, align 4 %12 = call i32 @net_create_socket(ptr noundef %10, i32 noundef %11) store i32 %12, ptr %8, align 4 %13 = icmp eq i32 %12, -1 br i1 %13, label %14, label %15 14: ; preds = %3 store i32 -1, ptr %4, align 4 br label %46 15: ; preds = %3 %16 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 12) %17 = load i32, ptr @AF_INET, align 4 %18 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 2 store i32 %17, ptr %18, align 4 %19 = load i32, ptr %7, align 4 %20 = call i32 @htons(i32 noundef %19) %21 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 1 store i32 %20, ptr %21, align 4 %22 = load i32, ptr @INADDR_ANY, align 4 %23 = call i32 @htonl(i32 noundef %22) %24 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 %25 = getelementptr inbounds %struct.TYPE_2__, ptr %24, i32 0, i32 0 store i32 %23, ptr %25, align 4 %26 = load ptr, ptr %6, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %28, label %38 28: ; preds = %15 %29 = load ptr, ptr %6, align 8 %30 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0 %31 = call i64 @inet_aton(ptr noundef %29, ptr noundef %30) %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %38 33: ; preds = %28 %34 = load ptr, ptr %5, align 8 %35 = call i32 @net_set_error(ptr noundef %34, ptr noundef @.str) %36 = load i32, ptr %8, align 4 %37 = call i32 @close(i32 noundef %36) store i32 -1, ptr %4, align 4 br label %46 38: ; preds = %28, %15 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %8, align 4 %41 = call i32 @net_listen(ptr noundef %39, i32 noundef %40, ptr noundef %9, i32 noundef 12) %42 = icmp eq i32 %41, -1 br i1 %42, label %43, label %44 43: ; preds = %38 store i32 -1, ptr %4, align 4 br label %46 44: ; preds = %38 %45 = load i32, ptr %8, align 4 store i32 %45, ptr %4, align 4 br label %46 46: ; preds = %44, %43, %33, %14 %47 = load i32, ptr %4, align 4 ret i32 %47 } declare i32 @net_create_socket(ptr noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i64 @inet_aton(ptr noundef, ptr noundef) #1 declare i32 @net_set_error(ptr noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @net_listen(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/tmpcvq_k_m7.c' source_filename = "/tmp/tmpcvq_k_m7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strnchr(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %9 = load ptr, ptr %5, align 8 store ptr %9, ptr %8, align 8 br label %10 10: ; preds = %29, %3 %11 = load ptr, ptr %8, align 8 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %10 %16 = load i32, ptr %7, align 4 %17 = add nsw i32 %16, -1 store i32 %17, ptr %7, align 4 %18 = icmp sgt i32 %16, 0 br label %19 19: ; preds = %15, %10 %20 = phi i1 [ false, %10 ], [ %18, %15 ] br i1 %20, label %21, label %32 21: ; preds = %19 %22 = load ptr, ptr %8, align 8 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = load i32, ptr %6, align 4 %26 = icmp eq i32 %24, %25 br i1 %26, label %27, label %29 27: ; preds = %21 %28 = load ptr, ptr %8, align 8 store ptr %28, ptr %4, align 8 br label %41 29: ; preds = %21 %30 = load ptr, ptr %8, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 1 store ptr %31, ptr %8, align 8 br label %10, !llvm.loop !6 32: ; preds = %19 %33 = load ptr, ptr %8, align 8 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = load i32, ptr %6, align 4 %37 = icmp ne i32 %35, %36 br i1 %37, label %38, label %39 38: ; preds = %32 store ptr null, ptr %4, align 8 br label %41 39: ; preds = %32 %40 = load ptr, ptr %8, align 8 store ptr %40, ptr %4, align 8 br label %41 41: ; preds = %39, %38, %27 %42 = load ptr, ptr %4, align 8 ret ptr %42 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpcvq_k_m7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strnchr(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %9 = load ptr, ptr %5, align 8 store ptr %9, ptr %8, align 8 br label %10 10: ; preds = %29, %3 %11 = load ptr, ptr %8, align 8 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %10 %16 = load i32, ptr %7, align 4 %17 = add nsw i32 %16, -1 store i32 %17, ptr %7, align 4 %18 = icmp sgt i32 %16, 0 br label %19 19: ; preds = %15, %10 %20 = phi i1 [ false, %10 ], [ %18, %15 ] br i1 %20, label %21, label %32 21: ; preds = %19 %22 = load ptr, ptr %8, align 8 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = load i32, ptr %6, align 4 %26 = icmp eq i32 %24, %25 br i1 %26, label %27, label %29 27: ; preds = %21 %28 = load ptr, ptr %8, align 8 store ptr %28, ptr %4, align 8 br label %41 29: ; preds = %21 %30 = load ptr, ptr %8, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 1 store ptr %31, ptr %8, align 8 br label %10, !llvm.loop !6 32: ; preds = %19 %33 = load ptr, ptr %8, align 8 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = load i32, ptr %6, align 4 %37 = icmp ne i32 %35, %36 br i1 %37, label %38, label %39 38: ; preds = %32 store ptr null, ptr %4, align 8 br label %41 39: ; preds = %32 %40 = load ptr, ptr %8, align 8 store ptr %40, ptr %4, align 8 br label %41 41: ; preds = %39, %38, %27 %42 = load ptr, ptr %4, align 8 ret ptr %42 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpmcubl77j.c' source_filename = "/tmp/tmpmcubl77j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @pluscczextb(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = add i32 %6, %7 store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp ult i32 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 (...) @abort() #2 unreachable 14: ; preds = %2 %15 = load i32, ptr %5, align 4 %16 = zext i32 %15 to i64 ret i64 %16 } ; Function Attrs: noreturn declare i32 @abort(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 #2 = { 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/tmpmcubl77j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @pluscczextb(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = add i32 %6, %7 store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp ult i32 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 (...) @abort() #2 unreachable 14: ; preds = %2 %15 = load i32, ptr %5, align 4 %16 = zext i32 %15 to i64 ret i64 %16 } ; Function Attrs: noreturn declare i32 @abort(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 #2 = { 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/tmpgmz3tbe3.c' source_filename = "/tmp/tmpgmz3tbe3.c" target datalayout = "e-m:e-p270: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/tmpgmz3tbe3.c" target datalayout = "e-m:e-p270: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/tmpq0zn5n44.c' source_filename = "/tmp/tmpq0zn5n44.c" target datalayout = "e-m:e-p270: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 [57 x i8] c"usage: %s [-n samples] [-i bits] [-h] [-o outname] [-s]\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @EXIT_FAILURE, align 4 %7 = call i32 @exit(i32 noundef %6) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq0zn5n44.c" target datalayout = "e-m:e-p270: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 [57 x i8] c"usage: %s [-n samples] [-i bits] [-h] [-o outname] [-s]\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @EXIT_FAILURE, align 4 %7 = call i32 @exit(i32 noundef %6) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxk00f1vk.c' source_filename = "/tmp/tmpxk00f1vk.c" target datalayout = "e-m:e-p270: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/tmpxk00f1vk.c" target datalayout = "e-m:e-p270: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/tmpb78ut_kh.c' source_filename = "/tmp/tmpb78ut_kh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ini_parse_file(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 [200 x i8], align 16 %8 = alloca [50 x i8], align 16 %9 = alloca [50 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 50, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 50, i1 false) store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 br label %16 16: ; preds = %191, %3 %17 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0 %18 = load ptr, ptr %4, align 8 %19 = call ptr @fgets(ptr noundef %17, i32 noundef 200, ptr noundef %18) %20 = icmp ne ptr %19, null br i1 %20, label %21, label %192 21: ; preds = %16 %22 = load i32, ptr %14, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %14, align 4 %24 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0 store ptr %24, ptr %10, align 8 %25 = load i32, ptr %14, align 4 %26 = icmp eq i32 %25, 1 br i1 %26, label %27, label %48 27: ; preds = %21 %28 = load ptr, ptr %10, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 0 %30 = load i8, ptr %29, align 1 %31 = zext i8 %30 to i32 %32 = icmp eq i32 %31, 239 br i1 %32, label %33, label %48 33: ; preds = %27 %34 = load ptr, ptr %10, align 8 %35 = getelementptr inbounds i8, ptr %34, i64 1 %36 = load i8, ptr %35, align 1 %37 = zext i8 %36 to i32 %38 = icmp eq i32 %37, 187 br i1 %38, label %39, label %48 39: ; preds = %33 %40 = load ptr, ptr %10, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 2 %42 = load i8, ptr %41, align 1 %43 = zext i8 %42 to i32 %44 = icmp eq i32 %43, 191 br i1 %44, label %45, label %48 45: ; preds = %39 %46 = load ptr, ptr %10, align 8 %47 = getelementptr inbounds i8, ptr %46, i64 3 store ptr %47, ptr %10, align 8 br label %48 48: ; preds = %45, %39, %33, %27, %21 %49 = load ptr, ptr %10, align 8 %50 = call ptr @rstrip(ptr noundef %49) %51 = call ptr @lskip(ptr noundef %50) store ptr %51, ptr %10, align 8 %52 = load ptr, ptr %10, align 8 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp eq i32 %54, 59 br i1 %55, label %61, label %56 56: ; preds = %48 %57 = load ptr, ptr %10, align 8 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = icmp eq i32 %59, 35 br i1 %60, label %61, label %62 61: ; preds = %56, %48 br label %191 62: ; preds = %56 %63 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0 %64 = load i8, ptr %63, align 16 %65 = sext i8 %64 to i32 %66 = icmp ne i32 %65, 0 br i1 %66, label %67, label %90 67: ; preds = %62 %68 = load ptr, ptr %10, align 8 %69 = load i8, ptr %68, align 1 %70 = sext i8 %69 to i32 %71 = icmp ne i32 %70, 0 br i1 %71, label %72, label %90 72: ; preds = %67 %73 = load ptr, ptr %10, align 8 %74 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0 %75 = icmp ugt ptr %73, %74 br i1 %75, label %76, label %90 76: ; preds = %72 %77 = load ptr, ptr %5, align 8 %78 = load ptr, ptr %6, align 8 %79 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %80 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0 %81 = load ptr, ptr %10, align 8 %82 = call i32 %77(ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81) %83 = icmp ne i32 %82, 0 br i1 %83, label %89, label %84 84: ; preds = %76 %85 = load i32, ptr %15, align 4 %86 = icmp ne i32 %85, 0 br i1 %86, label %89, label %87 87: ; preds = %84 %88 = load i32, ptr %14, align 4 store i32 %88, ptr %15, align 4 br label %89 89: ; preds = %87, %84, %76 br label %190 90: ; preds = %72, %67, %62 %91 = load ptr, ptr %10, align 8 %92 = load i8, ptr %91, align 1 %93 = sext i8 %92 to i32 %94 = icmp eq i32 %93, 91 br i1 %94, label %95, label %117 95: ; preds = %90 %96 = load ptr, ptr %10, align 8 %97 = getelementptr inbounds i8, ptr %96, i64 1 %98 = call ptr @find_char_or_comment(ptr noundef %97, i8 noundef signext 93) store ptr %98, ptr %11, align 8 %99 = load ptr, ptr %11, align 8 %100 = load i8, ptr %99, align 1 %101 = sext i8 %100 to i32 %102 = icmp eq i32 %101, 93 br i1 %102, label %103, label %110 103: ; preds = %95 %104 = load ptr, ptr %11, align 8 store i8 0, ptr %104, align 1 %105 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %106 = load ptr, ptr %10, align 8 %107 = getelementptr inbounds i8, ptr %106, i64 1 %108 = call i32 @strncpy0(ptr noundef %105, ptr noundef %107, i32 noundef 50) %109 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0 store i8 0, ptr %109, align 16 br label %116 110: ; preds = %95 %111 = load i32, ptr %15, align 4 %112 = icmp ne i32 %111, 0 br i1 %112, label %115, label %113 113: ; preds = %110 %114 = load i32, ptr %14, align 4 store i32 %114, ptr %15, align 4 br label %115 115: ; preds = %113, %110 br label %116 116: ; preds = %115, %103 br label %189 117: ; preds = %90 %118 = load ptr, ptr %10, align 8 %119 = load i8, ptr %118, align 1 %120 = sext i8 %119 to i32 %121 = icmp ne i32 %120, 0 br i1 %121, label %122, label %188 122: ; preds = %117 %123 = load ptr, ptr %10, align 8 %124 = load i8, ptr %123, align 1 %125 = sext i8 %124 to i32 %126 = icmp ne i32 %125, 59 br i1 %126, label %127, label %188 127: ; preds = %122 %128 = load ptr, ptr %10, align 8 %129 = call ptr @find_char_or_comment(ptr noundef %128, i8 noundef signext 61) store ptr %129, ptr %11, align 8 %130 = load ptr, ptr %11, align 8 %131 = load i8, ptr %130, align 1 %132 = sext i8 %131 to i32 %133 = icmp ne i32 %132, 61 br i1 %133, label %134, label %137 134: ; preds = %127 %135 = load ptr, ptr %10, align 8 %136 = call ptr @find_char_or_comment(ptr noundef %135, i8 noundef signext 58) store ptr %136, ptr %11, align 8 br label %137 137: ; preds = %134, %127 %138 = load ptr, ptr %11, align 8 %139 = load i8, ptr %138, align 1 %140 = sext i8 %139 to i32 %141 = icmp eq i32 %140, 61 br i1 %141, label %147, label %142 142: ; preds = %137 %143 = load ptr, ptr %11, align 8 %144 = load i8, ptr %143, align 1 %145 = sext i8 %144 to i32 %146 = icmp eq i32 %145, 58 br i1 %146, label %147, label %181 147: ; preds = %142, %137 %148 = load ptr, ptr %11, align 8 store i8 0, ptr %148, align 1 %149 = load ptr, ptr %10, align 8 %150 = call ptr @rstrip(ptr noundef %149) store ptr %150, ptr %12, align 8 %151 = load ptr, ptr %11, align 8 %152 = getelementptr inbounds i8, ptr %151, i64 1 %153 = call ptr @lskip(ptr noundef %152) store ptr %153, ptr %13, align 8 %154 = load ptr, ptr %13, align 8 %155 = call ptr @find_char_or_comment(ptr noundef %154, i8 noundef signext 0) store ptr %155, ptr %11, align 8 %156 = load ptr, ptr %11, align 8 %157 = load i8, ptr %156, align 1 %158 = sext i8 %157 to i32 %159 = icmp eq i32 %158, 59 br i1 %159, label %160, label %162 160: ; preds = %147 %161 = load ptr, ptr %11, align 8 store i8 0, ptr %161, align 1 br label %162 162: ; preds = %160, %147 %163 = load ptr, ptr %13, align 8 %164 = call ptr @rstrip(ptr noundef %163) %165 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0 %166 = load ptr, ptr %12, align 8 %167 = call i32 @strncpy0(ptr noundef %165, ptr noundef %166, i32 noundef 50) %168 = load ptr, ptr %5, align 8 %169 = load ptr, ptr %6, align 8 %170 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %171 = load ptr, ptr %12, align 8 %172 = load ptr, ptr %13, align 8 %173 = call i32 %168(ptr noundef %169, ptr noundef %170, ptr noundef %171, ptr noundef %172) %174 = icmp ne i32 %173, 0 br i1 %174, label %180, label %175 175: ; preds = %162 %176 = load i32, ptr %15, align 4 %177 = icmp ne i32 %176, 0 br i1 %177, label %180, label %178 178: ; preds = %175 %179 = load i32, ptr %14, align 4 store i32 %179, ptr %15, align 4 br label %180 180: ; preds = %178, %175, %162 br label %187 181: ; preds = %142 %182 = load i32, ptr %15, align 4 %183 = icmp ne i32 %182, 0 br i1 %183, label %186, label %184 184: ; preds = %181 %185 = load i32, ptr %14, align 4 store i32 %185, ptr %15, align 4 br label %186 186: ; preds = %184, %181 br label %187 187: ; preds = %186, %180 br label %188 188: ; preds = %187, %122, %117 br label %189 189: ; preds = %188, %116 br label %190 190: ; preds = %189, %89 br label %191 191: ; preds = %190, %61 br label %16, !llvm.loop !6 192: ; preds = %16 %193 = load i32, ptr %15, align 4 ret i32 %193 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare ptr @lskip(ptr noundef) #2 declare ptr @rstrip(ptr noundef) #2 declare ptr @find_char_or_comment(ptr noundef, i8 noundef signext) #2 declare i32 @strncpy0(ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmpb78ut_kh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ini_parse_file(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 [200 x i8], align 16 %8 = alloca [50 x i8], align 16 %9 = alloca [50 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 50, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 50, i1 false) store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 %16 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0 %17 = load ptr, ptr %4, align 8 %18 = call ptr @fgets(ptr noundef %16, i32 noundef 200, ptr noundef %17) %19 = icmp ne ptr %18, null br i1 %19, label %.lr.ph, label %194 .lr.ph: ; preds = %3 br label %20 20: ; preds = %.lr.ph, %190 %21 = load i32, ptr %14, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %14, align 4 %23 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0 store ptr %23, ptr %10, align 8 %24 = load i32, ptr %14, align 4 %25 = icmp eq i32 %24, 1 br i1 %25, label %26, label %47 26: ; preds = %20 %27 = load ptr, ptr %10, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 0 %29 = load i8, ptr %28, align 1 %30 = zext i8 %29 to i32 %31 = icmp eq i32 %30, 239 br i1 %31, label %32, label %47 32: ; preds = %26 %33 = load ptr, ptr %10, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 1 %35 = load i8, ptr %34, align 1 %36 = zext i8 %35 to i32 %37 = icmp eq i32 %36, 187 br i1 %37, label %38, label %47 38: ; preds = %32 %39 = load ptr, ptr %10, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 2 %41 = load i8, ptr %40, align 1 %42 = zext i8 %41 to i32 %43 = icmp eq i32 %42, 191 br i1 %43, label %44, label %47 44: ; preds = %38 %45 = load ptr, ptr %10, align 8 %46 = getelementptr inbounds i8, ptr %45, i64 3 store ptr %46, ptr %10, align 8 br label %47 47: ; preds = %44, %38, %32, %26, %20 %48 = load ptr, ptr %10, align 8 %49 = call ptr @rstrip(ptr noundef %48) %50 = call ptr @lskip(ptr noundef %49) store ptr %50, ptr %10, align 8 %51 = load ptr, ptr %10, align 8 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = icmp eq i32 %53, 59 br i1 %54, label %60, label %55 55: ; preds = %47 %56 = load ptr, ptr %10, align 8 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = icmp eq i32 %58, 35 br i1 %59, label %60, label %61 60: ; preds = %55, %47 br label %190 61: ; preds = %55 %62 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0 %63 = load i8, ptr %62, align 16 %64 = sext i8 %63 to i32 %65 = icmp ne i32 %64, 0 br i1 %65, label %66, label %89 66: ; preds = %61 %67 = load ptr, ptr %10, align 8 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = icmp ne i32 %69, 0 br i1 %70, label %71, label %89 71: ; preds = %66 %72 = load ptr, ptr %10, align 8 %73 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0 %74 = icmp ugt ptr %72, %73 br i1 %74, label %75, label %89 75: ; preds = %71 %76 = load ptr, ptr %5, align 8 %77 = load ptr, ptr %6, align 8 %78 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %79 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0 %80 = load ptr, ptr %10, align 8 %81 = call i32 %76(ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80) %82 = icmp ne i32 %81, 0 br i1 %82, label %88, label %83 83: ; preds = %75 %84 = load i32, ptr %15, align 4 %85 = icmp ne i32 %84, 0 br i1 %85, label %88, label %86 86: ; preds = %83 %87 = load i32, ptr %14, align 4 store i32 %87, ptr %15, align 4 br label %88 88: ; preds = %86, %83, %75 br label %189 89: ; preds = %71, %66, %61 %90 = load ptr, ptr %10, align 8 %91 = load i8, ptr %90, align 1 %92 = sext i8 %91 to i32 %93 = icmp eq i32 %92, 91 br i1 %93, label %94, label %116 94: ; preds = %89 %95 = load ptr, ptr %10, align 8 %96 = getelementptr inbounds i8, ptr %95, i64 1 %97 = call ptr @find_char_or_comment(ptr noundef %96, i8 noundef signext 93) store ptr %97, ptr %11, align 8 %98 = load ptr, ptr %11, align 8 %99 = load i8, ptr %98, align 1 %100 = sext i8 %99 to i32 %101 = icmp eq i32 %100, 93 br i1 %101, label %102, label %109 102: ; preds = %94 %103 = load ptr, ptr %11, align 8 store i8 0, ptr %103, align 1 %104 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %105 = load ptr, ptr %10, align 8 %106 = getelementptr inbounds i8, ptr %105, i64 1 %107 = call i32 @strncpy0(ptr noundef %104, ptr noundef %106, i32 noundef 50) %108 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0 store i8 0, ptr %108, align 16 br label %115 109: ; preds = %94 %110 = load i32, ptr %15, align 4 %111 = icmp ne i32 %110, 0 br i1 %111, label %114, label %112 112: ; preds = %109 %113 = load i32, ptr %14, align 4 store i32 %113, ptr %15, align 4 br label %114 114: ; preds = %112, %109 br label %115 115: ; preds = %114, %102 br label %188 116: ; preds = %89 %117 = load ptr, ptr %10, align 8 %118 = load i8, ptr %117, align 1 %119 = sext i8 %118 to i32 %120 = icmp ne i32 %119, 0 br i1 %120, label %121, label %187 121: ; preds = %116 %122 = load ptr, ptr %10, align 8 %123 = load i8, ptr %122, align 1 %124 = sext i8 %123 to i32 %125 = icmp ne i32 %124, 59 br i1 %125, label %126, label %187 126: ; preds = %121 %127 = load ptr, ptr %10, align 8 %128 = call ptr @find_char_or_comment(ptr noundef %127, i8 noundef signext 61) store ptr %128, ptr %11, align 8 %129 = load ptr, ptr %11, align 8 %130 = load i8, ptr %129, align 1 %131 = sext i8 %130 to i32 %132 = icmp ne i32 %131, 61 br i1 %132, label %133, label %136 133: ; preds = %126 %134 = load ptr, ptr %10, align 8 %135 = call ptr @find_char_or_comment(ptr noundef %134, i8 noundef signext 58) store ptr %135, ptr %11, align 8 br label %136 136: ; preds = %133, %126 %137 = load ptr, ptr %11, align 8 %138 = load i8, ptr %137, align 1 %139 = sext i8 %138 to i32 %140 = icmp eq i32 %139, 61 br i1 %140, label %146, label %141 141: ; preds = %136 %142 = load ptr, ptr %11, align 8 %143 = load i8, ptr %142, align 1 %144 = sext i8 %143 to i32 %145 = icmp eq i32 %144, 58 br i1 %145, label %146, label %180 146: ; preds = %141, %136 %147 = load ptr, ptr %11, align 8 store i8 0, ptr %147, align 1 %148 = load ptr, ptr %10, align 8 %149 = call ptr @rstrip(ptr noundef %148) store ptr %149, ptr %12, align 8 %150 = load ptr, ptr %11, align 8 %151 = getelementptr inbounds i8, ptr %150, i64 1 %152 = call ptr @lskip(ptr noundef %151) store ptr %152, ptr %13, align 8 %153 = load ptr, ptr %13, align 8 %154 = call ptr @find_char_or_comment(ptr noundef %153, i8 noundef signext 0) store ptr %154, ptr %11, align 8 %155 = load ptr, ptr %11, align 8 %156 = load i8, ptr %155, align 1 %157 = sext i8 %156 to i32 %158 = icmp eq i32 %157, 59 br i1 %158, label %159, label %161 159: ; preds = %146 %160 = load ptr, ptr %11, align 8 store i8 0, ptr %160, align 1 br label %161 161: ; preds = %159, %146 %162 = load ptr, ptr %13, align 8 %163 = call ptr @rstrip(ptr noundef %162) %164 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0 %165 = load ptr, ptr %12, align 8 %166 = call i32 @strncpy0(ptr noundef %164, ptr noundef %165, i32 noundef 50) %167 = load ptr, ptr %5, align 8 %168 = load ptr, ptr %6, align 8 %169 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0 %170 = load ptr, ptr %12, align 8 %171 = load ptr, ptr %13, align 8 %172 = call i32 %167(ptr noundef %168, ptr noundef %169, ptr noundef %170, ptr noundef %171) %173 = icmp ne i32 %172, 0 br i1 %173, label %179, label %174 174: ; preds = %161 %175 = load i32, ptr %15, align 4 %176 = icmp ne i32 %175, 0 br i1 %176, label %179, label %177 177: ; preds = %174 %178 = load i32, ptr %14, align 4 store i32 %178, ptr %15, align 4 br label %179 179: ; preds = %177, %174, %161 br label %186 180: ; preds = %141 %181 = load i32, ptr %15, align 4 %182 = icmp ne i32 %181, 0 br i1 %182, label %185, label %183 183: ; preds = %180 %184 = load i32, ptr %14, align 4 store i32 %184, ptr %15, align 4 br label %185 185: ; preds = %183, %180 br label %186 186: ; preds = %185, %179 br label %187 187: ; preds = %186, %121, %116 br label %188 188: ; preds = %187, %115 br label %189 189: ; preds = %188, %88 br label %190 190: ; preds = %189, %60 %191 = load ptr, ptr %4, align 8 %192 = call ptr @fgets(ptr noundef %16, i32 noundef 200, ptr noundef %191) %193 = icmp ne ptr %192, null br i1 %193, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %190 br label %194 194: ; preds = %._crit_edge, %3 %195 = load i32, ptr %15, align 4 ret i32 %195 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare ptr @lskip(ptr noundef) #2 declare ptr @rstrip(ptr noundef) #2 declare ptr @find_char_or_comment(ptr noundef, i8 noundef signext) #2 declare i32 @strncpy0(ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmp21l0pcwu.c' source_filename = "/tmp/tmp21l0pcwu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [38 x i8] c"%s: cannot open file for writing: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"gmond\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cmdline_parser_file_save(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %8 = load ptr, ptr %4, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %17, label %12 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = load ptr, ptr %4, align 8 %15 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %14) %16 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %16, ptr %3, align 4 br label %24 17: ; preds = %2 %18 = load ptr, ptr %6, align 8 %19 = load ptr, ptr %5, align 8 %20 = call i32 @cmdline_parser_dump(ptr noundef %18, ptr noundef %19) store i32 %20, ptr %7, align 4 %21 = load ptr, ptr %6, align 8 %22 = call i32 @fclose(ptr noundef %21) %23 = load i32, ptr %7, align 4 store i32 %23, ptr %3, align 4 br label %24 24: ; preds = %17, %12 %25 = load i32, ptr %3, align 4 ret i32 %25 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @cmdline_parser_dump(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp21l0pcwu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [38 x i8] c"%s: cannot open file for writing: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"gmond\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cmdline_parser_file_save(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %8 = load ptr, ptr %4, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %17, label %12 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = load ptr, ptr %4, align 8 %15 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %14) %16 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %16, ptr %3, align 4 br label %24 17: ; preds = %2 %18 = load ptr, ptr %6, align 8 %19 = load ptr, ptr %5, align 8 %20 = call i32 @cmdline_parser_dump(ptr noundef %18, ptr noundef %19) store i32 %20, ptr %7, align 4 %21 = load ptr, ptr %6, align 8 %22 = call i32 @fclose(ptr noundef %21) %23 = load i32, ptr %7, align 4 store i32 %23, ptr %3, align 4 br label %24 24: ; preds = %17, %12 %25 = load i32, ptr %3, align 4 ret i32 %25 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @cmdline_parser_dump(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4e5nrv4p.c' source_filename = "/tmp/tmp4e5nrv4p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort_select(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %14 = load i32, ptr %7, align 4 %15 = call ptr @malloc(i32 noundef %14) store ptr %15, ptr %9, align 8 %16 = load ptr, ptr %5, align 8 store ptr %16, ptr %10, align 8 %17 = load ptr, ptr %5, align 8 store ptr %17, ptr %11, align 8 store i32 0, ptr %12, align 4 br label %18 18: ; preds = %62, %4 %19 = load i32, ptr %12, align 4 %20 = load i32, ptr %6, align 4 %21 = sub i32 %20, 1 %22 = icmp ult i32 %19, %21 br i1 %22, label %23, label %65 23: ; preds = %18 %24 = load ptr, ptr %5, align 8 store ptr %24, ptr %10, align 8 %25 = load ptr, ptr %5, align 8 store ptr %25, ptr %11, align 8 %26 = load i32, ptr %12, align 4 store i32 %26, ptr %13, align 4 br label %27 27: ; preds = %44, %23 %28 = load i32, ptr %13, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp ult i32 %28, %29 br i1 %30, label %31, label %47 31: ; preds = %27 %32 = load ptr, ptr %8, align 8 %33 = load ptr, ptr %10, align 8 %34 = load ptr, ptr %11, align 8 %35 = call i32 %32(ptr noundef %33, ptr noundef %34) %36 = icmp sge i32 %35, 0 br i1 %36, label %37, label %39 37: ; preds = %31 %38 = load ptr, ptr %11, align 8 store ptr %38, ptr %10, align 8 br label %39 39: ; preds = %37, %31 %40 = load ptr, ptr %11, align 8 %41 = load i32, ptr %7, align 4 %42 = zext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 store ptr %43, ptr %11, align 8 br label %44 44: ; preds = %39 %45 = load i32, ptr %13, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %13, align 4 br label %27, !llvm.loop !6 47: ; preds = %27 %48 = load ptr, ptr %5, align 8 %49 = load ptr, ptr %10, align 8 %50 = icmp ne ptr %48, %49 br i1 %50, label %51, label %57 51: ; preds = %47 %52 = load ptr, ptr %5, align 8 %53 = load ptr, ptr %10, align 8 %54 = load i32, ptr %7, align 4 %55 = load ptr, ptr %9, align 8 %56 = call i32 @sort_swp(ptr noundef %52, ptr noundef %53, i32 noundef %54, ptr noundef %55) br label %57 57: ; preds = %51, %47 %58 = load ptr, ptr %5, align 8 %59 = load i32, ptr %7, align 4 %60 = zext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 store ptr %61, ptr %5, align 8 br label %62 62: ; preds = %57 %63 = load i32, ptr %12, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %12, align 4 br label %18, !llvm.loop !8 65: ; preds = %18 %66 = load ptr, ptr %9, align 8 %67 = call i32 @free(ptr noundef %66) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @sort_swp(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4e5nrv4p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort_select(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %14 = load i32, ptr %7, align 4 %15 = call ptr @malloc(i32 noundef %14) store ptr %15, ptr %9, align 8 %16 = load ptr, ptr %5, align 8 store ptr %16, ptr %10, align 8 %17 = load ptr, ptr %5, align 8 store ptr %17, ptr %11, align 8 store i32 0, ptr %12, align 4 %18 = load i32, ptr %12, align 4 %19 = load i32, ptr %6, align 4 %20 = sub i32 %19, 1 %21 = icmp ult i32 %18, %20 br i1 %21, label %.lr.ph2, label %70 .lr.ph2: ; preds = %4 br label %22 22: ; preds = %.lr.ph2, %63 %23 = load ptr, ptr %5, align 8 store ptr %23, ptr %10, align 8 %24 = load ptr, ptr %5, align 8 store ptr %24, ptr %11, align 8 %25 = load i32, ptr %12, align 4 store i32 %25, ptr %13, align 4 %26 = load i32, ptr %13, align 4 %27 = load i32, ptr %6, align 4 %28 = icmp ult i32 %26, %27 br i1 %28, label %.lr.ph, label %48 .lr.ph: ; preds = %22 br label %29 29: ; preds = %.lr.ph, %42 %30 = load ptr, ptr %8, align 8 %31 = load ptr, ptr %10, align 8 %32 = load ptr, ptr %11, align 8 %33 = call i32 %30(ptr noundef %31, ptr noundef %32) %34 = icmp sge i32 %33, 0 br i1 %34, label %35, label %37 35: ; preds = %29 %36 = load ptr, ptr %11, align 8 store ptr %36, ptr %10, align 8 br label %37 37: ; preds = %35, %29 %38 = load ptr, ptr %11, align 8 %39 = load i32, ptr %7, align 4 %40 = zext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 store ptr %41, ptr %11, align 8 br label %42 42: ; preds = %37 %43 = load i32, ptr %13, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %13, align 4 %45 = load i32, ptr %13, align 4 %46 = load i32, ptr %6, align 4 %47 = icmp ult i32 %45, %46 br i1 %47, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %48 48: ; preds = %._crit_edge, %22 %49 = load ptr, ptr %5, align 8 %50 = load ptr, ptr %10, align 8 %51 = icmp ne ptr %49, %50 br i1 %51, label %52, label %58 52: ; preds = %48 %53 = load ptr, ptr %5, align 8 %54 = load ptr, ptr %10, align 8 %55 = load i32, ptr %7, align 4 %56 = load ptr, ptr %9, align 8 %57 = call i32 @sort_swp(ptr noundef %53, ptr noundef %54, i32 noundef %55, ptr noundef %56) br label %58 58: ; preds = %52, %48 %59 = load ptr, ptr %5, align 8 %60 = load i32, ptr %7, align 4 %61 = zext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 store ptr %62, ptr %5, align 8 br label %63 63: ; preds = %58 %64 = load i32, ptr %12, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %12, align 4 %66 = load i32, ptr %12, align 4 %67 = load i32, ptr %6, align 4 %68 = sub i32 %67, 1 %69 = icmp ult i32 %66, %68 br i1 %69, label %22, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %63 br label %70 70: ; preds = %._crit_edge3, %4 %71 = load ptr, ptr %9, align 8 %72 = call i32 @free(ptr noundef %71) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @sort_swp(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpmru7brfh.c' source_filename = "/tmp/tmpmru7brfh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_magical(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = mul nsw i32 %5, 2 store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = add nsw i32 %7, 10 store i32 %8, ptr %3, align 4 store i32 1, ptr %4, align 4 br label %9 9: ; preds = %19, %1 %10 = load i32, ptr %4, align 4 %11 = icmp sle i32 %10, 6 br i1 %11, label %12, label %22 12: ; preds = %9 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %4, align 4 %15 = srem i32 %13, %14 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %12 store i32 0, ptr %2, align 4 br label %23 18: ; preds = %12 br label %19 19: ; preds = %18 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %4, align 4 br label %9, !llvm.loop !6 22: ; preds = %9 store i32 1, ptr %2, align 4 br label %23 23: ; preds = %22, %17 %24 = load i32, ptr %2, align 4 ret i32 %24 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpmru7brfh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_magical(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = mul nsw i32 %5, 2 store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = add nsw i32 %7, 10 store i32 %8, ptr %3, align 4 store i32 1, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp sle i32 %9, 6 br i1 %10, label %.lr.ph, label %23 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %18 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %4, align 4 %14 = srem i32 %12, %13 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %11 store i32 0, ptr %2, align 4 br label %24 17: ; preds = %11 br label %18 18: ; preds = %17 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %4, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp sle i32 %21, 6 br i1 %22, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %23 23: ; preds = %._crit_edge, %1 store i32 1, ptr %2, align 4 br label %24 24: ; preds = %23, %16 %25 = load i32, ptr %2, align 4 ret i32 %25 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp41ss8jiz.c' source_filename = "/tmp/tmp41ss8jiz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isxdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isxdigit should be 0 for 0xc7\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isxdigit_0xc7() #0 { %1 = call i64 @isxdigit(i32 noundef 199) %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 1000, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isxdigit(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/tmp41ss8jiz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isxdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isxdigit should be 0 for 0xc7\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isxdigit_0xc7() #0 { %1 = call i64 @isxdigit(i32 noundef 199) %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 1000, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isxdigit(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/tmp0r5vi2vr.c' source_filename = "/tmp/tmp0r5vi2vr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0r5vi2vr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm9q_vzxx.c' source_filename = "/tmp/tmpm9q_vzxx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @__VERIFIER_nondet_int() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 (...) @__VERIFIER_nondet_int() %6 = icmp sgt i32 %4, %5 br i1 %6, label %7, label %15 7: ; preds = %0 br label %8 8: ; preds = %11, %7 %9 = load i32, ptr %2, align 4 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %8 %12 = load i32, ptr %2, align 4 %13 = sub nsw i32 %12, 1 store i32 %13, ptr %2, align 4 br label %8, !llvm.loop !6 14: ; preds = %8 br label %15 15: ; preds = %14, %0 ret i32 0 } declare i32 @__VERIFIER_nondet_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm9q_vzxx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @__VERIFIER_nondet_int() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 (...) @__VERIFIER_nondet_int() %6 = icmp sgt i32 %4, %5 br i1 %6, label %7, label %16 7: ; preds = %0 %8 = load i32, ptr %2, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %.lr.ph, label %15 .lr.ph: ; preds = %7 br label %10 10: ; preds = %.lr.ph, %10 %11 = load i32, ptr %2, align 4 %12 = sub nsw i32 %11, 1 store i32 %12, ptr %2, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %15 15: ; preds = %._crit_edge, %7 br label %16 16: ; preds = %15, %0 ret i32 0 } declare i32 @__VERIFIER_nondet_int(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmppuraen5t.c' source_filename = "/tmp/tmppuraen5t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"child2 created : %d (%d)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @child2(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = call i32 (...) @getpid() %5 = call i32 (...) @getppid() %6 = call i32 @printf(ptr noundef @.str, i32 noundef %4, i32 noundef %5) %7 = call i32 @sleep(i32 noundef 1) %8 = load ptr, ptr %2, align 8 ret ptr %8 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @getppid(...) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppuraen5t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"child2 created : %d (%d)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @child2(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = call i32 (...) @getpid() %5 = call i32 (...) @getppid() %6 = call i32 @printf(ptr noundef @.str, i32 noundef %4, i32 noundef %5) %7 = call i32 @sleep(i32 noundef 1) %8 = load ptr, ptr %2, align 8 ret ptr %8 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @getppid(...) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7yf4tzsm.c' source_filename = "/tmp/tmp7yf4tzsm.c" target datalayout = "e-m:e-p270: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.ip = type { i8, %struct.TYPE_4__, %struct.TYPE_3__ } %struct.TYPE_4__ = type { i8 } %struct.TYPE_3__ = type { i8 } %struct.tcphdr = type { i8, i8, i8, i8, i32, i32, i8, i8, i8 } @IP_MAXPACKET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @tcp4_checksum(i24 %0, i64 %1, i64 %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca %struct.ip, align 1 %7 = alloca i24, align 4 %8 = alloca %struct.tcphdr, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i8, align 1 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca i8, align 1 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store i24 %0, ptr %7, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 4 %7, i64 3, i1 false) %18 = getelementptr inbounds { i64, i64 }, ptr %8, i32 0, i32 0 store i64 %1, ptr %18, align 4 %19 = getelementptr inbounds { i64, i64 }, ptr %8, i32 0, i32 1 store i64 %2, ptr %19, align 4 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %20 = load i32, ptr @IP_MAXPACKET, align 4 %21 = zext i32 %20 to i64 %22 = call ptr @llvm.stacksave() store ptr %22, ptr %12, align 8 %23 = alloca i8, i64 %21, align 16 store i64 %21, ptr %13, align 8 store i32 0, ptr %17, align 4 %24 = getelementptr inbounds i8, ptr %23, i64 0 store ptr %24, ptr %15, align 8 %25 = load ptr, ptr %15, align 8 %26 = getelementptr inbounds %struct.ip, ptr %6, i32 0, i32 2 %27 = getelementptr inbounds %struct.TYPE_3__, ptr %26, i32 0, i32 0 %28 = call i32 @memcpy(ptr noundef %25, ptr noundef %27, i32 noundef 1) %29 = load ptr, ptr %15, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 1 store ptr %30, ptr %15, align 8 %31 = load i32, ptr %17, align 4 %32 = sext i32 %31 to i64 %33 = add i64 %32, 1 %34 = trunc i64 %33 to i32 store i32 %34, ptr %17, align 4 %35 = load ptr, ptr %15, align 8 %36 = getelementptr inbounds %struct.ip, ptr %6, i32 0, i32 1 %37 = getelementptr inbounds %struct.TYPE_4__, ptr %36, i32 0, i32 0 %38 = call i32 @memcpy(ptr noundef %35, ptr noundef %37, i32 noundef 1) %39 = load ptr, ptr %15, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 1 store ptr %40, ptr %15, align 8 %41 = load i32, ptr %17, align 4 %42 = sext i32 %41 to i64 %43 = add i64 %42, 1 %44 = trunc i64 %43 to i32 store i32 %44, ptr %17, align 4 %45 = load ptr, ptr %15, align 8 store i8 0, ptr %45, align 1 %46 = load ptr, ptr %15, align 8 %47 = getelementptr inbounds i8, ptr %46, i32 1 store ptr %47, ptr %15, align 8 %48 = load i32, ptr %17, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %17, align 4 %50 = load ptr, ptr %15, align 8 %51 = getelementptr inbounds %struct.ip, ptr %6, i32 0, i32 0 %52 = call i32 @memcpy(ptr noundef %50, ptr noundef %51, i32 noundef 1) %53 = load ptr, ptr %15, align 8 %54 = getelementptr inbounds i8, ptr %53, i64 1 store ptr %54, ptr %15, align 8 %55 = load i32, ptr %17, align 4 %56 = sext i32 %55 to i64 %57 = add i64 %56, 1 %58 = trunc i64 %57 to i32 store i32 %58, ptr %17, align 4 %59 = load i32, ptr %10, align 4 %60 = sext i32 %59 to i64 %61 = add i64 16, %60 %62 = trunc i64 %61 to i32 %63 = call signext i8 @htons(i32 noundef %62) store i8 %63, ptr %11, align 1 %64 = load ptr, ptr %15, align 8 %65 = call i32 @memcpy(ptr noundef %64, ptr noundef %11, i32 noundef 1) %66 = load ptr, ptr %15, align 8 %67 = getelementptr inbounds i8, ptr %66, i64 1 store ptr %67, ptr %15, align 8 %68 = load i32, ptr %17, align 4 %69 = sext i32 %68 to i64 %70 = add i64 %69, 1 %71 = trunc i64 %70 to i32 store i32 %71, ptr %17, align 4 %72 = load ptr, ptr %15, align 8 %73 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 0 %74 = call i32 @memcpy(ptr noundef %72, ptr noundef %73, i32 noundef 1) %75 = load ptr, ptr %15, align 8 %76 = getelementptr inbounds i8, ptr %75, i64 1 store ptr %76, ptr %15, align 8 %77 = load i32, ptr %17, align 4 %78 = sext i32 %77 to i64 %79 = add i64 %78, 1 %80 = trunc i64 %79 to i32 store i32 %80, ptr %17, align 4 %81 = load ptr, ptr %15, align 8 %82 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 1 %83 = call i32 @memcpy(ptr noundef %81, ptr noundef %82, i32 noundef 1) %84 = load ptr, ptr %15, align 8 %85 = getelementptr inbounds i8, ptr %84, i64 1 store ptr %85, ptr %15, align 8 %86 = load i32, ptr %17, align 4 %87 = sext i32 %86 to i64 %88 = add i64 %87, 1 %89 = trunc i64 %88 to i32 store i32 %89, ptr %17, align 4 %90 = load ptr, ptr %15, align 8 %91 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 2 %92 = call i32 @memcpy(ptr noundef %90, ptr noundef %91, i32 noundef 1) %93 = load ptr, ptr %15, align 8 %94 = getelementptr inbounds i8, ptr %93, i64 1 store ptr %94, ptr %15, align 8 %95 = load i32, ptr %17, align 4 %96 = sext i32 %95 to i64 %97 = add i64 %96, 1 %98 = trunc i64 %97 to i32 store i32 %98, ptr %17, align 4 %99 = load ptr, ptr %15, align 8 %100 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 3 %101 = call i32 @memcpy(ptr noundef %99, ptr noundef %100, i32 noundef 1) %102 = load ptr, ptr %15, align 8 %103 = getelementptr inbounds i8, ptr %102, i64 1 store ptr %103, ptr %15, align 8 %104 = load i32, ptr %17, align 4 %105 = sext i32 %104 to i64 %106 = add i64 %105, 1 %107 = trunc i64 %106 to i32 store i32 %107, ptr %17, align 4 %108 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 4 %109 = load i32, ptr %108, align 4 %110 = shl i32 %109, 4 %111 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 5 %112 = load i32, ptr %111, align 4 %113 = add nsw i32 %110, %112 %114 = trunc i32 %113 to i8 store i8 %114, ptr %14, align 1 %115 = load ptr, ptr %15, align 8 %116 = call i32 @memcpy(ptr noundef %115, ptr noundef %14, i32 noundef 1) %117 = load ptr, ptr %15, align 8 %118 = getelementptr inbounds i8, ptr %117, i64 1 store ptr %118, ptr %15, align 8 %119 = load i32, ptr %17, align 4 %120 = sext i32 %119 to i64 %121 = add i64 %120, 1 %122 = trunc i64 %121 to i32 store i32 %122, ptr %17, align 4 %123 = load ptr, ptr %15, align 8 %124 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 6 %125 = call i32 @memcpy(ptr noundef %123, ptr noundef %124, i32 noundef 1) %126 = load ptr, ptr %15, align 8 %127 = getelementptr inbounds i8, ptr %126, i64 1 store ptr %127, ptr %15, align 8 %128 = load i32, ptr %17, align 4 %129 = sext i32 %128 to i64 %130 = add i64 %129, 1 %131 = trunc i64 %130 to i32 store i32 %131, ptr %17, align 4 %132 = load ptr, ptr %15, align 8 %133 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 7 %134 = call i32 @memcpy(ptr noundef %132, ptr noundef %133, i32 noundef 1) %135 = load ptr, ptr %15, align 8 %136 = getelementptr inbounds i8, ptr %135, i64 1 store ptr %136, ptr %15, align 8 %137 = load i32, ptr %17, align 4 %138 = sext i32 %137 to i64 %139 = add i64 %138, 1 %140 = trunc i64 %139 to i32 store i32 %140, ptr %17, align 4 %141 = load ptr, ptr %15, align 8 store i8 0, ptr %141, align 1 %142 = load ptr, ptr %15, align 8 %143 = getelementptr inbounds i8, ptr %142, i32 1 store ptr %143, ptr %15, align 8 %144 = load ptr, ptr %15, align 8 store i8 0, ptr %144, align 1 %145 = load ptr, ptr %15, align 8 %146 = getelementptr inbounds i8, ptr %145, i32 1 store ptr %146, ptr %15, align 8 %147 = load i32, ptr %17, align 4 %148 = add nsw i32 %147, 2 store i32 %148, ptr %17, align 4 %149 = load ptr, ptr %15, align 8 %150 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 8 %151 = call i32 @memcpy(ptr noundef %149, ptr noundef %150, i32 noundef 1) %152 = load ptr, ptr %15, align 8 %153 = getelementptr inbounds i8, ptr %152, i64 1 store ptr %153, ptr %15, align 8 %154 = load i32, ptr %17, align 4 %155 = sext i32 %154 to i64 %156 = add i64 %155, 1 %157 = trunc i64 %156 to i32 store i32 %157, ptr %17, align 4 %158 = load ptr, ptr %15, align 8 %159 = load ptr, ptr %9, align 8 %160 = load i32, ptr %10, align 4 %161 = call i32 @memcpy(ptr noundef %158, ptr noundef %159, i32 noundef %160) %162 = load i32, ptr %10, align 4 %163 = load ptr, ptr %15, align 8 %164 = sext i32 %162 to i64 %165 = getelementptr inbounds i8, ptr %163, i64 %164 store ptr %165, ptr %15, align 8 %166 = load i32, ptr %10, align 4 %167 = load i32, ptr %17, align 4 %168 = add nsw i32 %167, %166 store i32 %168, ptr %17, align 4 store i32 0, ptr %16, align 4 br label %169 169: ; preds = %180, %5 %170 = load i32, ptr %16, align 4 %171 = load i32, ptr %10, align 4 %172 = srem i32 %171, 2 %173 = icmp slt i32 %170, %172 br i1 %173, label %174, label %185 174: ; preds = %169 %175 = load ptr, ptr %15, align 8 store i8 0, ptr %175, align 1 %176 = load ptr, ptr %15, align 8 %177 = getelementptr inbounds i8, ptr %176, i32 1 store ptr %177, ptr %15, align 8 %178 = load i32, ptr %17, align 4 %179 = add nsw i32 %178, 1 store i32 %179, ptr %17, align 4 br label %180 180: ; preds = %174 %181 = load i32, ptr %16, align 4 %182 = add nsw i32 %181, 1 store i32 %182, ptr %16, align 4 %183 = load ptr, ptr %15, align 8 %184 = getelementptr inbounds i8, ptr %183, i32 1 store ptr %184, ptr %15, align 8 br label %169, !llvm.loop !6 185: ; preds = %169 %186 = load i32, ptr %17, align 4 %187 = call signext i8 @checksum(ptr noundef %23, i32 noundef %186) %188 = load ptr, ptr %12, align 8 call void @llvm.stackrestore(ptr %188) ret i8 %187 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #3 declare signext i8 @htons(i32 noundef) #3 declare signext i8 @checksum(ptr noundef, i32 noundef) #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nosync nounwind willreturn } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7yf4tzsm.c" target datalayout = "e-m:e-p270: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.ip = type { i8, %struct.TYPE_4__, %struct.TYPE_3__ } %struct.TYPE_4__ = type { i8 } %struct.TYPE_3__ = type { i8 } %struct.tcphdr = type { i8, i8, i8, i8, i32, i32, i8, i8, i8 } @IP_MAXPACKET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @tcp4_checksum(i24 %0, i64 %1, i64 %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca %struct.ip, align 1 %7 = alloca i24, align 4 %8 = alloca %struct.tcphdr, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i8, align 1 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca i8, align 1 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store i24 %0, ptr %7, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 4 %7, i64 3, i1 false) %18 = getelementptr inbounds { i64, i64 }, ptr %8, i32 0, i32 0 store i64 %1, ptr %18, align 4 %19 = getelementptr inbounds { i64, i64 }, ptr %8, i32 0, i32 1 store i64 %2, ptr %19, align 4 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %20 = load i32, ptr @IP_MAXPACKET, align 4 %21 = zext i32 %20 to i64 %22 = call ptr @llvm.stacksave() store ptr %22, ptr %12, align 8 %23 = alloca i8, i64 %21, align 16 store i64 %21, ptr %13, align 8 store i32 0, ptr %17, align 4 %24 = getelementptr inbounds i8, ptr %23, i64 0 store ptr %24, ptr %15, align 8 %25 = load ptr, ptr %15, align 8 %26 = getelementptr inbounds %struct.ip, ptr %6, i32 0, i32 2 %27 = getelementptr inbounds %struct.TYPE_3__, ptr %26, i32 0, i32 0 %28 = call i32 @memcpy(ptr noundef %25, ptr noundef %27, i32 noundef 1) %29 = load ptr, ptr %15, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 1 store ptr %30, ptr %15, align 8 %31 = load i32, ptr %17, align 4 %32 = sext i32 %31 to i64 %33 = add i64 %32, 1 %34 = trunc i64 %33 to i32 store i32 %34, ptr %17, align 4 %35 = load ptr, ptr %15, align 8 %36 = getelementptr inbounds %struct.ip, ptr %6, i32 0, i32 1 %37 = getelementptr inbounds %struct.TYPE_4__, ptr %36, i32 0, i32 0 %38 = call i32 @memcpy(ptr noundef %35, ptr noundef %37, i32 noundef 1) %39 = load ptr, ptr %15, align 8 %40 = getelementptr inbounds i8, ptr %39, i64 1 store ptr %40, ptr %15, align 8 %41 = load i32, ptr %17, align 4 %42 = sext i32 %41 to i64 %43 = add i64 %42, 1 %44 = trunc i64 %43 to i32 store i32 %44, ptr %17, align 4 %45 = load ptr, ptr %15, align 8 store i8 0, ptr %45, align 1 %46 = load ptr, ptr %15, align 8 %47 = getelementptr inbounds i8, ptr %46, i32 1 store ptr %47, ptr %15, align 8 %48 = load i32, ptr %17, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %17, align 4 %50 = load ptr, ptr %15, align 8 %51 = getelementptr inbounds %struct.ip, ptr %6, i32 0, i32 0 %52 = call i32 @memcpy(ptr noundef %50, ptr noundef %51, i32 noundef 1) %53 = load ptr, ptr %15, align 8 %54 = getelementptr inbounds i8, ptr %53, i64 1 store ptr %54, ptr %15, align 8 %55 = load i32, ptr %17, align 4 %56 = sext i32 %55 to i64 %57 = add i64 %56, 1 %58 = trunc i64 %57 to i32 store i32 %58, ptr %17, align 4 %59 = load i32, ptr %10, align 4 %60 = sext i32 %59 to i64 %61 = add i64 16, %60 %62 = trunc i64 %61 to i32 %63 = call signext i8 @htons(i32 noundef %62) store i8 %63, ptr %11, align 1 %64 = load ptr, ptr %15, align 8 %65 = call i32 @memcpy(ptr noundef %64, ptr noundef %11, i32 noundef 1) %66 = load ptr, ptr %15, align 8 %67 = getelementptr inbounds i8, ptr %66, i64 1 store ptr %67, ptr %15, align 8 %68 = load i32, ptr %17, align 4 %69 = sext i32 %68 to i64 %70 = add i64 %69, 1 %71 = trunc i64 %70 to i32 store i32 %71, ptr %17, align 4 %72 = load ptr, ptr %15, align 8 %73 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 0 %74 = call i32 @memcpy(ptr noundef %72, ptr noundef %73, i32 noundef 1) %75 = load ptr, ptr %15, align 8 %76 = getelementptr inbounds i8, ptr %75, i64 1 store ptr %76, ptr %15, align 8 %77 = load i32, ptr %17, align 4 %78 = sext i32 %77 to i64 %79 = add i64 %78, 1 %80 = trunc i64 %79 to i32 store i32 %80, ptr %17, align 4 %81 = load ptr, ptr %15, align 8 %82 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 1 %83 = call i32 @memcpy(ptr noundef %81, ptr noundef %82, i32 noundef 1) %84 = load ptr, ptr %15, align 8 %85 = getelementptr inbounds i8, ptr %84, i64 1 store ptr %85, ptr %15, align 8 %86 = load i32, ptr %17, align 4 %87 = sext i32 %86 to i64 %88 = add i64 %87, 1 %89 = trunc i64 %88 to i32 store i32 %89, ptr %17, align 4 %90 = load ptr, ptr %15, align 8 %91 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 2 %92 = call i32 @memcpy(ptr noundef %90, ptr noundef %91, i32 noundef 1) %93 = load ptr, ptr %15, align 8 %94 = getelementptr inbounds i8, ptr %93, i64 1 store ptr %94, ptr %15, align 8 %95 = load i32, ptr %17, align 4 %96 = sext i32 %95 to i64 %97 = add i64 %96, 1 %98 = trunc i64 %97 to i32 store i32 %98, ptr %17, align 4 %99 = load ptr, ptr %15, align 8 %100 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 3 %101 = call i32 @memcpy(ptr noundef %99, ptr noundef %100, i32 noundef 1) %102 = load ptr, ptr %15, align 8 %103 = getelementptr inbounds i8, ptr %102, i64 1 store ptr %103, ptr %15, align 8 %104 = load i32, ptr %17, align 4 %105 = sext i32 %104 to i64 %106 = add i64 %105, 1 %107 = trunc i64 %106 to i32 store i32 %107, ptr %17, align 4 %108 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 4 %109 = load i32, ptr %108, align 4 %110 = shl i32 %109, 4 %111 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 5 %112 = load i32, ptr %111, align 4 %113 = add nsw i32 %110, %112 %114 = trunc i32 %113 to i8 store i8 %114, ptr %14, align 1 %115 = load ptr, ptr %15, align 8 %116 = call i32 @memcpy(ptr noundef %115, ptr noundef %14, i32 noundef 1) %117 = load ptr, ptr %15, align 8 %118 = getelementptr inbounds i8, ptr %117, i64 1 store ptr %118, ptr %15, align 8 %119 = load i32, ptr %17, align 4 %120 = sext i32 %119 to i64 %121 = add i64 %120, 1 %122 = trunc i64 %121 to i32 store i32 %122, ptr %17, align 4 %123 = load ptr, ptr %15, align 8 %124 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 6 %125 = call i32 @memcpy(ptr noundef %123, ptr noundef %124, i32 noundef 1) %126 = load ptr, ptr %15, align 8 %127 = getelementptr inbounds i8, ptr %126, i64 1 store ptr %127, ptr %15, align 8 %128 = load i32, ptr %17, align 4 %129 = sext i32 %128 to i64 %130 = add i64 %129, 1 %131 = trunc i64 %130 to i32 store i32 %131, ptr %17, align 4 %132 = load ptr, ptr %15, align 8 %133 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 7 %134 = call i32 @memcpy(ptr noundef %132, ptr noundef %133, i32 noundef 1) %135 = load ptr, ptr %15, align 8 %136 = getelementptr inbounds i8, ptr %135, i64 1 store ptr %136, ptr %15, align 8 %137 = load i32, ptr %17, align 4 %138 = sext i32 %137 to i64 %139 = add i64 %138, 1 %140 = trunc i64 %139 to i32 store i32 %140, ptr %17, align 4 %141 = load ptr, ptr %15, align 8 store i8 0, ptr %141, align 1 %142 = load ptr, ptr %15, align 8 %143 = getelementptr inbounds i8, ptr %142, i32 1 store ptr %143, ptr %15, align 8 %144 = load ptr, ptr %15, align 8 store i8 0, ptr %144, align 1 %145 = load ptr, ptr %15, align 8 %146 = getelementptr inbounds i8, ptr %145, i32 1 store ptr %146, ptr %15, align 8 %147 = load i32, ptr %17, align 4 %148 = add nsw i32 %147, 2 store i32 %148, ptr %17, align 4 %149 = load ptr, ptr %15, align 8 %150 = getelementptr inbounds %struct.tcphdr, ptr %8, i32 0, i32 8 %151 = call i32 @memcpy(ptr noundef %149, ptr noundef %150, i32 noundef 1) %152 = load ptr, ptr %15, align 8 %153 = getelementptr inbounds i8, ptr %152, i64 1 store ptr %153, ptr %15, align 8 %154 = load i32, ptr %17, align 4 %155 = sext i32 %154 to i64 %156 = add i64 %155, 1 %157 = trunc i64 %156 to i32 store i32 %157, ptr %17, align 4 %158 = load ptr, ptr %15, align 8 %159 = load ptr, ptr %9, align 8 %160 = load i32, ptr %10, align 4 %161 = call i32 @memcpy(ptr noundef %158, ptr noundef %159, i32 noundef %160) %162 = load i32, ptr %10, align 4 %163 = load ptr, ptr %15, align 8 %164 = sext i32 %162 to i64 %165 = getelementptr inbounds i8, ptr %163, i64 %164 store ptr %165, ptr %15, align 8 %166 = load i32, ptr %10, align 4 %167 = load i32, ptr %17, align 4 %168 = add nsw i32 %167, %166 store i32 %168, ptr %17, align 4 store i32 0, ptr %16, align 4 %169 = load i32, ptr %16, align 4 %170 = load i32, ptr %10, align 4 %171 = srem i32 %170, 2 %172 = icmp slt i32 %169, %171 br i1 %172, label %.lr.ph, label %188 .lr.ph: ; preds = %5 br label %173 173: ; preds = %.lr.ph, %179 %174 = load ptr, ptr %15, align 8 store i8 0, ptr %174, align 1 %175 = load ptr, ptr %15, align 8 %176 = getelementptr inbounds i8, ptr %175, i32 1 store ptr %176, ptr %15, align 8 %177 = load i32, ptr %17, align 4 %178 = add nsw i32 %177, 1 store i32 %178, ptr %17, align 4 br label %179 179: ; preds = %173 %180 = load i32, ptr %16, align 4 %181 = add nsw i32 %180, 1 store i32 %181, ptr %16, align 4 %182 = load ptr, ptr %15, align 8 %183 = getelementptr inbounds i8, ptr %182, i32 1 store ptr %183, ptr %15, align 8 %184 = load i32, ptr %16, align 4 %185 = load i32, ptr %10, align 4 %186 = srem i32 %185, 2 %187 = icmp slt i32 %184, %186 br i1 %187, label %173, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %179 br label %188 188: ; preds = %._crit_edge, %5 %189 = load i32, ptr %17, align 4 %190 = call signext i8 @checksum(ptr noundef %23, i32 noundef %189) %191 = load ptr, ptr %12, align 8 call void @llvm.stackrestore(ptr %191) ret i8 %190 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #3 declare signext i8 @htons(i32 noundef) #3 declare signext i8 @checksum(ptr noundef, i32 noundef) #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nosync nounwind willreturn } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp7j08b720.c' source_filename = "/tmp/tmp7j08b720.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PL_final_enable_tv_out() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 @write_whitney(i32 noundef 393240, i32 noundef -1610596349) store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp ne i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = load i32, ptr %2, align 4 store i32 %7, ptr %1, align 4 br label %9 8: ; preds = %0 store i32 0, ptr %1, align 4 br label %9 9: ; preds = %8, %6 %10 = load i32, ptr %1, align 4 ret i32 %10 } declare i32 @write_whitney(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/tmp7j08b720.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PL_final_enable_tv_out() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 @write_whitney(i32 noundef 393240, i32 noundef -1610596349) store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp ne i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = load i32, ptr %2, align 4 store i32 %7, ptr %1, align 4 br label %9 8: ; preds = %0 store i32 0, ptr %1, align 4 br label %9 9: ; preds = %8, %6 %10 = load i32, ptr %1, align 4 ret i32 %10 } declare i32 @write_whitney(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/tmpk962c2y0.c' source_filename = "/tmp/tmpk962c2y0.c" target datalayout = "e-m:e-p270: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/tmpk962c2y0.c" target datalayout = "e-m:e-p270: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/tmpckmecqe_.c' source_filename = "/tmp/tmpckmecqe_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trimWhiteSpaces(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 br label %5 5: ; preds = %10, %1 %6 = load ptr, ptr %3, align 8 %7 = load i8, ptr %6, align 1 %8 = sext i8 %7 to i32 %9 = icmp eq i32 %8, 32 br i1 %9, label %10, label %13 10: ; preds = %5 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds i8, ptr %11, i32 1 store ptr %12, ptr %3, align 8 br label %5, !llvm.loop !6 13: ; preds = %5 %14 = load ptr, ptr %3, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %13 %19 = load ptr, ptr %3, align 8 store ptr %19, ptr %2, align 8 br label %45 20: ; preds = %13 %21 = load ptr, ptr %3, align 8 %22 = load ptr, ptr %3, align 8 %23 = call i32 @strlen(ptr noundef %22) %24 = sub nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %21, i64 %25 store ptr %26, ptr %4, align 8 br label %27 27: ; preds = %38, %20 %28 = load ptr, ptr %4, align 8 %29 = load ptr, ptr %3, align 8 %30 = icmp ugt ptr %28, %29 br i1 %30, label %31, label %36 31: ; preds = %27 %32 = load ptr, ptr %4, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 32 br label %36 36: ; preds = %31, %27 %37 = phi i1 [ false, %27 ], [ %35, %31 ] br i1 %37, label %38, label %41 38: ; preds = %36 %39 = load ptr, ptr %4, align 8 %40 = getelementptr inbounds i8, ptr %39, i32 -1 store ptr %40, ptr %4, align 8 br label %27, !llvm.loop !8 41: ; preds = %36 %42 = load ptr, ptr %4, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 1 store i8 0, ptr %43, align 1 %44 = load ptr, ptr %3, align 8 store ptr %44, ptr %2, align 8 br label %45 45: ; preds = %41, %18 %46 = load ptr, ptr %2, align 8 ret ptr %46 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpckmecqe_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trimWhiteSpaces(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i8, ptr %5, align 1 %7 = sext i8 %6 to i32 %8 = icmp eq i32 %7, 32 br i1 %8, label %.lr.ph, label %16 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %9 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds i8, ptr %10, i32 1 store ptr %11, ptr %3, align 8 %12 = load ptr, ptr %3, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 32 br i1 %15, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %16 16: ; preds = %._crit_edge, %1 %17 = load ptr, ptr %3, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %16 %22 = load ptr, ptr %3, align 8 store ptr %22, ptr %2, align 8 br label %48 23: ; preds = %16 %24 = load ptr, ptr %3, align 8 %25 = load ptr, ptr %3, align 8 %26 = call i32 @strlen(ptr noundef %25) %27 = sub nsw i32 %26, 1 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %24, i64 %28 store ptr %29, ptr %4, align 8 br label %30 30: ; preds = %41, %23 %31 = load ptr, ptr %4, align 8 %32 = load ptr, ptr %3, align 8 %33 = icmp ugt ptr %31, %32 br i1 %33, label %34, label %39 34: ; preds = %30 %35 = load ptr, ptr %4, align 8 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %37, 32 br label %39 39: ; preds = %34, %30 %40 = phi i1 [ false, %30 ], [ %38, %34 ] br i1 %40, label %41, label %44 41: ; preds = %39 %42 = load ptr, ptr %4, align 8 %43 = getelementptr inbounds i8, ptr %42, i32 -1 store ptr %43, ptr %4, align 8 br label %30, !llvm.loop !8 44: ; preds = %39 %45 = load ptr, ptr %4, align 8 %46 = getelementptr inbounds i8, ptr %45, i64 1 store i8 0, ptr %46, align 1 %47 = load ptr, ptr %3, align 8 store ptr %47, ptr %2, align 8 br label %48 48: ; preds = %44, %21 %49 = load ptr, ptr %2, align 8 ret ptr %49 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpf1wc_oi5.c' source_filename = "/tmp/tmpf1wc_oi5.c" target datalayout = "e-m:e-p270: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/tmpf1wc_oi5.c" target datalayout = "e-m:e-p270: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/tmppm69g5uq.c' source_filename = "/tmp/tmppm69g5uq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @build_max_heap(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = sdiv i32 %6, 2 store i32 %7, ptr %5, align 4 br label %8 8: ; preds = %16, %2 %9 = load i32, ptr %5, align 4 %10 = icmp sge i32 %9, 0 br i1 %10, label %11, label %19 11: ; preds = %8 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %4, align 4 %15 = call i32 @max_heapify(ptr noundef %12, i32 noundef %13, i32 noundef %14) br label %16 16: ; preds = %11 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, -1 store i32 %18, ptr %5, align 4 br label %8, !llvm.loop !6 19: ; preds = %8 ret void } declare i32 @max_heapify(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/tmppm69g5uq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @build_max_heap(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = sdiv i32 %6, 2 store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp sge i32 %8, 0 br i1 %9, label %.lr.ph, label %20 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %15 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %4, align 4 %14 = call i32 @max_heapify(ptr noundef %11, i32 noundef %12, i32 noundef %13) br label %15 15: ; preds = %10 %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, -1 store i32 %17, ptr %5, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp sge i32 %18, 0 br i1 %19, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %20 20: ; preds = %._crit_edge, %2 ret void } declare i32 @max_heapify(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/tmp46fb_cr4.c' source_filename = "/tmp/tmp46fb_cr4.c" target datalayout = "e-m:e-p270: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/tmp46fb_cr4.c" target datalayout = "e-m:e-p270: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/tmppk9awcuz.c' source_filename = "/tmp/tmppk9awcuz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @fwrite(ptr noalias noundef %0, i64 noundef %1, i64 noundef %2, ptr noalias noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %10 = load ptr, ptr %8, align 8 %11 = call i32 @flockfile(ptr noundef %10) %12 = load ptr, ptr %5, align 8 %13 = load i64, ptr %6, align 8 %14 = load i64, ptr %7, align 8 %15 = load ptr, ptr %8, align 8 %16 = call i64 @fwrite_unlocked(ptr noundef %12, i64 noundef %13, i64 noundef %14, ptr noundef %15) store i64 %16, ptr %9, align 8 %17 = load ptr, ptr %8, align 8 %18 = call i32 @funlockfile(ptr noundef %17) %19 = load i64, ptr %9, align 8 ret i64 %19 } declare i32 @flockfile(ptr noundef) #1 declare i64 @fwrite_unlocked(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #1 declare i32 @funlockfile(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppk9awcuz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @fwrite(ptr noalias noundef %0, i64 noundef %1, i64 noundef %2, ptr noalias noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %10 = load ptr, ptr %8, align 8 %11 = call i32 @flockfile(ptr noundef %10) %12 = load ptr, ptr %5, align 8 %13 = load i64, ptr %6, align 8 %14 = load i64, ptr %7, align 8 %15 = load ptr, ptr %8, align 8 %16 = call i64 @fwrite_unlocked(ptr noundef %12, i64 noundef %13, i64 noundef %14, ptr noundef %15) store i64 %16, ptr %9, align 8 %17 = load ptr, ptr %8, align 8 %18 = call i32 @funlockfile(ptr noundef %17) %19 = load i64, ptr %9, align 8 ret i64 %19 } declare i32 @flockfile(ptr noundef) #1 declare i64 @fwrite_unlocked(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #1 declare i32 @funlockfile(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpufnu66qh.c' source_filename = "/tmp/tmpufnu66qh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter n1, n2, n3 and n4\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"> \00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%u%u%u%u\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c"There are %u possible sequences\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x i32], align 16 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %5 5: ; preds = %12, %0 %6 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 %7 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 1 %8 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 2 %9 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 3 %10 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) %11 = icmp eq i32 %10, 4 br i1 %11, label %12, label %17 12: ; preds = %5 %13 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 %14 = call i32 @generate_sequences(ptr noundef %13) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %14) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %5, !llvm.loop !6 17: ; preds = %5 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @generate_sequences(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpufnu66qh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter n1, n2, n3 and n4\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"> \00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%u%u%u%u\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c"There are %u possible sequences\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x i32], align 16 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %5 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 %6 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 1 %7 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 2 %8 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 3 %9 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) %10 = icmp eq i32 %9, 4 br i1 %10, label %.lr.ph, label %18 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %11 %12 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 %13 = call i32 @generate_sequences(ptr noundef %12) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %13) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %16 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) %17 = icmp eq i32 %16, 4 br i1 %17, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %18 18: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @generate_sequences(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp1e4lza1t.c' source_filename = "/tmp/tmp1e4lza1t.c" target datalayout = "e-m:e-p270: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 @stdin = dso_local global ptr null, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1e4lza1t.c" target datalayout = "e-m:e-p270: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 @stdin = dso_local global ptr null, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcqlq4bdh.c' source_filename = "/tmp/tmpcqlq4bdh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"Insira o grau do polinomio: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"Quer em quantos pontos diferentes ?\0A\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"Insira o valor do %d\C2\BA valor: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %14 = load i32, ptr %6, align 4 %15 = zext i32 %14 to i64 %16 = call ptr @llvm.stacksave() store ptr %16, ptr %9, align 8 %17 = alloca i32, i64 %15, align 16 store i64 %15, ptr %10, align 8 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %19 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %11) store i32 0, ptr %8, align 4 br label %20 20: ; preds = %25, %2 %21 = load i32, ptr %8, align 4 %22 = load i32, ptr %11, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %28 24: ; preds = %20 br label %25 25: ; preds = %24 %26 = load i32, ptr %8, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %8, align 4 br label %20, !llvm.loop !6 28: ; preds = %20 store i32 0, ptr %7, align 4 br label %29 29: ; preds = %41, %28 %30 = load i32, ptr %7, align 4 %31 = load i32, ptr %6, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %44 33: ; preds = %29 %34 = load i32, ptr %7, align 4 %35 = add nsw i32 %34, 1 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %35) %37 = load i32, ptr %7, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %17, i64 %38 %40 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %39) br label %41 41: ; preds = %33 %42 = load i32, ptr %7, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %7, align 4 br label %29, !llvm.loop !8 44: ; preds = %29 %45 = load i32, ptr %6, align 4 %46 = call i32 @polinome(i32 noundef %45, ptr noundef %17) store i32 0, ptr %3, align 4 %47 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %47) %48 = load i32, ptr %3, align 4 ret i32 %48 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @polinome(i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcqlq4bdh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"Insira o grau do polinomio: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"Quer em quantos pontos diferentes ?\0A\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"Insira o valor do %d\C2\BA valor: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %14 = load i32, ptr %6, align 4 %15 = zext i32 %14 to i64 %16 = call ptr @llvm.stacksave() store ptr %16, ptr %9, align 8 %17 = alloca i32, i64 %15, align 16 store i64 %15, ptr %10, align 8 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %19 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %11) store i32 0, ptr %8, align 4 %20 = load i32, ptr %8, align 4 %21 = load i32, ptr %11, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph, label %30 .lr.ph: ; preds = %2 br label %23 23: ; preds = %.lr.ph, %24 br label %24 24: ; preds = %23 %25 = load i32, ptr %8, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %8, align 4 %27 = load i32, ptr %8, align 4 %28 = load i32, ptr %11, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %30 30: ; preds = %._crit_edge, %2 store i32 0, ptr %7, align 4 %31 = load i32, ptr %7, align 4 %32 = load i32, ptr %6, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %.lr.ph2, label %48 .lr.ph2: ; preds = %30 br label %34 34: ; preds = %.lr.ph2, %42 %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, 1 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %36) %38 = load i32, ptr %7, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %17, i64 %39 %41 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %40) br label %42 42: ; preds = %34 %43 = load i32, ptr %7, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %7, align 4 %45 = load i32, ptr %7, align 4 %46 = load i32, ptr %6, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %34, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %42 br label %48 48: ; preds = %._crit_edge3, %30 %49 = load i32, ptr %6, align 4 %50 = call i32 @polinome(i32 noundef %49, ptr noundef %17) store i32 0, ptr %3, align 4 %51 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %51) %52 = load i32, ptr %3, align 4 ret i32 %52 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @polinome(i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmplpha4t37.c' source_filename = "/tmp/tmplpha4t37.c" target datalayout = "e-m:e-p270: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.greeting = private unnamed_addr constant [6 x i8] c"Hello\00", align 1 @.str = private unnamed_addr constant [22 x i8] c"Greeting message: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"Length: %ld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [6 x i8], align 1 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.greeting, i64 6, i1 false) %3 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) %5 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0 %6 = call ptr @strlen(ptr noundef %5) %7 = call i32 @printf(ptr noundef @.str.1, ptr noundef %6) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ptr noundef) #2 declare ptr @strlen(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplpha4t37.c" target datalayout = "e-m:e-p270: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.greeting = private unnamed_addr constant [6 x i8] c"Hello\00", align 1 @.str = private unnamed_addr constant [22 x i8] c"Greeting message: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"Length: %ld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [6 x i8], align 1 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.greeting, i64 6, i1 false) %3 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) %5 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0 %6 = call ptr @strlen(ptr noundef %5) %7 = call i32 @printf(ptr noundef @.str.1, ptr noundef %6) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ptr noundef) #2 declare ptr @strlen(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnhsnrvfe.c' source_filename = "/tmp/tmpnhsnrvfe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check_negative_sized_VLA_2() #0 { %1 = call i32 @vla_allocate_unsigned(i32 noundef -1) ret void } declare i32 @vla_allocate_unsigned(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/tmpnhsnrvfe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check_negative_sized_VLA_2() #0 { %1 = call i32 @vla_allocate_unsigned(i32 noundef -1) ret void } declare i32 @vla_allocate_unsigned(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/tmpsdm3m0ac.c' source_filename = "/tmp/tmpsdm3m0ac.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Pasamos car\C3\A1cter letra:\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"\09%c %c\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"\09Eror en %s:%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [177 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/carrodher/cursoc-carlos/refs/heads/master/docs/clase3/macrosUnionesCampos/mayusculas.c\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"\0APasamos car\C3\A1cter $:\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i8, align 1 store i32 0, ptr %1, align 4 store i8 104, ptr %2, align 1 store i8 36, ptr %3, align 1 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %5 5: ; preds = %0 %6 = load i8, ptr %2, align 1 %7 = sext i8 %6 to i32 %8 = icmp sgt i32 %7, 96 br i1 %8, label %9, label %20 9: ; preds = %5 %10 = load i8, ptr %2, align 1 %11 = sext i8 %10 to i32 %12 = icmp slt i32 %11, 122 br i1 %12, label %13, label %20 13: ; preds = %9 %14 = load i8, ptr %2, align 1 %15 = sext i8 %14 to i32 %16 = load i8, ptr %2, align 1 %17 = sext i8 %16 to i32 %18 = sub nsw i32 %17, 32 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15, i32 noundef %18) br label %22 20: ; preds = %9, %5 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 18) br label %22 22: ; preds = %20, %13 br label %23 23: ; preds = %22 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %25 25: ; preds = %23 %26 = load i8, ptr %3, align 1 %27 = sext i8 %26 to i32 %28 = icmp sgt i32 %27, 96 br i1 %28, label %29, label %40 29: ; preds = %25 %30 = load i8, ptr %3, align 1 %31 = sext i8 %30 to i32 %32 = icmp slt i32 %31, 122 br i1 %32, label %33, label %40 33: ; preds = %29 %34 = load i8, ptr %3, align 1 %35 = sext i8 %34 to i32 %36 = load i8, ptr %3, align 1 %37 = sext i8 %36 to i32 %38 = sub nsw i32 %37, 32 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %35, i32 noundef %38) br label %42 40: ; preds = %29, %25 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 22) br label %42 42: ; preds = %40, %33 br label %43 43: ; preds = %42 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/tmpsdm3m0ac.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Pasamos car\C3\A1cter letra:\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"\09%c %c\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"\09Eror en %s:%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [177 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/carrodher/cursoc-carlos/refs/heads/master/docs/clase3/macrosUnionesCampos/mayusculas.c\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"\0APasamos car\C3\A1cter $:\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i8, align 1 store i32 0, ptr %1, align 4 store i8 104, ptr %2, align 1 store i8 36, ptr %3, align 1 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %5 5: ; preds = %0 %6 = load i8, ptr %2, align 1 %7 = sext i8 %6 to i32 %8 = icmp sgt i32 %7, 96 br i1 %8, label %9, label %20 9: ; preds = %5 %10 = load i8, ptr %2, align 1 %11 = sext i8 %10 to i32 %12 = icmp slt i32 %11, 122 br i1 %12, label %13, label %20 13: ; preds = %9 %14 = load i8, ptr %2, align 1 %15 = sext i8 %14 to i32 %16 = load i8, ptr %2, align 1 %17 = sext i8 %16 to i32 %18 = sub nsw i32 %17, 32 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15, i32 noundef %18) br label %22 20: ; preds = %9, %5 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 18) br label %22 22: ; preds = %20, %13 br label %23 23: ; preds = %22 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %25 25: ; preds = %23 %26 = load i8, ptr %3, align 1 %27 = sext i8 %26 to i32 %28 = icmp sgt i32 %27, 96 br i1 %28, label %29, label %40 29: ; preds = %25 %30 = load i8, ptr %3, align 1 %31 = sext i8 %30 to i32 %32 = icmp slt i32 %31, 122 br i1 %32, label %33, label %40 33: ; preds = %29 %34 = load i8, ptr %3, align 1 %35 = sext i8 %34 to i32 %36 = load i8, ptr %3, align 1 %37 = sext i8 %36 to i32 %38 = sub nsw i32 %37, 32 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %35, i32 noundef %38) br label %42 40: ; preds = %29, %25 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 22) br label %42 42: ; preds = %40, %33 br label %43 43: ; preds = %42 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/tmpwt3s26vq.c' source_filename = "/tmp/tmpwt3s26vq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pinLow(i32 noundef %0) #0 { %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 %2, align 4 %7 = load i32, ptr %2, align 4 %8 = ashr i32 %7, 5 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = shl i32 %10, 5 %12 = sub i32 %9, %11 store i32 %12, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %1 store i32 546504704, ptr %6, align 4 br label %32 16: ; preds = %1 %17 = load i32, ptr %3, align 4 %18 = icmp eq i32 %17, 1 br i1 %18, label %19, label %20 19: ; preds = %16 store i32 546508800, ptr %6, align 4 br label %31 20: ; preds = %16 %21 = load i32, ptr %3, align 4 %22 = icmp eq i32 %21, 2 br i1 %22, label %23, label %24 23: ; preds = %20 store i32 295731200, ptr %6, align 4 br label %30 24: ; preds = %20 %25 = load i32, ptr %3, align 4 %26 = icmp eq i32 %25, 3 br i1 %26, label %27, label %28 27: ; preds = %24 store i32 546512896, ptr %6, align 4 br label %29 28: ; preds = %24 br label %40 29: ; preds = %27 br label %30 30: ; preds = %29, %23 br label %31 31: ; preds = %30, %19 br label %32 32: ; preds = %31, %15 %33 = load i32, ptr %6, align 4 %34 = add i32 %33, 20 store i32 %34, ptr %5, align 4 %35 = load i32, ptr %4, align 4 %36 = zext i32 %35 to i64 %37 = shl i64 1, %36 %38 = load i32, ptr %5, align 4 %39 = call i32 @ca5_writeR(i64 noundef %37, i32 noundef %38) br label %40 40: ; preds = %32, %28 ret void } declare i32 @ca5_writeR(i64 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwt3s26vq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pinLow(i32 noundef %0) #0 { %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 %2, align 4 %7 = load i32, ptr %2, align 4 %8 = ashr i32 %7, 5 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = shl i32 %10, 5 %12 = sub i32 %9, %11 store i32 %12, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %1 store i32 546504704, ptr %6, align 4 br label %32 16: ; preds = %1 %17 = load i32, ptr %3, align 4 %18 = icmp eq i32 %17, 1 br i1 %18, label %19, label %20 19: ; preds = %16 store i32 546508800, ptr %6, align 4 br label %31 20: ; preds = %16 %21 = load i32, ptr %3, align 4 %22 = icmp eq i32 %21, 2 br i1 %22, label %23, label %24 23: ; preds = %20 store i32 295731200, ptr %6, align 4 br label %30 24: ; preds = %20 %25 = load i32, ptr %3, align 4 %26 = icmp eq i32 %25, 3 br i1 %26, label %27, label %28 27: ; preds = %24 store i32 546512896, ptr %6, align 4 br label %29 28: ; preds = %24 br label %40 29: ; preds = %27 br label %30 30: ; preds = %29, %23 br label %31 31: ; preds = %30, %19 br label %32 32: ; preds = %31, %15 %33 = load i32, ptr %6, align 4 %34 = add i32 %33, 20 store i32 %34, ptr %5, align 4 %35 = load i32, ptr %4, align 4 %36 = zext i32 %35 to i64 %37 = shl i64 1, %36 %38 = load i32, ptr %5, align 4 %39 = call i32 @ca5_writeR(i64 noundef %37, i32 noundef %38) br label %40 40: ; preds = %32, %28 ret void } declare i32 @ca5_writeR(i64 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpktf7c46e.c' source_filename = "/tmp/tmpktf7c46e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%lf\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"The largest number entered was %lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %4, align 4 store double 0.000000e+00, ptr %3, align 8 br label %5 5: ; preds = %18, %0 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %8 = load double, ptr %2, align 8 %9 = fcmp ole double %8, 0.000000e+00 br i1 %9, label %10, label %11 10: ; preds = %5 br label %19 11: ; preds = %5 %12 = load double, ptr %2, align 8 %13 = load double, ptr %3, align 8 %14 = fcmp ogt double %12, %13 br i1 %14, label %15, label %17 15: ; preds = %11 %16 = load double, ptr %2, align 8 store double %16, ptr %3, align 8 br label %17 17: ; preds = %15, %11 br label %18 18: ; preds = %17 br label %5 19: ; preds = %10 %20 = load double, ptr %3, align 8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %20) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpktf7c46e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%lf\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"The largest number entered was %lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %4, align 4 store double 0.000000e+00, ptr %3, align 8 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = load double, ptr %2, align 8 %8 = fcmp ole double %7, 0.000000e+00 br i1 %8, label %9, label %.lr.ph .lr.ph: ; preds = %0 br label %10 ._crit_edge: ; preds = %17 br label %9 9: ; preds = %._crit_edge, %0 br label %22 10: ; preds = %.lr.ph, %17 %11 = load double, ptr %2, align 8 %12 = load double, ptr %3, align 8 %13 = fcmp ogt double %11, %12 br i1 %13, label %14, label %16 14: ; preds = %10 %15 = load double, ptr %2, align 8 store double %15, ptr %3, align 8 br label %16 16: ; preds = %14, %10 br label %17 17: ; preds = %16 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str) %19 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %20 = load double, ptr %2, align 8 %21 = fcmp ole double %20, 0.000000e+00 br i1 %21, label %._crit_edge, label %10 22: ; preds = %9 %23 = load double, ptr %3, align 8 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %23) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvctqc9jb.c' source_filename = "/tmp/tmpvctqc9jb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%f\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 [44100 x float], align 16 %5 = alloca float, align 4 %6 = alloca float, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 44100, ptr %3, align 4 call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 176400, i1 false) store float 0.000000e+00, ptr %5, align 4 store float 0.000000e+00, ptr %6, align 4 store i32 0, ptr %2, align 4 br label %7 7: ; preds = %33, %0 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %36 11: ; preds = %7 %12 = load i32, ptr %2, align 4 %13 = sitofp i32 %12 to double %14 = fmul double 6.282000e+00, %13 %15 = load i32, ptr %3, align 4 %16 = sitofp i32 %15 to double %17 = fdiv double %14, %16 %18 = fptosi double %17 to i32 %19 = call float @sin(i32 noundef %18) %20 = load i32, ptr %2, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [44100 x float], ptr %4, i64 0, i64 %21 store float %19, ptr %22, align 4 %23 = load i32, ptr %2, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [44100 x float], ptr %4, i64 0, i64 %24 %26 = load float, ptr %25, align 4 %27 = load i32, ptr %2, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [44100 x float], ptr %4, i64 0, i64 %28 %30 = load float, ptr %29, align 4 %31 = load float, ptr %5, align 4 %32 = call float @llvm.fmuladd.f32(float %26, float %30, float %31) store float %32, ptr %5, align 4 br label %33 33: ; preds = %11 %34 = load i32, ptr %2, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %2, align 4 br label %7, !llvm.loop !6 36: ; preds = %7 %37 = load float, ptr %5, align 4 %38 = load i32, ptr %3, align 4 %39 = sitofp i32 %38 to float %40 = fdiv float %37, %39 %41 = call float @sqrt(float noundef %40) store float %41, ptr %6, align 4 %42 = load float, ptr %6, align 4 %43 = call i32 @printf(ptr noundef @.str, float noundef %42) 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 float @sin(i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #3 declare float @sqrt(float noundef) #2 declare i32 @printf(ptr noundef, float noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree 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 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/tmpvctqc9jb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%f\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 [44100 x float], align 16 %5 = alloca float, align 4 %6 = alloca float, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 44100, ptr %3, align 4 call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 176400, i1 false) store float 0.000000e+00, ptr %5, align 4 store float 0.000000e+00, ptr %6, align 4 store i32 0, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %38 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %32 %11 = load i32, ptr %2, align 4 %12 = sitofp i32 %11 to double %13 = fmul double 6.282000e+00, %12 %14 = load i32, ptr %3, align 4 %15 = sitofp i32 %14 to double %16 = fdiv double %13, %15 %17 = fptosi double %16 to i32 %18 = call float @sin(i32 noundef %17) %19 = load i32, ptr %2, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [44100 x float], ptr %4, i64 0, i64 %20 store float %18, ptr %21, align 4 %22 = load i32, ptr %2, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [44100 x float], ptr %4, i64 0, i64 %23 %25 = load float, ptr %24, align 4 %26 = load i32, ptr %2, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [44100 x float], ptr %4, i64 0, i64 %27 %29 = load float, ptr %28, align 4 %30 = load float, ptr %5, align 4 %31 = call float @llvm.fmuladd.f32(float %25, float %29, float %30) store float %31, ptr %5, align 4 br label %32 32: ; preds = %10 %33 = load i32, ptr %2, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %2, align 4 %35 = load i32, ptr %2, align 4 %36 = load i32, ptr %3, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %38 38: ; preds = %._crit_edge, %0 %39 = load float, ptr %5, align 4 %40 = load i32, ptr %3, align 4 %41 = sitofp i32 %40 to float %42 = fdiv float %39, %41 %43 = call float @sqrt(float noundef %42) store float %43, ptr %6, align 4 %44 = load float, ptr %6, align 4 %45 = call i32 @printf(ptr noundef @.str, float noundef %44) 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 float @sin(i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #3 declare float @sqrt(float noundef) #2 declare i32 @printf(ptr noundef, float noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree 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 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/tmplqarcwmm.c' source_filename = "/tmp/tmplqarcwmm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @send_data(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca %struct.sockaddr_in, align 4 %9 = alloca [1000 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %10 = load i32, ptr @AF_INET, align 4 %11 = load i32, ptr @SOCK_DGRAM, align 4 %12 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef 0) store i32 %12, ptr %5, align 4 %13 = call i32 @bzero(ptr noundef %7, i32 noundef 12) %14 = load i32, ptr @AF_INET, align 4 %15 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %14, ptr %15, align 4 %16 = load ptr, ptr %4, align 8 %17 = call i32 @inet_addr(ptr noundef %16) %18 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 %19 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i32 0, i32 0 store i32 %17, ptr %19, align 4 %20 = call i32 @htons(i32 noundef 32000) %21 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 store i32 %20, ptr %21, align 4 %22 = load i32, ptr %5, align 4 %23 = load ptr, ptr %3, align 8 %24 = load ptr, ptr %3, align 8 %25 = call i32 @strlen(ptr noundef %24) %26 = call i32 @sendto(i32 noundef %22, ptr noundef %23, i32 noundef %25, i32 noundef 0, ptr noundef %7, i32 noundef 12) ret void } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @inet_addr(ptr noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 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/tmplqarcwmm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @send_data(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca %struct.sockaddr_in, align 4 %9 = alloca [1000 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %10 = load i32, ptr @AF_INET, align 4 %11 = load i32, ptr @SOCK_DGRAM, align 4 %12 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef 0) store i32 %12, ptr %5, align 4 %13 = call i32 @bzero(ptr noundef %7, i32 noundef 12) %14 = load i32, ptr @AF_INET, align 4 %15 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %14, ptr %15, align 4 %16 = load ptr, ptr %4, align 8 %17 = call i32 @inet_addr(ptr noundef %16) %18 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 %19 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i32 0, i32 0 store i32 %17, ptr %19, align 4 %20 = call i32 @htons(i32 noundef 32000) %21 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 store i32 %20, ptr %21, align 4 %22 = load i32, ptr %5, align 4 %23 = load ptr, ptr %3, align 8 %24 = load ptr, ptr %3, align 8 %25 = call i32 @strlen(ptr noundef %24) %26 = call i32 @sendto(i32 noundef %22, ptr noundef %23, i32 noundef %25, i32 noundef 0, ptr noundef %7, i32 noundef 12) ret void } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @inet_addr(ptr noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 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/tmpgtn4iaxj.c' source_filename = "/tmp/tmpgtn4iaxj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dump_binary(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %16, %1 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 32 br i1 %7, label %8, label %19 8: ; preds = %5 %9 = load i32, ptr %2, align 4 %10 = lshr i32 %9, 31 %11 = add i32 48, %10 store i32 %11, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = call i32 @RPI_AuxMiniUartWrite(i32 noundef %12) %14 = load i32, ptr %2, align 4 %15 = shl i32 %14, 1 store i32 %15, ptr %2, align 4 br label %16 16: ; preds = %8 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %3, align 4 br label %5, !llvm.loop !6 19: ; preds = %5 ret void } declare i32 @RPI_AuxMiniUartWrite(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/tmpgtn4iaxj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dump_binary(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 32 br i1 %6, label %.lr.ph, label %20 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %15 %8 = load i32, ptr %2, align 4 %9 = lshr i32 %8, 31 %10 = add i32 48, %9 store i32 %10, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = call i32 @RPI_AuxMiniUartWrite(i32 noundef %11) %13 = load i32, ptr %2, align 4 %14 = shl i32 %13, 1 store i32 %14, ptr %2, align 4 br label %15 15: ; preds = %7 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp slt i32 %18, 32 br i1 %19, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %20 20: ; preds = %._crit_edge, %1 ret void } declare i32 @RPI_AuxMiniUartWrite(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/tmpbgz17l7m.c' source_filename = "/tmp/tmpbgz17l7m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bigchance(i32 noundef %0) #0 { %2 = alloca i8, align 1 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = call i32 @number_range(i32 noundef 1, i32 noundef 1500) %5 = mul nsw i32 %4, 2 %6 = load i32, ptr %3, align 4 %7 = icmp sle i32 %5, %6 br i1 %7, label %8, label %9 8: ; preds = %1 store i8 1, ptr %2, align 1 br label %10 9: ; preds = %1 store i8 0, ptr %2, align 1 br label %10 10: ; preds = %9, %8 %11 = load i8, ptr %2, align 1 ret i8 %11 } declare i32 @number_range(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/tmpbgz17l7m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bigchance(i32 noundef %0) #0 { %2 = alloca i8, align 1 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = call i32 @number_range(i32 noundef 1, i32 noundef 1500) %5 = mul nsw i32 %4, 2 %6 = load i32, ptr %3, align 4 %7 = icmp sle i32 %5, %6 br i1 %7, label %8, label %9 8: ; preds = %1 store i8 1, ptr %2, align 1 br label %10 9: ; preds = %1 store i8 0, ptr %2, align 1 br label %10 10: ; preds = %9, %8 %11 = load i8, ptr %2, align 1 ret i8 %11 } declare i32 @number_range(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/tmpntodu2kd.c' source_filename = "/tmp/tmpntodu2kd.c" target datalayout = "e-m:e-p270: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/tmpntodu2kd.c" target datalayout = "e-m:e-p270: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/tmp5syfkysx.c' source_filename = "/tmp/tmp5syfkysx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Please input the linesize in bytes.\0A\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"test cache capacity (KB): %3d time:%lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = load i32, ptr %4, align 4 %15 = icmp sgt i32 %14, 1 br i1 %15, label %16, label %21 16: ; preds = %2 %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 @atoi(ptr noundef %19) store i32 %20, ptr %10, align 4 br label %23 21: ; preds = %2 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %90 23: ; preds = %16 store i32 2048, ptr %6, align 4 br label %24 24: ; preds = %86, %23 %25 = load i32, ptr %6, align 4 %26 = icmp slt i32 %25, 1048576 br i1 %26, label %27, label %89 27: ; preds = %24 %28 = load i32, ptr %6, align 4 %29 = call ptr @malloc(i32 noundef %28) store ptr %29, ptr %13, align 8 %30 = load i32, ptr %6, align 4 %31 = sext i32 %30 to i64 %32 = udiv i64 %31, 4 %33 = trunc i64 %32 to i32 store i32 %33, ptr %7, align 4 %34 = load i32, ptr %7, align 4 %35 = sub nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = call i32 @time(ptr noundef null) %37 = call i32 @srand(i32 noundef %36) store i32 0, ptr %9, align 4 br label %38 38: ; preds = %49, %27 %39 = load i32, ptr %9, align 4 %40 = load i32, ptr %7, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %42, label %52 42: ; preds = %38 %43 = call i32 (...) @rand() %44 = srem i32 %43, 5 %45 = load ptr, ptr %13, align 8 %46 = load i32, ptr %9, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 store i32 %44, ptr %48, align 4 br label %49 49: ; preds = %42 %50 = load i32, ptr %9, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %9, align 4 br label %38, !llvm.loop !6 52: ; preds = %38 %53 = call i64 (...) @wall_clock_time() store i64 %53, ptr %11, align 8 store i32 0, ptr %9, align 4 br label %54 54: ; preds = %70, %52 %55 = load i32, ptr %9, align 4 %56 = icmp slt i32 %55, 2097152 br i1 %56, label %57, label %73 57: ; preds = %54 %58 = load ptr, ptr %13, align 8 %59 = load i32, ptr %9, align 4 %60 = load i32, ptr %10, align 4 %61 = mul nsw i32 %59, %60 %62 = sext i32 %61 to i64 %63 = udiv i64 %62, 4 %64 = load i32, ptr %8, align 4 %65 = sext i32 %64 to i64 %66 = and i64 %63, %65 %67 = getelementptr inbounds i32, ptr %58, i64 %66 %68 = load i32, ptr %67, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %67, align 4 br label %70 70: ; preds = %57 %71 = load i32, ptr %9, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %9, align 4 br label %54, !llvm.loop !8 73: ; preds = %54 %74 = call i64 (...) @wall_clock_time() store i64 %74, ptr %12, align 8 %75 = load i32, ptr %6, align 4 %76 = sdiv i32 %75, 1024 %77 = load i64, ptr %12, align 8 %78 = load i64, ptr %11, align 8 %79 = sub nsw i64 %77, %78 %80 = sitofp i64 %79 to float %81 = fdiv float %80, 1.000000e+09 %82 = fpext float %81 to double %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %76, double noundef %82) %84 = load ptr, ptr %13, align 8 %85 = call i32 @free(ptr noundef %84) br label %86 86: ; preds = %73 %87 = load i32, ptr %6, align 4 %88 = mul nsw i32 %87, 2 store i32 %88, ptr %6, align 4 br label %24, !llvm.loop !9 89: ; preds = %24 store i32 0, ptr %3, align 4 br label %90 90: ; preds = %89, %21 %91 = load i32, ptr %3, align 4 ret i32 %91 } declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i64 @wall_clock_time(...) #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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5syfkysx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Please input the linesize in bytes.\0A\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"test cache capacity (KB): %3d time:%lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = load i32, ptr %4, align 4 %15 = icmp sgt i32 %14, 1 br i1 %15, label %16, label %21 16: ; preds = %2 %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 @atoi(ptr noundef %19) store i32 %20, ptr %10, align 4 br label %23 21: ; preds = %2 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %94 23: ; preds = %16 store i32 2048, ptr %6, align 4 %24 = load i32, ptr %6, align 4 %25 = icmp slt i32 %24, 1048576 br i1 %25, label %.lr.ph5, label %93 .lr.ph5: ; preds = %23 br label %26 26: ; preds = %.lr.ph5, %88 %27 = load i32, ptr %6, align 4 %28 = call ptr @malloc(i32 noundef %27) store ptr %28, ptr %13, align 8 %29 = load i32, ptr %6, align 4 %30 = sext i32 %29 to i64 %31 = udiv i64 %30, 4 %32 = trunc i64 %31 to i32 store i32 %32, ptr %7, align 4 %33 = load i32, ptr %7, align 4 %34 = sub nsw i32 %33, 1 store i32 %34, ptr %8, align 4 %35 = call i32 @time(ptr noundef null) %36 = call i32 @srand(i32 noundef %35) store i32 0, ptr %9, align 4 %37 = load i32, ptr %9, align 4 %38 = load i32, ptr %7, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %.lr.ph, label %53 .lr.ph: ; preds = %26 br label %40 40: ; preds = %.lr.ph, %47 %41 = call i32 (...) @rand() %42 = srem i32 %41, 5 %43 = load ptr, ptr %13, align 8 %44 = load i32, ptr %9, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 store i32 %42, ptr %46, align 4 br label %47 47: ; preds = %40 %48 = load i32, ptr %9, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %9, align 4 %50 = load i32, ptr %9, align 4 %51 = load i32, ptr %7, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %40, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %47 br label %53 53: ; preds = %._crit_edge, %26 %54 = call i64 (...) @wall_clock_time() store i64 %54, ptr %11, align 8 store i32 0, ptr %9, align 4 %55 = load i32, ptr %9, align 4 %56 = icmp slt i32 %55, 2097152 br i1 %56, label %.lr.ph2, label %75 .lr.ph2: ; preds = %53 br label %57 57: ; preds = %.lr.ph2, %70 %58 = load ptr, ptr %13, align 8 %59 = load i32, ptr %9, align 4 %60 = load i32, ptr %10, align 4 %61 = mul nsw i32 %59, %60 %62 = sext i32 %61 to i64 %63 = udiv i64 %62, 4 %64 = load i32, ptr %8, align 4 %65 = sext i32 %64 to i64 %66 = and i64 %63, %65 %67 = getelementptr inbounds i32, ptr %58, i64 %66 %68 = load i32, ptr %67, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %67, align 4 br label %70 70: ; preds = %57 %71 = load i32, ptr %9, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %9, align 4 %73 = load i32, ptr %9, align 4 %74 = icmp slt i32 %73, 2097152 br i1 %74, label %57, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %70 br label %75 75: ; preds = %._crit_edge3, %53 %76 = call i64 (...) @wall_clock_time() store i64 %76, ptr %12, align 8 %77 = load i32, ptr %6, align 4 %78 = sdiv i32 %77, 1024 %79 = load i64, ptr %12, align 8 %80 = load i64, ptr %11, align 8 %81 = sub nsw i64 %79, %80 %82 = sitofp i64 %81 to float %83 = fdiv float %82, 1.000000e+09 %84 = fpext float %83 to double %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %78, double noundef %84) %86 = load ptr, ptr %13, align 8 %87 = call i32 @free(ptr noundef %86) br label %88 88: ; preds = %75 %89 = load i32, ptr %6, align 4 %90 = mul nsw i32 %89, 2 store i32 %90, ptr %6, align 4 %91 = load i32, ptr %6, align 4 %92 = icmp slt i32 %91, 1048576 br i1 %92, label %26, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %88 br label %93 93: ; preds = %._crit_edge6, %23 store i32 0, ptr %3, align 4 br label %94 94: ; preds = %93, %21 %95 = load i32, ptr %3, align 4 ret i32 %95 } declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i64 @wall_clock_time(...) #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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpn2ocodi3.c' source_filename = "/tmp/tmpn2ocodi3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isascii.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isascii should be 0 for 0xbf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isascii_0xbf() #0 { %1 = call i64 @isascii(i32 noundef 191) %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 960, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isascii(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/tmpn2ocodi3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isascii.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isascii should be 0 for 0xbf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isascii_0xbf() #0 { %1 = call i64 @isascii(i32 noundef 191) %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 960, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isascii(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/tmpue9citgq.c' source_filename = "/tmp/tmpue9citgq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getmntent(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret ptr null } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpue9citgq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getmntent(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret ptr null } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2cqi0gqz.c' source_filename = "/tmp/tmp2cqi0gqz.c" target datalayout = "e-m:e-p270: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/tmp2cqi0gqz.c" target datalayout = "e-m:e-p270: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/tmpcgqxmqgw.c' source_filename = "/tmp/tmpcgqxmqgw.c" target datalayout = "e-m:e-p270: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/tmpcgqxmqgw.c" target datalayout = "e-m:e-p270: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/tmplg9r0lh0.c' source_filename = "/tmp/tmplg9r0lh0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PKCS12_it = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @i2d_PKCS12(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @ASN1_item_i2d(ptr noundef %5, ptr noundef %6, ptr noundef @PKCS12_it) ret i32 %7 } declare i32 @ASN1_item_i2d(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/tmplg9r0lh0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PKCS12_it = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @i2d_PKCS12(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @ASN1_item_i2d(ptr noundef %5, ptr noundef %6, ptr noundef @PKCS12_it) ret i32 %7 } declare i32 @ASN1_item_i2d(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/tmpzyzqgftm.c' source_filename = "/tmp/tmpzyzqgftm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"plese input N : \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) %11 = load i32, ptr %1, align 4 %12 = zext i32 %11 to i64 %13 = load i32, ptr %1, align 4 %14 = zext i32 %13 to i64 %15 = call ptr @llvm.stacksave() store ptr %15, ptr %2, align 8 %16 = mul nuw i64 %12, %14 %17 = alloca i8, i64 %16, align 16 store i64 %12, ptr %3, align 8 store i64 %14, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %18 18: ; preds = %39, %0 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %1, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %42 22: ; preds = %18 store i32 0, ptr %6, align 4 br label %23 23: ; preds = %35, %22 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %1, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %38 27: ; preds = %23 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = mul nsw i64 %29, %14 %31 = getelementptr inbounds i8, ptr %17, i64 %30 %32 = load i32, ptr %6, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 store i8 97, ptr %34, align 1 br label %35 35: ; preds = %27 %36 = load i32, ptr %6, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %6, align 4 br label %23, !llvm.loop !6 38: ; preds = %23 br label %39 39: ; preds = %38 %40 = load i32, ptr %5, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %5, align 4 br label %18, !llvm.loop !8 42: ; preds = %18 %43 = load i32, ptr %1, align 4 store i32 %43, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %44 44: ; preds = %241, %42 %45 = load i32, ptr %7, align 4 %46 = icmp ne i32 %45, 0 br i1 %46, label %47, label %246 47: ; preds = %44 %48 = load i32, ptr %8, align 4 store i32 %48, ptr %5, align 4 br label %49 49: ; preds = %238, %47 %50 = load i32, ptr %5, align 4 %51 = load i32, ptr %7, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %53, label %241 53: ; preds = %49 %54 = load i32, ptr %8, align 4 store i32 %54, ptr %6, align 4 br label %55 55: ; preds = %234, %53 %56 = load i32, ptr %6, align 4 %57 = load i32, ptr %7, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %59, label %237 59: ; preds = %55 %60 = load i32, ptr %5, align 4 %61 = load i32, ptr %8, align 4 %62 = icmp eq i32 %60, %61 br i1 %62, label %63, label %102 63: ; preds = %59 %64 = load i32, ptr %7, align 4 %65 = load i32, ptr %1, align 4 %66 = icmp eq i32 %64, %65 br i1 %66, label %67, label %75 67: ; preds = %63 %68 = load i32, ptr %5, align 4 %69 = sext i32 %68 to i64 %70 = mul nsw i64 %69, %14 %71 = getelementptr inbounds i8, ptr %17, i64 %70 %72 = load i32, ptr %6, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i8, ptr %71, i64 %73 store i8 88, ptr %74, align 1 br label %101 75: ; preds = %63 %76 = load i32, ptr %7, align 4 %77 = load i32, ptr %1, align 4 %78 = sub nsw i32 %77, 1 %79 = icmp eq i32 %76, %78 br i1 %79, label %80, label %88 80: ; preds = %75 %81 = load i32, ptr %5, align 4 %82 = sext i32 %81 to i64 %83 = mul nsw i64 %82, %14 %84 = getelementptr inbounds i8, ptr %17, i64 %83 %85 = load i32, ptr %6, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds i8, ptr %84, i64 %86 store i8 89, ptr %87, align 1 br label %100 88: ; preds = %75 %89 = load i32, ptr %8, align 4 %90 = sub nsw i32 %89, 2 %91 = add nsw i32 48, %90 %92 = trunc i32 %91 to i8 %93 = load i32, ptr %5, align 4 %94 = sext i32 %93 to i64 %95 = mul nsw i64 %94, %14 %96 = getelementptr inbounds i8, ptr %17, i64 %95 %97 = load i32, ptr %6, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds i8, ptr %96, i64 %98 store i8 %92, ptr %99, align 1 br label %100 100: ; preds = %88, %80 br label %101 101: ; preds = %100, %67 br label %102 102: ; preds = %101, %59 %103 = load i32, ptr %6, align 4 %104 = load i32, ptr %7, align 4 %105 = sub nsw i32 %104, 1 %106 = icmp eq i32 %103, %105 br i1 %106, label %107, label %146 107: ; preds = %102 %108 = load i32, ptr %7, align 4 %109 = load i32, ptr %1, align 4 %110 = icmp eq i32 %108, %109 br i1 %110, label %111, label %119 111: ; preds = %107 %112 = load i32, ptr %5, align 4 %113 = sext i32 %112 to i64 %114 = mul nsw i64 %113, %14 %115 = getelementptr inbounds i8, ptr %17, i64 %114 %116 = load i32, ptr %6, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds i8, ptr %115, i64 %117 store i8 88, ptr %118, align 1 br label %145 119: ; preds = %107 %120 = load i32, ptr %7, align 4 %121 = load i32, ptr %1, align 4 %122 = sub nsw i32 %121, 1 %123 = icmp eq i32 %120, %122 br i1 %123, label %124, label %132 124: ; preds = %119 %125 = load i32, ptr %5, align 4 %126 = sext i32 %125 to i64 %127 = mul nsw i64 %126, %14 %128 = getelementptr inbounds i8, ptr %17, i64 %127 %129 = load i32, ptr %6, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds i8, ptr %128, i64 %130 store i8 89, ptr %131, align 1 br label %144 132: ; preds = %119 %133 = load i32, ptr %8, align 4 %134 = sub nsw i32 %133, 2 %135 = add nsw i32 48, %134 %136 = trunc i32 %135 to i8 %137 = load i32, ptr %5, align 4 %138 = sext i32 %137 to i64 %139 = mul nsw i64 %138, %14 %140 = getelementptr inbounds i8, ptr %17, i64 %139 %141 = load i32, ptr %6, align 4 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds i8, ptr %140, i64 %142 store i8 %136, ptr %143, align 1 br label %144 144: ; preds = %132, %124 br label %145 145: ; preds = %144, %111 br label %146 146: ; preds = %145, %102 %147 = load i32, ptr %5, align 4 %148 = load i32, ptr %7, align 4 %149 = sub nsw i32 %148, 1 %150 = icmp eq i32 %147, %149 br i1 %150, label %151, label %190 151: ; preds = %146 %152 = load i32, ptr %7, align 4 %153 = load i32, ptr %1, align 4 %154 = icmp eq i32 %152, %153 br i1 %154, label %155, label %163 155: ; preds = %151 %156 = load i32, ptr %5, align 4 %157 = sext i32 %156 to i64 %158 = mul nsw i64 %157, %14 %159 = getelementptr inbounds i8, ptr %17, i64 %158 %160 = load i32, ptr %6, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds i8, ptr %159, i64 %161 store i8 88, ptr %162, align 1 br label %189 163: ; preds = %151 %164 = load i32, ptr %7, align 4 %165 = load i32, ptr %1, align 4 %166 = sub nsw i32 %165, 1 %167 = icmp eq i32 %164, %166 br i1 %167, label %168, label %176 168: ; preds = %163 %169 = load i32, ptr %5, align 4 %170 = sext i32 %169 to i64 %171 = mul nsw i64 %170, %14 %172 = getelementptr inbounds i8, ptr %17, i64 %171 %173 = load i32, ptr %6, align 4 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds i8, ptr %172, i64 %174 store i8 89, ptr %175, align 1 br label %188 176: ; preds = %163 %177 = load i32, ptr %8, align 4 %178 = sub nsw i32 %177, 2 %179 = add nsw i32 48, %178 %180 = trunc i32 %179 to i8 %181 = load i32, ptr %5, align 4 %182 = sext i32 %181 to i64 %183 = mul nsw i64 %182, %14 %184 = getelementptr inbounds i8, ptr %17, i64 %183 %185 = load i32, ptr %6, align 4 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds i8, ptr %184, i64 %186 store i8 %180, ptr %187, align 1 br label %188 188: ; preds = %176, %168 br label %189 189: ; preds = %188, %155 br label %190 190: ; preds = %189, %146 %191 = load i32, ptr %6, align 4 %192 = load i32, ptr %8, align 4 %193 = icmp eq i32 %191, %192 br i1 %193, label %194, label %233 194: ; preds = %190 %195 = load i32, ptr %7, align 4 %196 = load i32, ptr %1, align 4 %197 = icmp eq i32 %195, %196 br i1 %197, label %198, label %206 198: ; preds = %194 %199 = load i32, ptr %5, align 4 %200 = sext i32 %199 to i64 %201 = mul nsw i64 %200, %14 %202 = getelementptr inbounds i8, ptr %17, i64 %201 %203 = load i32, ptr %6, align 4 %204 = sext i32 %203 to i64 %205 = getelementptr inbounds i8, ptr %202, i64 %204 store i8 88, ptr %205, align 1 br label %232 206: ; preds = %194 %207 = load i32, ptr %7, align 4 %208 = load i32, ptr %1, align 4 %209 = sub nsw i32 %208, 1 %210 = icmp eq i32 %207, %209 br i1 %210, label %211, label %219 211: ; preds = %206 %212 = load i32, ptr %5, align 4 %213 = sext i32 %212 to i64 %214 = mul nsw i64 %213, %14 %215 = getelementptr inbounds i8, ptr %17, i64 %214 %216 = load i32, ptr %6, align 4 %217 = sext i32 %216 to i64 %218 = getelementptr inbounds i8, ptr %215, i64 %217 store i8 89, ptr %218, align 1 br label %231 219: ; preds = %206 %220 = load i32, ptr %8, align 4 %221 = sub nsw i32 %220, 2 %222 = add nsw i32 48, %221 %223 = trunc i32 %222 to i8 %224 = load i32, ptr %5, align 4 %225 = sext i32 %224 to i64 %226 = mul nsw i64 %225, %14 %227 = getelementptr inbounds i8, ptr %17, i64 %226 %228 = load i32, ptr %6, align 4 %229 = sext i32 %228 to i64 %230 = getelementptr inbounds i8, ptr %227, i64 %229 store i8 %223, ptr %230, align 1 br label %231 231: ; preds = %219, %211 br label %232 232: ; preds = %231, %198 br label %233 233: ; preds = %232, %190 br label %234 234: ; preds = %233 %235 = load i32, ptr %6, align 4 %236 = add nsw i32 %235, 1 store i32 %236, ptr %6, align 4 br label %55, !llvm.loop !9 237: ; preds = %55 br label %238 238: ; preds = %237 %239 = load i32, ptr %5, align 4 %240 = add nsw i32 %239, 1 store i32 %240, ptr %5, align 4 br label %49, !llvm.loop !10 241: ; preds = %49 %242 = load i32, ptr %8, align 4 %243 = add nsw i32 %242, 1 store i32 %243, ptr %8, align 4 %244 = load i32, ptr %7, align 4 %245 = add nsw i32 %244, -1 store i32 %245, ptr %7, align 4 br label %44, !llvm.loop !11 246: ; preds = %44 store i32 0, ptr %5, align 4 br label %247 247: ; preds = %272, %246 %248 = load i32, ptr %5, align 4 %249 = load i32, ptr %1, align 4 %250 = icmp slt i32 %248, %249 br i1 %250, label %251, label %275 251: ; preds = %247 store i32 0, ptr %6, align 4 br label %252 252: ; preds = %267, %251 %253 = load i32, ptr %6, align 4 %254 = load i32, ptr %1, align 4 %255 = icmp slt i32 %253, %254 br i1 %255, label %256, label %270 256: ; preds = %252 %257 = load i32, ptr %5, align 4 %258 = sext i32 %257 to i64 %259 = mul nsw i64 %258, %14 %260 = getelementptr inbounds i8, ptr %17, i64 %259 %261 = load i32, ptr %6, align 4 %262 = sext i32 %261 to i64 %263 = getelementptr inbounds i8, ptr %260, i64 %262 %264 = load i8, ptr %263, align 1 %265 = sext i8 %264 to i32 %266 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %265) br label %267 267: ; preds = %256 %268 = load i32, ptr %6, align 4 %269 = add nsw i32 %268, 1 store i32 %269, ptr %6, align 4 br label %252, !llvm.loop !12 270: ; preds = %252 %271 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %272 272: ; preds = %270 %273 = load i32, ptr %5, align 4 %274 = add nsw i32 %273, 1 store i32 %274, ptr %5, align 4 br label %247, !llvm.loop !13 275: ; preds = %247 %276 = load ptr, ptr %2, align 8 call void @llvm.stackrestore(ptr %276) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzyzqgftm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"plese input N : \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) %11 = load i32, ptr %1, align 4 %12 = zext i32 %11 to i64 %13 = load i32, ptr %1, align 4 %14 = zext i32 %13 to i64 %15 = call ptr @llvm.stacksave() store ptr %15, ptr %2, align 8 %16 = mul nuw i64 %12, %14 %17 = alloca i8, i64 %16, align 16 store i64 %12, ptr %3, align 8 store i64 %14, ptr %4, align 8 store i32 0, ptr %5, align 4 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %1, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph2, label %46 .lr.ph2: ; preds = %0 br label %21 21: ; preds = %.lr.ph2, %40 store i32 0, ptr %6, align 4 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %1, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %.lr.ph, label %39 .lr.ph: ; preds = %21 br label %25 25: ; preds = %.lr.ph, %33 %26 = load i32, ptr %5, align 4 %27 = sext i32 %26 to i64 %28 = mul nsw i64 %27, %14 %29 = getelementptr inbounds i8, ptr %17, i64 %28 %30 = load i32, ptr %6, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 store i8 97, ptr %32, align 1 br label %33 33: ; preds = %25 %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 = load i32, ptr %1, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %39 39: ; preds = %._crit_edge, %21 br label %40 40: ; preds = %39 %41 = load i32, ptr %5, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %5, align 4 %43 = load i32, ptr %5, align 4 %44 = load i32, ptr %1, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %21, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %40 br label %46 46: ; preds = %._crit_edge3, %0 %47 = load i32, ptr %1, align 4 store i32 %47, ptr %7, align 4 store i32 0, ptr %8, align 4 %48 = load i32, ptr %7, align 4 %49 = icmp ne i32 %48, 0 br i1 %49, label %.lr.ph11, label %255 .lr.ph11: ; preds = %46 br label %50 50: ; preds = %.lr.ph11, %248 %51 = load i32, ptr %8, align 4 store i32 %51, ptr %5, align 4 %52 = load i32, ptr %5, align 4 %53 = load i32, ptr %7, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %.lr.ph8, label %248 .lr.ph8: ; preds = %50 br label %55 55: ; preds = %.lr.ph8, %242 %56 = load i32, ptr %8, align 4 store i32 %56, ptr %6, align 4 %57 = load i32, ptr %6, align 4 %58 = load i32, ptr %7, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %.lr.ph5, label %241 .lr.ph5: ; preds = %55 br label %60 60: ; preds = %.lr.ph5, %235 %61 = load i32, ptr %5, align 4 %62 = load i32, ptr %8, align 4 %63 = icmp eq i32 %61, %62 br i1 %63, label %64, label %103 64: ; preds = %60 %65 = load i32, ptr %7, align 4 %66 = load i32, ptr %1, align 4 %67 = icmp eq i32 %65, %66 br i1 %67, label %68, label %76 68: ; preds = %64 %69 = load i32, ptr %5, align 4 %70 = sext i32 %69 to i64 %71 = mul nsw i64 %70, %14 %72 = getelementptr inbounds i8, ptr %17, i64 %71 %73 = load i32, ptr %6, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i8, ptr %72, i64 %74 store i8 88, ptr %75, align 1 br label %102 76: ; preds = %64 %77 = load i32, ptr %7, align 4 %78 = load i32, ptr %1, align 4 %79 = sub nsw i32 %78, 1 %80 = icmp eq i32 %77, %79 br i1 %80, label %81, label %89 81: ; preds = %76 %82 = load i32, ptr %5, align 4 %83 = sext i32 %82 to i64 %84 = mul nsw i64 %83, %14 %85 = getelementptr inbounds i8, ptr %17, i64 %84 %86 = load i32, ptr %6, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds i8, ptr %85, i64 %87 store i8 89, ptr %88, align 1 br label %101 89: ; preds = %76 %90 = load i32, ptr %8, align 4 %91 = sub nsw i32 %90, 2 %92 = add nsw i32 48, %91 %93 = trunc i32 %92 to i8 %94 = load i32, ptr %5, align 4 %95 = sext i32 %94 to i64 %96 = mul nsw i64 %95, %14 %97 = getelementptr inbounds i8, ptr %17, i64 %96 %98 = load i32, ptr %6, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i8, ptr %97, i64 %99 store i8 %93, ptr %100, align 1 br label %101 101: ; preds = %89, %81 br label %102 102: ; preds = %101, %68 br label %103 103: ; preds = %102, %60 %104 = load i32, ptr %6, align 4 %105 = load i32, ptr %7, align 4 %106 = sub nsw i32 %105, 1 %107 = icmp eq i32 %104, %106 br i1 %107, label %108, label %147 108: ; preds = %103 %109 = load i32, ptr %7, align 4 %110 = load i32, ptr %1, align 4 %111 = icmp eq i32 %109, %110 br i1 %111, label %112, label %120 112: ; preds = %108 %113 = load i32, ptr %5, align 4 %114 = sext i32 %113 to i64 %115 = mul nsw i64 %114, %14 %116 = getelementptr inbounds i8, ptr %17, i64 %115 %117 = load i32, ptr %6, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds i8, ptr %116, i64 %118 store i8 88, ptr %119, align 1 br label %146 120: ; preds = %108 %121 = load i32, ptr %7, align 4 %122 = load i32, ptr %1, align 4 %123 = sub nsw i32 %122, 1 %124 = icmp eq i32 %121, %123 br i1 %124, label %125, label %133 125: ; preds = %120 %126 = load i32, ptr %5, align 4 %127 = sext i32 %126 to i64 %128 = mul nsw i64 %127, %14 %129 = getelementptr inbounds i8, ptr %17, i64 %128 %130 = load i32, ptr %6, align 4 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds i8, ptr %129, i64 %131 store i8 89, ptr %132, align 1 br label %145 133: ; preds = %120 %134 = load i32, ptr %8, align 4 %135 = sub nsw i32 %134, 2 %136 = add nsw i32 48, %135 %137 = trunc i32 %136 to i8 %138 = load i32, ptr %5, align 4 %139 = sext i32 %138 to i64 %140 = mul nsw i64 %139, %14 %141 = getelementptr inbounds i8, ptr %17, i64 %140 %142 = load i32, ptr %6, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds i8, ptr %141, i64 %143 store i8 %137, ptr %144, align 1 br label %145 145: ; preds = %133, %125 br label %146 146: ; preds = %145, %112 br label %147 147: ; preds = %146, %103 %148 = load i32, ptr %5, align 4 %149 = load i32, ptr %7, align 4 %150 = sub nsw i32 %149, 1 %151 = icmp eq i32 %148, %150 br i1 %151, label %152, label %191 152: ; preds = %147 %153 = load i32, ptr %7, align 4 %154 = load i32, ptr %1, align 4 %155 = icmp eq i32 %153, %154 br i1 %155, label %156, label %164 156: ; preds = %152 %157 = load i32, ptr %5, align 4 %158 = sext i32 %157 to i64 %159 = mul nsw i64 %158, %14 %160 = getelementptr inbounds i8, ptr %17, i64 %159 %161 = load i32, ptr %6, align 4 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds i8, ptr %160, i64 %162 store i8 88, ptr %163, align 1 br label %190 164: ; preds = %152 %165 = load i32, ptr %7, align 4 %166 = load i32, ptr %1, align 4 %167 = sub nsw i32 %166, 1 %168 = icmp eq i32 %165, %167 br i1 %168, label %169, label %177 169: ; preds = %164 %170 = load i32, ptr %5, align 4 %171 = sext i32 %170 to i64 %172 = mul nsw i64 %171, %14 %173 = getelementptr inbounds i8, ptr %17, i64 %172 %174 = load i32, ptr %6, align 4 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds i8, ptr %173, i64 %175 store i8 89, ptr %176, align 1 br label %189 177: ; preds = %164 %178 = load i32, ptr %8, align 4 %179 = sub nsw i32 %178, 2 %180 = add nsw i32 48, %179 %181 = trunc i32 %180 to i8 %182 = load i32, ptr %5, align 4 %183 = sext i32 %182 to i64 %184 = mul nsw i64 %183, %14 %185 = getelementptr inbounds i8, ptr %17, i64 %184 %186 = load i32, ptr %6, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds i8, ptr %185, i64 %187 store i8 %181, ptr %188, align 1 br label %189 189: ; preds = %177, %169 br label %190 190: ; preds = %189, %156 br label %191 191: ; preds = %190, %147 %192 = load i32, ptr %6, align 4 %193 = load i32, ptr %8, align 4 %194 = icmp eq i32 %192, %193 br i1 %194, label %195, label %234 195: ; preds = %191 %196 = load i32, ptr %7, align 4 %197 = load i32, ptr %1, align 4 %198 = icmp eq i32 %196, %197 br i1 %198, label %199, label %207 199: ; preds = %195 %200 = load i32, ptr %5, align 4 %201 = sext i32 %200 to i64 %202 = mul nsw i64 %201, %14 %203 = getelementptr inbounds i8, ptr %17, i64 %202 %204 = load i32, ptr %6, align 4 %205 = sext i32 %204 to i64 %206 = getelementptr inbounds i8, ptr %203, i64 %205 store i8 88, ptr %206, align 1 br label %233 207: ; preds = %195 %208 = load i32, ptr %7, align 4 %209 = load i32, ptr %1, align 4 %210 = sub nsw i32 %209, 1 %211 = icmp eq i32 %208, %210 br i1 %211, label %212, label %220 212: ; preds = %207 %213 = load i32, ptr %5, align 4 %214 = sext i32 %213 to i64 %215 = mul nsw i64 %214, %14 %216 = getelementptr inbounds i8, ptr %17, i64 %215 %217 = load i32, ptr %6, align 4 %218 = sext i32 %217 to i64 %219 = getelementptr inbounds i8, ptr %216, i64 %218 store i8 89, ptr %219, align 1 br label %232 220: ; preds = %207 %221 = load i32, ptr %8, align 4 %222 = sub nsw i32 %221, 2 %223 = add nsw i32 48, %222 %224 = trunc i32 %223 to i8 %225 = load i32, ptr %5, align 4 %226 = sext i32 %225 to i64 %227 = mul nsw i64 %226, %14 %228 = getelementptr inbounds i8, ptr %17, i64 %227 %229 = load i32, ptr %6, align 4 %230 = sext i32 %229 to i64 %231 = getelementptr inbounds i8, ptr %228, i64 %230 store i8 %224, ptr %231, align 1 br label %232 232: ; preds = %220, %212 br label %233 233: ; preds = %232, %199 br label %234 234: ; preds = %233, %191 br label %235 235: ; preds = %234 %236 = load i32, ptr %6, align 4 %237 = add nsw i32 %236, 1 store i32 %237, ptr %6, align 4 %238 = load i32, ptr %6, align 4 %239 = load i32, ptr %7, align 4 %240 = icmp slt i32 %238, %239 br i1 %240, label %60, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %235 br label %241 241: ; preds = %._crit_edge6, %55 br label %242 242: ; preds = %241 %243 = load i32, ptr %5, align 4 %244 = add nsw i32 %243, 1 store i32 %244, ptr %5, align 4 %245 = load i32, ptr %5, align 4 %246 = load i32, ptr %7, align 4 %247 = icmp slt i32 %245, %246 br i1 %247, label %55, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %242 br label %248 248: ; preds = %._crit_edge9, %50 %249 = load i32, ptr %8, align 4 %250 = add nsw i32 %249, 1 store i32 %250, ptr %8, align 4 %251 = load i32, ptr %7, align 4 %252 = add nsw i32 %251, -1 store i32 %252, ptr %7, align 4 %253 = load i32, ptr %7, align 4 %254 = icmp ne i32 %253, 0 br i1 %254, label %50, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %248 br label %255 255: ; preds = %._crit_edge12, %46 store i32 0, ptr %5, align 4 %256 = load i32, ptr %5, align 4 %257 = load i32, ptr %1, align 4 %258 = icmp slt i32 %256, %257 br i1 %258, label %.lr.ph17, label %288 .lr.ph17: ; preds = %255 br label %259 259: ; preds = %.lr.ph17, %282 store i32 0, ptr %6, align 4 %260 = load i32, ptr %6, align 4 %261 = load i32, ptr %1, align 4 %262 = icmp slt i32 %260, %261 br i1 %262, label %.lr.ph14, label %280 .lr.ph14: ; preds = %259 br label %263 263: ; preds = %.lr.ph14, %274 %264 = load i32, ptr %5, align 4 %265 = sext i32 %264 to i64 %266 = mul nsw i64 %265, %14 %267 = getelementptr inbounds i8, ptr %17, i64 %266 %268 = load i32, ptr %6, align 4 %269 = sext i32 %268 to i64 %270 = getelementptr inbounds i8, ptr %267, i64 %269 %271 = load i8, ptr %270, align 1 %272 = sext i8 %271 to i32 %273 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %272) br label %274 274: ; preds = %263 %275 = load i32, ptr %6, align 4 %276 = add nsw i32 %275, 1 store i32 %276, ptr %6, align 4 %277 = load i32, ptr %6, align 4 %278 = load i32, ptr %1, align 4 %279 = icmp slt i32 %277, %278 br i1 %279, label %263, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %274 br label %280 280: ; preds = %._crit_edge15, %259 %281 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %282 282: ; preds = %280 %283 = load i32, ptr %5, align 4 %284 = add nsw i32 %283, 1 store i32 %284, ptr %5, align 4 %285 = load i32, ptr %5, align 4 %286 = load i32, ptr %1, align 4 %287 = icmp slt i32 %285, %286 br i1 %287, label %259, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %282 br label %288 288: ; preds = %._crit_edge18, %255 %289 = load ptr, ptr %2, align 8 call void @llvm.stackrestore(ptr %289) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7}
; ModuleID = '/tmp/tmpx_5ldq69.c' source_filename = "/tmp/tmpx_5ldq69.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"test_manual_help\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"1.0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_manual_help_cmd_parser_print_version() #0 { %1 = call i64 @strlen(ptr noundef @.str.1) %2 = icmp ne i64 %1, 0 %3 = zext i1 %2 to i64 %4 = select i1 %2, ptr @.str.1, ptr @.str.1 %5 = call i32 @printf(ptr noundef @.str, ptr noundef %4, ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx_5ldq69.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"test_manual_help\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"1.0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_manual_help_cmd_parser_print_version() #0 { %1 = call i64 @strlen(ptr noundef @.str.1) %2 = icmp ne i64 %1, 0 %3 = zext i1 %2 to i64 %4 = select i1 %2, ptr @.str.1, ptr @.str.1 %5 = call i32 @printf(ptr noundef @.str, ptr noundef %4, ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 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"}
; ModuleID = '/tmp/tmpldukxcp0.c' source_filename = "/tmp/tmpldukxcp0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"The array is less than 2, nothing to sort\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"The array is empty\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @insertionSort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 2 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 @printf(ptr noundef @.str) br label %66 12: ; preds = %2 %13 = load ptr, ptr %3, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %17 15: ; preds = %12 %16 = call i32 @printf(ptr noundef @.str.1) br label %66 17: ; preds = %12 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 1, ptr %5, align 4 br label %18 18: ; preds = %63, %17 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %66 22: ; preds = %18 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %5, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 %27 = load i32, ptr %26, align 4 store i32 %27, ptr %7, align 4 %28 = load i32, ptr %5, align 4 %29 = sub nsw i32 %28, 1 store i32 %29, ptr %6, align 4 br label %30 30: ; preds = %43, %22 %31 = load i32, ptr %6, align 4 %32 = icmp sge i32 %31, 0 br i1 %32, label %33, label %41 33: ; preds = %30 %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %34, i64 %36 %38 = load i32, ptr %37, align 4 %39 = load i32, ptr %7, align 4 %40 = icmp sgt i32 %38, %39 br label %41 41: ; preds = %33, %30 %42 = phi i1 [ false, %30 ], [ %40, %33 ] br i1 %42, label %43, label %56 43: ; preds = %41 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %6, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 %48 = load i32, ptr %47, align 4 %49 = load ptr, ptr %3, align 8 %50 = load i32, ptr %6, align 4 %51 = add nsw i32 %50, 1 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %49, i64 %52 store i32 %48, ptr %53, align 4 %54 = load i32, ptr %6, align 4 %55 = sub nsw i32 %54, 1 store i32 %55, ptr %6, align 4 br label %30, !llvm.loop !6 56: ; preds = %41 %57 = load i32, ptr %7, align 4 %58 = load ptr, ptr %3, align 8 %59 = load i32, ptr %6, align 4 %60 = add nsw i32 %59, 1 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i32, ptr %58, i64 %61 store i32 %57, ptr %62, align 4 br label %63 63: ; preds = %56 %64 = load i32, ptr %5, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %5, align 4 br label %18, !llvm.loop !8 66: ; preds = %10, %15, %18 ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpldukxcp0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"The array is less than 2, nothing to sort\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"The array is empty\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @insertionSort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 2 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 @printf(ptr noundef @.str) br label %68 12: ; preds = %2 %13 = load ptr, ptr %3, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %17 15: ; preds = %12 %16 = call i32 @printf(ptr noundef @.str.1) br label %68 17: ; preds = %12 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 1, ptr %5, align 4 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %17 br label %21 21: ; preds = %.lr.ph, %62 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 %26 = load i32, ptr %25, align 4 store i32 %26, ptr %7, align 4 %27 = load i32, ptr %5, align 4 %28 = sub nsw i32 %27, 1 store i32 %28, ptr %6, align 4 br label %29 29: ; preds = %42, %21 %30 = load i32, ptr %6, align 4 %31 = icmp sge i32 %30, 0 br i1 %31, label %32, label %40 32: ; preds = %29 %33 = load ptr, ptr %3, align 8 %34 = load i32, ptr %6, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = load i32, ptr %36, align 4 %38 = load i32, ptr %7, align 4 %39 = icmp sgt i32 %37, %38 br label %40 40: ; preds = %32, %29 %41 = phi i1 [ false, %29 ], [ %39, %32 ] br i1 %41, label %42, label %55 42: ; preds = %40 %43 = load ptr, ptr %3, align 8 %44 = load i32, ptr %6, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 %47 = load i32, ptr %46, align 4 %48 = load ptr, ptr %3, align 8 %49 = load i32, ptr %6, align 4 %50 = add nsw i32 %49, 1 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i32, ptr %48, i64 %51 store i32 %47, ptr %52, align 4 %53 = load i32, ptr %6, align 4 %54 = sub nsw i32 %53, 1 store i32 %54, ptr %6, align 4 br label %29, !llvm.loop !6 55: ; preds = %40 %56 = load i32, ptr %7, align 4 %57 = load ptr, ptr %3, align 8 %58 = load i32, ptr %6, align 4 %59 = add nsw i32 %58, 1 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %57, i64 %60 store i32 %56, ptr %61, align 4 br label %62 62: ; preds = %55 %63 = load i32, ptr %5, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %5, align 4 %65 = load i32, ptr %5, align 4 %66 = load i32, ptr %4, align 4 %67 = icmp slt i32 %65, %66 br i1 %67, label %21, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %62 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %17 br label %68 68: ; preds = %.loopexit, %15, %10 ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp_o5assab.c' source_filename = "/tmp/tmp_o5assab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @someatof(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %16, %1 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %5, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %8, i64 %10 %12 = load i8, ptr %11, align 1 %13 = call i64 @isspace(i8 noundef signext %12) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %7 br label %16 16: ; preds = %15 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %5, align 4 br label %7, !llvm.loop !6 19: ; preds = %7 %20 = load ptr, ptr %2, align 8 %21 = load i32, ptr %5, 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 eq i32 %25, 45 %27 = zext i1 %26 to i64 %28 = select i1 %26, i32 -1, i32 1 store i32 %28, ptr %6, align 4 %29 = load ptr, ptr %2, 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 i1 %35, label %44, label %36 36: ; preds = %19 %37 = load ptr, ptr %2, align 8 %38 = load i32, ptr %5, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp eq i32 %42, 45 br i1 %43, label %44, label %47 44: ; preds = %36, %19 %45 = load i32, ptr %5, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %5, align 4 br label %47 47: ; preds = %44, %36 store double 0.000000e+00, ptr %3, align 8 br label %48 48: ; preds = %67, %47 %49 = load ptr, ptr %2, align 8 %50 = load i32, ptr %5, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %49, i64 %51 %53 = load i8, ptr %52, align 1 %54 = call i64 @isdigit(i8 noundef signext %53) %55 = icmp ne i64 %54, 0 br i1 %55, label %56, label %70 56: ; preds = %48 %57 = load double, ptr %3, align 8 %58 = load ptr, ptr %2, align 8 %59 = load i32, ptr %5, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = sub nsw i32 %63, 48 %65 = sitofp i32 %64 to double %66 = call double @llvm.fmuladd.f64(double 1.000000e+01, double %57, double %65) store double %66, ptr %3, align 8 br label %67 67: ; preds = %56 %68 = load i32, ptr %5, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %5, align 4 br label %48, !llvm.loop !8 70: ; preds = %48 %71 = load ptr, ptr %2, align 8 %72 = load i32, ptr %5, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i8, ptr %71, i64 %73 %75 = load i8, ptr %74, align 1 %76 = sext i8 %75 to i32 %77 = icmp eq i32 %76, 46 br i1 %77, label %78, label %81 78: ; preds = %70 %79 = load i32, ptr %5, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %5, align 4 br label %81 81: ; preds = %78, %70 store double 1.000000e+00, ptr %4, align 8 br label %82 82: ; preds = %103, %81 %83 = load ptr, ptr %2, align 8 %84 = load i32, ptr %5, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i8, ptr %83, i64 %85 %87 = load i8, ptr %86, align 1 %88 = call i64 @isdigit(i8 noundef signext %87) %89 = icmp ne i64 %88, 0 br i1 %89, label %90, label %106 90: ; preds = %82 %91 = load double, ptr %3, align 8 %92 = load ptr, ptr %2, align 8 %93 = load i32, ptr %5, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i8, ptr %92, i64 %94 %96 = load i8, ptr %95, align 1 %97 = sext i8 %96 to i32 %98 = sub nsw i32 %97, 48 %99 = sitofp i32 %98 to double %100 = call double @llvm.fmuladd.f64(double 1.000000e+01, double %91, double %99) store double %100, ptr %3, align 8 %101 = load double, ptr %4, align 8 %102 = fmul double %101, 1.000000e+01 store double %102, ptr %4, align 8 br label %103 103: ; preds = %90 %104 = load i32, ptr %5, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %5, align 4 br label %82, !llvm.loop !9 106: ; preds = %82 %107 = load i32, ptr %6, align 4 %108 = sitofp i32 %107 to double %109 = load double, ptr %3, align 8 %110 = fmul double %108, %109 %111 = load double, ptr %4, align 8 %112 = fdiv double %110, %111 ret double %112 } declare i64 @isspace(i8 noundef signext) #1 declare i64 @isdigit(i8 noundef signext) #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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_o5assab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @someatof(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %5, align 4 %7 = load ptr, ptr %2, align 8 %8 = load i32, ptr %5, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i8, ptr %7, i64 %9 %11 = load i8, ptr %10, align 1 %12 = call i64 @isspace(i8 noundef signext %11) %13 = icmp ne i64 %12, 0 br i1 %13, label %.lr.ph, label %25 .lr.ph: ; preds = %1 br label %14 14: ; preds = %.lr.ph, %15 br label %15 15: ; preds = %14 %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %5, align 4 %18 = load ptr, ptr %2, align 8 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = call i64 @isspace(i8 noundef signext %22) %24 = icmp ne i64 %23, 0 br i1 %24, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %25 25: ; preds = %._crit_edge, %1 %26 = load ptr, ptr %2, align 8 %27 = load i32, ptr %5, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 45 %33 = zext i1 %32 to i64 %34 = select i1 %32, i32 -1, i32 1 store i32 %34, ptr %6, align 4 %35 = load ptr, ptr %2, 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 i1 %41, label %50, label %42 42: ; preds = %25 %43 = load ptr, ptr %2, 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 = icmp eq i32 %48, 45 br i1 %49, label %50, label %53 50: ; preds = %42, %25 %51 = load i32, ptr %5, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %5, align 4 br label %53 53: ; preds = %50, %42 store double 0.000000e+00, ptr %3, align 8 %54 = load ptr, ptr %2, align 8 %55 = load i32, ptr %5, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %54, i64 %56 %58 = load i8, ptr %57, align 1 %59 = call i64 @isdigit(i8 noundef signext %58) %60 = icmp ne i64 %59, 0 br i1 %60, label %.lr.ph2, label %82 .lr.ph2: ; preds = %53 br label %61 61: ; preds = %.lr.ph2, %72 %62 = load double, ptr %3, align 8 %63 = load ptr, ptr %2, align 8 %64 = load i32, ptr %5, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i8, ptr %63, i64 %65 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = sub nsw i32 %68, 48 %70 = sitofp i32 %69 to double %71 = call double @llvm.fmuladd.f64(double 1.000000e+01, double %62, double %70) store double %71, ptr %3, align 8 br label %72 72: ; preds = %61 %73 = load i32, ptr %5, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %5, align 4 %75 = load ptr, ptr %2, align 8 %76 = load i32, ptr %5, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %75, i64 %77 %79 = load i8, ptr %78, align 1 %80 = call i64 @isdigit(i8 noundef signext %79) %81 = icmp ne i64 %80, 0 br i1 %81, label %61, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %72 br label %82 82: ; preds = %._crit_edge3, %53 %83 = load ptr, ptr %2, align 8 %84 = load i32, ptr %5, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i8, ptr %83, i64 %85 %87 = load i8, ptr %86, align 1 %88 = sext i8 %87 to i32 %89 = icmp eq i32 %88, 46 br i1 %89, label %90, label %93 90: ; preds = %82 %91 = load i32, ptr %5, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %5, align 4 br label %93 93: ; preds = %90, %82 store double 1.000000e+00, ptr %4, align 8 %94 = load ptr, ptr %2, align 8 %95 = load i32, ptr %5, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i8, ptr %94, i64 %96 %98 = load i8, ptr %97, align 1 %99 = call i64 @isdigit(i8 noundef signext %98) %100 = icmp ne i64 %99, 0 br i1 %100, label %.lr.ph5, label %124 .lr.ph5: ; preds = %93 br label %101 101: ; preds = %.lr.ph5, %114 %102 = load double, ptr %3, align 8 %103 = load ptr, ptr %2, align 8 %104 = load i32, ptr %5, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds i8, ptr %103, i64 %105 %107 = load i8, ptr %106, align 1 %108 = sext i8 %107 to i32 %109 = sub nsw i32 %108, 48 %110 = sitofp i32 %109 to double %111 = call double @llvm.fmuladd.f64(double 1.000000e+01, double %102, double %110) store double %111, ptr %3, align 8 %112 = load double, ptr %4, align 8 %113 = fmul double %112, 1.000000e+01 store double %113, ptr %4, align 8 br label %114 114: ; preds = %101 %115 = load i32, ptr %5, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %5, align 4 %117 = load ptr, ptr %2, align 8 %118 = load i32, ptr %5, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds i8, ptr %117, i64 %119 %121 = load i8, ptr %120, align 1 %122 = call i64 @isdigit(i8 noundef signext %121) %123 = icmp ne i64 %122, 0 br i1 %123, label %101, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %114 br label %124 124: ; preds = %._crit_edge6, %93 %125 = load i32, ptr %6, align 4 %126 = sitofp i32 %125 to double %127 = load double, ptr %3, align 8 %128 = fmul double %126, %127 %129 = load double, ptr %4, align 8 %130 = fdiv double %128, %129 ret double %130 } declare i64 @isspace(i8 noundef signext) #1 declare i64 @isdigit(i8 noundef signext) #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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpyvz0d_hd.c' source_filename = "/tmp/tmpyvz0d_hd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Please enter a character.\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"The code of %c is %d.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i8, ptr %2, align 1 %6 = sext i8 %5 to i32 %7 = load i8, ptr %2, align 1 %8 = sext i8 %7 to i32 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %6, i32 noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyvz0d_hd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Please enter a character.\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"The code of %c is %d.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i8, ptr %2, align 1 %6 = sext i8 %5 to i32 %7 = load i8, ptr %2, align 1 %8 = sext i8 %7 to i32 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %6, i32 noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsv2s14fq.c' source_filename = "/tmp/tmpsv2s14fq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @VIDEO_STOP = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"VIDEO_STOP\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @videoStop(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %9 8: ; preds = %2 store i32 -1, ptr %3, align 4 br label %17 9: ; preds = %2 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr @VIDEO_STOP, align 4 %12 = call i32 @ioctl(i32 noundef %10, i32 noundef %11) %13 = icmp eq i32 %12, -1 br i1 %13, label %14, label %16 14: ; preds = %9 %15 = call i32 @perror(ptr noundef @.str) br label %16 16: ; preds = %14, %9 store i32 0, ptr %3, align 4 br label %17 17: ; preds = %16, %8 %18 = load i32, ptr %3, align 4 ret i32 %18 } declare i32 @ioctl(i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsv2s14fq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @VIDEO_STOP = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"VIDEO_STOP\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @videoStop(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %9 8: ; preds = %2 store i32 -1, ptr %3, align 4 br label %17 9: ; preds = %2 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr @VIDEO_STOP, align 4 %12 = call i32 @ioctl(i32 noundef %10, i32 noundef %11) %13 = icmp eq i32 %12, -1 br i1 %13, label %14, label %16 14: ; preds = %9 %15 = call i32 @perror(ptr noundef @.str) br label %16 16: ; preds = %14, %9 store i32 0, ptr %3, align 4 br label %17 17: ; preds = %16, %8 %18 = load i32, ptr %3, align 4 ret i32 %18 } declare i32 @ioctl(i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_azfox0u.c' source_filename = "/tmp/tmp_azfox0u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @eval_charprint(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load i32, ptr @stdout, align 4 %6 = load double, ptr %4, align 8 %7 = fptosi double %6 to i8 %8 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, i8 noundef signext %7) %9 = load double, ptr %4, align 8 ret double %9 } declare i32 @fprintf(i32 noundef, ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_azfox0u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @eval_charprint(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load i32, ptr @stdout, align 4 %6 = load double, ptr %4, align 8 %7 = fptosi double %6 to i8 %8 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, i8 noundef signext %7) %9 = load double, ptr %4, align 8 ret double %9 } declare i32 @fprintf(i32 noundef, ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4zo8isr2.c' source_filename = "/tmp/tmp4zo8isr2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Enter a value of the x coordinate.\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"Enter the radius of the circle.\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"y coordinate=%f\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"area=%f\0A\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"circumference=%f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca float, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) store float 1.000000e+00, ptr %3, align 4 %8 = load float, ptr %1, align 4 %9 = load float, ptr %3, align 4 %10 = fmul float %9, %8 store float %10, ptr %3, align 4 %11 = load float, ptr %3, align 4 %12 = fadd float %11, 1.000000e+00 store float %12, ptr %3, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) store float 0x40091EB860000000, ptr %4, align 4 %15 = load float, ptr %2, align 4 %16 = load float, ptr %4, align 4 %17 = fmul float %16, %15 store float %17, ptr %4, align 4 %18 = load float, ptr %2, align 4 %19 = load float, ptr %4, align 4 %20 = fmul float %19, %18 store float %20, ptr %4, align 4 store float 2.000000e+00, ptr %5, align 4 %21 = load float, ptr %5, align 4 %22 = fpext float %21 to double %23 = fmul double %22, 3.140000e+00 %24 = fptrunc double %23 to float store float %24, ptr %5, align 4 %25 = load float, ptr %2, align 4 %26 = load float, ptr %5, align 4 %27 = fmul float %26, %25 store float %27, ptr %5, align 4 %28 = load float, ptr %3, align 4 %29 = fpext float %28 to double %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %29) %31 = load float, ptr %4, align 4 %32 = fpext float %31 to double %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %32) %34 = load float, ptr %5, align 4 %35 = fpext float %34 to double %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %35) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4zo8isr2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Enter a value of the x coordinate.\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"Enter the radius of the circle.\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"y coordinate=%f\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"area=%f\0A\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"circumference=%f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca float, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) store float 1.000000e+00, ptr %3, align 4 %8 = load float, ptr %1, align 4 %9 = load float, ptr %3, align 4 %10 = fmul float %9, %8 store float %10, ptr %3, align 4 %11 = load float, ptr %3, align 4 %12 = fadd float %11, 1.000000e+00 store float %12, ptr %3, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) store float 0x40091EB860000000, ptr %4, align 4 %15 = load float, ptr %2, align 4 %16 = load float, ptr %4, align 4 %17 = fmul float %16, %15 store float %17, ptr %4, align 4 %18 = load float, ptr %2, align 4 %19 = load float, ptr %4, align 4 %20 = fmul float %19, %18 store float %20, ptr %4, align 4 store float 2.000000e+00, ptr %5, align 4 %21 = load float, ptr %5, align 4 %22 = fpext float %21 to double %23 = fmul double %22, 3.140000e+00 %24 = fptrunc double %23 to float store float %24, ptr %5, align 4 %25 = load float, ptr %2, align 4 %26 = load float, ptr %5, align 4 %27 = fmul float %26, %25 store float %27, ptr %5, align 4 %28 = load float, ptr %3, align 4 %29 = fpext float %28 to double %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %29) %31 = load float, ptr %4, align 4 %32 = fpext float %31 to double %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %32) %34 = load float, ptr %5, align 4 %35 = fpext float %34 to double %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %35) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkaeyb376.c' source_filename = "/tmp/tmpkaeyb376.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"ap_ctrl_none\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"axis\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @acc_vadd(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 = call i32 @_ssdm_op_SpecInterface(ptr noundef null, ptr noundef @.str, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef @.str.1, ptr noundef @.str.1, ptr noundef @.str.1) %8 = load ptr, ptr %4, align 8 %9 = call i32 @_ssdm_op_SpecInterface(ptr noundef %8, ptr noundef @.str.2, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 16, ptr noundef @.str.1, ptr noundef @.str.1, ptr noundef @.str.1) %10 = load ptr, ptr %5, align 8 %11 = call i32 @_ssdm_op_SpecInterface(ptr noundef %10, ptr noundef @.str.2, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 16, ptr noundef @.str.1, ptr noundef @.str.1, ptr noundef @.str.1) %12 = load ptr, ptr %6, align 8 %13 = call i32 @_ssdm_op_SpecInterface(ptr noundef %12, ptr noundef @.str.2, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 16, ptr noundef @.str.1, ptr noundef @.str.1, ptr noundef @.str.1) %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %14, align 4 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %16, align 4 %18 = add nsw i32 %15, %17 %19 = load ptr, ptr %6, align 8 store i32 %18, ptr %19, align 4 ret void } declare i32 @_ssdm_op_SpecInterface(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkaeyb376.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"ap_ctrl_none\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"axis\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @acc_vadd(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 = call i32 @_ssdm_op_SpecInterface(ptr noundef null, ptr noundef @.str, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, ptr noundef @.str.1, ptr noundef @.str.1, ptr noundef @.str.1) %8 = load ptr, ptr %4, align 8 %9 = call i32 @_ssdm_op_SpecInterface(ptr noundef %8, ptr noundef @.str.2, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 16, ptr noundef @.str.1, ptr noundef @.str.1, ptr noundef @.str.1) %10 = load ptr, ptr %5, align 8 %11 = call i32 @_ssdm_op_SpecInterface(ptr noundef %10, ptr noundef @.str.2, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 16, ptr noundef @.str.1, ptr noundef @.str.1, ptr noundef @.str.1) %12 = load ptr, ptr %6, align 8 %13 = call i32 @_ssdm_op_SpecInterface(ptr noundef %12, ptr noundef @.str.2, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 16, ptr noundef @.str.1, ptr noundef @.str.1, ptr noundef @.str.1) %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %14, align 4 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %16, align 4 %18 = add nsw i32 %15, %17 %19 = load ptr, ptr %6, align 8 store i32 %18, ptr %19, align 4 ret void } declare i32 @_ssdm_op_SpecInterface(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb0gom0ly.c' source_filename = "/tmp/tmpb0gom0ly.c" target datalayout = "e-m:e-p270: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/tmpb0gom0ly.c" target datalayout = "e-m:e-p270: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/tmpylm9_llz.c' source_filename = "/tmp/tmpylm9_llz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isbdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isbdigit should be 0 for 0x1a\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isbdigit_0x1a() #0 { %1 = call i64 @isbdigit(i32 noundef 26) %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 135, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isbdigit(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/tmpylm9_llz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isbdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isbdigit should be 0 for 0x1a\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isbdigit_0x1a() #0 { %1 = call i64 @isbdigit(i32 noundef 26) %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 135, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isbdigit(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/tmpn9e_hr87.c' source_filename = "/tmp/tmpn9e_hr87.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"create socket error: %s(errno: %d)\0A\00", align 1 @errno = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [34 x i8] c"bind socket error: %s(errno: %d)\0A\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"listen socket error: %s(errno: %d)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @stk_server_socket() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca %struct.sockaddr_in, align 4 %4 = alloca i32, align 4 store i32 1, ptr %4, align 4 %5 = load i32, ptr @AF_INET, align 4 %6 = load i32, ptr @SOCK_STREAM, align 4 %7 = call i32 @socket(i32 noundef %5, i32 noundef %6, i32 noundef 0) store i32 %7, ptr %2, align 4 %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %14 9: ; preds = %0 %10 = load i32, ptr @errno, align 4 %11 = call ptr @strerror(i32 noundef %10) %12 = load i32, ptr @errno, align 4 %13 = call i32 @printf(ptr noundef @.str, ptr noundef %11, i32 noundef %12) store i32 -1, ptr %1, align 4 br label %56 14: ; preds = %0 %15 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 12) %16 = load i32, ptr @AF_INET, align 4 %17 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 2 store i32 %16, ptr %17, align 4 %18 = load i32, ptr @INADDR_ANY, align 4 %19 = call i32 @htonl(i32 noundef %18) %20 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1 %21 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i32 0, i32 0 store i32 %19, ptr %21, align 4 %22 = call i32 @htons(i32 noundef 9007) %23 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0 store i32 %22, ptr %23, align 4 %24 = load i32, ptr %2, align 4 %25 = load i32, ptr @SOL_SOCKET, align 4 %26 = load i32, ptr @SO_REUSEADDR, align 4 %27 = call i32 @setsockopt(i32 noundef %24, i32 noundef %25, i32 noundef %26, ptr noundef %4, i32 noundef 4) %28 = icmp eq i32 %27, -1 br i1 %28, label %29, label %32 29: ; preds = %14 %30 = load i32, ptr %2, align 4 %31 = call i32 @close(i32 noundef %30) store i32 -1, ptr %1, align 4 br label %56 32: ; preds = %14 %33 = load i32, ptr %2, align 4 %34 = call i32 @bind(i32 noundef %33, ptr noundef %3, i32 noundef 12) %35 = icmp eq i32 %34, -1 br i1 %35, label %36, label %43 36: ; preds = %32 %37 = load i32, ptr @errno, align 4 %38 = call ptr @strerror(i32 noundef %37) %39 = load i32, ptr @errno, align 4 %40 = call i32 @printf(ptr noundef @.str.1, ptr noundef %38, i32 noundef %39) %41 = load i32, ptr %2, align 4 %42 = call i32 @close(i32 noundef %41) store i32 -1, ptr %1, align 4 br label %56 43: ; preds = %32 %44 = load i32, ptr %2, align 4 %45 = call i32 @listen(i32 noundef %44, i32 noundef 30) %46 = icmp eq i32 %45, -1 br i1 %46, label %47, label %54 47: ; preds = %43 %48 = load i32, ptr @errno, align 4 %49 = call ptr @strerror(i32 noundef %48) %50 = load i32, ptr @errno, align 4 %51 = call i32 @printf(ptr noundef @.str.2, ptr noundef %49, i32 noundef %50) %52 = load i32, ptr %2, align 4 %53 = call i32 @close(i32 noundef %52) store i32 -1, ptr %1, align 4 br label %56 54: ; preds = %43 %55 = load i32, ptr %2, align 4 store i32 %55, ptr %1, align 4 br label %56 56: ; preds = %54, %47, %36, %29, %9 %57 = load i32, ptr %1, align 4 ret i32 %57 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn9e_hr87.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"create socket error: %s(errno: %d)\0A\00", align 1 @errno = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [34 x i8] c"bind socket error: %s(errno: %d)\0A\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"listen socket error: %s(errno: %d)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @stk_server_socket() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca %struct.sockaddr_in, align 4 %4 = alloca i32, align 4 store i32 1, ptr %4, align 4 %5 = load i32, ptr @AF_INET, align 4 %6 = load i32, ptr @SOCK_STREAM, align 4 %7 = call i32 @socket(i32 noundef %5, i32 noundef %6, i32 noundef 0) store i32 %7, ptr %2, align 4 %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %14 9: ; preds = %0 %10 = load i32, ptr @errno, align 4 %11 = call ptr @strerror(i32 noundef %10) %12 = load i32, ptr @errno, align 4 %13 = call i32 @printf(ptr noundef @.str, ptr noundef %11, i32 noundef %12) store i32 -1, ptr %1, align 4 br label %56 14: ; preds = %0 %15 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 12) %16 = load i32, ptr @AF_INET, align 4 %17 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 2 store i32 %16, ptr %17, align 4 %18 = load i32, ptr @INADDR_ANY, align 4 %19 = call i32 @htonl(i32 noundef %18) %20 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1 %21 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i32 0, i32 0 store i32 %19, ptr %21, align 4 %22 = call i32 @htons(i32 noundef 9007) %23 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0 store i32 %22, ptr %23, align 4 %24 = load i32, ptr %2, align 4 %25 = load i32, ptr @SOL_SOCKET, align 4 %26 = load i32, ptr @SO_REUSEADDR, align 4 %27 = call i32 @setsockopt(i32 noundef %24, i32 noundef %25, i32 noundef %26, ptr noundef %4, i32 noundef 4) %28 = icmp eq i32 %27, -1 br i1 %28, label %29, label %32 29: ; preds = %14 %30 = load i32, ptr %2, align 4 %31 = call i32 @close(i32 noundef %30) store i32 -1, ptr %1, align 4 br label %56 32: ; preds = %14 %33 = load i32, ptr %2, align 4 %34 = call i32 @bind(i32 noundef %33, ptr noundef %3, i32 noundef 12) %35 = icmp eq i32 %34, -1 br i1 %35, label %36, label %43 36: ; preds = %32 %37 = load i32, ptr @errno, align 4 %38 = call ptr @strerror(i32 noundef %37) %39 = load i32, ptr @errno, align 4 %40 = call i32 @printf(ptr noundef @.str.1, ptr noundef %38, i32 noundef %39) %41 = load i32, ptr %2, align 4 %42 = call i32 @close(i32 noundef %41) store i32 -1, ptr %1, align 4 br label %56 43: ; preds = %32 %44 = load i32, ptr %2, align 4 %45 = call i32 @listen(i32 noundef %44, i32 noundef 30) %46 = icmp eq i32 %45, -1 br i1 %46, label %47, label %54 47: ; preds = %43 %48 = load i32, ptr @errno, align 4 %49 = call ptr @strerror(i32 noundef %48) %50 = load i32, ptr @errno, align 4 %51 = call i32 @printf(ptr noundef @.str.2, ptr noundef %49, i32 noundef %50) %52 = load i32, ptr %2, align 4 %53 = call i32 @close(i32 noundef %52) store i32 -1, ptr %1, align 4 br label %56 54: ; preds = %43 %55 = load i32, ptr %2, align 4 store i32 %55, ptr %1, align 4 br label %56 56: ; preds = %54, %47, %36, %29, %9 %57 = load i32, ptr %1, align 4 ret i32 %57 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyjn4aqgh.c' source_filename = "/tmp/tmpyjn4aqgh.c" target datalayout = "e-m:e-p270: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/tmpyjn4aqgh.c" target datalayout = "e-m:e-p270: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/tmp3hskrjtz.c' source_filename = "/tmp/tmp3hskrjtz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sha256_init(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 i32, ptr %3, i64 0 store i32 1779033703, ptr %4, align 4 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds i32, ptr %5, i64 1 store i32 -1150833019, ptr %6, align 4 %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds i32, ptr %7, i64 2 store i32 1013904242, ptr %8, align 4 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds i32, ptr %9, i64 3 store i32 -1521486534, ptr %10, align 4 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds i32, ptr %11, i64 4 store i32 1359893119, ptr %12, align 4 %13 = load ptr, ptr %2, align 8 %14 = getelementptr inbounds i32, ptr %13, i64 5 store i32 -1694144372, ptr %14, align 4 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds i32, ptr %15, i64 6 store i32 528734635, ptr %16, align 4 %17 = load ptr, ptr %2, align 8 %18 = getelementptr inbounds i32, ptr %17, i64 7 store i32 1541459225, ptr %18, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3hskrjtz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sha256_init(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 i32, ptr %3, i64 0 store i32 1779033703, ptr %4, align 4 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds i32, ptr %5, i64 1 store i32 -1150833019, ptr %6, align 4 %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds i32, ptr %7, i64 2 store i32 1013904242, ptr %8, align 4 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds i32, ptr %9, i64 3 store i32 -1521486534, ptr %10, align 4 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds i32, ptr %11, i64 4 store i32 1359893119, ptr %12, align 4 %13 = load ptr, ptr %2, align 8 %14 = getelementptr inbounds i32, ptr %13, i64 5 store i32 -1694144372, ptr %14, align 4 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds i32, ptr %15, i64 6 store i32 528734635, ptr %16, align 4 %17 = load ptr, ptr %2, align 8 %18 = getelementptr inbounds i32, ptr %17, i64 7 store i32 1541459225, ptr %18, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnxwh5w79.c' source_filename = "/tmp/tmpnxwh5w79.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @distance(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store double %3, ptr %8, align 8 %9 = load double, ptr %7, align 8 %10 = load double, ptr %5, align 8 %11 = fsub double %9, %10 %12 = call i64 @pow(double noundef %11, i32 noundef 2) %13 = load double, ptr %8, align 8 %14 = load double, ptr %6, align 8 %15 = fsub double %13, %14 %16 = call i64 @pow(double noundef %15, i32 noundef 2) %17 = add nsw i64 %12, %16 %18 = call double @sqrt(i64 noundef %17) ret double %18 } declare double @sqrt(i64 noundef) #1 declare i64 @pow(double 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/tmpnxwh5w79.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @distance(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store double %3, ptr %8, align 8 %9 = load double, ptr %7, align 8 %10 = load double, ptr %5, align 8 %11 = fsub double %9, %10 %12 = call i64 @pow(double noundef %11, i32 noundef 2) %13 = load double, ptr %8, align 8 %14 = load double, ptr %6, align 8 %15 = fsub double %13, %14 %16 = call i64 @pow(double noundef %15, i32 noundef 2) %17 = add nsw i64 %12, %16 %18 = call double @sqrt(i64 noundef %17) ret double %18 } declare double @sqrt(i64 noundef) #1 declare i64 @pow(double 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/tmp5y5gvk31.c' source_filename = "/tmp/tmp5y5gvk31.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter first number: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"Enter second number: \00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"%d is largest number.\0A\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"%d is smallest number.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp sgt i32 %8, %9 br i1 %10, label %11, label %14 11: ; preds = %0 %12 = load i32, ptr %2, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12) br label %17 14: ; preds = %0 %15 = load i32, ptr %2, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %15) br label %17 17: ; preds = %14, %11 %18 = phi i32 [ %13, %11 ], [ %16, %14 ] ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5y5gvk31.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter first number: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"Enter second number: \00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"%d is largest number.\0A\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"%d is smallest number.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp sgt i32 %8, %9 br i1 %10, label %11, label %14 11: ; preds = %0 %12 = load i32, ptr %2, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12) br label %17 14: ; preds = %0 %15 = load i32, ptr %2, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %15) br label %17 17: ; preds = %14, %11 %18 = phi i32 [ %13, %11 ], [ %16, %14 ] ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn_3pmhl7.c' source_filename = "/tmp/tmpn_3pmhl7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_centered_string(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @ycenter(i32 noundef 0) %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) %6 = call i32 @xcenter(i32 noundef %5) %7 = load ptr, ptr %2, align 8 %8 = call i32 @mvaddstr(i32 noundef %3, i32 noundef %6, ptr noundef %7) ret void } declare i32 @mvaddstr(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @ycenter(i32 noundef) #1 declare i32 @xcenter(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/tmpn_3pmhl7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_centered_string(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @ycenter(i32 noundef 0) %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) %6 = call i32 @xcenter(i32 noundef %5) %7 = load ptr, ptr %2, align 8 %8 = call i32 @mvaddstr(i32 noundef %3, i32 noundef %6, ptr noundef %7) ret void } declare i32 @mvaddstr(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @ycenter(i32 noundef) #1 declare i32 @xcenter(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/tmp8ooo2unl.c' source_filename = "/tmp/tmp8ooo2unl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @chomp(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 i64 @strcspn(ptr noundef %4, ptr noundef @.str) %6 = getelementptr inbounds i8, ptr %3, i64 %5 store i8 0, ptr %6, align 1 ret void } declare i64 @strcspn(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/tmp8ooo2unl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @chomp(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 i64 @strcspn(ptr noundef %4, ptr noundef @.str) %6 = getelementptr inbounds i8, ptr %3, i64 %5 store i8 0, ptr %6, align 1 ret void } declare i64 @strcspn(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/tmp6glond8q.c' source_filename = "/tmp/tmp6glond8q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mycrc32_init() #0 { %1 = call i32 (...) @crc_generate_main_tables() %2 = call i32 (...) @crc_generate_combine_tables() ret void } declare i32 @crc_generate_main_tables(...) #1 declare i32 @crc_generate_combine_tables(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6glond8q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mycrc32_init() #0 { %1 = call i32 (...) @crc_generate_main_tables() %2 = call i32 (...) @crc_generate_combine_tables() ret void } declare i32 @crc_generate_main_tables(...) #1 declare i32 @crc_generate_combine_tables(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfq_7v698.c' source_filename = "/tmp/tmpfq_7v698.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @imedian(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %4, align 4 %9 = call ptr @clone_ivector(ptr noundef %7, i32 noundef %8) store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = call i32 @imedian_ordered(ptr noundef %10, i32 noundef %11) store i32 %12, ptr %6, align 4 %13 = load ptr, ptr %5, align 8 %14 = call i32 @free(ptr noundef %13) %15 = load i32, ptr %6, align 4 ret i32 %15 } declare ptr @clone_ivector(ptr noundef, i32 noundef) #1 declare i32 @imedian_ordered(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfq_7v698.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @imedian(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr %4, align 4 %9 = call ptr @clone_ivector(ptr noundef %7, i32 noundef %8) store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = call i32 @imedian_ordered(ptr noundef %10, i32 noundef %11) store i32 %12, ptr %6, align 4 %13 = load ptr, ptr %5, align 8 %14 = call i32 @free(ptr noundef %13) %15 = load i32, ptr %6, align 4 ret i32 %15 } declare ptr @clone_ivector(ptr noundef, i32 noundef) #1 declare i32 @imedian_ordered(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpidq5m3vc.c' source_filename = "/tmp/tmpidq5m3vc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(read) uwtable define dso_local i32 @isxdigit(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @__ctype_isxdigit(i32 noundef %3) ret i32 %4 } declare i32 @__ctype_isxdigit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpidq5m3vc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(read) uwtable define dso_local i32 @isxdigit(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @__ctype_isxdigit(i32 noundef %3) ret i32 %4 } declare i32 @__ctype_isxdigit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpijpgckcd.c' source_filename = "/tmp/tmpijpgckcd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @d_write(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @r_write(i32 noundef %7, ptr noundef %8, i32 noundef %9) ret i32 %10 } declare i32 @r_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/tmpijpgckcd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @d_write(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @r_write(i32 noundef %7, ptr noundef %8, i32 noundef %9) ret i32 %10 } declare i32 @r_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/tmp50kdpg5h.c' source_filename = "/tmp/tmp50kdpg5h.c" target datalayout = "e-m:e-p270: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/tmp50kdpg5h.c" target datalayout = "e-m:e-p270: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/tmpc4grikdo.c' source_filename = "/tmp/tmpc4grikdo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @USERNOTICE_it = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @i2d_USERNOTICE(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @ASN1_item_i2d(ptr noundef %5, ptr noundef %6, ptr noundef @USERNOTICE_it) ret i32 %7 } declare i32 @ASN1_item_i2d(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/tmpc4grikdo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @USERNOTICE_it = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @i2d_USERNOTICE(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @ASN1_item_i2d(ptr noundef %5, ptr noundef %6, ptr noundef @USERNOTICE_it) ret i32 %7 } declare i32 @ASN1_item_i2d(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/tmpy08kghee.c' source_filename = "/tmp/tmpy08kghee.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"sinf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @_sinf_special(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call float @_sinf_cosf_special(float noundef %3, ptr noundef @.str) ret float %4 } declare float @_sinf_cosf_special(float 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/tmpy08kghee.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"sinf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @_sinf_special(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call float @_sinf_cosf_special(float noundef %3, ptr noundef @.str) ret float %4 } declare float @_sinf_cosf_special(float 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/tmpz2fxpgaf.c' source_filename = "/tmp/tmpz2fxpgaf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @padBuffer(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = load i32, ptr %4, align 4 %9 = icmp ult i32 %7, %8 br i1 %9, label %10, label %26 10: ; preds = %2 %11 = load ptr, ptr %3, align 8 %12 = call i32 @strlen(ptr noundef %11) store i32 %12, ptr %5, align 4 br label %13 13: ; preds = %22, %10 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp ult i32 %14, %15 br i1 %16, label %17, label %25 17: ; preds = %13 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %5, align 4 %20 = zext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 store i8 32, ptr %21, align 1 br label %22 22: ; preds = %17 %23 = load i32, ptr %5, align 4 %24 = add i32 %23, 1 store i32 %24, ptr %5, align 4 br label %13, !llvm.loop !6 25: ; preds = %13 br label %26 26: ; preds = %25, %2 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %4, align 4 %29 = zext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 store i8 0, ptr %30, align 1 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz2fxpgaf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @padBuffer(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = load i32, ptr %4, align 4 %9 = icmp ult i32 %7, %8 br i1 %9, label %10, label %28 10: ; preds = %2 %11 = load ptr, ptr %3, align 8 %12 = call i32 @strlen(ptr noundef %11) store i32 %12, ptr %5, align 4 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp ult i32 %13, %14 br i1 %15, label %.lr.ph, label %27 .lr.ph: ; preds = %10 br label %16 16: ; preds = %.lr.ph, %21 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = zext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 store i8 32, ptr %20, align 1 br label %21 21: ; preds = %16 %22 = load i32, ptr %5, align 4 %23 = add i32 %22, 1 store i32 %23, ptr %5, align 4 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp ult i32 %24, %25 br i1 %26, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %10 br label %28 28: ; preds = %27, %2 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %4, align 4 %31 = zext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 store i8 0, ptr %32, align 1 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp01e8q9i0.c' source_filename = "/tmp/tmp01e8q9i0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"kmode : enter Kmode via INT 80\0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"proc %d going K mode ....\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"proc %d back from Kernel\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @kmode() #0 { %1 = alloca i32, align 4 %2 = call i32 (ptr, ...) @printf(ptr noundef @.str) %3 = call i32 (...) @getpid() %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %3) %5 = call i32 @syscall(i32 noundef 3, i32 noundef 0, i32 noundef 0) %6 = call i32 (...) @getpid() %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %6) %8 = load i32, ptr %1, align 4 ret i32 %8 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @syscall(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/tmp01e8q9i0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"kmode : enter Kmode via INT 80\0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"proc %d going K mode ....\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"proc %d back from Kernel\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @kmode() #0 { %1 = alloca i32, align 4 %2 = call i32 (ptr, ...) @printf(ptr noundef @.str) %3 = call i32 (...) @getpid() %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %3) %5 = call i32 @syscall(i32 noundef 3, i32 noundef 0, i32 noundef 0) %6 = call i32 (...) @getpid() %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %6) %8 = load i32, ptr %1, align 4 ret i32 %8 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @syscall(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/tmppxb91apt.c' source_filename = "/tmp/tmppxb91apt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %35, %2 %8 = load i32, ptr %6, align 4 %9 = icmp slt i32 %8, 100 br i1 %9, label %10, label %38 10: ; preds = %7 %11 = load i32, ptr %6, align 4 %12 = srem i32 %11, 6 %13 = icmp eq i32 %12, 0 br i1 %13, label %18, label %14 14: ; preds = %10 %15 = load i32, ptr %6, align 4 %16 = srem i32 %15, 7 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %34 18: ; preds = %14, %10 %19 = load i32, ptr %6, align 4 %20 = srem i32 %19, 6 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %26 22: ; preds = %18 %23 = load i32, ptr %6, align 4 %24 = srem i32 %23, 7 %25 = icmp eq i32 %24, 0 br i1 %25, label %33, label %26 26: ; preds = %22, %18 %27 = load i32, ptr %6, align 4 %28 = icmp sge i32 %27, 6 br i1 %28, label %29, label %32 29: ; preds = %26 %30 = load i32, ptr %6, align 4 %31 = call i32 @printf(ptr noundef @.str, i32 noundef %30) br label %32 32: ; preds = %29, %26 br label %33 33: ; preds = %32, %22 br label %34 34: ; preds = %33, %14 br label %35 35: ; preds = %34 %36 = load i32, ptr %6, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %6, align 4 br label %7, !llvm.loop !6 38: ; preds = %7 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppxb91apt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = icmp slt i32 %7, 100 br i1 %8, label %.lr.ph, label %39 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %34 %10 = load i32, ptr %6, align 4 %11 = srem i32 %10, 6 %12 = icmp eq i32 %11, 0 br i1 %12, label %17, label %13 13: ; preds = %9 %14 = load i32, ptr %6, align 4 %15 = srem i32 %14, 7 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %33 17: ; preds = %13, %9 %18 = load i32, ptr %6, align 4 %19 = srem i32 %18, 6 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %25 21: ; preds = %17 %22 = load i32, ptr %6, align 4 %23 = srem i32 %22, 7 %24 = icmp eq i32 %23, 0 br i1 %24, label %32, label %25 25: ; preds = %21, %17 %26 = load i32, ptr %6, align 4 %27 = icmp sge i32 %26, 6 br i1 %27, label %28, label %31 28: ; preds = %25 %29 = load i32, ptr %6, align 4 %30 = call i32 @printf(ptr noundef @.str, i32 noundef %29) br label %31 31: ; preds = %28, %25 br label %32 32: ; preds = %31, %21 br label %33 33: ; preds = %32, %13 br label %34 34: ; preds = %33 %35 = load i32, ptr %6, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %6, align 4 %37 = load i32, ptr %6, align 4 %38 = icmp slt i32 %37, 100 br i1 %38, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %39 39: ; preds = %._crit_edge, %2 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpaybvqf59.c' source_filename = "/tmp/tmpaybvqf59.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPPROTO_IP = dso_local global i32 0, align 4 @IP_ADD_MEMBERSHIP = dso_local global i32 0, align 4 @LOG_ERR = 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/tmpaybvqf59.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPPROTO_IP = dso_local global i32 0, align 4 @IP_ADD_MEMBERSHIP = dso_local global i32 0, align 4 @LOG_ERR = 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/tmpvh9_8mec.c' source_filename = "/tmp/tmpvh9_8mec.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"Error: You need to be root\0A\00", align 1 @opterr = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [12 x i8] c"l:g:c:i:a:h\00", align 1 @optarg = dso_local global ptr null, align 8 @.str.2 = private unnamed_addr constant [36 x i8] c"length of outfile file is too long\0A\00", align 1 @E2BIG = dso_local global i32 0, align 4 @optind = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, 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 [5 x i8], align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [4096 x i8], align 16 %10 = alloca [100 x i8], 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.memset.p0.i64(ptr align 1 %6, i8 0, i64 5, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 4096, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 100, i1 false) %11 = call i64 (...) @getuid() %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %2 %14 = load i32, ptr @stderr, align 4 %15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str) %16 = call i32 @exit(i32 noundef 1) #4 unreachable 17: ; preds = %2 store i64 0, ptr @opterr, align 8 br label %18 18: ; preds = %95, %17 %19 = load i32, ptr %4, align 4 %20 = load ptr, ptr %5, align 8 %21 = call i32 @getopt(i32 noundef %19, ptr noundef %20, ptr noundef @.str.1) store i32 %21, ptr %8, align 4 %22 = icmp ne i32 %21, 1 br i1 %22, label %23, label %96 23: ; preds = %18 %24 = load i32, ptr %8, align 4 switch i32 %24, label %93 [ i32 108, label %25 i32 103, label %38 i32 99, label %61 i32 105, label %71 i32 97, label %81 i32 104, label %91 ] 25: ; preds = %23 %26 = load ptr, ptr @optarg, align 8 %27 = call i32 @strlen(ptr noundef %26) %28 = sext i32 %27 to i64 %29 = icmp ugt i64 %28, 99 br i1 %29, label %30, label %34 30: ; preds = %25 %31 = load i32, ptr @stderr, align 4 %32 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str.2) %33 = call i32 @exit(i32 noundef 1) #4 unreachable 34: ; preds = %25 %35 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0 %36 = load ptr, ptr @optarg, align 8 %37 = call i32 @strncpy(ptr noundef %35, ptr noundef %36, i32 noundef 100) br label %95 38: ; preds = %23 %39 = load ptr, ptr @optarg, align 8 %40 = call i32 @strlen(ptr noundef %39) %41 = sext i32 %40 to i64 %42 = icmp ugt i64 %41, 4 br i1 %42, label %43, label %46 43: ; preds = %38 %44 = load i32, ptr @E2BIG, align 4 %45 = sub nsw i32 0, %44 store i32 %45, ptr %3, align 4 br label %97 46: ; preds = %38 %47 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0 %48 = load ptr, ptr @optarg, align 8 %49 = call i32 @strncpy(ptr noundef %47, ptr noundef %48, i32 noundef 5) %50 = load i32, ptr @optind, align 4 %51 = load i32, ptr %4, align 4 %52 = load ptr, ptr %5, align 8 %53 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %54 = call i32 @get_command_from_argv(i32 noundef %50, i32 noundef %51, ptr noundef %52, ptr noundef @.str.3, ptr noundef %53) %55 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0 %56 = call i32 @atoi(ptr noundef %55) store i32 %56, ptr %7, align 4 %57 = load i32, ptr %7, align 4 %58 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %59 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0 %60 = call i32 @fork_command(i32 noundef 0, i32 noundef %57, ptr noundef %58, ptr noundef %59) store i32 0, ptr %3, align 4 br label %97 61: ; preds = %23 %62 = load i32, ptr @optind, align 4 %63 = load i32, ptr %4, align 4 %64 = load ptr, ptr %5, align 8 %65 = load ptr, ptr @optarg, align 8 %66 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %67 = call i32 @get_command_from_argv(i32 noundef %62, i32 noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66) %68 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %69 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0 %70 = call i32 @fork_command(i32 noundef 1, i32 noundef 0, ptr noundef %68, ptr noundef %69) store i32 0, ptr %3, align 4 br label %97 71: ; preds = %23 %72 = load i32, ptr @optind, align 4 %73 = load i32, ptr %4, align 4 %74 = load ptr, ptr %5, align 8 %75 = load ptr, ptr @optarg, align 8 %76 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %77 = call i32 @get_command_from_argv(i32 noundef %72, i32 noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76) %78 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %79 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0 %80 = call i32 @fork_command(i32 noundef 2, i32 noundef 0, ptr noundef %78, ptr noundef %79) store i32 0, ptr %3, align 4 br label %97 81: ; preds = %23 %82 = load i32, ptr @optind, align 4 %83 = load i32, ptr %4, align 4 %84 = load ptr, ptr %5, align 8 %85 = load ptr, ptr @optarg, align 8 %86 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %87 = call i32 @get_command_from_argv(i32 noundef %82, i32 noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86) %88 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %89 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0 %90 = call i32 @fork_command(i32 noundef 3, i32 noundef 0, ptr noundef %88, ptr noundef %89) store i32 0, ptr %3, align 4 br label %97 91: ; preds = %23 %92 = call i32 (...) @print_usage() store i32 0, ptr %3, align 4 br label %97 93: ; preds = %23 %94 = call i32 (...) @print_usage() store i32 1, ptr %3, align 4 br label %97 95: ; preds = %34 br label %18, !llvm.loop !6 96: ; preds = %18 store i32 0, ptr %3, align 4 br label %97 97: ; preds = %96, %93, %91, %81, %71, %61, %46, %43 %98 = load i32, ptr %3, align 4 ret i32 %98 } ; 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 @getuid(...) #2 declare i32 @fprintf(i32 noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @get_command_from_argv(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @atoi(ptr noundef) #2 declare i32 @fork_command(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @print_usage(...) #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 = { 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/tmpvh9_8mec.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"Error: You need to be root\0A\00", align 1 @opterr = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [12 x i8] c"l:g:c:i:a:h\00", align 1 @optarg = dso_local global ptr null, align 8 @.str.2 = private unnamed_addr constant [36 x i8] c"length of outfile file is too long\0A\00", align 1 @E2BIG = dso_local global i32 0, align 4 @optind = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, 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 [5 x i8], align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [4096 x i8], align 16 %10 = alloca [100 x i8], 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.memset.p0.i64(ptr align 1 %6, i8 0, i64 5, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 4096, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 100, i1 false) %11 = call i64 (...) @getuid() %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %2 %14 = load i32, ptr @stderr, align 4 %15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str) %16 = call i32 @exit(i32 noundef 1) #4 unreachable 17: ; preds = %2 store i64 0, ptr @opterr, align 8 %18 = load i32, ptr %4, align 4 %19 = load ptr, ptr %5, align 8 %20 = call i32 @getopt(i32 noundef %18, ptr noundef %19, ptr noundef @.str.1) store i32 %20, ptr %8, align 4 %21 = icmp ne i32 %20, 1 br i1 %21, label %.lr.ph, label %99 .lr.ph: ; preds = %17 br label %22 22: ; preds = %.lr.ph, %94 %23 = load i32, ptr %8, align 4 switch i32 %23, label %92 [ i32 108, label %24 i32 103, label %37 i32 99, label %60 i32 105, label %70 i32 97, label %80 i32 104, label %90 ] 24: ; preds = %22 %25 = load ptr, ptr @optarg, align 8 %26 = call i32 @strlen(ptr noundef %25) %27 = sext i32 %26 to i64 %28 = icmp ugt i64 %27, 99 br i1 %28, label %29, label %33 29: ; preds = %24 %30 = load i32, ptr @stderr, align 4 %31 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str.2) %32 = call i32 @exit(i32 noundef 1) #4 unreachable 33: ; preds = %24 %34 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0 %35 = load ptr, ptr @optarg, align 8 %36 = call i32 @strncpy(ptr noundef %34, ptr noundef %35, i32 noundef 100) br label %94 37: ; preds = %22 %38 = load ptr, ptr @optarg, align 8 %39 = call i32 @strlen(ptr noundef %38) %40 = sext i32 %39 to i64 %41 = icmp ugt i64 %40, 4 br i1 %41, label %42, label %45 42: ; preds = %37 %43 = load i32, ptr @E2BIG, align 4 %44 = sub nsw i32 0, %43 store i32 %44, ptr %3, align 4 br label %100 45: ; preds = %37 %46 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0 %47 = load ptr, ptr @optarg, align 8 %48 = call i32 @strncpy(ptr noundef %46, ptr noundef %47, i32 noundef 5) %49 = load i32, ptr @optind, align 4 %50 = load i32, ptr %4, align 4 %51 = load ptr, ptr %5, align 8 %52 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %53 = call i32 @get_command_from_argv(i32 noundef %49, i32 noundef %50, ptr noundef %51, ptr noundef @.str.3, ptr noundef %52) %54 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0 %55 = call i32 @atoi(ptr noundef %54) store i32 %55, ptr %7, align 4 %56 = load i32, ptr %7, align 4 %57 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %58 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0 %59 = call i32 @fork_command(i32 noundef 0, i32 noundef %56, ptr noundef %57, ptr noundef %58) store i32 0, ptr %3, align 4 br label %100 60: ; preds = %22 %61 = load i32, ptr @optind, align 4 %62 = load i32, ptr %4, align 4 %63 = load ptr, ptr %5, align 8 %64 = load ptr, ptr @optarg, align 8 %65 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %66 = call i32 @get_command_from_argv(i32 noundef %61, i32 noundef %62, ptr noundef %63, ptr noundef %64, ptr noundef %65) %67 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %68 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0 %69 = call i32 @fork_command(i32 noundef 1, i32 noundef 0, ptr noundef %67, ptr noundef %68) store i32 0, ptr %3, align 4 br label %100 70: ; preds = %22 %71 = load i32, ptr @optind, align 4 %72 = load i32, ptr %4, align 4 %73 = load ptr, ptr %5, align 8 %74 = load ptr, ptr @optarg, align 8 %75 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %76 = call i32 @get_command_from_argv(i32 noundef %71, i32 noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75) %77 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %78 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0 %79 = call i32 @fork_command(i32 noundef 2, i32 noundef 0, ptr noundef %77, ptr noundef %78) store i32 0, ptr %3, align 4 br label %100 80: ; preds = %22 %81 = load i32, ptr @optind, align 4 %82 = load i32, ptr %4, align 4 %83 = load ptr, ptr %5, align 8 %84 = load ptr, ptr @optarg, align 8 %85 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %86 = call i32 @get_command_from_argv(i32 noundef %81, i32 noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85) %87 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %88 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0 %89 = call i32 @fork_command(i32 noundef 3, i32 noundef 0, ptr noundef %87, ptr noundef %88) store i32 0, ptr %3, align 4 br label %100 90: ; preds = %22 %91 = call i32 (...) @print_usage() store i32 0, ptr %3, align 4 br label %100 92: ; preds = %22 %93 = call i32 (...) @print_usage() store i32 1, ptr %3, align 4 br label %100 94: ; preds = %33 %95 = load i32, ptr %4, align 4 %96 = load ptr, ptr %5, align 8 %97 = call i32 @getopt(i32 noundef %95, ptr noundef %96, ptr noundef @.str.1) store i32 %97, ptr %8, align 4 %98 = icmp ne i32 %97, 1 br i1 %98, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %94 br label %99 99: ; preds = %._crit_edge, %17 store i32 0, ptr %3, align 4 br label %100 100: ; preds = %99, %92, %90, %80, %70, %60, %45, %42 %101 = load i32, ptr %3, align 4 ret i32 %101 } ; 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 @getuid(...) #2 declare i32 @fprintf(i32 noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @get_command_from_argv(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @atoi(ptr noundef) #2 declare i32 @fork_command(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @print_usage(...) #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 = { 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/tmpjwzr5kcz.c' source_filename = "/tmp/tmpjwzr5kcz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ByteStream_read_u16(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 @ByteStream_read_byte(ptr noundef %3) %5 = shl i32 %4, 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @ByteStream_read_byte(ptr noundef %6) %8 = or i32 %5, %7 ret i32 %8 } declare i32 @ByteStream_read_byte(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjwzr5kcz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ByteStream_read_u16(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 @ByteStream_read_byte(ptr noundef %3) %5 = shl i32 %4, 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @ByteStream_read_byte(ptr noundef %6) %8 = or i32 %5, %7 ret i32 %8 } declare i32 @ByteStream_read_byte(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvuf32dng.c' source_filename = "/tmp/tmpvuf32dng.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f250(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 @f249(ptr noundef %3) ret i32 %4 } declare i32 @f249(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvuf32dng.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f250(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 @f249(ptr noundef %3) ret i32 %4 } declare i32 @f249(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8ai17mg8.c' source_filename = "/tmp/tmp8ai17mg8.c" target datalayout = "e-m:e-p270: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/tmp8ai17mg8.c" target datalayout = "e-m:e-p270: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/tmpg_0vy07c.c' source_filename = "/tmp/tmpg_0vy07c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ASN1_F_A2D_ASN1_OBJECT = dso_local global i32 0, align 4 @ASN1_R_FIRST_NUM_TOO_LARGE = dso_local global i32 0, align 4 @ASN1_R_MISSING_SECOND_NUMBER = dso_local global i32 0, align 4 @ASN1_R_INVALID_SEPARATOR = dso_local global i32 0, align 4 @ASN1_R_INVALID_DIGIT = dso_local global i32 0, align 4 @ULONG_MAX = dso_local global i32 0, align 4 @ASN1_R_SECOND_NUMBER_TOO_LARGE = dso_local global i32 0, align 4 @ASN1_R_BUFFER_TOO_SMALL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @a2d_ASN1_OBJECT(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca [24 x i8], align 16 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca ptr, align 8 %19 = alloca i64, align 8 %20 = alloca ptr, align 8 %21 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store i32 0, ptr %12, align 4 %22 = getelementptr inbounds [24 x i8], ptr %15, i64 0, i64 0 store ptr %22, ptr %16, align 8 store i32 24, ptr %17, align 4 store ptr null, ptr %20, align 8 %23 = load i32, ptr %9, align 4 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %4 store i32 0, ptr %5, align 4 br label %317 26: ; preds = %4 %27 = load i32, ptr %9, align 4 %28 = icmp eq i32 %27, -1 br i1 %28, label %29, label %32 29: ; preds = %26 %30 = load ptr, ptr %8, align 8 %31 = call i32 @strlen(ptr noundef %30) store i32 %31, ptr %9, align 4 br label %32 32: ; preds = %29, %26 br label %33 33: ; preds = %32 %34 = load ptr, ptr %8, align 8 store ptr %34, ptr %18, align 8 %35 = load ptr, ptr %18, align 8 %36 = getelementptr inbounds i8, ptr %35, i32 1 store ptr %36, ptr %18, align 8 %37 = load i8, ptr %35, align 1 %38 = sext i8 %37 to i32 store i32 %38, ptr %13, align 4 %39 = load i32, ptr %9, align 4 %40 = add nsw i32 %39, -1 store i32 %40, ptr %9, align 4 %41 = load i32, ptr %13, align 4 %42 = icmp sge i32 %41, 48 br i1 %42, label %43, label %49 43: ; preds = %33 %44 = load i32, ptr %13, align 4 %45 = icmp sle i32 %44, 50 br i1 %45, label %46, label %49 46: ; preds = %43 %47 = load i32, ptr %13, align 4 %48 = sub nsw i32 %47, 48 store i32 %48, ptr %11, align 4 br label %53 49: ; preds = %43, %33 %50 = load i32, ptr @ASN1_F_A2D_ASN1_OBJECT, align 4 %51 = load i32, ptr @ASN1_R_FIRST_NUM_TOO_LARGE, align 4 %52 = call i32 @ASN1err(i32 noundef %50, i32 noundef %51) br label %307 53: ; preds = %46 %54 = load i32, ptr %9, align 4 %55 = icmp sle i32 %54, 0 br i1 %55, label %56, label %60 56: ; preds = %53 %57 = load i32, ptr @ASN1_F_A2D_ASN1_OBJECT, align 4 %58 = load i32, ptr @ASN1_R_MISSING_SECOND_NUMBER, align 4 %59 = call i32 @ASN1err(i32 noundef %57, i32 noundef %58) br label %307 60: ; preds = %53 %61 = load ptr, ptr %18, align 8 %62 = getelementptr inbounds i8, ptr %61, i32 1 store ptr %62, ptr %18, align 8 %63 = load i8, ptr %61, align 1 %64 = sext i8 %63 to i32 store i32 %64, ptr %13, align 4 %65 = load i32, ptr %9, align 4 %66 = add nsw i32 %65, -1 store i32 %66, ptr %9, align 4 br label %67 67: ; preds = %295, %60 %68 = load i32, ptr %9, align 4 %69 = icmp sle i32 %68, 0 br i1 %69, label %70, label %71 70: ; preds = %67 br label %296 71: ; preds = %67 %72 = load i32, ptr %13, align 4 %73 = icmp ne i32 %72, 46 br i1 %73, label %74, label %81 74: ; preds = %71 %75 = load i32, ptr %13, align 4 %76 = icmp ne i32 %75, 32 br i1 %76, label %77, label %81 77: ; preds = %74 %78 = load i32, ptr @ASN1_F_A2D_ASN1_OBJECT, align 4 %79 = load i32, ptr @ASN1_R_INVALID_SEPARATOR, align 4 %80 = call i32 @ASN1err(i32 noundef %78, i32 noundef %79) br label %307 81: ; preds = %74, %71 store i64 0, ptr %19, align 8 store i32 0, ptr %14, align 4 br label %82 82: ; preds = %156, %81 %83 = load i32, ptr %9, align 4 %84 = icmp sle i32 %83, 0 br i1 %84, label %85, label %86 85: ; preds = %82 br label %157 86: ; preds = %82 %87 = load i32, ptr %9, align 4 %88 = add nsw i32 %87, -1 store i32 %88, ptr %9, align 4 %89 = load ptr, ptr %18, align 8 %90 = getelementptr inbounds i8, ptr %89, i32 1 store ptr %90, ptr %18, align 8 %91 = load i8, ptr %89, align 1 %92 = sext i8 %91 to i32 store i32 %92, ptr %13, align 4 %93 = load i32, ptr %13, align 4 %94 = icmp eq i32 %93, 32 br i1 %94, label %98, label %95 95: ; preds = %86 %96 = load i32, ptr %13, align 4 %97 = icmp eq i32 %96, 46 br i1 %97, label %98, label %99 98: ; preds = %95, %86 br label %157 99: ; preds = %95 %100 = load i32, ptr %13, align 4 %101 = icmp slt i32 %100, 48 br i1 %101, label %105, label %102 102: ; preds = %99 %103 = load i32, ptr %13, align 4 %104 = icmp sgt i32 %103, 57 br i1 %104, label %105, label %109 105: ; preds = %102, %99 %106 = load i32, ptr @ASN1_F_A2D_ASN1_OBJECT, align 4 %107 = load i32, ptr @ASN1_R_INVALID_DIGIT, align 4 %108 = call i32 @ASN1err(i32 noundef %106, i32 noundef %107) br label %307 109: ; preds = %102 %110 = load i32, ptr %14, align 4 %111 = icmp ne i32 %110, 0 br i1 %111, label %134, label %112 112: ; preds = %109 %113 = load i64, ptr %19, align 8 %114 = load i32, ptr @ULONG_MAX, align 4 %115 = sub nsw i32 %114, 80 %116 = sext i32 %115 to i64 %117 = sdiv i64 %116, 10 %118 = icmp uge i64 %113, %117 br i1 %118, label %119, label %134 119: ; preds = %112 store i32 1, ptr %14, align 4 %120 = load ptr, ptr %20, align 8 %121 = icmp ne ptr %120, null br i1 %121, label %124, label %122 122: ; preds = %119 %123 = call ptr (...) @BN_new() store ptr %123, ptr %20, align 8 br label %124 124: ; preds = %122, %119 %125 = load ptr, ptr %20, align 8 %126 = icmp ne ptr %125, null br i1 %126, label %127, label %132 127: ; preds = %124 %128 = load ptr, ptr %20, align 8 %129 = load i64, ptr %19, align 8 %130 = call i32 @BN_set_word(ptr noundef %128, i64 noundef %129) %131 = icmp ne i32 %130, 0 br i1 %131, label %133, label %132 132: ; preds = %127, %124 br label %307 133: ; preds = %127 br label %134 134: ; preds = %133, %112, %109 %135 = load i32, ptr %14, align 4 %136 = icmp ne i32 %135, 0 br i1 %136, label %137, label %149 137: ; preds = %134 %138 = load ptr, ptr %20, align 8 %139 = call i32 @BN_mul_word(ptr noundef %138, i64 noundef 10) %140 = icmp ne i32 %139, 0 br i1 %140, label %141, label %147 141: ; preds = %137 %142 = load ptr, ptr %20, align 8 %143 = load i32, ptr %13, align 4 %144 = sub nsw i32 %143, 48 %145 = call i32 @BN_add_word(ptr noundef %142, i32 noundef %144) %146 = icmp ne i32 %145, 0 br i1 %146, label %148, label %147 147: ; preds = %141, %137 br label %307 148: ; preds = %141 br label %156 149: ; preds = %134 %150 = load i64, ptr %19, align 8 %151 = mul i64 %150, 10 %152 = load i32, ptr %13, align 4 %153 = sub nsw i32 %152, 48 %154 = sext i32 %153 to i64 %155 = add i64 %151, %154 store i64 %155, ptr %19, align 8 br label %156 156: ; preds = %149, %148 br label %82 157: ; preds = %98, %85 %158 = load i32, ptr %12, align 4 %159 = icmp eq i32 %158, 0 br i1 %159, label %160, label %188 160: ; preds = %157 %161 = load i32, ptr %11, align 4 %162 = icmp slt i32 %161, 2 br i1 %162, label %163, label %170 163: ; preds = %160 %164 = load i64, ptr %19, align 8 %165 = icmp uge i64 %164, 40 br i1 %165, label %166, label %170 166: ; preds = %163 %167 = load i32, ptr @ASN1_F_A2D_ASN1_OBJECT, align 4 %168 = load i32, ptr @ASN1_R_SECOND_NUMBER_TOO_LARGE, align 4 %169 = call i32 @ASN1err(i32 noundef %167, i32 noundef %168) br label %307 170: ; preds = %163, %160 %171 = load i32, ptr %14, align 4 %172 = icmp ne i32 %171, 0 br i1 %172, label %173, label %181 173: ; preds = %170 %174 = load ptr, ptr %20, align 8 %175 = load i32, ptr %11, align 4 %176 = mul nsw i32 %175, 40 %177 = call i32 @BN_add_word(ptr noundef %174, i32 noundef %176) %178 = icmp ne i32 %177, 0 br i1 %178, label %180, label %179 179: ; preds = %173 br label %307 180: ; preds = %173 br label %187 181: ; preds = %170 %182 = load i32, ptr %11, align 4 %183 = sext i32 %182 to i64 %184 = mul nsw i64 %183, 40 %185 = load i64, ptr %19, align 8 %186 = add i64 %185, %184 store i64 %186, ptr %19, align 8 br label %187 187: ; preds = %181, %180 br label %188 188: ; preds = %187, %157 store i32 0, ptr %10, align 4 %189 = load i32, ptr %14, align 4 %190 = icmp ne i32 %189, 0 br i1 %190, label %191, label %231 191: ; preds = %188 %192 = load ptr, ptr %20, align 8 %193 = call i32 @BN_num_bits(ptr noundef %192) store i32 %193, ptr %21, align 4 %194 = load i32, ptr %21, align 4 %195 = add nsw i32 %194, 6 %196 = sdiv i32 %195, 7 store i32 %196, ptr %21, align 4 %197 = load i32, ptr %21, align 4 %198 = load i32, ptr %17, align 4 %199 = icmp sgt i32 %197, %198 br i1 %199, label %200, label %216 200: ; preds = %191 %201 = load ptr, ptr %16, align 8 %202 = getelementptr inbounds [24 x i8], ptr %15, i64 0, i64 0 %203 = icmp ne ptr %201, %202 br i1 %203, label %204, label %207 204: ; preds = %200 %205 = load ptr, ptr %16, align 8 %206 = call i32 @free(ptr noundef %205) br label %207 207: ; preds = %204, %200 %208 = load i32, ptr %21, align 4 %209 = add nsw i32 %208, 32 store i32 %209, ptr %17, align 4 %210 = load i32, ptr %17, align 4 %211 = call ptr @malloc(i32 noundef %210) store ptr %211, ptr %16, align 8 %212 = load ptr, ptr %16, align 8 %213 = icmp ne ptr %212, null br i1 %213, label %215, label %214 214: ; preds = %207 br label %307 215: ; preds = %207 br label %216 216: ; preds = %215, %191 br label %217 217: ; preds = %221, %216 %218 = load i32, ptr %21, align 4 %219 = add nsw i32 %218, -1 store i32 %219, ptr %21, align 4 %220 = icmp ne i32 %218, 0 br i1 %220, label %221, label %230 221: ; preds = %217 %222 = load ptr, ptr %20, align 8 %223 = call i64 @BN_div_word(ptr noundef %222, i32 noundef 128) %224 = trunc i64 %223 to i8 %225 = load ptr, ptr %16, align 8 %226 = load i32, ptr %10, align 4 %227 = add nsw i32 %226, 1 store i32 %227, ptr %10, align 4 %228 = sext i32 %226 to i64 %229 = getelementptr inbounds i8, ptr %225, i64 %228 store i8 %224, ptr %229, align 1 br label %217, !llvm.loop !6 230: ; preds = %217 br label %250 231: ; preds = %188 br label %232 232: ; preds = %248, %231 %233 = load i64, ptr %19, align 8 %234 = trunc i64 %233 to i8 %235 = zext i8 %234 to i32 %236 = and i32 %235, 127 %237 = trunc i32 %236 to i8 %238 = load ptr, ptr %16, align 8 %239 = load i32, ptr %10, align 4 %240 = add nsw i32 %239, 1 store i32 %240, ptr %10, align 4 %241 = sext i32 %239 to i64 %242 = getelementptr inbounds i8, ptr %238, i64 %241 store i8 %237, ptr %242, align 1 %243 = load i64, ptr %19, align 8 %244 = lshr i64 %243, 7 store i64 %244, ptr %19, align 8 %245 = load i64, ptr %19, align 8 %246 = icmp eq i64 %245, 0 br i1 %246, label %247, label %248 247: ; preds = %232 br label %249 248: ; preds = %232 br label %232 249: ; preds = %247 br label %250 250: ; preds = %249, %230 %251 = load ptr, ptr %6, align 8 %252 = icmp ne ptr %251, null br i1 %252, label %253, label %291 253: ; preds = %250 %254 = load i32, ptr %12, align 4 %255 = load i32, ptr %10, align 4 %256 = add nsw i32 %254, %255 %257 = load i32, ptr %7, align 4 %258 = icmp sgt i32 %256, %257 br i1 %258, label %259, label %263 259: ; preds = %253 %260 = load i32, ptr @ASN1_F_A2D_ASN1_OBJECT, align 4 %261 = load i32, ptr @ASN1_R_BUFFER_TOO_SMALL, align 4 %262 = call i32 @ASN1err(i32 noundef %260, i32 noundef %261) br label %307 263: ; preds = %253 br label %264 264: ; preds = %268, %263 %265 = load i32, ptr %10, align 4 %266 = add nsw i32 %265, -1 store i32 %266, ptr %10, align 4 %267 = icmp sgt i32 %266, 0 br i1 %267, label %268, label %282 268: ; preds = %264 %269 = load ptr, ptr %16, align 8 %270 = load i32, ptr %10, align 4 %271 = sext i32 %270 to i64 %272 = getelementptr inbounds i8, ptr %269, i64 %271 %273 = load i8, ptr %272, align 1 %274 = sext i8 %273 to i32 %275 = or i32 %274, 128 %276 = trunc i32 %275 to i8 %277 = load ptr, ptr %6, align 8 %278 = load i32, ptr %12, align 4 %279 = add nsw i32 %278, 1 store i32 %279, ptr %12, align 4 %280 = sext i32 %278 to i64 %281 = getelementptr inbounds i8, ptr %277, i64 %280 store i8 %276, ptr %281, align 1 br label %264, !llvm.loop !8 282: ; preds = %264 %283 = load ptr, ptr %16, align 8 %284 = getelementptr inbounds i8, ptr %283, i64 0 %285 = load i8, ptr %284, align 1 %286 = load ptr, ptr %6, align 8 %287 = load i32, ptr %12, align 4 %288 = add nsw i32 %287, 1 store i32 %288, ptr %12, align 4 %289 = sext i32 %287 to i64 %290 = getelementptr inbounds i8, ptr %286, i64 %289 store i8 %285, ptr %290, align 1 br label %295 291: ; preds = %250 %292 = load i32, ptr %10, align 4 %293 = load i32, ptr %12, align 4 %294 = add nsw i32 %293, %292 store i32 %294, ptr %12, align 4 br label %295 295: ; preds = %291, %282 br label %67 296: ; preds = %70 %297 = load ptr, ptr %16, align 8 %298 = getelementptr inbounds [24 x i8], ptr %15, i64 0, i64 0 %299 = icmp ne ptr %297, %298 br i1 %299, label %300, label %303 300: ; preds = %296 %301 = load ptr, ptr %16, align 8 %302 = call i32 @free(ptr noundef %301) br label %303 303: ; preds = %300, %296 %304 = load ptr, ptr %20, align 8 %305 = call i32 @BN_free(ptr noundef %304) %306 = load i32, ptr %12, align 4 store i32 %306, ptr %5, align 4 br label %317 307: ; preds = %259, %214, %179, %166, %147, %132, %105, %77, %56, %49 %308 = load ptr, ptr %16, align 8 %309 = getelementptr inbounds [24 x i8], ptr %15, i64 0, i64 0 %310 = icmp ne ptr %308, %309 br i1 %310, label %311, label %314 311: ; preds = %307 %312 = load ptr, ptr %16, align 8 %313 = call i32 @free(ptr noundef %312) br label %314 314: ; preds = %311, %307 %315 = load ptr, ptr %20, align 8 %316 = call i32 @BN_free(ptr noundef %315) store i32 0, ptr %5, align 4 br label %317 317: ; preds = %314, %303, %25 %318 = load i32, ptr %5, align 4 ret i32 %318 } declare i32 @strlen(ptr noundef) #1 declare i32 @ASN1err(i32 noundef, i32 noundef) #1 declare ptr @BN_new(...) #1 declare i32 @BN_set_word(ptr noundef, i64 noundef) #1 declare i32 @BN_mul_word(ptr noundef, i64 noundef) #1 declare i32 @BN_add_word(ptr noundef, i32 noundef) #1 declare i32 @BN_num_bits(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i64 @BN_div_word(ptr noundef, i32 noundef) #1 declare i32 @BN_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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg_0vy07c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ASN1_F_A2D_ASN1_OBJECT = dso_local global i32 0, align 4 @ASN1_R_FIRST_NUM_TOO_LARGE = dso_local global i32 0, align 4 @ASN1_R_MISSING_SECOND_NUMBER = dso_local global i32 0, align 4 @ASN1_R_INVALID_SEPARATOR = dso_local global i32 0, align 4 @ASN1_R_INVALID_DIGIT = dso_local global i32 0, align 4 @ULONG_MAX = dso_local global i32 0, align 4 @ASN1_R_SECOND_NUMBER_TOO_LARGE = dso_local global i32 0, align 4 @ASN1_R_BUFFER_TOO_SMALL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @a2d_ASN1_OBJECT(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca [24 x i8], align 16 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca ptr, align 8 %19 = alloca i64, align 8 %20 = alloca ptr, align 8 %21 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store i32 0, ptr %12, align 4 %22 = getelementptr inbounds [24 x i8], ptr %15, i64 0, i64 0 store ptr %22, ptr %16, align 8 store i32 24, ptr %17, align 4 store ptr null, ptr %20, align 8 %23 = load i32, ptr %9, align 4 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %4 store i32 0, ptr %5, align 4 br label %322 26: ; preds = %4 %27 = load i32, ptr %9, align 4 %28 = icmp eq i32 %27, -1 br i1 %28, label %29, label %32 29: ; preds = %26 %30 = load ptr, ptr %8, align 8 %31 = call i32 @strlen(ptr noundef %30) store i32 %31, ptr %9, align 4 br label %32 32: ; preds = %29, %26 br label %33 33: ; preds = %32 %34 = load ptr, ptr %8, align 8 store ptr %34, ptr %18, align 8 %35 = load ptr, ptr %18, align 8 %36 = getelementptr inbounds i8, ptr %35, i32 1 store ptr %36, ptr %18, align 8 %37 = load i8, ptr %35, align 1 %38 = sext i8 %37 to i32 store i32 %38, ptr %13, align 4 %39 = load i32, ptr %9, align 4 %40 = add nsw i32 %39, -1 store i32 %40, ptr %9, align 4 %41 = load i32, ptr %13, align 4 %42 = icmp sge i32 %41, 48 br i1 %42, label %43, label %49 43: ; preds = %33 %44 = load i32, ptr %13, align 4 %45 = icmp sle i32 %44, 50 br i1 %45, label %46, label %49 46: ; preds = %43 %47 = load i32, ptr %13, align 4 %48 = sub nsw i32 %47, 48 store i32 %48, ptr %11, align 4 br label %53 49: ; preds = %43, %33 %50 = load i32, ptr @ASN1_F_A2D_ASN1_OBJECT, align 4 %51 = load i32, ptr @ASN1_R_FIRST_NUM_TOO_LARGE, align 4 %52 = call i32 @ASN1err(i32 noundef %50, i32 noundef %51) br label %312 53: ; preds = %46 %54 = load i32, ptr %9, align 4 %55 = icmp sle i32 %54, 0 br i1 %55, label %56, label %60 56: ; preds = %53 %57 = load i32, ptr @ASN1_F_A2D_ASN1_OBJECT, align 4 %58 = load i32, ptr @ASN1_R_MISSING_SECOND_NUMBER, align 4 %59 = call i32 @ASN1err(i32 noundef %57, i32 noundef %58) br label %312 60: ; preds = %53 %61 = load ptr, ptr %18, align 8 %62 = getelementptr inbounds i8, ptr %61, i32 1 store ptr %62, ptr %18, align 8 %63 = load i8, ptr %61, align 1 %64 = sext i8 %63 to i32 store i32 %64, ptr %13, align 4 %65 = load i32, ptr %9, align 4 %66 = add nsw i32 %65, -1 store i32 %66, ptr %9, align 4 %67 = load i32, ptr %9, align 4 %68 = icmp sle i32 %67, 0 br i1 %68, label %69, label %.lr.ph8 .lr.ph8: ; preds = %60 br label %70 ._crit_edge9: ; preds = %298 br label %69 69: ; preds = %._crit_edge9, %60 br label %301 70: ; preds = %.lr.ph8, %298 %71 = load i32, ptr %13, align 4 %72 = icmp ne i32 %71, 46 br i1 %72, label %73, label %80 73: ; preds = %70 %74 = load i32, ptr %13, align 4 %75 = icmp ne i32 %74, 32 br i1 %75, label %76, label %80 76: ; preds = %73 %77 = load i32, ptr @ASN1_F_A2D_ASN1_OBJECT, align 4 %78 = load i32, ptr @ASN1_R_INVALID_SEPARATOR, align 4 %79 = call i32 @ASN1err(i32 noundef %77, i32 noundef %78) br label %312 80: ; preds = %73, %70 store i64 0, ptr %19, align 8 store i32 0, ptr %14, align 4 %81 = load i32, ptr %9, align 4 %82 = icmp sle i32 %81, 0 br i1 %82, label %83, label %.lr.ph .lr.ph: ; preds = %80 br label %84 ._crit_edge: ; preds = %154 br label %83 83: ; preds = %._crit_edge, %80 br label %157 84: ; preds = %.lr.ph, %154 %85 = load i32, ptr %9, align 4 %86 = add nsw i32 %85, -1 store i32 %86, ptr %9, align 4 %87 = load ptr, ptr %18, align 8 %88 = getelementptr inbounds i8, ptr %87, i32 1 store ptr %88, ptr %18, align 8 %89 = load i8, ptr %87, align 1 %90 = sext i8 %89 to i32 store i32 %90, ptr %13, align 4 %91 = load i32, ptr %13, align 4 %92 = icmp eq i32 %91, 32 br i1 %92, label %96, label %93 93: ; preds = %84 %94 = load i32, ptr %13, align 4 %95 = icmp eq i32 %94, 46 br i1 %95, label %96, label %97 96: ; preds = %93, %84 br label %157 97: ; preds = %93 %98 = load i32, ptr %13, align 4 %99 = icmp slt i32 %98, 48 br i1 %99, label %103, label %100 100: ; preds = %97 %101 = load i32, ptr %13, align 4 %102 = icmp sgt i32 %101, 57 br i1 %102, label %103, label %107 103: ; preds = %100, %97 %104 = load i32, ptr @ASN1_F_A2D_ASN1_OBJECT, align 4 %105 = load i32, ptr @ASN1_R_INVALID_DIGIT, align 4 %106 = call i32 @ASN1err(i32 noundef %104, i32 noundef %105) br label %312 107: ; preds = %100 %108 = load i32, ptr %14, align 4 %109 = icmp ne i32 %108, 0 br i1 %109, label %132, label %110 110: ; preds = %107 %111 = load i64, ptr %19, align 8 %112 = load i32, ptr @ULONG_MAX, align 4 %113 = sub nsw i32 %112, 80 %114 = sext i32 %113 to i64 %115 = sdiv i64 %114, 10 %116 = icmp uge i64 %111, %115 br i1 %116, label %117, label %132 117: ; preds = %110 store i32 1, ptr %14, align 4 %118 = load ptr, ptr %20, align 8 %119 = icmp ne ptr %118, null br i1 %119, label %122, label %120 120: ; preds = %117 %121 = call ptr (...) @BN_new() store ptr %121, ptr %20, align 8 br label %122 122: ; preds = %120, %117 %123 = load ptr, ptr %20, align 8 %124 = icmp ne ptr %123, null br i1 %124, label %125, label %130 125: ; preds = %122 %126 = load ptr, ptr %20, align 8 %127 = load i64, ptr %19, align 8 %128 = call i32 @BN_set_word(ptr noundef %126, i64 noundef %127) %129 = icmp ne i32 %128, 0 br i1 %129, label %131, label %130 130: ; preds = %125, %122 br label %312 131: ; preds = %125 br label %132 132: ; preds = %131, %110, %107 %133 = load i32, ptr %14, align 4 %134 = icmp ne i32 %133, 0 br i1 %134, label %135, label %147 135: ; preds = %132 %136 = load ptr, ptr %20, align 8 %137 = call i32 @BN_mul_word(ptr noundef %136, i64 noundef 10) %138 = icmp ne i32 %137, 0 br i1 %138, label %139, label %145 139: ; preds = %135 %140 = load ptr, ptr %20, align 8 %141 = load i32, ptr %13, align 4 %142 = sub nsw i32 %141, 48 %143 = call i32 @BN_add_word(ptr noundef %140, i32 noundef %142) %144 = icmp ne i32 %143, 0 br i1 %144, label %146, label %145 145: ; preds = %139, %135 br label %312 146: ; preds = %139 br label %154 147: ; preds = %132 %148 = load i64, ptr %19, align 8 %149 = mul i64 %148, 10 %150 = load i32, ptr %13, align 4 %151 = sub nsw i32 %150, 48 %152 = sext i32 %151 to i64 %153 = add i64 %149, %152 store i64 %153, ptr %19, align 8 br label %154 154: ; preds = %147, %146 %155 = load i32, ptr %9, align 4 %156 = icmp sle i32 %155, 0 br i1 %156, label %._crit_edge, label %84 157: ; preds = %96, %83 %158 = load i32, ptr %12, align 4 %159 = icmp eq i32 %158, 0 br i1 %159, label %160, label %188 160: ; preds = %157 %161 = load i32, ptr %11, align 4 %162 = icmp slt i32 %161, 2 br i1 %162, label %163, label %170 163: ; preds = %160 %164 = load i64, ptr %19, align 8 %165 = icmp uge i64 %164, 40 br i1 %165, label %166, label %170 166: ; preds = %163 %167 = load i32, ptr @ASN1_F_A2D_ASN1_OBJECT, align 4 %168 = load i32, ptr @ASN1_R_SECOND_NUMBER_TOO_LARGE, align 4 %169 = call i32 @ASN1err(i32 noundef %167, i32 noundef %168) br label %312 170: ; preds = %163, %160 %171 = load i32, ptr %14, align 4 %172 = icmp ne i32 %171, 0 br i1 %172, label %173, label %181 173: ; preds = %170 %174 = load ptr, ptr %20, align 8 %175 = load i32, ptr %11, align 4 %176 = mul nsw i32 %175, 40 %177 = call i32 @BN_add_word(ptr noundef %174, i32 noundef %176) %178 = icmp ne i32 %177, 0 br i1 %178, label %180, label %179 179: ; preds = %173 br label %312 180: ; preds = %173 br label %187 181: ; preds = %170 %182 = load i32, ptr %11, align 4 %183 = sext i32 %182 to i64 %184 = mul nsw i64 %183, 40 %185 = load i64, ptr %19, align 8 %186 = add i64 %185, %184 store i64 %186, ptr %19, align 8 br label %187 187: ; preds = %181, %180 br label %188 188: ; preds = %187, %157 store i32 0, ptr %10, align 4 %189 = load i32, ptr %14, align 4 %190 = icmp ne i32 %189, 0 br i1 %190, label %191, label %233 191: ; preds = %188 %192 = load ptr, ptr %20, align 8 %193 = call i32 @BN_num_bits(ptr noundef %192) store i32 %193, ptr %21, align 4 %194 = load i32, ptr %21, align 4 %195 = add nsw i32 %194, 6 %196 = sdiv i32 %195, 7 store i32 %196, ptr %21, align 4 %197 = load i32, ptr %21, align 4 %198 = load i32, ptr %17, align 4 %199 = icmp sgt i32 %197, %198 br i1 %199, label %200, label %216 200: ; preds = %191 %201 = load ptr, ptr %16, align 8 %202 = getelementptr inbounds [24 x i8], ptr %15, i64 0, i64 0 %203 = icmp ne ptr %201, %202 br i1 %203, label %204, label %207 204: ; preds = %200 %205 = load ptr, ptr %16, align 8 %206 = call i32 @free(ptr noundef %205) br label %207 207: ; preds = %204, %200 %208 = load i32, ptr %21, align 4 %209 = add nsw i32 %208, 32 store i32 %209, ptr %17, align 4 %210 = load i32, ptr %17, align 4 %211 = call ptr @malloc(i32 noundef %210) store ptr %211, ptr %16, align 8 %212 = load ptr, ptr %16, align 8 %213 = icmp ne ptr %212, null br i1 %213, label %215, label %214 214: ; preds = %207 br label %312 215: ; preds = %207 br label %216 216: ; preds = %215, %191 %217 = load i32, ptr %21, align 4 %218 = add nsw i32 %217, -1 store i32 %218, ptr %21, align 4 %219 = icmp ne i32 %217, 0 br i1 %219, label %.lr.ph2, label %232 .lr.ph2: ; preds = %216 br label %220 220: ; preds = %.lr.ph2, %220 %221 = load ptr, ptr %20, align 8 %222 = call i64 @BN_div_word(ptr noundef %221, i32 noundef 128) %223 = trunc i64 %222 to i8 %224 = load ptr, ptr %16, align 8 %225 = load i32, ptr %10, align 4 %226 = add nsw i32 %225, 1 store i32 %226, ptr %10, align 4 %227 = sext i32 %225 to i64 %228 = getelementptr inbounds i8, ptr %224, i64 %227 store i8 %223, ptr %228, align 1 %229 = load i32, ptr %21, align 4 %230 = add nsw i32 %229, -1 store i32 %230, ptr %21, align 4 %231 = icmp ne i32 %229, 0 br i1 %231, label %220, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %220 br label %232 232: ; preds = %._crit_edge3, %216 br label %251 233: ; preds = %188 br label %234 234: ; preds = %234, %233 %235 = load i64, ptr %19, align 8 %236 = trunc i64 %235 to i8 %237 = zext i8 %236 to i32 %238 = and i32 %237, 127 %239 = trunc i32 %238 to i8 %240 = load ptr, ptr %16, align 8 %241 = load i32, ptr %10, align 4 %242 = add nsw i32 %241, 1 store i32 %242, ptr %10, align 4 %243 = sext i32 %241 to i64 %244 = getelementptr inbounds i8, ptr %240, i64 %243 store i8 %239, ptr %244, align 1 %245 = load i64, ptr %19, align 8 %246 = lshr i64 %245, 7 store i64 %246, ptr %19, align 8 %247 = load i64, ptr %19, align 8 %248 = icmp eq i64 %247, 0 br i1 %248, label %249, label %234 249: ; preds = %234 br label %250 250: ; preds = %249 br label %251 251: ; preds = %250, %232 %252 = load ptr, ptr %6, align 8 %253 = icmp ne ptr %252, null br i1 %253, label %254, label %294 254: ; preds = %251 %255 = load i32, ptr %12, align 4 %256 = load i32, ptr %10, align 4 %257 = add nsw i32 %255, %256 %258 = load i32, ptr %7, align 4 %259 = icmp sgt i32 %257, %258 br i1 %259, label %260, label %264 260: ; preds = %254 %261 = load i32, ptr @ASN1_F_A2D_ASN1_OBJECT, align 4 %262 = load i32, ptr @ASN1_R_BUFFER_TOO_SMALL, align 4 %263 = call i32 @ASN1err(i32 noundef %261, i32 noundef %262) br label %312 264: ; preds = %254 %265 = load i32, ptr %10, align 4 %266 = add nsw i32 %265, -1 store i32 %266, ptr %10, align 4 %267 = icmp sgt i32 %266, 0 br i1 %267, label %.lr.ph5, label %285 .lr.ph5: ; preds = %264 br label %268 268: ; preds = %.lr.ph5, %268 %269 = load ptr, ptr %16, align 8 %270 = load i32, ptr %10, align 4 %271 = sext i32 %270 to i64 %272 = getelementptr inbounds i8, ptr %269, i64 %271 %273 = load i8, ptr %272, align 1 %274 = sext i8 %273 to i32 %275 = or i32 %274, 128 %276 = trunc i32 %275 to i8 %277 = load ptr, ptr %6, align 8 %278 = load i32, ptr %12, align 4 %279 = add nsw i32 %278, 1 store i32 %279, ptr %12, align 4 %280 = sext i32 %278 to i64 %281 = getelementptr inbounds i8, ptr %277, i64 %280 store i8 %276, ptr %281, align 1 %282 = load i32, ptr %10, align 4 %283 = add nsw i32 %282, -1 store i32 %283, ptr %10, align 4 %284 = icmp sgt i32 %283, 0 br i1 %284, label %268, label %._crit_edge6, !llvm.loop !8 ._crit_edge6: ; preds = %268 br label %285 285: ; preds = %._crit_edge6, %264 %286 = load ptr, ptr %16, align 8 %287 = getelementptr inbounds i8, ptr %286, i64 0 %288 = load i8, ptr %287, align 1 %289 = load ptr, ptr %6, align 8 %290 = load i32, ptr %12, align 4 %291 = add nsw i32 %290, 1 store i32 %291, ptr %12, align 4 %292 = sext i32 %290 to i64 %293 = getelementptr inbounds i8, ptr %289, i64 %292 store i8 %288, ptr %293, align 1 br label %298 294: ; preds = %251 %295 = load i32, ptr %10, align 4 %296 = load i32, ptr %12, align 4 %297 = add nsw i32 %296, %295 store i32 %297, ptr %12, align 4 br label %298 298: ; preds = %294, %285 %299 = load i32, ptr %9, align 4 %300 = icmp sle i32 %299, 0 br i1 %300, label %._crit_edge9, label %70 301: ; preds = %69 %302 = load ptr, ptr %16, align 8 %303 = getelementptr inbounds [24 x i8], ptr %15, i64 0, i64 0 %304 = icmp ne ptr %302, %303 br i1 %304, label %305, label %308 305: ; preds = %301 %306 = load ptr, ptr %16, align 8 %307 = call i32 @free(ptr noundef %306) br label %308 308: ; preds = %305, %301 %309 = load ptr, ptr %20, align 8 %310 = call i32 @BN_free(ptr noundef %309) %311 = load i32, ptr %12, align 4 store i32 %311, ptr %5, align 4 br label %322 312: ; preds = %260, %214, %179, %166, %145, %130, %103, %76, %56, %49 %313 = load ptr, ptr %16, align 8 %314 = getelementptr inbounds [24 x i8], ptr %15, i64 0, i64 0 %315 = icmp ne ptr %313, %314 br i1 %315, label %316, label %319 316: ; preds = %312 %317 = load ptr, ptr %16, align 8 %318 = call i32 @free(ptr noundef %317) br label %319 319: ; preds = %316, %312 %320 = load ptr, ptr %20, align 8 %321 = call i32 @BN_free(ptr noundef %320) store i32 0, ptr %5, align 4 br label %322 322: ; preds = %319, %308, %25 %323 = load i32, ptr %5, align 4 ret i32 %323 } declare i32 @strlen(ptr noundef) #1 declare i32 @ASN1err(i32 noundef, i32 noundef) #1 declare ptr @BN_new(...) #1 declare i32 @BN_set_word(ptr noundef, i64 noundef) #1 declare i32 @BN_mul_word(ptr noundef, i64 noundef) #1 declare i32 @BN_add_word(ptr noundef, i32 noundef) #1 declare i32 @BN_num_bits(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i64 @BN_div_word(ptr noundef, i32 noundef) #1 declare i32 @BN_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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpvjli4j3i.c' source_filename = "/tmp/tmpvjli4j3i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 (...) @install_syscall_filter() %9 = call i32 @time(ptr noundef %7) %10 = call i64 (...) @getpid() store i64 %10, ptr %6, align 8 %11 = load i64, ptr %6, align 8 %12 = trunc i64 %11 to i32 %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) ret i32 0 } declare i32 @install_syscall_filter(...) #1 declare i32 @time(ptr noundef) #1 declare i64 @getpid(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvjli4j3i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 (...) @install_syscall_filter() %9 = call i32 @time(ptr noundef %7) %10 = call i64 (...) @getpid() store i64 %10, ptr %6, align 8 %11 = load i64, ptr %6, align 8 %12 = trunc i64 %11 to i32 %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) ret i32 0 } declare i32 @install_syscall_filter(...) #1 declare i32 @time(ptr noundef) #1 declare i64 @getpid(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2pgqxfg2.c' source_filename = "/tmp/tmp2pgqxfg2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c">%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c">>%lld\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c">>>%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c">>>>%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 10, ptr %2, align 4 br label %4 4: ; preds = %7, %0 %5 = load i32, ptr %2, align 4 %6 = call i32 @printf(ptr noundef @.str, i32 noundef %5) br label %7 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = add nsw i32 %8, -1 store i32 %9, ptr %2, align 4 %10 = icmp ne i32 %8, 0 br i1 %10, label %4, label %11, !llvm.loop !6 11: ; preds = %7 store i64 10, ptr %3, align 8 br label %12 12: ; preds = %16, %11 %13 = load i64, ptr %3, align 8 %14 = trunc i64 %13 to i32 %15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14) br label %16 16: ; preds = %12 %17 = load i64, ptr %3, align 8 %18 = add nsw i64 %17, -1 store i64 %18, ptr %3, align 8 %19 = icmp ne i64 %17, 0 br i1 %19, label %12, label %20, !llvm.loop !8 20: ; preds = %16 store i32 10, ptr %2, align 4 br label %21 21: ; preds = %30, %20 %22 = load i32, ptr %2, align 4 %23 = add nsw i32 %22, -1 store i32 %23, ptr %2, align 4 %24 = icmp ne i32 %22, 0 br i1 %24, label %26, label %25 25: ; preds = %21 br label %31 26: ; preds = %21 %27 = load i32, ptr %2, align 4 %28 = call i32 @printf(ptr noundef @.str.2, i32 noundef %27) br label %29 29: ; preds = %26 br label %30 30: ; preds = %29 br i1 true, label %21, label %31 31: ; preds = %30, %25 %32 = load i32, ptr %2, align 4 %33 = call i32 @printf(ptr noundef @.str.3, i32 noundef %32) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2pgqxfg2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c">%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c">>%lld\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c">>>%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c">>>>%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 10, ptr %2, align 4 br label %4 4: ; preds = %7, %0 %5 = load i32, ptr %2, align 4 %6 = call i32 @printf(ptr noundef @.str, i32 noundef %5) br label %7 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = add nsw i32 %8, -1 store i32 %9, ptr %2, align 4 %10 = icmp ne i32 %8, 0 br i1 %10, label %4, label %11, !llvm.loop !6 11: ; preds = %7 store i64 10, ptr %3, align 8 br label %12 12: ; preds = %16, %11 %13 = load i64, ptr %3, align 8 %14 = trunc i64 %13 to i32 %15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14) br label %16 16: ; preds = %12 %17 = load i64, ptr %3, align 8 %18 = add nsw i64 %17, -1 store i64 %18, ptr %3, align 8 %19 = icmp ne i64 %17, 0 br i1 %19, label %12, label %20, !llvm.loop !8 20: ; preds = %16 store i32 10, ptr %2, align 4 br label %21 21: ; preds = %30, %20 %22 = load i32, ptr %2, align 4 %23 = add nsw i32 %22, -1 store i32 %23, ptr %2, align 4 %24 = icmp ne i32 %22, 0 br i1 %24, label %26, label %25 25: ; preds = %21 br label %31 26: ; preds = %21 %27 = load i32, ptr %2, align 4 %28 = call i32 @printf(ptr noundef @.str.2, i32 noundef %27) br label %29 29: ; preds = %26 br label %30 30: ; preds = %29 br i1 true, label %21, label %.loopexit .loopexit: ; preds = %30 br label %31 31: ; preds = %.loopexit, %25 %32 = load i32, ptr %2, align 4 %33 = call i32 @printf(ptr noundef @.str.3, i32 noundef %32) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpgsdgnfzu.c' source_filename = "/tmp/tmpgsdgnfzu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = call ptr @nfactor_sieve(i32 noundef 200000) store ptr %10, ptr %9, align 8 store i32 646, ptr %6, align 4 br label %11 11: ; preds = %40, %2 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %12, 199996 br i1 %13, label %14, label %43 14: ; preds = %11 store i32 1, ptr %8, align 4 store i32 0, ptr %7, align 4 br label %15 15: ; preds = %30, %14 %16 = load i32, ptr %7, align 4 %17 = icmp slt i32 %16, 4 br i1 %17, label %18, label %33 18: ; preds = %15 %19 = load ptr, ptr %9, align 8 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %20, %21 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %19, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %26, 4 br i1 %27, label %28, label %29 28: ; preds = %18 store i32 0, ptr %8, align 4 br label %33 29: ; preds = %18 br label %30 30: ; preds = %29 %31 = load i32, ptr %7, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %7, align 4 br label %15, !llvm.loop !6 33: ; preds = %28, %15 %34 = load i32, ptr %8, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %33 %37 = load i32, ptr %6, align 4 %38 = call i32 @printf(ptr noundef @.str, i32 noundef %37) br label %43 39: ; preds = %33 br label %40 40: ; preds = %39 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %6, align 4 br label %11, !llvm.loop !8 43: ; preds = %36, %11 %44 = load ptr, ptr %9, align 8 %45 = call i32 @free(ptr noundef %44) ret i32 0 } declare ptr @nfactor_sieve(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgsdgnfzu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = call ptr @nfactor_sieve(i32 noundef 200000) store ptr %10, ptr %9, align 8 store i32 646, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %11, 199996 br i1 %12, label %.lr.ph2, label %.loopexit1 .lr.ph2: ; preds = %2 br label %13 13: ; preds = %.lr.ph2, %40 store i32 1, ptr %8, align 4 store i32 0, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp slt i32 %14, 4 br i1 %15, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %13 br label %16 16: ; preds = %.lr.ph, %28 %17 = load ptr, ptr %9, align 8 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %7, align 4 %20 = add nsw i32 %18, %19 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %17, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp ne i32 %24, 4 br i1 %25, label %26, label %27 26: ; preds = %16 store i32 0, ptr %8, align 4 br label %33 27: ; preds = %16 br label %28 28: ; preds = %27 %29 = load i32, ptr %7, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %7, align 4 %31 = load i32, ptr %7, align 4 %32 = icmp slt i32 %31, 4 br i1 %32, label %16, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %28 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %13 br label %33 33: ; preds = %.loopexit, %26 %34 = load i32, ptr %8, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %33 %37 = load i32, ptr %6, align 4 %38 = call i32 @printf(ptr noundef @.str, i32 noundef %37) br label %45 39: ; preds = %33 br label %40 40: ; preds = %39 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %6, align 4 %43 = load i32, ptr %6, align 4 %44 = icmp slt i32 %43, 199996 br i1 %44, label %13, label %..loopexit1_crit_edge, !llvm.loop !8 ..loopexit1_crit_edge: ; preds = %40 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %2 br label %45 45: ; preds = %.loopexit1, %36 %46 = load ptr, ptr %9, align 8 %47 = call i32 @free(ptr noundef %46) ret i32 0 } declare ptr @nfactor_sieve(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpuy41mwao.c' source_filename = "/tmp/tmpuy41mwao.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = load i32, ptr @stdout, align 4 %4 = call ptr @freopen(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %3) store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %0 %8 = load ptr, ptr %2, align 8 %9 = call i32 @fclose(ptr noundef %8) br label %10 10: ; preds = %7, %0 ret i32 0 } declare ptr @freopen(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuy41mwao.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = load i32, ptr @stdout, align 4 %4 = call ptr @freopen(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %3) store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %0 %8 = load ptr, ptr %2, align 8 %9 = call i32 @fclose(ptr noundef %8) br label %10 10: ; preds = %7, %0 ret i32 0 } declare ptr @freopen(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm6v0hstj.c' source_filename = "/tmp/tmpm6v0hstj.c" target datalayout = "e-m:e-p270: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 [77 x i8] c"The program %s generates all combinatorial embeddings of the input graphs.\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Usage\0A=====\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c" %s [options]\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [81 x i8] c"\0AThis program can handle graphs up to %d vertices. Recompile if you need larger\0A\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"graphs.\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [29 x i8] c"Valid options\0A=============\0A\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c" -h, --help\0A\00", align 1 @.str.7 = private unnamed_addr constant [36 x i8] c" Print this help and return.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @stderr, align 4 %7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1) %8 = load i32, ptr @stderr, align 4 %9 = load ptr, ptr %2, align 8 %10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2, ptr noundef %9) %11 = load i32, ptr @stderr, align 4 %12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.3, i32 noundef 4000) %13 = load i32, ptr @stderr, align 4 %14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str.4) %15 = load i32, ptr @stderr, align 4 %16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.5) %17 = load i32, ptr @stderr, align 4 %18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.6) %19 = load i32, ptr @stderr, align 4 %20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str.7) ret void } declare i32 @fprintf(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/tmpm6v0hstj.c" target datalayout = "e-m:e-p270: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 [77 x i8] c"The program %s generates all combinatorial embeddings of the input graphs.\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Usage\0A=====\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c" %s [options]\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [81 x i8] c"\0AThis program can handle graphs up to %d vertices. Recompile if you need larger\0A\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"graphs.\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [29 x i8] c"Valid options\0A=============\0A\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c" -h, --help\0A\00", align 1 @.str.7 = private unnamed_addr constant [36 x i8] c" Print this help and return.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @stderr, align 4 %7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1) %8 = load i32, ptr @stderr, align 4 %9 = load ptr, ptr %2, align 8 %10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2, ptr noundef %9) %11 = load i32, ptr @stderr, align 4 %12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.3, i32 noundef 4000) %13 = load i32, ptr @stderr, align 4 %14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str.4) %15 = load i32, ptr @stderr, align 4 %16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.5) %17 = load i32, ptr @stderr, align 4 %18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.6) %19 = load i32, ptr @stderr, align 4 %20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str.7) ret void } declare i32 @fprintf(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/tmpogip8nao.c' source_filename = "/tmp/tmpogip8nao.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numbtrop_quaddobl_dimension(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i32 @_ada_use_c2phc(i32 noundef 731, ptr noundef %6, ptr noundef %7, ptr noundef %8) store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 ret i32 %10 } declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpogip8nao.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numbtrop_quaddobl_dimension(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i32 @_ada_use_c2phc(i32 noundef 731, ptr noundef %6, ptr noundef %7, ptr noundef %8) store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 ret i32 %10 } declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsati7rtw.c' source_filename = "/tmp/tmpsati7rtw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [10 x i8] c"buf = %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [256 x i8], align 16 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %5 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @printf(ptr noundef @.str.1, ptr noundef %5) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsati7rtw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [10 x i8] c"buf = %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [256 x i8], align 16 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %5 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %6 = call i32 @printf(ptr noundef @.str.1, ptr noundef %5) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo6r2cut9.c' source_filename = "/tmp/tmpo6r2cut9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setsize(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call i32 @SetSize55(i64 noundef %5, i64 noundef %6) ret void } declare i32 @SetSize55(i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo6r2cut9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setsize(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call i32 @SetSize55(i64 noundef %5, i64 noundef %6) ret void } declare i32 @SetSize55(i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4kdm8ri0.c' source_filename = "/tmp/tmp4kdm8ri0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_CREAT = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @O_WRONLY = dso_local global i32 0, align 4 @S_IRGRP = dso_local global i32 0, align 4 @S_IROTH = dso_local global i32 0, align 4 @S_IRUSR = 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/tmp4kdm8ri0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_CREAT = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @O_WRONLY = dso_local global i32 0, align 4 @S_IRGRP = dso_local global i32 0, align 4 @S_IROTH = dso_local global i32 0, align 4 @S_IRUSR = 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/tmpx7clh99b.c' source_filename = "/tmp/tmpx7clh99b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i64, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i64 3, ptr %2, align 8 store i64 2, ptr %3, align 8 %5 = call ptr @malloc(i32 noundef 24) store ptr %5, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 0 store ptr %2, ptr %7, align 8 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds ptr, ptr %8, i64 1 store ptr %3, ptr %9, align 8 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 2 store ptr %3, ptr %11, align 8 store i64 5, ptr %3, align 8 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = load i64, ptr %14, align 8 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = load i64, ptr %18, align 8 %20 = add nsw i64 %15, %19 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 2 %23 = load ptr, ptr %22, align 8 %24 = load i64, ptr %23, align 8 %25 = add nsw i64 %20, %24 %26 = trunc i64 %25 to i32 ret i32 %26 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx7clh99b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i64, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i64 3, ptr %2, align 8 store i64 2, ptr %3, align 8 %5 = call ptr @malloc(i32 noundef 24) store ptr %5, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 0 store ptr %2, ptr %7, align 8 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds ptr, ptr %8, i64 1 store ptr %3, ptr %9, align 8 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 2 store ptr %3, ptr %11, align 8 store i64 5, ptr %3, align 8 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = load i64, ptr %14, align 8 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = load i64, ptr %18, align 8 %20 = add nsw i64 %15, %19 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 2 %23 = load ptr, ptr %22, align 8 %24 = load i64, ptr %23, align 8 %25 = add nsw i64 %20, %24 %26 = trunc i64 %25 to i32 ret i32 %26 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps7pwmc1i.c' source_filename = "/tmp/tmps7pwmc1i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strisspace(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 br label %4 4: ; preds = %16, %1 %5 = load ptr, ptr %3, align 8 %6 = load i8, ptr %5, align 1 %7 = icmp ne i8 %6, 0 br i1 %7, label %8, label %17 8: ; preds = %4 %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds i8, ptr %9, i32 1 store ptr %10, ptr %3, align 8 %11 = load i8, ptr %9, align 1 %12 = sext i8 %11 to i32 %13 = call i32 @isspace(i32 noundef %12) #2 %14 = icmp ne i32 %13, 0 br i1 %14, label %16, label %15 15: ; preds = %8 store i32 0, ptr %2, align 4 br label %18 16: ; preds = %8 br label %4, !llvm.loop !6 17: ; preds = %4 store i32 1, ptr %2, align 4 br label %18 18: ; preds = %17, %15 %19 = load i32, ptr %2, align 4 ret i32 %19 } ; Function Attrs: nounwind willreturn memory(read) declare i32 @isspace(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmps7pwmc1i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strisspace(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = load i8, ptr %4, align 1 %6 = icmp ne i8 %5, 0 br i1 %6, label %.lr.ph, label %19 .lr.ph: ; preds = %1 br label %11 7: ; preds = %11 %8 = load ptr, ptr %3, align 8 %9 = load i8, ptr %8, align 1 %10 = icmp ne i8 %9, 0 br i1 %10, label %11, label %._crit_edge, !llvm.loop !6 11: ; preds = %.lr.ph, %7 %12 = load ptr, ptr %3, align 8 %13 = getelementptr inbounds i8, ptr %12, i32 1 store ptr %13, ptr %3, align 8 %14 = load i8, ptr %12, align 1 %15 = sext i8 %14 to i32 %16 = call i32 @isspace(i32 noundef %15) #2 %17 = icmp ne i32 %16, 0 br i1 %17, label %7, label %18 18: ; preds = %11 store i32 0, ptr %2, align 4 br label %20 ._crit_edge: ; preds = %7 br label %19 19: ; preds = %._crit_edge, %1 store i32 1, ptr %2, align 4 br label %20 20: ; preds = %19, %18 %21 = load i32, ptr %2, align 4 ret i32 %21 } ; Function Attrs: nounwind willreturn memory(read) declare i32 @isspace(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpxxt_i8r6.c' source_filename = "/tmp/tmpxxt_i8r6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printArray(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %22, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %25 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = icmp eq i32 %15, 1 br i1 %16, label %17, label %21 17: ; preds = %10 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 65 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %19) br label %21 21: ; preds = %17, %10 br label %22 22: ; preds = %21 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 br label %6, !llvm.loop !6 25: ; preds = %6 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxxt_i8r6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printArray(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %27 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %21 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %13, align 4 %15 = icmp eq i32 %14, 1 br i1 %15, label %16, label %20 16: ; preds = %9 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 65 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %18) br label %20 20: ; preds = %16, %9 br label %21 21: ; preds = %20 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %2 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpofc1jgl3.c' source_filename = "/tmp/tmpofc1jgl3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Test(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 @cdoInitialize(ptr noundef %3) %5 = call i32 (...) @cdoFinish() ret ptr null } declare i32 @cdoInitialize(ptr noundef) #1 declare i32 @cdoFinish(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpofc1jgl3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Test(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 @cdoInitialize(ptr noundef %3) %5 = call i32 (...) @cdoFinish() ret ptr null } declare i32 @cdoInitialize(ptr noundef) #1 declare i32 @cdoFinish(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3ovkud35.c' source_filename = "/tmp/tmp3ovkud35.c" target datalayout = "e-m:e-p270: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/tmp3ovkud35.c" target datalayout = "e-m:e-p270: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/tmpg_hw1xuu.c' source_filename = "/tmp/tmpg_hw1xuu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"US-ASCII\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"UTF-8\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"ISO-8859-15\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"WINDOWS-1252\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"UNKNOWN\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @detect_encoding(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @find_first_non_us_ascii(ptr noundef %5) store i64 %6, ptr %4, align 8 %7 = load i64, ptr %4, align 8 %8 = icmp eq i64 %7, -1 br i1 %8, label %9, label %10 9: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %38 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 %12 = load i64, ptr %4, align 8 %13 = load i32, ptr @SEEK_SET, align 4 %14 = call i32 @fseek(ptr noundef %11, i64 noundef %12, i32 noundef %13) %15 = load ptr, ptr %3, align 8 %16 = call i64 @is_utf_8(ptr noundef %15) %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %10 store ptr @.str.1, ptr %2, align 8 br label %38 19: ; preds = %10 %20 = load ptr, ptr %3, align 8 %21 = load i64, ptr %4, align 8 %22 = load i32, ptr @SEEK_SET, align 4 %23 = call i32 @fseek(ptr noundef %20, i64 noundef %21, i32 noundef %22) %24 = load ptr, ptr %3, align 8 %25 = call i64 @is_iso_8859_15(ptr noundef %24) %26 = icmp ne i64 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %19 store ptr @.str.2, ptr %2, align 8 br label %38 28: ; preds = %19 %29 = load ptr, ptr %3, align 8 %30 = load i64, ptr %4, align 8 %31 = load i32, ptr @SEEK_SET, align 4 %32 = call i32 @fseek(ptr noundef %29, i64 noundef %30, i32 noundef %31) %33 = load ptr, ptr %3, align 8 %34 = call i64 @is_windows_1252(ptr noundef %33) %35 = icmp ne i64 %34, 0 br i1 %35, label %36, label %37 36: ; preds = %28 store ptr @.str.3, ptr %2, align 8 br label %38 37: ; preds = %28 store ptr @.str.4, ptr %2, align 8 br label %38 38: ; preds = %37, %36, %27, %18, %9 %39 = load ptr, ptr %2, align 8 ret ptr %39 } declare i64 @find_first_non_us_ascii(ptr noundef) #1 declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 declare i64 @is_utf_8(ptr noundef) #1 declare i64 @is_iso_8859_15(ptr noundef) #1 declare i64 @is_windows_1252(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg_hw1xuu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"US-ASCII\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"UTF-8\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"ISO-8859-15\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"WINDOWS-1252\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"UNKNOWN\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @detect_encoding(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @find_first_non_us_ascii(ptr noundef %5) store i64 %6, ptr %4, align 8 %7 = load i64, ptr %4, align 8 %8 = icmp eq i64 %7, -1 br i1 %8, label %9, label %10 9: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %38 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 %12 = load i64, ptr %4, align 8 %13 = load i32, ptr @SEEK_SET, align 4 %14 = call i32 @fseek(ptr noundef %11, i64 noundef %12, i32 noundef %13) %15 = load ptr, ptr %3, align 8 %16 = call i64 @is_utf_8(ptr noundef %15) %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %10 store ptr @.str.1, ptr %2, align 8 br label %38 19: ; preds = %10 %20 = load ptr, ptr %3, align 8 %21 = load i64, ptr %4, align 8 %22 = load i32, ptr @SEEK_SET, align 4 %23 = call i32 @fseek(ptr noundef %20, i64 noundef %21, i32 noundef %22) %24 = load ptr, ptr %3, align 8 %25 = call i64 @is_iso_8859_15(ptr noundef %24) %26 = icmp ne i64 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %19 store ptr @.str.2, ptr %2, align 8 br label %38 28: ; preds = %19 %29 = load ptr, ptr %3, align 8 %30 = load i64, ptr %4, align 8 %31 = load i32, ptr @SEEK_SET, align 4 %32 = call i32 @fseek(ptr noundef %29, i64 noundef %30, i32 noundef %31) %33 = load ptr, ptr %3, align 8 %34 = call i64 @is_windows_1252(ptr noundef %33) %35 = icmp ne i64 %34, 0 br i1 %35, label %36, label %37 36: ; preds = %28 store ptr @.str.3, ptr %2, align 8 br label %38 37: ; preds = %28 store ptr @.str.4, ptr %2, align 8 br label %38 38: ; preds = %37, %36, %27, %18, %9 %39 = load ptr, ptr %2, align 8 ret ptr %39 } declare i64 @find_first_non_us_ascii(ptr noundef) #1 declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 declare i64 @is_utf_8(ptr noundef) #1 declare i64 @is_iso_8859_15(ptr noundef) #1 declare i64 @is_windows_1252(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzypwt7fy.c' source_filename = "/tmp/tmpzypwt7fy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"b:t:\00", align 1 @optind = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [84 x i8] c"Could not process some binary numbers.\0APlease verify input is only ones and zeros.\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"One flag must be given!\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 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = 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 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 2 br i1 %14, label %15, label %19 15: ; preds = %2 %16 = call i32 (...) @usage() %17 = load i32, ptr @EXIT_FAILURE, align 4 %18 = call i32 @exit(i32 noundef %17) #3 unreachable 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %4, align 4 %22 = sub nsw i32 %21, 1 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds ptr, ptr %20, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %4, align 4 %28 = sub nsw i32 %27, 1 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds ptr, ptr %26, i64 %29 %31 = load ptr, ptr %30, align 8 %32 = call i64 @strlen(ptr noundef %31) %33 = getelementptr inbounds i8, ptr %25, i64 %32 store ptr %33, ptr %7, align 8 %34 = load ptr, ptr %7, align 8 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp eq i32 %36, 10 br i1 %37, label %38, label %40 38: ; preds = %19 %39 = load ptr, ptr %7, align 8 store i8 0, ptr %39, align 1 br label %40 40: ; preds = %38, %19 br label %41 41: ; preds = %40 %42 = load i32, ptr %4, align 4 %43 = load ptr, ptr %5, align 8 %44 = call i32 @getopt(i32 noundef %42, ptr noundef %43, ptr noundef @.str) store i32 %44, ptr %6, align 4 %45 = icmp ne i32 %44, -1 br i1 %45, label %46, label %118 46: ; preds = %41 %47 = load i32, ptr %6, align 4 switch i32 %47, label %117 [ i32 98, label %48 i32 116, label %87 ] 48: ; preds = %46 %49 = load i32, ptr @optind, align 4 %50 = sub nsw i32 %49, 1 store i32 %50, ptr %8, align 4 br label %51 51: ; preds = %82, %48 %52 = load i32, ptr %8, align 4 %53 = load i32, ptr %4, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %55, label %85 55: ; preds = %51 %56 = load ptr, ptr %5, align 8 %57 = load i32, ptr %8, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds ptr, ptr %56, i64 %58 %60 = load ptr, ptr %59, align 8 %61 = call i64 @strlen(ptr noundef %60) %62 = trunc i64 %61 to i32 store i32 %62, ptr %9, align 4 store i32 0, ptr %10, align 4 br label %63 63: ; preds = %67, %55 %64 = load i32, ptr %10, align 4 %65 = load i32, ptr %9, align 4 %66 = icmp slt i32 %64, %65 br i1 %66, label %67, label %82 67: ; preds = %63 %68 = load ptr, ptr %5, align 8 %69 = load i32, ptr %8, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds ptr, ptr %68, i64 %70 %72 = load ptr, ptr %71, align 8 %73 = load i32, ptr %10, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i8, ptr %72, i64 %74 %76 = load i8, ptr %75, align 1 %77 = load i32, ptr @stdout, align 4 %78 = call i32 @chartobinf(i8 noundef signext %76, i32 noundef %77) %79 = call i32 @putchar(i8 noundef signext 32) %80 = load i32, ptr %10, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %10, align 4 br label %63, !llvm.loop !6 82: ; preds = %63 %83 = load i32, ptr %8, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %8, align 4 br label %51, !llvm.loop !8 85: ; preds = %51 %86 = call i32 @putchar(i8 noundef signext 10) br label %117 87: ; preds = %46 store ptr null, ptr %11, align 8 %88 = load i32, ptr @optind, align 4 %89 = sub nsw i32 %88, 1 store i32 %89, ptr %12, align 4 br label %90 90: ; preds = %94, %87 %91 = load i32, ptr %12, align 4 %92 = load i32, ptr %4, align 4 %93 = icmp slt i32 %91, %92 br i1 %93, label %94, label %105 94: ; preds = %90 %95 = load ptr, ptr %5, align 8 %96 = load i32, ptr %12, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds ptr, ptr %95, i64 %97 %99 = load ptr, ptr %98, align 8 %100 = call i64 @strtol(ptr noundef %99, ptr noundef %11, i32 noundef 2) %101 = trunc i64 %100 to i32 %102 = call i32 @printf(ptr noundef @.str.1, i32 noundef %101) %103 = load i32, ptr %12, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %12, align 4 br label %90, !llvm.loop !9 105: ; preds = %90 %106 = call i32 @putchar(i8 noundef signext 10) %107 = load ptr, ptr %11, align 8 %108 = load i8, ptr %107, align 1 %109 = sext i8 %108 to i32 %110 = icmp ne i32 %109, 0 br i1 %110, label %111, label %116 111: ; preds = %105 %112 = load i32, ptr @stderr, align 4 %113 = call i32 @fprintf(i32 noundef %112, ptr noundef @.str.2) %114 = load i32, ptr @EXIT_FAILURE, align 4 %115 = call i32 @exit(i32 noundef %114) #3 unreachable 116: ; preds = %105 br label %117 117: ; preds = %46, %116, %85 br label %118 118: ; preds = %117, %41 %119 = load i32, ptr @optind, align 4 %120 = icmp eq i32 %119, 1 br i1 %120, label %121, label %127 121: ; preds = %118 %122 = load i32, ptr @stderr, align 4 %123 = call i32 @fputs(ptr noundef @.str.3, i32 noundef %122) %124 = call i32 (...) @usage() %125 = load i32, ptr @EXIT_FAILURE, align 4 %126 = call i32 @exit(i32 noundef %125) #3 unreachable 127: ; preds = %118 %128 = load i32, ptr @EXIT_SUCCESS, align 4 %129 = call i32 @exit(i32 noundef %128) #3 unreachable } declare i32 @usage(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strlen(ptr noundef) #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @chartobinf(i8 noundef signext, i32 noundef) #1 declare i32 @putchar(i8 noundef signext) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @fputs(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzypwt7fy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"b:t:\00", align 1 @optind = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [84 x i8] c"Could not process some binary numbers.\0APlease verify input is only ones and zeros.\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"One flag must be given!\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 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = 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 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 2 br i1 %14, label %15, label %19 15: ; preds = %2 %16 = call i32 (...) @usage() %17 = load i32, ptr @EXIT_FAILURE, align 4 %18 = call i32 @exit(i32 noundef %17) #3 unreachable 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %4, align 4 %22 = sub nsw i32 %21, 1 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds ptr, ptr %20, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %4, align 4 %28 = sub nsw i32 %27, 1 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds ptr, ptr %26, i64 %29 %31 = load ptr, ptr %30, align 8 %32 = call i64 @strlen(ptr noundef %31) %33 = getelementptr inbounds i8, ptr %25, i64 %32 store ptr %33, ptr %7, align 8 %34 = load ptr, ptr %7, align 8 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp eq i32 %36, 10 br i1 %37, label %38, label %40 38: ; preds = %19 %39 = load ptr, ptr %7, align 8 store i8 0, ptr %39, align 1 br label %40 40: ; preds = %38, %19 br label %41 41: ; preds = %40 %42 = load i32, ptr %4, align 4 %43 = load ptr, ptr %5, align 8 %44 = call i32 @getopt(i32 noundef %42, ptr noundef %43, ptr noundef @.str) store i32 %44, ptr %6, align 4 %45 = icmp ne i32 %44, -1 br i1 %45, label %46, label %124 46: ; preds = %41 %47 = load i32, ptr %6, align 4 switch i32 %47, label %123 [ i32 98, label %48 i32 116, label %91 ] 48: ; preds = %46 %49 = load i32, ptr @optind, align 4 %50 = sub nsw i32 %49, 1 store i32 %50, ptr %8, align 4 %51 = load i32, ptr %8, align 4 %52 = load i32, ptr %4, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %.lr.ph5, label %89 .lr.ph5: ; preds = %48 br label %54 54: ; preds = %.lr.ph5, %83 %55 = load ptr, ptr %5, align 8 %56 = load i32, ptr %8, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds ptr, ptr %55, i64 %57 %59 = load ptr, ptr %58, align 8 %60 = call i64 @strlen(ptr noundef %59) %61 = trunc i64 %60 to i32 store i32 %61, ptr %9, align 4 store i32 0, ptr %10, align 4 %62 = load i32, ptr %10, align 4 %63 = load i32, ptr %9, align 4 %64 = icmp slt i32 %62, %63 br i1 %64, label %.lr.ph2, label %83 .lr.ph2: ; preds = %54 br label %65 65: ; preds = %.lr.ph2, %65 %66 = load ptr, ptr %5, align 8 %67 = load i32, ptr %8, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds ptr, ptr %66, i64 %68 %70 = load ptr, ptr %69, align 8 %71 = load i32, ptr %10, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i8, ptr %70, i64 %72 %74 = load i8, ptr %73, align 1 %75 = load i32, ptr @stdout, align 4 %76 = call i32 @chartobinf(i8 noundef signext %74, i32 noundef %75) %77 = call i32 @putchar(i8 noundef signext 32) %78 = load i32, ptr %10, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %10, align 4 %80 = load i32, ptr %10, align 4 %81 = load i32, ptr %9, align 4 %82 = icmp slt i32 %80, %81 br i1 %82, label %65, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %65 br label %83 83: ; preds = %._crit_edge3, %54 %84 = load i32, ptr %8, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %8, align 4 %86 = load i32, ptr %8, align 4 %87 = load i32, ptr %4, align 4 %88 = icmp slt i32 %86, %87 br i1 %88, label %54, label %._crit_edge6, !llvm.loop !8 ._crit_edge6: ; preds = %83 br label %89 89: ; preds = %._crit_edge6, %48 %90 = call i32 @putchar(i8 noundef signext 10) br label %123 91: ; preds = %46 store ptr null, ptr %11, align 8 %92 = load i32, ptr @optind, align 4 %93 = sub nsw i32 %92, 1 store i32 %93, ptr %12, align 4 %94 = load i32, ptr %12, align 4 %95 = load i32, ptr %4, align 4 %96 = icmp slt i32 %94, %95 br i1 %96, label %.lr.ph, label %111 .lr.ph: ; preds = %91 br label %97 97: ; preds = %.lr.ph, %97 %98 = load ptr, ptr %5, align 8 %99 = load i32, ptr %12, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds ptr, ptr %98, i64 %100 %102 = load ptr, ptr %101, align 8 %103 = call i64 @strtol(ptr noundef %102, ptr noundef %11, i32 noundef 2) %104 = trunc i64 %103 to i32 %105 = call i32 @printf(ptr noundef @.str.1, i32 noundef %104) %106 = load i32, ptr %12, align 4 %107 = add nsw i32 %106, 1 store i32 %107, ptr %12, align 4 %108 = load i32, ptr %12, align 4 %109 = load i32, ptr %4, align 4 %110 = icmp slt i32 %108, %109 br i1 %110, label %97, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %97 br label %111 111: ; preds = %._crit_edge, %91 %112 = call i32 @putchar(i8 noundef signext 10) %113 = load ptr, ptr %11, align 8 %114 = load i8, ptr %113, align 1 %115 = sext i8 %114 to i32 %116 = icmp ne i32 %115, 0 br i1 %116, label %117, label %122 117: ; preds = %111 %118 = load i32, ptr @stderr, align 4 %119 = call i32 @fprintf(i32 noundef %118, ptr noundef @.str.2) %120 = load i32, ptr @EXIT_FAILURE, align 4 %121 = call i32 @exit(i32 noundef %120) #3 unreachable 122: ; preds = %111 br label %123 123: ; preds = %122, %89, %46 br label %124 124: ; preds = %123, %41 %125 = load i32, ptr @optind, align 4 %126 = icmp eq i32 %125, 1 br i1 %126, label %127, label %133 127: ; preds = %124 %128 = load i32, ptr @stderr, align 4 %129 = call i32 @fputs(ptr noundef @.str.3, i32 noundef %128) %130 = call i32 (...) @usage() %131 = load i32, ptr @EXIT_FAILURE, align 4 %132 = call i32 @exit(i32 noundef %131) #3 unreachable 133: ; preds = %124 %134 = load i32, ptr @EXIT_SUCCESS, align 4 %135 = call i32 @exit(i32 noundef %134) #3 unreachable } declare i32 @usage(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strlen(ptr noundef) #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @chartobinf(i8 noundef signext, i32 noundef) #1 declare i32 @putchar(i8 noundef signext) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @fputs(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp1pg69qgs.c' source_filename = "/tmp/tmp1pg69qgs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"HEAP( mbuff: %ld, msg: %ld )\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dump_heap(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 (...) @heap_mbuff_size() %5 = call i32 (...) @heap_msg_size() %6 = call i32 @fprintf(ptr noundef %3, ptr noundef @.str, i32 noundef %4, i32 noundef %5) ret void } declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @heap_mbuff_size(...) #1 declare i32 @heap_msg_size(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1pg69qgs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"HEAP( mbuff: %ld, msg: %ld )\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dump_heap(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 (...) @heap_mbuff_size() %5 = call i32 (...) @heap_msg_size() %6 = call i32 @fprintf(ptr noundef %3, ptr noundef @.str, i32 noundef %4, i32 noundef %5) ret void } declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @heap_mbuff_size(...) #1 declare i32 @heap_msg_size(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptjr9sonu.c' source_filename = "/tmp/tmptjr9sonu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"T: \00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"C \00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"H: \00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"% \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @lcd_format() #0 { %1 = call i32 @lcd_putStr_at(i32 noundef 1, i32 noundef 0, ptr noundef @.str) %2 = call i32 @lcd_putStr_at(i32 noundef 1, i32 noundef 8, ptr noundef @.str.1) %3 = call i32 @lcd_putStr_at(i32 noundef 2, i32 noundef 0, ptr noundef @.str.2) %4 = call i32 @lcd_putStr_at(i32 noundef 2, i32 noundef 8, ptr noundef @.str.3) ret void } declare i32 @lcd_putStr_at(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptjr9sonu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"T: \00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"C \00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"H: \00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"% \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @lcd_format() #0 { %1 = call i32 @lcd_putStr_at(i32 noundef 1, i32 noundef 0, ptr noundef @.str) %2 = call i32 @lcd_putStr_at(i32 noundef 1, i32 noundef 8, ptr noundef @.str.1) %3 = call i32 @lcd_putStr_at(i32 noundef 2, i32 noundef 0, ptr noundef @.str.2) %4 = call i32 @lcd_putStr_at(i32 noundef 2, i32 noundef 8, ptr noundef @.str.3) ret void } declare i32 @lcd_putStr_at(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}