llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpjiuet4tb.c' source_filename = "/tmp/tmpjiuet4tb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPC_CREAT = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"shmget\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"shmat\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"CREATE: Memory attached at %lX\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"shmdt\00", align 1 @.str.4 = private unnamed_addr constant [43 x i8] c"Shared Memory Region successfully created\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @create_it() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = load i32, ptr @IPC_CREAT, align 4 %4 = or i32 %3, 438 %5 = call i32 @shmget(i32 noundef 26, i32 noundef 8196, i32 noundef %4) store i32 %5, ptr %1, align 4 %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %11 7: ; preds = %0 %8 = call i32 @perror(ptr noundef @.str) %9 = load i32, ptr @errno, align 4 %10 = call i32 @exit(i32 noundef %9) #3 unreachable 11: ; preds = %0 %12 = load i32, ptr %1, align 4 %13 = call ptr @shmat(i32 noundef %12, ptr noundef null, i32 noundef 0) store ptr %13, ptr %2, align 8 %14 = icmp eq ptr %13, inttoptr (i64 -1 to ptr) br i1 %14, label %15, label %19 15: ; preds = %11 %16 = call i32 @perror(ptr noundef @.str.1) %17 = load i32, ptr @errno, align 4 %18 = call i32 @exit(i32 noundef %17) #3 unreachable 19: ; preds = %11 %20 = load ptr, ptr %2, align 8 %21 = ptrtoint ptr %20 to i64 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %21) %23 = load ptr, ptr %2, align 8 %24 = call i32 @shmdt(ptr noundef %23) %25 = icmp eq i32 %24, -1 br i1 %25, label %26, label %30 26: ; preds = %19 %27 = call i32 @perror(ptr noundef @.str.3) %28 = load i32, ptr @errno, align 4 %29 = call i32 @exit(i32 noundef %28) #3 unreachable 30: ; preds = %19 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %32 = load i32, ptr @EXIT_SUCCESS, align 4 %33 = call i32 @exit(i32 noundef %32) #3 unreachable } declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @shmat(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @shmdt(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpjiuet4tb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @IPC_CREAT = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"shmget\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"shmat\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"CREATE: Memory attached at %lX\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"shmdt\00", align 1 @.str.4 = private unnamed_addr constant [43 x i8] c"Shared Memory Region successfully created\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @create_it() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = load i32, ptr @IPC_CREAT, align 4 %4 = or i32 %3, 438 %5 = call i32 @shmget(i32 noundef 26, i32 noundef 8196, i32 noundef %4) store i32 %5, ptr %1, align 4 %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %11 7: ; preds = %0 %8 = call i32 @perror(ptr noundef @.str) %9 = load i32, ptr @errno, align 4 %10 = call i32 @exit(i32 noundef %9) #3 unreachable 11: ; preds = %0 %12 = load i32, ptr %1, align 4 %13 = call ptr @shmat(i32 noundef %12, ptr noundef null, i32 noundef 0) store ptr %13, ptr %2, align 8 %14 = icmp eq ptr %13, inttoptr (i64 -1 to ptr) br i1 %14, label %15, label %19 15: ; preds = %11 %16 = call i32 @perror(ptr noundef @.str.1) %17 = load i32, ptr @errno, align 4 %18 = call i32 @exit(i32 noundef %17) #3 unreachable 19: ; preds = %11 %20 = load ptr, ptr %2, align 8 %21 = ptrtoint ptr %20 to i64 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %21) %23 = load ptr, ptr %2, align 8 %24 = call i32 @shmdt(ptr noundef %23) %25 = icmp eq i32 %24, -1 br i1 %25, label %26, label %30 26: ; preds = %19 %27 = call i32 @perror(ptr noundef @.str.3) %28 = load i32, ptr @errno, align 4 %29 = call i32 @exit(i32 noundef %28) #3 unreachable 30: ; preds = %19 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %32 = load i32, ptr @EXIT_SUCCESS, align 4 %33 = call i32 @exit(i32 noundef %32) #3 unreachable } declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @shmat(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @shmdt(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpx6ty2bkp.c' source_filename = "/tmp/tmpx6ty2bkp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGKILL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @stopWorker(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = load i32, ptr @SIGKILL, align 4 %5 = call i32 @kill(i32 noundef %3, i32 noundef %4) ret void } declare i32 @kill(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/tmpx6ty2bkp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGKILL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @stopWorker(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = load i32, ptr @SIGKILL, align 4 %5 = call i32 @kill(i32 noundef %3, i32 noundef %4) ret void } declare i32 @kill(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/tmpild9a5lb.c' source_filename = "/tmp/tmpild9a5lb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"FNUM table for %d : \0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_phaseinc(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %6) store i32 0, ptr %3, align 4 br label %8 8: ; preds = %27, %1 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %9, 16 br i1 %10, label %11, label %30 11: ; preds = %8 store i32 0, ptr %4, align 4 br label %12 12: ; preds = %22, %11 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 8 br i1 %14, label %15, label %25 15: ; preds = %12 %16 = load i32, ptr %2, align 4 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %3, align 4 %19 = call i32 @calcphaseinc(i32 noundef %16, i32 noundef %17, i32 noundef %18) store i32 %19, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20) br label %22 22: ; preds = %15 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %4, align 4 br label %12, !llvm.loop !6 25: ; preds = %12 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %27 27: ; preds = %25 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 br label %8, !llvm.loop !8 30: ; preds = %8 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @calcphaseinc(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpild9a5lb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"FNUM table for %d : \0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_phaseinc(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %6) store i32 0, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 16 br i1 %9, label %.lr.ph2, label %32 .lr.ph2: ; preds = %1 br label %10 10: ; preds = %.lr.ph2, %27 store i32 0, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 8 br i1 %12, label %.lr.ph, label %25 .lr.ph: ; preds = %10 br label %13 13: ; preds = %.lr.ph, %20 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %3, align 4 %17 = call i32 @calcphaseinc(i32 noundef %14, i32 noundef %15, i32 noundef %16) store i32 %17, ptr %5, align 4 %18 = load i32, ptr %5, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %18) br label %20 20: ; preds = %13 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp slt i32 %23, 8 br i1 %24, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %25 25: ; preds = %._crit_edge, %10 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %27 27: ; preds = %25 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = icmp slt i32 %30, 16 br i1 %31, label %10, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %27 br label %32 32: ; preds = %._crit_edge3, %1 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @calcphaseinc(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpsfoy5e4w.c' source_filename = "/tmp/tmpsfoy5e4w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = sext i32 %4 to i64 %6 = mul i64 %5, 4 %7 = trunc i64 %6 to i32 %8 = call ptr @malloc(i32 noundef %7) store ptr %8, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %2, align 4 %11 = call i32 @bar(ptr noundef %9, i32 noundef %10) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @bar(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/tmpsfoy5e4w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = sext i32 %4 to i64 %6 = mul i64 %5, 4 %7 = trunc i64 %6 to i32 %8 = call ptr @malloc(i32 noundef %7) store ptr %8, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %2, align 4 %11 = call i32 @bar(ptr noundef %9, i32 noundef %10) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @bar(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/tmph3hsrxj3.c' source_filename = "/tmp/tmph3hsrxj3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"unsigned long long size = %zd\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"long long size = %zd\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c" short int: %zd\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c" int: %zd\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c" long int: %zd\0A\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c"long long int: %zd\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c" size_t: %zd\0A\00", align 1 @.str.7 = private unnamed_addr constant [21 x i8] c" void*: %zd\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @print_arch() %3 = call i32 @printf(ptr noundef @.str, i32 noundef 8) %4 = call i32 @printf(ptr noundef @.str.1, i32 noundef 8) %5 = call i32 @printf(ptr noundef @.str.2, i32 noundef 2) %6 = call i32 @printf(ptr noundef @.str.3, i32 noundef 4) %7 = call i32 @printf(ptr noundef @.str.4, i32 noundef 8) %8 = call i32 @printf(ptr noundef @.str.5, i32 noundef 8) %9 = call i32 @printf(ptr noundef @.str.6, i32 noundef 8) %10 = call i32 @printf(ptr noundef @.str.7, i32 noundef 8) ret i32 0 } declare i32 @print_arch(...) #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/tmph3hsrxj3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"unsigned long long size = %zd\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"long long size = %zd\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c" short int: %zd\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c" int: %zd\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c" long int: %zd\0A\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c"long long int: %zd\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c" size_t: %zd\0A\00", align 1 @.str.7 = private unnamed_addr constant [21 x i8] c" void*: %zd\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @print_arch() %3 = call i32 @printf(ptr noundef @.str, i32 noundef 8) %4 = call i32 @printf(ptr noundef @.str.1, i32 noundef 8) %5 = call i32 @printf(ptr noundef @.str.2, i32 noundef 2) %6 = call i32 @printf(ptr noundef @.str.3, i32 noundef 4) %7 = call i32 @printf(ptr noundef @.str.4, i32 noundef 8) %8 = call i32 @printf(ptr noundef @.str.5, i32 noundef 8) %9 = call i32 @printf(ptr noundef @.str.6, i32 noundef 8) %10 = call i32 @printf(ptr noundef @.str.7, i32 noundef 8) ret i32 0 } declare i32 @print_arch(...) #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/tmp0hzdoe_l.c' source_filename = "/tmp/tmp0hzdoe_l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @parse_number(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 i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %7, align 4 %11 = call i32 @parse_numberll(ptr noundef %9, ptr noundef %8, i32 noundef %10) %12 = icmp ne i32 %11, 0 br i1 %12, label %14, label %13 13: ; preds = %3 store i32 0, ptr %4, align 4 br label %23 14: ; preds = %3 %15 = load i64, ptr %8, align 8 %16 = load i64, ptr @INT_MAX, align 8 %17 = icmp sgt i64 %15, %16 br i1 %17, label %18, label %19 18: ; preds = %14 store i32 0, ptr %4, align 4 br label %23 19: ; preds = %14 %20 = load i64, ptr %8, align 8 %21 = trunc i64 %20 to i32 %22 = load ptr, ptr %6, align 8 store i32 %21, ptr %22, align 4 store i32 1, ptr %4, align 4 br label %23 23: ; preds = %19, %18, %13 %24 = load i32, ptr %4, align 4 ret i32 %24 } declare i32 @parse_numberll(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0hzdoe_l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @parse_number(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 i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %7, align 4 %11 = call i32 @parse_numberll(ptr noundef %9, ptr noundef %8, i32 noundef %10) %12 = icmp ne i32 %11, 0 br i1 %12, label %14, label %13 13: ; preds = %3 store i32 0, ptr %4, align 4 br label %23 14: ; preds = %3 %15 = load i64, ptr %8, align 8 %16 = load i64, ptr @INT_MAX, align 8 %17 = icmp sgt i64 %15, %16 br i1 %17, label %18, label %19 18: ; preds = %14 store i32 0, ptr %4, align 4 br label %23 19: ; preds = %14 %20 = load i64, ptr %8, align 8 %21 = trunc i64 %20 to i32 %22 = load ptr, ptr %6, align 8 store i32 %21, ptr %22, align 4 store i32 1, ptr %4, align 4 br label %23 23: ; preds = %19, %18, %13 %24 = load i32, ptr %4, align 4 ret i32 %24 } declare i32 @parse_numberll(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzfqmtlsl.c' source_filename = "/tmp/tmpzfqmtlsl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RBR_vector_cross(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = call i64 @malloc(i32 noundef 12) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds float, ptr %9, i64 1 %11 = load float, ptr %10, align 4 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds float, ptr %12, i64 2 %14 = load float, ptr %13, align 4 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds float, ptr %15, i64 2 %17 = load float, ptr %16, align 4 %18 = load ptr, ptr %4, align 8 %19 = getelementptr inbounds float, ptr %18, i64 1 %20 = load float, ptr %19, align 4 %21 = fmul float %17, %20 %22 = fneg float %21 %23 = call float @llvm.fmuladd.f32(float %11, float %14, float %22) %24 = load ptr, ptr %6, align 8 %25 = getelementptr inbounds float, ptr %24, i64 0 store float %23, ptr %25, align 4 %26 = load ptr, ptr %3, align 8 %27 = getelementptr inbounds float, ptr %26, i64 2 %28 = load float, ptr %27, align 4 %29 = load ptr, ptr %4, align 8 %30 = getelementptr inbounds float, ptr %29, i64 0 %31 = load float, ptr %30, align 4 %32 = load ptr, ptr %3, align 8 %33 = getelementptr inbounds float, ptr %32, i64 0 %34 = load float, ptr %33, align 4 %35 = load ptr, ptr %4, align 8 %36 = getelementptr inbounds float, ptr %35, i64 2 %37 = load float, ptr %36, align 4 %38 = fmul float %34, %37 %39 = fneg float %38 %40 = call float @llvm.fmuladd.f32(float %28, float %31, float %39) %41 = load ptr, ptr %6, align 8 %42 = getelementptr inbounds float, ptr %41, i64 1 store float %40, ptr %42, align 4 %43 = load ptr, ptr %3, align 8 %44 = getelementptr inbounds float, ptr %43, i64 0 %45 = load float, ptr %44, align 4 %46 = load ptr, ptr %4, align 8 %47 = getelementptr inbounds float, ptr %46, i64 1 %48 = load float, ptr %47, align 4 %49 = load ptr, ptr %3, align 8 %50 = getelementptr inbounds float, ptr %49, i64 1 %51 = load float, ptr %50, align 4 %52 = load ptr, ptr %4, align 8 %53 = getelementptr inbounds float, ptr %52, i64 0 %54 = load float, ptr %53, align 4 %55 = fmul float %51, %54 %56 = fneg float %55 %57 = call float @llvm.fmuladd.f32(float %45, float %48, float %56) %58 = load ptr, ptr %6, align 8 %59 = getelementptr inbounds float, ptr %58, i64 2 store float %57, ptr %59, align 4 %60 = load ptr, ptr %6, align 8 ret ptr %60 } declare i64 @malloc(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzfqmtlsl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RBR_vector_cross(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = call i64 @malloc(i32 noundef 12) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds float, ptr %9, i64 1 %11 = load float, ptr %10, align 4 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds float, ptr %12, i64 2 %14 = load float, ptr %13, align 4 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds float, ptr %15, i64 2 %17 = load float, ptr %16, align 4 %18 = load ptr, ptr %4, align 8 %19 = getelementptr inbounds float, ptr %18, i64 1 %20 = load float, ptr %19, align 4 %21 = fmul float %17, %20 %22 = fneg float %21 %23 = call float @llvm.fmuladd.f32(float %11, float %14, float %22) %24 = load ptr, ptr %6, align 8 %25 = getelementptr inbounds float, ptr %24, i64 0 store float %23, ptr %25, align 4 %26 = load ptr, ptr %3, align 8 %27 = getelementptr inbounds float, ptr %26, i64 2 %28 = load float, ptr %27, align 4 %29 = load ptr, ptr %4, align 8 %30 = getelementptr inbounds float, ptr %29, i64 0 %31 = load float, ptr %30, align 4 %32 = load ptr, ptr %3, align 8 %33 = getelementptr inbounds float, ptr %32, i64 0 %34 = load float, ptr %33, align 4 %35 = load ptr, ptr %4, align 8 %36 = getelementptr inbounds float, ptr %35, i64 2 %37 = load float, ptr %36, align 4 %38 = fmul float %34, %37 %39 = fneg float %38 %40 = call float @llvm.fmuladd.f32(float %28, float %31, float %39) %41 = load ptr, ptr %6, align 8 %42 = getelementptr inbounds float, ptr %41, i64 1 store float %40, ptr %42, align 4 %43 = load ptr, ptr %3, align 8 %44 = getelementptr inbounds float, ptr %43, i64 0 %45 = load float, ptr %44, align 4 %46 = load ptr, ptr %4, align 8 %47 = getelementptr inbounds float, ptr %46, i64 1 %48 = load float, ptr %47, align 4 %49 = load ptr, ptr %3, align 8 %50 = getelementptr inbounds float, ptr %49, i64 1 %51 = load float, ptr %50, align 4 %52 = load ptr, ptr %4, align 8 %53 = getelementptr inbounds float, ptr %52, i64 0 %54 = load float, ptr %53, align 4 %55 = fmul float %51, %54 %56 = fneg float %55 %57 = call float @llvm.fmuladd.f32(float %45, float %48, float %56) %58 = load ptr, ptr %6, align 8 %59 = getelementptr inbounds float, ptr %58, i64 2 store float %57, ptr %59, align 4 %60 = load ptr, ptr %6, align 8 ret ptr %60 } declare i64 @malloc(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3fy_i1gf.c' source_filename = "/tmp/tmp3fy_i1gf.c" target datalayout = "e-m:e-p270: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/tmp3fy_i1gf.c" target datalayout = "e-m:e-p270: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/tmpyjokjjjy.c' source_filename = "/tmp/tmpyjokjjjy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_to_uint64(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @strtoull(ptr noundef %7, ptr noundef %8, i32 noundef %9) ret i32 %10 } declare i32 @strtoull(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyjokjjjy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_to_uint64(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @strtoull(ptr noundef %7, ptr noundef %8, i32 noundef %9) ret i32 %10 } declare i32 @strtoull(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi9a1g30m.c' source_filename = "/tmp/tmpi9a1g30m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"tcprules: fatal: \00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"out of memory\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @nomem() #0 { %1 = call i32 @strerr_die(i32 noundef 111, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0) ret void } declare i32 @strerr_die(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi9a1g30m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"tcprules: fatal: \00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"out of memory\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @nomem() #0 { %1 = call i32 @strerr_die(i32 noundef 111, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0) ret void } declare i32 @strerr_die(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprybbr303.c' source_filename = "/tmp/tmprybbr303.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xmalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #2 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 ret ptr %6 } ; Function Attrs: allocsize(0) declare ptr @malloc(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 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprybbr303.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xmalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #2 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 ret ptr %6 } ; Function Attrs: allocsize(0) declare ptr @malloc(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 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8v0u7v64.c' source_filename = "/tmp/tmp8v0u7v64.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_vVclosedl(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 @dlclose(ptr noundef %3) ret void } declare i32 @dlclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8v0u7v64.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_vVclosedl(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 @dlclose(ptr noundef %3) ret void } declare i32 @dlclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmph3hd52x2.c' source_filename = "/tmp/tmph3hd52x2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swi_strnlen(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call i64 @memchr(ptr noundef %6, i8 noundef signext 0, i64 noundef %7) %9 = inttoptr i64 %8 to ptr store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %18 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %3, align 8 %15 = ptrtoint ptr %13 to i64 %16 = ptrtoint ptr %14 to i64 %17 = sub i64 %15, %16 br label %20 18: ; preds = %2 %19 = load i64, ptr %4, align 8 br label %20 20: ; preds = %18, %12 %21 = phi i64 [ %17, %12 ], [ %19, %18 ] ret i64 %21 } declare i64 @memchr(ptr noundef, i8 noundef signext, 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/tmph3hd52x2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swi_strnlen(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call i64 @memchr(ptr noundef %6, i8 noundef signext 0, i64 noundef %7) %9 = inttoptr i64 %8 to ptr store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %18 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %3, align 8 %15 = ptrtoint ptr %13 to i64 %16 = ptrtoint ptr %14 to i64 %17 = sub i64 %15, %16 br label %20 18: ; preds = %2 %19 = load i64, ptr %4, align 8 br label %20 20: ; preds = %18, %12 %21 = phi i64 [ %17, %12 ], [ %19, %18 ] ret i64 %21 } declare i64 @memchr(ptr noundef, i8 noundef signext, 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/tmp0la7zshg.c' source_filename = "/tmp/tmp0la7zshg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @replace_instruction(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @set_r_func(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @set_r_func(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/tmp0la7zshg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @replace_instruction(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @set_r_func(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @set_r_func(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/tmpwp8p136g.c' source_filename = "/tmp/tmpwp8p136g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = call i32 (...) @teste_mostra_bin() %2 = call i32 (...) @teste_macros() ret void } declare i32 @teste_mostra_bin(...) #1 declare i32 @teste_macros(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwp8p136g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = call i32 (...) @teste_mostra_bin() %2 = call i32 (...) @teste_macros() ret void } declare i32 @teste_mostra_bin(...) #1 declare i32 @teste_macros(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpju9pcsmc.c' source_filename = "/tmp/tmpju9pcsmc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [139 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/guicho271828/roswell/refs/heads/master/src/opt.c\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"name_\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @_getenv(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @q_internal(ptr noundef %5, ptr noundef @.str, i32 noundef 113) %7 = call ptr @substitute_char(i8 noundef signext 95, i8 noundef signext 46, i32 noundef %6) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = call ptr @getenv(ptr noundef %8) store ptr %9, ptr %4, align 8 %10 = load ptr, ptr %3, align 8 %11 = call i32 @s_internal(ptr noundef %10, ptr noundef @.str.1, ptr noundef @.str, i32 noundef 115) %12 = load ptr, ptr %4, align 8 ret ptr %12 } declare ptr @substitute_char(i8 noundef signext, i8 noundef signext, i32 noundef) #1 declare i32 @q_internal(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @getenv(ptr noundef) #1 declare i32 @s_internal(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpju9pcsmc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [139 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/guicho271828/roswell/refs/heads/master/src/opt.c\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"name_\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @_getenv(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @q_internal(ptr noundef %5, ptr noundef @.str, i32 noundef 113) %7 = call ptr @substitute_char(i8 noundef signext 95, i8 noundef signext 46, i32 noundef %6) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = call ptr @getenv(ptr noundef %8) store ptr %9, ptr %4, align 8 %10 = load ptr, ptr %3, align 8 %11 = call i32 @s_internal(ptr noundef %10, ptr noundef @.str.1, ptr noundef @.str, i32 noundef 115) %12 = load ptr, ptr %4, align 8 ret ptr %12 } declare ptr @substitute_char(i8 noundef signext, i8 noundef signext, i32 noundef) #1 declare i32 @q_internal(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @getenv(ptr noundef) #1 declare i32 @s_internal(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxg9_zu8r.c' source_filename = "/tmp/tmpxg9_zu8r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fc8080_audio_select(ptr noundef %0, i8 noundef zeroext %1, i8 noundef zeroext %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i8, align 1 store ptr %0, ptr %5, align 8 store i8 %1, ptr %6, align 1 store i8 %2, ptr %7, align 1 %8 = load ptr, ptr %5, align 8 %9 = load i8, ptr %6, align 1 %10 = load i8, ptr %7, align 1 %11 = call i64 @fc8080_channel_select(ptr noundef %8, i8 noundef zeroext %9, i8 noundef zeroext %10) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %3 store i32 1, ptr %4, align 4 br label %23 14: ; preds = %3 %15 = load ptr, ptr %5, align 8 %16 = load i8, ptr %7, align 1 %17 = zext i8 %16 to i32 %18 = add nsw i32 2320, %17 %19 = load i8, ptr %6, align 1 %20 = zext i8 %19 to i32 %21 = or i32 64, %20 %22 = call i32 @bbm_write(ptr noundef %15, i32 noundef %18, i32 noundef %21) store i32 0, ptr %4, align 4 br label %23 23: ; preds = %14, %13 %24 = load i32, ptr %4, align 4 ret i32 %24 } declare i64 @fc8080_channel_select(ptr noundef, i8 noundef zeroext, i8 noundef zeroext) #1 declare i32 @bbm_write(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxg9_zu8r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fc8080_audio_select(ptr noundef %0, i8 noundef zeroext %1, i8 noundef zeroext %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i8, align 1 store ptr %0, ptr %5, align 8 store i8 %1, ptr %6, align 1 store i8 %2, ptr %7, align 1 %8 = load ptr, ptr %5, align 8 %9 = load i8, ptr %6, align 1 %10 = load i8, ptr %7, align 1 %11 = call i64 @fc8080_channel_select(ptr noundef %8, i8 noundef zeroext %9, i8 noundef zeroext %10) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %3 store i32 1, ptr %4, align 4 br label %23 14: ; preds = %3 %15 = load ptr, ptr %5, align 8 %16 = load i8, ptr %7, align 1 %17 = zext i8 %16 to i32 %18 = add nsw i32 2320, %17 %19 = load i8, ptr %6, align 1 %20 = zext i8 %19 to i32 %21 = or i32 64, %20 %22 = call i32 @bbm_write(ptr noundef %15, i32 noundef %18, i32 noundef %21) store i32 0, ptr %4, align 4 br label %23 23: ; preds = %14, %13 %24 = load i32, ptr %4, align 4 ret i32 %24 } declare i64 @fc8080_channel_select(ptr noundef, i8 noundef zeroext, i8 noundef zeroext) #1 declare i32 @bbm_write(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzhfy1jji.c' source_filename = "/tmp/tmpzhfy1jji.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ope_str(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %6, align 8 %10 = load i32, ptr %9, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %8, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 36 br i1 %15, label %16, label %20 16: ; preds = %3 %17 = load ptr, ptr %6, align 8 %18 = load ptr, ptr %4, align 8 %19 = call ptr @isdollars(ptr noundef %17, ptr noundef %18) store ptr %19, ptr %7, align 8 br label %70 20: ; preds = %3 %21 = load ptr, ptr %4, align 8 %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %22, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %21, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 126 br i1 %28, label %29, label %34 29: ; preds = %20 %30 = load ptr, ptr %6, align 8 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %5, align 4 %33 = call ptr @istild(ptr noundef %30, ptr noundef %31, i32 noundef %32) store ptr %33, ptr %7, align 8 br label %69 34: ; preds = %20 %35 = load ptr, ptr %4, align 8 %36 = load ptr, ptr %6, align 8 %37 = load i32, ptr %36, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %35, i64 %38 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 96 br i1 %42, label %43, label %47 43: ; preds = %34 %44 = load ptr, ptr %6, align 8 %45 = load ptr, ptr %4, align 8 %46 = call ptr @isbackquote(ptr noundef %44, ptr noundef %45) store ptr %46, ptr %7, align 8 br label %68 47: ; preds = %34 %48 = load ptr, ptr %4, align 8 %49 = load ptr, ptr %6, align 8 %50 = load i32, ptr %49, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %48, i64 %51 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp eq i32 %54, 40 br i1 %55, label %56, label %60 56: ; preds = %47 %57 = load ptr, ptr %6, align 8 %58 = load ptr, ptr %4, align 8 %59 = call ptr @isbraquet(ptr noundef %57, ptr noundef %58) store ptr %59, ptr %7, align 8 br label %67 60: ; preds = %47 %61 = load ptr, ptr %4, align 8 %62 = load i32, ptr %5, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %61, i64 %63 %65 = load i8, ptr %64, align 1 %66 = call ptr @char_to_string(i8 noundef signext %65) store ptr %66, ptr %7, align 8 br label %67 67: ; preds = %60, %56 br label %68 68: ; preds = %67, %43 br label %69 69: ; preds = %68, %29 br label %70 70: ; preds = %69, %16 %71 = load ptr, ptr %7, align 8 ret ptr %71 } declare ptr @isdollars(ptr noundef, ptr noundef) #1 declare ptr @istild(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @isbackquote(ptr noundef, ptr noundef) #1 declare ptr @isbraquet(ptr noundef, ptr noundef) #1 declare ptr @char_to_string(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/tmpzhfy1jji.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ope_str(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %6, align 8 %10 = load i32, ptr %9, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %8, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 36 br i1 %15, label %16, label %20 16: ; preds = %3 %17 = load ptr, ptr %6, align 8 %18 = load ptr, ptr %4, align 8 %19 = call ptr @isdollars(ptr noundef %17, ptr noundef %18) store ptr %19, ptr %7, align 8 br label %70 20: ; preds = %3 %21 = load ptr, ptr %4, align 8 %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %22, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %21, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 126 br i1 %28, label %29, label %34 29: ; preds = %20 %30 = load ptr, ptr %6, align 8 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %5, align 4 %33 = call ptr @istild(ptr noundef %30, ptr noundef %31, i32 noundef %32) store ptr %33, ptr %7, align 8 br label %69 34: ; preds = %20 %35 = load ptr, ptr %4, align 8 %36 = load ptr, ptr %6, align 8 %37 = load i32, ptr %36, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %35, i64 %38 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 96 br i1 %42, label %43, label %47 43: ; preds = %34 %44 = load ptr, ptr %6, align 8 %45 = load ptr, ptr %4, align 8 %46 = call ptr @isbackquote(ptr noundef %44, ptr noundef %45) store ptr %46, ptr %7, align 8 br label %68 47: ; preds = %34 %48 = load ptr, ptr %4, align 8 %49 = load ptr, ptr %6, align 8 %50 = load i32, ptr %49, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %48, i64 %51 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp eq i32 %54, 40 br i1 %55, label %56, label %60 56: ; preds = %47 %57 = load ptr, ptr %6, align 8 %58 = load ptr, ptr %4, align 8 %59 = call ptr @isbraquet(ptr noundef %57, ptr noundef %58) store ptr %59, ptr %7, align 8 br label %67 60: ; preds = %47 %61 = load ptr, ptr %4, align 8 %62 = load i32, ptr %5, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %61, i64 %63 %65 = load i8, ptr %64, align 1 %66 = call ptr @char_to_string(i8 noundef signext %65) store ptr %66, ptr %7, align 8 br label %67 67: ; preds = %60, %56 br label %68 68: ; preds = %67, %43 br label %69 69: ; preds = %68, %29 br label %70 70: ; preds = %69, %16 %71 = load ptr, ptr %7, align 8 ret ptr %71 } declare ptr @isdollars(ptr noundef, ptr noundef) #1 declare ptr @istild(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @isbackquote(ptr noundef, ptr noundef) #1 declare ptr @isbraquet(ptr noundef, ptr noundef) #1 declare ptr @char_to_string(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/tmpusblccar.c' source_filename = "/tmp/tmpusblccar.c" target datalayout = "e-m:e-p270: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/tmpusblccar.c" target datalayout = "e-m:e-p270: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/tmp00t8368k.c' source_filename = "/tmp/tmp00t8368k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1 is a unit\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"%d is prime\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @factor(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %12 10: ; preds = %3 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %50 12: ; preds = %3 %13 = load i32, ptr %6, align 4 store i32 %13, ptr %7, align 4 br label %14 14: ; preds = %38, %12 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %5, align 4 %17 = sitofp i32 %16 to double %18 = call i64 @sqrt(double noundef %17) %19 = trunc i64 %18 to i32 %20 = icmp sle i32 %15, %19 br i1 %20, label %21, label %39 21: ; preds = %14 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %7, align 4 %24 = srem i32 %22, %23 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %35 26: ; preds = %21 %27 = load i32, ptr @stdout, align 4 %28 = load i32, ptr %7, align 4 %29 = call i32 @fprintf(i32 noundef %27, ptr noundef @.str.1, i32 noundef %28) %30 = load i32, ptr %4, align 4 %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %7, align 4 %33 = sdiv i32 %31, %32 %34 = load i32, ptr %7, align 4 call void @factor(i32 noundef %30, i32 noundef %33, i32 noundef %34) br label %50 35: ; preds = %21 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 br label %38 38: ; preds = %35 br label %14, !llvm.loop !6 39: ; preds = %14 %40 = load i32, ptr %5, align 4 %41 = load i32, ptr %4, align 4 %42 = icmp eq i32 %40, %41 br i1 %42, label %43, label %46 43: ; preds = %39 %44 = load i32, ptr %4, align 4 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %44) br label %49 46: ; preds = %39 %47 = load i32, ptr %5, align 4 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %47) br label %49 49: ; preds = %46, %43 br label %50 50: ; preds = %49, %26, %10 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i64 @sqrt(double noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp00t8368k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1 is a unit\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"%d is prime\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @factor(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %12 10: ; preds = %3 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %55 12: ; preds = %3 %13 = load i32, ptr %6, align 4 store i32 %13, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %5, align 4 %16 = sitofp i32 %15 to double %17 = call i64 @sqrt(double noundef %16) %18 = trunc i64 %17 to i32 %19 = icmp sle i32 %14, %18 br i1 %19, label %.lr.ph, label %44 .lr.ph: ; preds = %12 br label %20 20: ; preds = %.lr.ph, %37 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %7, align 4 %23 = srem i32 %21, %22 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %34 25: ; preds = %20 %26 = load i32, ptr @stdout, align 4 %27 = load i32, ptr %7, align 4 %28 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.1, i32 noundef %27) %29 = load i32, ptr %4, align 4 %30 = load i32, ptr %5, align 4 %31 = load i32, ptr %7, align 4 %32 = sdiv i32 %30, %31 %33 = load i32, ptr %7, align 4 call void @factor(i32 noundef %29, i32 noundef %32, i32 noundef %33) br label %55 34: ; preds = %20 %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %7, align 4 br label %37 37: ; preds = %34 %38 = load i32, ptr %7, align 4 %39 = load i32, ptr %5, align 4 %40 = sitofp i32 %39 to double %41 = call i64 @sqrt(double noundef %40) %42 = trunc i64 %41 to i32 %43 = icmp sle i32 %38, %42 br i1 %43, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %44 44: ; preds = %._crit_edge, %12 %45 = load i32, ptr %5, align 4 %46 = load i32, ptr %4, align 4 %47 = icmp eq i32 %45, %46 br i1 %47, label %48, label %51 48: ; preds = %44 %49 = load i32, ptr %4, align 4 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %49) br label %54 51: ; preds = %44 %52 = load i32, ptr %5, align 4 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %52) br label %54 54: ; preds = %51, %48 br label %55 55: ; preds = %54, %25, %10 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i64 @sqrt(double noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpeslhjmjm.c' source_filename = "/tmp/tmpeslhjmjm.c" target datalayout = "e-m:e-p270: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/tmpeslhjmjm.c" target datalayout = "e-m:e-p270: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/tmp6j09zglt.c' source_filename = "/tmp/tmp6j09zglt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @v_realloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call ptr @realloc(ptr noundef %5, i64 noundef %6) #2 ret ptr %7 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6j09zglt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @v_realloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call ptr @realloc(ptr noundef %5, i64 noundef %6) #2 ret ptr %7 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcv0bhlzo.c' source_filename = "/tmp/tmpcv0bhlzo.c" target datalayout = "e-m:e-p270: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/tmpcv0bhlzo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_lcjz91_.c' source_filename = "/tmp/tmp_lcjz91_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_lcjz91_.c" target datalayout = "e-m:e-p270: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/tmp9p834bx3.c' source_filename = "/tmp/tmp9p834bx3.c" target datalayout = "e-m:e-p270: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 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tcpstrlisten(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca %struct.sockaddr_in, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %11 = load ptr, ptr %7, align 8 %12 = load ptr, ptr %8, align 8 %13 = load i32, ptr @AF_INET, align 4 %14 = load i32, ptr @SOCK_STREAM, align 4 %15 = call i64 @sockaddrfill(ptr noundef %10, ptr noundef %11, ptr noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef 1) %16 = icmp slt i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %4 store i32 -1, ptr %5, align 4 br label %30 18: ; preds = %4 %19 = load i32, ptr %6, align 4 %20 = call i64 @bind(i32 noundef %19, ptr noundef %10, i32 noundef 4) %21 = icmp slt i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %18 store i32 -1, ptr %5, align 4 br label %30 23: ; preds = %18 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %9, align 4 %26 = call i64 @listen(i32 noundef %24, i32 noundef %25) %27 = icmp slt i64 %26, 0 br i1 %27, label %28, label %29 28: ; preds = %23 store i32 -1, ptr %5, align 4 br label %30 29: ; preds = %23 store i32 0, ptr %5, align 4 br label %30 30: ; preds = %29, %28, %22, %17 %31 = load i32, ptr %5, align 4 ret i32 %31 } declare i64 @sockaddrfill(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @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/tmp9p834bx3.c" target datalayout = "e-m:e-p270: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 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tcpstrlisten(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca %struct.sockaddr_in, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %11 = load ptr, ptr %7, align 8 %12 = load ptr, ptr %8, align 8 %13 = load i32, ptr @AF_INET, align 4 %14 = load i32, ptr @SOCK_STREAM, align 4 %15 = call i64 @sockaddrfill(ptr noundef %10, ptr noundef %11, ptr noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef 1) %16 = icmp slt i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %4 store i32 -1, ptr %5, align 4 br label %30 18: ; preds = %4 %19 = load i32, ptr %6, align 4 %20 = call i64 @bind(i32 noundef %19, ptr noundef %10, i32 noundef 4) %21 = icmp slt i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %18 store i32 -1, ptr %5, align 4 br label %30 23: ; preds = %18 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %9, align 4 %26 = call i64 @listen(i32 noundef %24, i32 noundef %25) %27 = icmp slt i64 %26, 0 br i1 %27, label %28, label %29 28: ; preds = %23 store i32 -1, ptr %5, align 4 br label %30 29: ; preds = %23 store i32 0, ptr %5, align 4 br label %30 30: ; preds = %29, %28, %22, %17 %31 = load i32, ptr %5, align 4 ret i32 %31 } declare i64 @sockaddrfill(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @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/tmp_d3q3rdu.c' source_filename = "/tmp/tmp_d3q3rdu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [52 x i8] c"Informe a operacao desejada soma(1) ou produto (2):\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"O resultado foi: %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %4 4: ; preds = %24, %0 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = load i32, ptr %2, align 4 %8 = icmp eq i32 %7, 1 br i1 %8, label %9, label %11 9: ; preds = %4 %10 = call i32 (...) @soma() store i32 %10, ptr %3, align 4 br label %17 11: ; preds = %4 %12 = load i32, ptr %2, align 4 %13 = icmp eq i32 %12, 2 br i1 %13, label %14, label %16 14: ; preds = %11 %15 = call i32 (...) @mult() store i32 %15, ptr %3, align 4 br label %16 16: ; preds = %14, %11 br label %17 17: ; preds = %16, %9 %18 = load i32, ptr %2, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %17 %21 = load i32, ptr %3, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %21) br label %23 23: ; preds = %20, %17 br label %24 24: ; preds = %23 %25 = load i32, ptr %2, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %4, label %27, !llvm.loop !6 27: ; preds = %24 %28 = load i32, ptr %1, align 4 ret i32 %28 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @soma(...) #1 declare i32 @mult(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_d3q3rdu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [52 x i8] c"Informe a operacao desejada soma(1) ou produto (2):\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"O resultado foi: %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %4 4: ; preds = %24, %0 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = load i32, ptr %2, align 4 %8 = icmp eq i32 %7, 1 br i1 %8, label %9, label %11 9: ; preds = %4 %10 = call i32 (...) @soma() store i32 %10, ptr %3, align 4 br label %17 11: ; preds = %4 %12 = load i32, ptr %2, align 4 %13 = icmp eq i32 %12, 2 br i1 %13, label %14, label %16 14: ; preds = %11 %15 = call i32 (...) @mult() store i32 %15, ptr %3, align 4 br label %16 16: ; preds = %14, %11 br label %17 17: ; preds = %16, %9 %18 = load i32, ptr %2, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %17 %21 = load i32, ptr %3, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %21) br label %23 23: ; preds = %20, %17 br label %24 24: ; preds = %23 %25 = load i32, ptr %2, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %4, label %27, !llvm.loop !6 27: ; preds = %24 %28 = load i32, ptr %1, align 4 ret i32 %28 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @soma(...) #1 declare i32 @mult(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp8_oeifdh.c' source_filename = "/tmp/tmp8_oeifdh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f is our variable.\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"cos(%f)=%f\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"exp(%f)=%f\0A\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"log(%f)=%f\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"pow(%f,%f)=%f\0A\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"sqrt(%f)=%f\0A\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"ceil(%f)=%f\0A\00", align 1 @.str.7 = private unnamed_addr constant [14 x i8] c"floor(%f)=%f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca double, align 8 store double 2.550000e+01, ptr %1, align 8 %2 = load double, ptr %1, align 8 %3 = call i32 (ptr, double, ...) @printf(ptr noundef @.str, double noundef %2) %4 = load double, ptr %1, align 8 %5 = load double, ptr %1, align 8 %6 = call double @cos(double noundef %5) #4 %7 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.1, double noundef %4, double noundef %6) %8 = load double, ptr %1, align 8 %9 = load double, ptr %1, align 8 %10 = call double @exp(double noundef %9) #4 %11 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.2, double noundef %8, double noundef %10) %12 = load double, ptr %1, align 8 %13 = load double, ptr %1, align 8 %14 = call double @log(double noundef %13) #4 %15 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.3, double noundef %12, double noundef %14) %16 = load double, ptr %1, align 8 %17 = load double, ptr %1, align 8 %18 = load double, ptr %1, align 8 %19 = load double, ptr %1, align 8 %20 = call double @pow(double noundef %18, double noundef %19) #4 %21 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.4, double noundef %16, double noundef %17, double noundef %20) %22 = load double, ptr %1, align 8 %23 = load double, ptr %1, align 8 %24 = call double @sqrt(double noundef %23) #4 %25 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.5, double noundef %22, double noundef %24) %26 = load double, ptr %1, align 8 %27 = load double, ptr %1, align 8 %28 = call double @llvm.ceil.f64(double %27) %29 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.6, double noundef %26, double noundef %28) %30 = load double, ptr %1, align 8 %31 = load double, ptr %1, align 8 %32 = call double @llvm.floor.f64(double %31) %33 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.7, double noundef %30, double noundef %32) ret i32 0 } declare i32 @printf(ptr noundef, double noundef, ...) #1 ; Function Attrs: nounwind declare double @cos(double noundef) #2 ; Function Attrs: nounwind declare double @exp(double noundef) #2 ; Function Attrs: nounwind declare double @log(double noundef) #2 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.ceil.f64(double) #3 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.floor.f64(double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8_oeifdh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f is our variable.\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"cos(%f)=%f\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"exp(%f)=%f\0A\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"log(%f)=%f\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"pow(%f,%f)=%f\0A\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"sqrt(%f)=%f\0A\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"ceil(%f)=%f\0A\00", align 1 @.str.7 = private unnamed_addr constant [14 x i8] c"floor(%f)=%f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca double, align 8 store double 2.550000e+01, ptr %1, align 8 %2 = load double, ptr %1, align 8 %3 = call i32 (ptr, double, ...) @printf(ptr noundef @.str, double noundef %2) %4 = load double, ptr %1, align 8 %5 = load double, ptr %1, align 8 %6 = call double @cos(double noundef %5) #4 %7 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.1, double noundef %4, double noundef %6) %8 = load double, ptr %1, align 8 %9 = load double, ptr %1, align 8 %10 = call double @exp(double noundef %9) #4 %11 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.2, double noundef %8, double noundef %10) %12 = load double, ptr %1, align 8 %13 = load double, ptr %1, align 8 %14 = call double @log(double noundef %13) #4 %15 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.3, double noundef %12, double noundef %14) %16 = load double, ptr %1, align 8 %17 = load double, ptr %1, align 8 %18 = load double, ptr %1, align 8 %19 = load double, ptr %1, align 8 %20 = call double @pow(double noundef %18, double noundef %19) #4 %21 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.4, double noundef %16, double noundef %17, double noundef %20) %22 = load double, ptr %1, align 8 %23 = load double, ptr %1, align 8 %24 = call double @sqrt(double noundef %23) #4 %25 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.5, double noundef %22, double noundef %24) %26 = load double, ptr %1, align 8 %27 = load double, ptr %1, align 8 %28 = call double @llvm.ceil.f64(double %27) %29 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.6, double noundef %26, double noundef %28) %30 = load double, ptr %1, align 8 %31 = load double, ptr %1, align 8 %32 = call double @llvm.floor.f64(double %31) %33 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.7, double noundef %30, double noundef %32) ret i32 0 } declare i32 @printf(ptr noundef, double noundef, ...) #1 ; Function Attrs: nounwind declare double @cos(double noundef) #2 ; Function Attrs: nounwind declare double @exp(double noundef) #2 ; Function Attrs: nounwind declare double @log(double noundef) #2 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.ceil.f64(double) #3 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.floor.f64(double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcczx8757.c' source_filename = "/tmp/tmpcczx8757.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @byteswap4(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = and i32 %3, -65536 %5 = lshr i32 %4, 16 %6 = load i32, ptr %2, align 4 %7 = and i32 %6, 65535 %8 = shl i32 %7, 16 %9 = or i32 %5, %8 store i32 %9, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = and i32 %10, -16711936 %12 = lshr i32 %11, 8 %13 = load i32, ptr %2, align 4 %14 = and i32 %13, 16711935 %15 = shl i32 %14, 8 %16 = or i32 %12, %15 ret i32 %16 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcczx8757.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @byteswap4(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = and i32 %3, -65536 %5 = lshr i32 %4, 16 %6 = load i32, ptr %2, align 4 %7 = and i32 %6, 65535 %8 = shl i32 %7, 16 %9 = or i32 %5, %8 store i32 %9, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = and i32 %10, -16711936 %12 = lshr i32 %11, 8 %13 = load i32, ptr %2, align 4 %14 = and i32 %13, 16711935 %15 = shl i32 %14, 8 %16 = or i32 %12, %15 ret i32 %16 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwstr9cl8.c' source_filename = "/tmp/tmpwstr9cl8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sse4_strstr_len3(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %11 = load ptr, ptr %5, align 8 call void asm sideeffect "movdqu (%eax), %xmm1", "{ax},~{dirflag},~{fpsr},~{flags}"(ptr %11) #1, !srcloc !6 call void asm sideeffect "pxor %xmm0, %xmm0", "~{dirflag},~{fpsr},~{flags}"() #1, !srcloc !7 %12 = load ptr, ptr %7, align 8 %13 = load i32, ptr %8, align 4 %14 = load i32, ptr %6, align 4 %15 = sub nsw i32 %13, %14 %16 = call { ptr, i32, i32 } asm sideeffect "0:\09\09\09\09\09\0A\09movdqu (%esi), %xmm2\09\09\0A\09addl $$8, %esi\09\09\09\0A\09movdqa %xmm2, %xmm3\09\09\0A\09psrldq $$3, %xmm3\09\09\0A\09pmovzxbw %xmm3, %xmm3\09\09\0A\09mpsadbw $$0, %xmm1, %xmm2\09\0A\09psubw %xmm3, %xmm2\09\09\0A\09pcmpeqw %xmm0, %xmm2\09\09\0A\09ptest %xmm2, %xmm0\09\09\0A\09jnc 1f\09\09\09\0A\09subl $$8, %ecx\09\09\09\0A\09cmpl $$0, %ecx\09\09\09\0A\09jg 0b\09\09\09\09\0A\09xorl %eax, %eax\09\09\0A\09jmp 2f\09\09\09\09\0A1:\09\09\09\09\09\0A\09pmovmskb %xmm2, %eax\09\09\0A\09bsfl %eax, %eax\09\09\0A\09shrl $$1, %eax\09\09\0A\09lea -8(%esi, %eax), %eax\09\0A2:\09\09\09\09\09\0A", "={ax},={si},={cx},{si},{cx},~{dirflag},~{fpsr},~{flags}"(ptr %12, i32 %15) #1, !srcloc !8 %17 = extractvalue { ptr, i32, i32 } %16, 0 %18 = extractvalue { ptr, i32, i32 } %16, 1 %19 = extractvalue { ptr, i32, i32 } %16, 2 store ptr %17, ptr %10, align 8 store i32 %18, ptr %9, align 4 store i32 %19, ptr %9, align 4 %20 = load ptr, ptr %10, align 8 ret ptr %20 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = !{i64 572} !7 = !{i64 631} !8 = !{i64 686, i64 702, i64 734, i64 759, i64 791, i64 823, i64 859, i64 894, i64 928, i64 962, i64 994, i64 1016, i64 1041, i64 1066, i64 1086, i64 1113, i64 1133, i64 1147, i64 1179, i64 1211, i64 1243, i64 1279}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwstr9cl8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sse4_strstr_len3(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %11 = load ptr, ptr %5, align 8 call void asm sideeffect "movdqu (%eax), %xmm1", "{ax},~{dirflag},~{fpsr},~{flags}"(ptr %11) #1, !srcloc !6 call void asm sideeffect "pxor %xmm0, %xmm0", "~{dirflag},~{fpsr},~{flags}"() #1, !srcloc !7 %12 = load ptr, ptr %7, align 8 %13 = load i32, ptr %8, align 4 %14 = load i32, ptr %6, align 4 %15 = sub nsw i32 %13, %14 %16 = call { ptr, i32, i32 } asm sideeffect "0:\09\09\09\09\09\0A\09movdqu (%esi), %xmm2\09\09\0A\09addl $$8, %esi\09\09\09\0A\09movdqa %xmm2, %xmm3\09\09\0A\09psrldq $$3, %xmm3\09\09\0A\09pmovzxbw %xmm3, %xmm3\09\09\0A\09mpsadbw $$0, %xmm1, %xmm2\09\0A\09psubw %xmm3, %xmm2\09\09\0A\09pcmpeqw %xmm0, %xmm2\09\09\0A\09ptest %xmm2, %xmm0\09\09\0A\09jnc 1f\09\09\09\0A\09subl $$8, %ecx\09\09\09\0A\09cmpl $$0, %ecx\09\09\09\0A\09jg 0b\09\09\09\09\0A\09xorl %eax, %eax\09\09\0A\09jmp 2f\09\09\09\09\0A1:\09\09\09\09\09\0A\09pmovmskb %xmm2, %eax\09\09\0A\09bsfl %eax, %eax\09\09\0A\09shrl $$1, %eax\09\09\0A\09lea -8(%esi, %eax), %eax\09\0A2:\09\09\09\09\09\0A", "={ax},={si},={cx},{si},{cx},~{dirflag},~{fpsr},~{flags}"(ptr %12, i32 %15) #1, !srcloc !8 %17 = extractvalue { ptr, i32, i32 } %16, 0 %18 = extractvalue { ptr, i32, i32 } %16, 1 %19 = extractvalue { ptr, i32, i32 } %16, 2 store ptr %17, ptr %10, align 8 store i32 %18, ptr %9, align 4 store i32 %19, ptr %9, align 4 %20 = load ptr, ptr %10, align 8 ret ptr %20 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = !{i64 572} !7 = !{i64 631} !8 = !{i64 686, i64 702, i64 734, i64 759, i64 791, i64 823, i64 859, i64 894, i64 928, i64 962, i64 994, i64 1016, i64 1041, i64 1066, i64 1086, i64 1113, i64 1133, i64 1147, i64 1179, i64 1211, i64 1243, i64 1279}
; ModuleID = '/tmp/tmp_4ld2n2t.c' source_filename = "/tmp/tmp_4ld2n2t.c" target datalayout = "e-m:e-p270: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 } %struct.hostent = type { i32, i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @EFAULT = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @create_connection(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca %struct.sockaddr_in, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %9 = load i32, ptr @AF_INET, align 4 %10 = load i32, ptr @SOCK_STREAM, align 4 %11 = call i32 @socket(i32 noundef %9, i32 noundef %10, i32 noundef 0) store i32 %11, ptr %8, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %2 store i32 -5, ptr %3, align 4 br label %42 14: ; preds = %2 %15 = load ptr, ptr %4, align 8 %16 = call ptr @gethostbyname(ptr noundef %15) store ptr %16, ptr %7, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %20 18: ; preds = %14 %19 = load i32, ptr @EFAULT, align 4 store i32 %19, ptr @errno, align 4 store i32 -6, ptr %3, align 4 br label %42 20: ; preds = %14 %21 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 12) %22 = load i32, ptr @AF_INET, align 4 %23 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 store i32 %22, ptr %23, align 4 %24 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 %25 = getelementptr inbounds %struct.TYPE_2__, ptr %24, i32 0, i32 0 %26 = load ptr, ptr %7, align 8 %27 = getelementptr inbounds %struct.hostent, ptr %26, i32 0, i32 1 %28 = load i32, ptr %27, align 4 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds %struct.hostent, ptr %29, i32 0, i32 0 %31 = load i32, ptr %30, align 4 %32 = call i32 @memcpy(ptr noundef %25, i32 noundef %28, i32 noundef %31) %33 = load i32, ptr %5, align 4 %34 = call i32 @htons(i32 noundef %33) %35 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 store i32 %34, ptr %35, align 4 %36 = load i32, ptr %8, align 4 %37 = call i64 @connect(i32 noundef %36, ptr noundef %6, i32 noundef 12) %38 = icmp slt i64 %37, 0 br i1 %38, label %39, label %40 39: ; preds = %20 store i32 -7, ptr %3, align 4 br label %42 40: ; preds = %20 %41 = load i32, ptr %8, align 4 store i32 %41, ptr %3, align 4 br label %42 42: ; preds = %40, %39, %18, %13 %43 = load i32, ptr %3, align 4 ret i32 %43 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @gethostbyname(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @connect(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/tmp_4ld2n2t.c" target datalayout = "e-m:e-p270: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 } %struct.hostent = type { i32, i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @EFAULT = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @create_connection(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca %struct.sockaddr_in, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %9 = load i32, ptr @AF_INET, align 4 %10 = load i32, ptr @SOCK_STREAM, align 4 %11 = call i32 @socket(i32 noundef %9, i32 noundef %10, i32 noundef 0) store i32 %11, ptr %8, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %2 store i32 -5, ptr %3, align 4 br label %42 14: ; preds = %2 %15 = load ptr, ptr %4, align 8 %16 = call ptr @gethostbyname(ptr noundef %15) store ptr %16, ptr %7, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %20 18: ; preds = %14 %19 = load i32, ptr @EFAULT, align 4 store i32 %19, ptr @errno, align 4 store i32 -6, ptr %3, align 4 br label %42 20: ; preds = %14 %21 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 12) %22 = load i32, ptr @AF_INET, align 4 %23 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 store i32 %22, ptr %23, align 4 %24 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 %25 = getelementptr inbounds %struct.TYPE_2__, ptr %24, i32 0, i32 0 %26 = load ptr, ptr %7, align 8 %27 = getelementptr inbounds %struct.hostent, ptr %26, i32 0, i32 1 %28 = load i32, ptr %27, align 4 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds %struct.hostent, ptr %29, i32 0, i32 0 %31 = load i32, ptr %30, align 4 %32 = call i32 @memcpy(ptr noundef %25, i32 noundef %28, i32 noundef %31) %33 = load i32, ptr %5, align 4 %34 = call i32 @htons(i32 noundef %33) %35 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 store i32 %34, ptr %35, align 4 %36 = load i32, ptr %8, align 4 %37 = call i64 @connect(i32 noundef %36, ptr noundef %6, i32 noundef 12) %38 = icmp slt i64 %37, 0 br i1 %38, label %39, label %40 39: ; preds = %20 store i32 -7, ptr %3, align 4 br label %42 40: ; preds = %20 %41 = load i32, ptr %8, align 4 store i32 %41, ptr %3, align 4 br label %42 42: ; preds = %40, %39, %18, %13 %43 = load i32, ptr %3, align 4 ret i32 %43 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @gethostbyname(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @connect(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/tmpsy8_543v.c' source_filename = "/tmp/tmpsy8_543v.c" target datalayout = "e-m:e-p270: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/tmpsy8_543v.c" target datalayout = "e-m:e-p270: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/tmpuzdure1b.c' source_filename = "/tmp/tmpuzdure1b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [69 x i8] c"\D5\86\D5\A5\D6\80\D5\A1\D5\AE\D5\AB\D6\80 \D5\A4\D5\A5\D5\AF\D5\A1\D6\80\D5\BF\D5\B5\D5\A1\D5\B6 \D5\AF\D5\B8\D5\B8\D6\80\D5\A4\D5\AB\D5\B6\D5\A1\D5\BF\D5\B6\D5\A5\D6\80\D5\A8 x,y\E2\80\A4 \00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%lf,%lf\00", align 1 @.str.2 = private unnamed_addr constant [51 x i8] c"\D4\B2\D6\87\D5\A5\D5\BC\D5\A1\D5\B5\D5\AB\D5\B6 \D5\AF\D5\B8\D5\B8\D6\80\D5\A4\D5\B6\D5\A1\D5\BF\D5\B6\D5\A5\D6\80\D5\B6 \D5\A5\D5\B6\E2\80\A4 \00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"\CF\81 = %lf, \CF\86 = %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 double, align 8 %5 = alloca double, align 8 store i32 0, ptr %1, align 4 store double 0.000000e+00, ptr %2, align 8 store double 0.000000e+00, ptr %3, align 8 %6 = call i32 @puts(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %8 = load double, ptr %2, align 8 %9 = load double, ptr %2, align 8 %10 = load double, ptr %3, align 8 %11 = load double, ptr %3, align 8 %12 = fmul double %10, %11 %13 = call double @llvm.fmuladd.f64(double %8, double %9, double %12) %14 = call double @sqrt(double noundef %13) #4 store double %14, ptr %4, align 8 %15 = load double, ptr %3, align 8 %16 = load double, ptr %2, align 8 %17 = call double @atan2(double noundef %15, double noundef %16) #4 store double %17, ptr %5, align 8 %18 = call i32 @puts(ptr noundef @.str.2) %19 = load double, ptr %4, align 8 %20 = load double, ptr %5, align 8 %21 = call i32 @printf(ptr noundef @.str.3, double noundef %19, double noundef %20) ret i32 0 } declare i32 @puts(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 ; Function Attrs: nounwind declare double @atan2(double noundef, double noundef) #2 declare i32 @printf(ptr noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuzdure1b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [69 x i8] c"\D5\86\D5\A5\D6\80\D5\A1\D5\AE\D5\AB\D6\80 \D5\A4\D5\A5\D5\AF\D5\A1\D6\80\D5\BF\D5\B5\D5\A1\D5\B6 \D5\AF\D5\B8\D5\B8\D6\80\D5\A4\D5\AB\D5\B6\D5\A1\D5\BF\D5\B6\D5\A5\D6\80\D5\A8 x,y\E2\80\A4 \00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%lf,%lf\00", align 1 @.str.2 = private unnamed_addr constant [51 x i8] c"\D4\B2\D6\87\D5\A5\D5\BC\D5\A1\D5\B5\D5\AB\D5\B6 \D5\AF\D5\B8\D5\B8\D6\80\D5\A4\D5\B6\D5\A1\D5\BF\D5\B6\D5\A5\D6\80\D5\B6 \D5\A5\D5\B6\E2\80\A4 \00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"\CF\81 = %lf, \CF\86 = %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 double, align 8 %5 = alloca double, align 8 store i32 0, ptr %1, align 4 store double 0.000000e+00, ptr %2, align 8 store double 0.000000e+00, ptr %3, align 8 %6 = call i32 @puts(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %8 = load double, ptr %2, align 8 %9 = load double, ptr %2, align 8 %10 = load double, ptr %3, align 8 %11 = load double, ptr %3, align 8 %12 = fmul double %10, %11 %13 = call double @llvm.fmuladd.f64(double %8, double %9, double %12) %14 = call double @sqrt(double noundef %13) #4 store double %14, ptr %4, align 8 %15 = load double, ptr %3, align 8 %16 = load double, ptr %2, align 8 %17 = call double @atan2(double noundef %15, double noundef %16) #4 store double %17, ptr %5, align 8 %18 = call i32 @puts(ptr noundef @.str.2) %19 = load double, ptr %4, align 8 %20 = load double, ptr %5, align 8 %21 = call i32 @printf(ptr noundef @.str.3, double noundef %19, double noundef %20) ret i32 0 } declare i32 @puts(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 ; Function Attrs: nounwind declare double @atan2(double noundef, double noundef) #2 declare i32 @printf(ptr noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplwia4nfi.c' source_filename = "/tmp/tmplwia4nfi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @log_msg_arg1s(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 [128 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = call i32 @sprintf(ptr noundef %8, ptr noundef %9, ptr noundef %10) %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %14 = call i32 @log_msg(ptr noundef %12, ptr noundef %13) ret void } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @log_msg(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/tmplwia4nfi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @log_msg_arg1s(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 [128 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = call i32 @sprintf(ptr noundef %8, ptr noundef %9, ptr noundef %10) %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %14 = call i32 @log_msg(ptr noundef %12, ptr noundef %13) ret void } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @log_msg(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/tmpylg3zdsq.c' source_filename = "/tmp/tmpylg3zdsq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w:s:\00", align 1 @optarg = dso_local global ptr null, align 8 @.str.1 = private unnamed_addr constant [47 x i8] c"xpandwindow: xpanding window %d with scale %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 ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 br label %11 11: ; preds = %23, %2 %12 = load i32, ptr %4, align 4 %13 = load ptr, ptr %5, align 8 %14 = call i32 @getopt(i32 noundef %12, ptr noundef %13, ptr noundef @.str) store i32 %14, ptr %6, align 4 %15 = icmp ne i32 %14, -1 br i1 %15, label %16, label %24 16: ; preds = %11 %17 = load i32, ptr %6, align 4 switch i32 %17, label %23 [ i32 119, label %18 i32 115, label %20 i32 63, label %22 ] 18: ; preds = %16 %19 = load ptr, ptr @optarg, align 8 store ptr %19, ptr %7, align 8 br label %23 20: ; preds = %16 %21 = load ptr, ptr @optarg, align 8 store ptr %21, ptr %8, align 8 br label %23 22: ; preds = %16 br label %23 23: ; preds = %16, %22, %20, %18 br label %11, !llvm.loop !6 24: ; preds = %11 %25 = load ptr, ptr %7, align 8 %26 = call i32 @atoi(ptr noundef %25) store i32 %26, ptr %9, align 4 %27 = load ptr, ptr %8, align 8 %28 = call i32 @atoi(ptr noundef %27) store i32 %28, ptr %10, align 4 %29 = load i32, ptr %9, align 4 %30 = load i32, ptr %10, align 4 %31 = call i32 @printf(ptr noundef @.str.1, i32 noundef %29, i32 noundef %30) %32 = load i32, ptr %9, align 4 %33 = load i32, ptr %10, align 4 %34 = call i32 @XpandWindow(i32 noundef %32, i32 noundef %33) ret i32 %34 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @XpandWindow(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/tmpylg3zdsq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w:s:\00", align 1 @optarg = dso_local global ptr null, align 8 @.str.1 = private unnamed_addr constant [47 x i8] c"xpandwindow: xpanding window %d with scale %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 ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = load ptr, ptr %5, align 8 %13 = call i32 @getopt(i32 noundef %11, ptr noundef %12, ptr noundef @.str) store i32 %13, ptr %6, align 4 %14 = icmp ne i32 %13, -1 br i1 %14, label %.lr.ph, label %27 .lr.ph: ; preds = %2 br label %15 15: ; preds = %.lr.ph, %22 %16 = load i32, ptr %6, align 4 switch i32 %16, label %22 [ i32 119, label %17 i32 115, label %19 i32 63, label %21 ] 17: ; preds = %15 %18 = load ptr, ptr @optarg, align 8 store ptr %18, ptr %7, align 8 br label %22 19: ; preds = %15 %20 = load ptr, ptr @optarg, align 8 store ptr %20, ptr %8, align 8 br label %22 21: ; preds = %15 br label %22 22: ; preds = %21, %19, %17, %15 %23 = load i32, ptr %4, align 4 %24 = load ptr, ptr %5, align 8 %25 = call i32 @getopt(i32 noundef %23, ptr noundef %24, ptr noundef @.str) store i32 %25, ptr %6, align 4 %26 = icmp ne i32 %25, -1 br i1 %26, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %27 27: ; preds = %._crit_edge, %2 %28 = load ptr, ptr %7, align 8 %29 = call i32 @atoi(ptr noundef %28) store i32 %29, ptr %9, align 4 %30 = load ptr, ptr %8, align 8 %31 = call i32 @atoi(ptr noundef %30) store i32 %31, ptr %10, align 4 %32 = load i32, ptr %9, align 4 %33 = load i32, ptr %10, align 4 %34 = call i32 @printf(ptr noundef @.str.1, i32 noundef %32, i32 noundef %33) %35 = load i32, ptr %9, align 4 %36 = load i32, ptr %10, align 4 %37 = call i32 @XpandWindow(i32 noundef %35, i32 noundef %36) ret i32 %37 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @XpandWindow(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/tmpe6ppyzeb.c' source_filename = "/tmp/tmpe6ppyzeb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @chaz_HeadCheck_size_of_type.sizeof_code = internal constant [52 x i8] c"#include <stddef.h>\0A%s\0Aint a[sizeof(%s)==%d?1:-1];\0A\00", align 16 @chaz_HeadCheck_size_of_type.sizes = internal constant [4 x i32] [i32 4, i32 8, i32 2, i32 1], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @chaz_HeadCheck_size_of_type(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %12 = load ptr, ptr %4, align 8 %13 = call i32 @strlen(ptr noundef %12) %14 = sext i32 %13 to i64 %15 = add i64 52, %14 %16 = load ptr, ptr %5, align 8 %17 = call i32 @strlen(ptr noundef %16) %18 = sext i32 %17 to i64 %19 = add i64 %15, %18 %20 = add i64 %19, 10 store i64 %20, ptr %7, align 8 %21 = load i64, ptr %7, align 8 %22 = call i64 @malloc(i64 noundef %21) %23 = inttoptr i64 %22 to ptr store ptr %23, ptr %8, align 8 store i32 0, ptr %9, align 4 store i32 -1, ptr %10, align 4 br label %24 24: ; preds = %63, %3 %25 = load i32, ptr %10, align 4 %26 = icmp slt i32 %25, 4 br i1 %26, label %27, label %66 27: ; preds = %24 %28 = load i32, ptr %10, align 4 %29 = icmp slt i32 %28, 0 br i1 %29, label %30, label %37 30: ; preds = %27 %31 = load i32, ptr %6, align 4 %32 = icmp ne i32 %31, 0 br i1 %32, label %33, label %35 33: ; preds = %30 %34 = load i32, ptr %6, align 4 store i32 %34, ptr %11, align 4 br label %36 35: ; preds = %30 br label %63 36: ; preds = %33 br label %51 37: ; preds = %27 %38 = load i32, ptr %10, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [4 x i32], ptr @chaz_HeadCheck_size_of_type.sizes, i64 0, i64 %39 %41 = load i32, ptr %40, align 4 %42 = load i32, ptr %6, align 4 %43 = icmp ne i32 %41, %42 br i1 %43, label %44, label %49 44: ; preds = %37 %45 = load i32, ptr %10, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [4 x i32], ptr @chaz_HeadCheck_size_of_type.sizes, i64 0, i64 %46 %48 = load i32, ptr %47, align 4 store i32 %48, ptr %11, align 4 br label %50 49: ; preds = %37 br label %63 50: ; preds = %44 br label %51 51: ; preds = %50, %36 %52 = load ptr, ptr %8, align 8 %53 = load ptr, ptr %5, align 8 %54 = load ptr, ptr %4, align 8 %55 = load i32, ptr %11, align 4 %56 = call i32 @sprintf(ptr noundef %52, ptr noundef @chaz_HeadCheck_size_of_type.sizeof_code, ptr noundef %53, ptr noundef %54, i32 noundef %55) %57 = load ptr, ptr %8, align 8 %58 = call i64 @chaz_CC_test_compile(ptr noundef %57) %59 = icmp ne i64 %58, 0 br i1 %59, label %60, label %62 60: ; preds = %51 %61 = load i32, ptr %11, align 4 store i32 %61, ptr %9, align 4 br label %66 62: ; preds = %51 br label %63 63: ; preds = %62, %49, %35 %64 = load i32, ptr %10, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %10, align 4 br label %24, !llvm.loop !6 66: ; preds = %60, %24 %67 = load ptr, ptr %8, align 8 %68 = call i32 @free(ptr noundef %67) %69 = load i32, ptr %9, align 4 ret i32 %69 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @chaz_CC_test_compile(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe6ppyzeb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @chaz_HeadCheck_size_of_type.sizeof_code = internal constant [52 x i8] c"#include <stddef.h>\0A%s\0Aint a[sizeof(%s)==%d?1:-1];\0A\00", align 16 @chaz_HeadCheck_size_of_type.sizes = internal constant [4 x i32] [i32 4, i32 8, i32 2, i32 1], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @chaz_HeadCheck_size_of_type(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %12 = load ptr, ptr %4, align 8 %13 = call i32 @strlen(ptr noundef %12) %14 = sext i32 %13 to i64 %15 = add i64 52, %14 %16 = load ptr, ptr %5, align 8 %17 = call i32 @strlen(ptr noundef %16) %18 = sext i32 %17 to i64 %19 = add i64 %15, %18 %20 = add i64 %19, 10 store i64 %20, ptr %7, align 8 %21 = load i64, ptr %7, align 8 %22 = call i64 @malloc(i64 noundef %21) %23 = inttoptr i64 %22 to ptr store ptr %23, ptr %8, align 8 store i32 0, ptr %9, align 4 store i32 -1, ptr %10, align 4 %24 = load i32, ptr %10, align 4 %25 = icmp slt i32 %24, 4 br i1 %25, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %3 br label %26 26: ; preds = %.lr.ph, %62 %27 = load i32, ptr %10, align 4 %28 = icmp slt i32 %27, 0 br i1 %28, label %29, label %36 29: ; preds = %26 %30 = load i32, ptr %6, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %29 %33 = load i32, ptr %6, align 4 store i32 %33, ptr %11, align 4 br label %35 34: ; preds = %29 br label %62 35: ; preds = %32 br label %50 36: ; preds = %26 %37 = load i32, ptr %10, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [4 x i32], ptr @chaz_HeadCheck_size_of_type.sizes, i64 0, i64 %38 %40 = load i32, ptr %39, align 4 %41 = load i32, ptr %6, align 4 %42 = icmp ne i32 %40, %41 br i1 %42, label %43, label %48 43: ; preds = %36 %44 = load i32, ptr %10, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [4 x i32], ptr @chaz_HeadCheck_size_of_type.sizes, i64 0, i64 %45 %47 = load i32, ptr %46, align 4 store i32 %47, ptr %11, align 4 br label %49 48: ; preds = %36 br label %62 49: ; preds = %43 br label %50 50: ; preds = %49, %35 %51 = load ptr, ptr %8, align 8 %52 = load ptr, ptr %5, align 8 %53 = load ptr, ptr %4, align 8 %54 = load i32, ptr %11, align 4 %55 = call i32 @sprintf(ptr noundef %51, ptr noundef @chaz_HeadCheck_size_of_type.sizeof_code, ptr noundef %52, ptr noundef %53, i32 noundef %54) %56 = load ptr, ptr %8, align 8 %57 = call i64 @chaz_CC_test_compile(ptr noundef %56) %58 = icmp ne i64 %57, 0 br i1 %58, label %59, label %61 59: ; preds = %50 %60 = load i32, ptr %11, align 4 store i32 %60, ptr %9, align 4 br label %67 61: ; preds = %50 br label %62 62: ; preds = %61, %48, %34 %63 = load i32, ptr %10, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %10, align 4 %65 = load i32, ptr %10, align 4 %66 = icmp slt i32 %65, 4 br i1 %66, label %26, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %62 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %3 br label %67 67: ; preds = %.loopexit, %59 %68 = load ptr, ptr %8, align 8 %69 = call i32 @free(ptr noundef %68) %70 = load i32, ptr %9, align 4 ret i32 %70 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @chaz_CC_test_compile(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp947zv9wb.c' source_filename = "/tmp/tmp947zv9wb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @minimum(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load i32, ptr @INT_MAX, align 4 store i32 %10, ptr %7, align 4 store i32 0, ptr %9, align 4 br label %11 11: ; preds = %38, %3 %12 = load i32, ptr %9, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %41 15: ; preds = %11 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %9, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 %20 = load i32, ptr %19, align 4 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %37 22: ; preds = %15 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %9, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 %27 = load i32, ptr %26, align 4 %28 = load i32, ptr %7, align 4 %29 = icmp sle i32 %27, %28 br i1 %29, label %30, label %37 30: ; preds = %22 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %9, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %31, i64 %33 %35 = load i32, ptr %34, align 4 store i32 %35, ptr %7, align 4 %36 = load i32, ptr %9, align 4 store i32 %36, ptr %8, align 4 br label %37 37: ; preds = %30, %22, %15 br label %38 38: ; preds = %37 %39 = load i32, ptr %9, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %9, align 4 br label %11, !llvm.loop !6 41: ; preds = %11 %42 = load i32, ptr %8, align 4 ret i32 %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/tmp947zv9wb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @minimum(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load i32, ptr @INT_MAX, align 4 store i32 %10, ptr %7, align 4 store i32 0, ptr %9, align 4 %11 = load i32, ptr %9, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %43 .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %37 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %9, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %15, i64 %17 %19 = load i32, ptr %18, align 4 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %36 21: ; preds = %14 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %9, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 %26 = load i32, ptr %25, align 4 %27 = load i32, ptr %7, align 4 %28 = icmp sle i32 %26, %27 br i1 %28, label %29, label %36 29: ; preds = %21 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %9, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %30, i64 %32 %34 = load i32, ptr %33, align 4 store i32 %34, ptr %7, align 4 %35 = load i32, ptr %9, align 4 store i32 %35, ptr %8, align 4 br label %36 36: ; preds = %29, %21, %14 br label %37 37: ; preds = %36 %38 = load i32, ptr %9, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %9, align 4 %40 = load i32, ptr %9, align 4 %41 = load i32, ptr %6, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %43 43: ; preds = %._crit_edge, %3 %44 = load i32, ptr %8, align 4 ret i32 %44 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpd4ves4cd.c' source_filename = "/tmp/tmpd4ves4cd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i64 } @.str = private unnamed_addr constant [9 x i8] c"test.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @subfunc() #0 { %1 = alloca ptr, align 8 %2 = alloca %struct.stat, align 8 %3 = alloca ptr, align 8 %4 = alloca [16 x i8], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr null, ptr %1, align 8 store ptr null, ptr %3, align 8 call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 16, i1 false) store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = call i64 @stat(ptr noundef @.str, ptr noundef %2) %9 = icmp ne i64 0, %8 br i1 %9, label %10, label %11 10: ; preds = %0 br label %49 11: ; preds = %0 %12 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0 %13 = load i64, ptr %12, align 8 %14 = icmp sge i64 0, %13 br i1 %14, label %15, label %16 15: ; preds = %11 br label %49 16: ; preds = %11 %17 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0 %18 = load i64, ptr %17, align 8 %19 = call i64 @malloc(i64 noundef %18) %20 = inttoptr i64 %19 to ptr store ptr %20, ptr %3, align 8 %21 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %21, ptr %1, align 8 %22 = load ptr, ptr %1, align 8 %23 = icmp eq ptr null, %22 br i1 %23, label %24, label %25 24: ; preds = %16 br label %49 25: ; preds = %16 br label %26 26: ; preds = %31, %25 %27 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %28 = load ptr, ptr %1, align 8 %29 = call i32 @fread(ptr noundef %27, i32 noundef 1, i32 noundef 16, ptr noundef %28) store i32 %29, ptr %5, align 4 %30 = icmp slt i32 0, %29 br i1 %30, label %31, label %48 31: ; preds = %26 %32 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %33 = call i32 @append_file_thread(ptr noundef %32, i32 noundef 16) %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 %38 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %39 = load i32, ptr %5, align 4 %40 = call i32 @memcpy(ptr noundef %37, ptr noundef %38, i32 noundef %39) %41 = load i32, ptr %5, align 4 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, %41 store i32 %43, ptr %6, align 4 %44 = load i32, ptr %6, align 4 %45 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0 %46 = load i64, ptr %45, align 8 %47 = call i32 @progress_print(ptr noundef %7, i32 noundef %44, i64 noundef %46) br label %26, !llvm.loop !6 48: ; preds = %26 br label %49 49: ; preds = %48, %24, %15, %10 %50 = load ptr, ptr %1, align 8 %51 = icmp ne ptr null, %50 br i1 %51, label %52, label %55 52: ; preds = %49 %53 = load ptr, ptr %1, align 8 %54 = call i32 @fclose(ptr noundef %53) br label %55 55: ; preds = %52, %49 %56 = load ptr, ptr %3, align 8 %57 = icmp ne ptr null, %56 br i1 %57, label %58, label %61 58: ; preds = %55 %59 = load ptr, ptr %3, align 8 %60 = call i32 @free(ptr noundef %59) br label %61 61: ; preds = %58, %55 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i64 @stat(ptr noundef, ptr noundef) #2 declare i64 @malloc(i64 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @append_file_thread(ptr noundef, i32 noundef) #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @progress_print(ptr noundef, i32 noundef, i64 noundef) #2 declare i32 @fclose(ptr noundef) #2 declare i32 @free(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd4ves4cd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i64 } @.str = private unnamed_addr constant [9 x i8] c"test.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @subfunc() #0 { %1 = alloca ptr, align 8 %2 = alloca %struct.stat, align 8 %3 = alloca ptr, align 8 %4 = alloca [16 x i8], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr null, ptr %1, align 8 store ptr null, ptr %3, align 8 call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 16, i1 false) store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = call i64 @stat(ptr noundef @.str, ptr noundef %2) %9 = icmp ne i64 0, %8 br i1 %9, label %10, label %11 10: ; preds = %0 br label %51 11: ; preds = %0 %12 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0 %13 = load i64, ptr %12, align 8 %14 = icmp sge i64 0, %13 br i1 %14, label %15, label %16 15: ; preds = %11 br label %51 16: ; preds = %11 %17 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0 %18 = load i64, ptr %17, align 8 %19 = call i64 @malloc(i64 noundef %18) %20 = inttoptr i64 %19 to ptr store ptr %20, ptr %3, align 8 %21 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %21, ptr %1, align 8 %22 = load ptr, ptr %1, align 8 %23 = icmp eq ptr null, %22 br i1 %23, label %24, label %25 24: ; preds = %16 br label %51 25: ; preds = %16 %26 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %27 = load ptr, ptr %1, align 8 %28 = call i32 @fread(ptr noundef %26, i32 noundef 1, i32 noundef 16, ptr noundef %27) store i32 %28, ptr %5, align 4 %29 = icmp slt i32 0, %28 br i1 %29, label %.lr.ph, label %50 .lr.ph: ; preds = %25 br label %30 30: ; preds = %.lr.ph, %30 %31 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %32 = call i32 @append_file_thread(ptr noundef %31, i32 noundef 16) %33 = load ptr, ptr %3, align 8 %34 = load i32, ptr %6, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %38 = load i32, ptr %5, align 4 %39 = call i32 @memcpy(ptr noundef %36, ptr noundef %37, i32 noundef %38) %40 = load i32, ptr %5, align 4 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, %40 store i32 %42, ptr %6, align 4 %43 = load i32, ptr %6, align 4 %44 = getelementptr inbounds %struct.stat, ptr %2, i32 0, i32 0 %45 = load i64, ptr %44, align 8 %46 = call i32 @progress_print(ptr noundef %7, i32 noundef %43, i64 noundef %45) %47 = load ptr, ptr %1, align 8 %48 = call i32 @fread(ptr noundef %26, i32 noundef 1, i32 noundef 16, ptr noundef %47) store i32 %48, ptr %5, align 4 %49 = icmp slt i32 0, %48 br i1 %49, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %50 50: ; preds = %._crit_edge, %25 br label %51 51: ; preds = %50, %24, %15, %10 %52 = load ptr, ptr %1, align 8 %53 = icmp ne ptr null, %52 br i1 %53, label %54, label %57 54: ; preds = %51 %55 = load ptr, ptr %1, align 8 %56 = call i32 @fclose(ptr noundef %55) br label %57 57: ; preds = %54, %51 %58 = load ptr, ptr %3, align 8 %59 = icmp ne ptr null, %58 br i1 %59, label %60, label %63 60: ; preds = %57 %61 = load ptr, ptr %3, align 8 %62 = call i32 @free(ptr noundef %61) br label %63 63: ; preds = %60, %57 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i64 @stat(ptr noundef, ptr noundef) #2 declare i64 @malloc(i64 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i32 @append_file_thread(ptr noundef, i32 noundef) #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @progress_print(ptr noundef, i32 noundef, i64 noundef) #2 declare i32 @fclose(ptr noundef) #2 declare i32 @free(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp3kket9ok.c' source_filename = "/tmp/tmp3kket9ok.c" target datalayout = "e-m:e-p270: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/tmp3kket9ok.c" target datalayout = "e-m:e-p270: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/tmpqqi8m9p4.c' source_filename = "/tmp/tmpqqi8m9p4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOENT = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqqi8m9p4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOENT = dso_local global i64 0, align 8 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6qup7saq.c' source_filename = "/tmp/tmp6qup7saq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @catmc_atomic_int_least16_t_destroy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6qup7saq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @catmc_atomic_int_least16_t_destroy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp708dpp5_.c' source_filename = "/tmp/tmp708dpp5_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"fork test\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"fork claimed to work %d times!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @forktest() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 br label %4 4: ; preds = %18, %0 %5 = load i32, ptr %1, align 4 %6 = icmp slt i32 %5, 32 br i1 %6, label %7, label %21 7: ; preds = %4 %8 = call i32 (...) @fork() store i32 %8, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %7 br label %21 12: ; preds = %7 %13 = load i32, ptr %2, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %12 %16 = call i32 @exit(i32 noundef 0) #3 unreachable 17: ; preds = %12 br label %18 18: ; preds = %17 %19 = load i32, ptr %1, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %1, align 4 br label %4, !llvm.loop !6 21: ; preds = %11, %4 %22 = load i32, ptr %1, align 4 %23 = icmp eq i32 %22, 32 br i1 %23, label %24, label %26 24: ; preds = %21 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 32) br label %26 26: ; preds = %24, %21 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fork(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp708dpp5_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"fork test\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"fork claimed to work %d times!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @forktest() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = icmp slt i32 %4, 32 br i1 %5, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %17 %7 = call i32 (...) @fork() store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %6 br label %22 11: ; preds = %6 %12 = load i32, ptr %2, align 4 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %11 %15 = call i32 @exit(i32 noundef 0) #3 unreachable 16: ; preds = %11 br label %17 17: ; preds = %16 %18 = load i32, ptr %1, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %1, align 4 %20 = load i32, ptr %1, align 4 %21 = icmp slt i32 %20, 32 br i1 %21, label %6, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %17 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %22 22: ; preds = %.loopexit, %10 %23 = load i32, ptr %1, align 4 %24 = icmp eq i32 %23, 32 br i1 %24, label %25, label %27 25: ; preds = %22 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 32) br label %27 27: ; preds = %25, %22 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fork(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpgfva00xy.c' source_filename = "/tmp/tmpgfva00xy.c" target datalayout = "e-m:e-p270: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 } @INADDR_ANY = dso_local global i32 0, align 4 @AF_INET = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [45 x i8] c"could not connect udp-socket to ip `%s' (%s)\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @udpsocket_connect(i32 noundef %0, i16 noundef zeroext %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i16, align 2 %6 = alloca i32, align 4 %7 = alloca %struct.sockaddr_in, align 4 store i32 %0, ptr %4, align 4 store i16 %1, ptr %5, align 2 %8 = load i32, ptr @INADDR_ANY, align 4 %9 = load i32, ptr %4, align 4 %10 = load i16, ptr %5, align 2 %11 = call i32 @udpsocket_open(i32 noundef %8, i32 noundef %9, i16 noundef zeroext %10) store i32 %11, ptr %6, align 4 %12 = load i32, ptr @AF_INET, align 4 %13 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %12, ptr %13, align 4 %14 = load i32, ptr %4, align 4 %15 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 %16 = getelementptr inbounds %struct.TYPE_2__, ptr %15, i32 0, i32 0 store i32 %14, ptr %16, align 4 %17 = load i16, ptr %5, align 2 %18 = call i32 @htons(i16 noundef zeroext %17) %19 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 store i32 %18, ptr %19, align 4 %20 = load i32, ptr %6, align 4 %21 = call i64 @connect(i32 noundef %20, ptr noundef %7, i32 noundef 12) %22 = icmp slt i64 %21, 0 br i1 %22, label %23, label %31 23: ; preds = %2 %24 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 %25 = getelementptr inbounds %struct.TYPE_2__, ptr %24, i32 0, i32 0 %26 = load i32, ptr %25, align 4 %27 = call i32 @inet_ntoa(i32 %26) %28 = load i32, ptr @errno, align 4 %29 = call i32 @strerror(i32 noundef %28) %30 = call i32 @log_error(ptr noundef @.str, i32 noundef %27, i32 noundef %29) store i32 -1, ptr %3, align 4 br label %33 31: ; preds = %2 %32 = load i32, ptr %6, align 4 store i32 %32, ptr %3, align 4 br label %33 33: ; preds = %31, %23 %34 = load i32, ptr %3, align 4 ret i32 %34 } declare i32 @udpsocket_open(i32 noundef, i32 noundef, i16 noundef zeroext) #1 declare i32 @htons(i16 noundef zeroext) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @log_error(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @inet_ntoa(i32) #1 declare i32 @strerror(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/tmpgfva00xy.c" target datalayout = "e-m:e-p270: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 } @INADDR_ANY = dso_local global i32 0, align 4 @AF_INET = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [45 x i8] c"could not connect udp-socket to ip `%s' (%s)\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @udpsocket_connect(i32 noundef %0, i16 noundef zeroext %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i16, align 2 %6 = alloca i32, align 4 %7 = alloca %struct.sockaddr_in, align 4 store i32 %0, ptr %4, align 4 store i16 %1, ptr %5, align 2 %8 = load i32, ptr @INADDR_ANY, align 4 %9 = load i32, ptr %4, align 4 %10 = load i16, ptr %5, align 2 %11 = call i32 @udpsocket_open(i32 noundef %8, i32 noundef %9, i16 noundef zeroext %10) store i32 %11, ptr %6, align 4 %12 = load i32, ptr @AF_INET, align 4 %13 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %12, ptr %13, align 4 %14 = load i32, ptr %4, align 4 %15 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 %16 = getelementptr inbounds %struct.TYPE_2__, ptr %15, i32 0, i32 0 store i32 %14, ptr %16, align 4 %17 = load i16, ptr %5, align 2 %18 = call i32 @htons(i16 noundef zeroext %17) %19 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 store i32 %18, ptr %19, align 4 %20 = load i32, ptr %6, align 4 %21 = call i64 @connect(i32 noundef %20, ptr noundef %7, i32 noundef 12) %22 = icmp slt i64 %21, 0 br i1 %22, label %23, label %31 23: ; preds = %2 %24 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 %25 = getelementptr inbounds %struct.TYPE_2__, ptr %24, i32 0, i32 0 %26 = load i32, ptr %25, align 4 %27 = call i32 @inet_ntoa(i32 %26) %28 = load i32, ptr @errno, align 4 %29 = call i32 @strerror(i32 noundef %28) %30 = call i32 @log_error(ptr noundef @.str, i32 noundef %27, i32 noundef %29) store i32 -1, ptr %3, align 4 br label %33 31: ; preds = %2 %32 = load i32, ptr %6, align 4 store i32 %32, ptr %3, align 4 br label %33 33: ; preds = %31, %23 %34 = load i32, ptr %3, align 4 ret i32 %34 } declare i32 @udpsocket_open(i32 noundef, i32 noundef, i16 noundef zeroext) #1 declare i32 @htons(i16 noundef zeroext) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @log_error(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @inet_ntoa(i32) #1 declare i32 @strerror(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/tmpyyqxp_8y.c' source_filename = "/tmp/tmpyyqxp_8y.c" target datalayout = "e-m:e-p270: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.name = private unnamed_addr constant [29 x i8] c"/tmp/tst-mmap-setvbuf.XXXXXX\00", align 16 @.str = private unnamed_addr constant [45 x i8] c"Let's see if mmap stdio works with setvbuf.\0A\00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"%u: cannot open temporary file: %m\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"%u: cannot fdopen temporary file: %m\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"rm\00", align 1 @.str.5 = private unnamed_addr constant [37 x i8] c"%u: cannot fopen temporary file: %m\0A\00", align 1 @_IOFBF = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [24 x i8] c"%u: setvbuf failed: %m\0A\00", align 1 @.str.7 = private unnamed_addr constant [37 x i8] c"%u: couldn't read the file back: %m\0A\00", align 1 @.str.8 = private unnamed_addr constant [49 x i8] c"%u: read different string than was written:\0A%s%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [29 x i8], align 16 %3 = alloca [4096 x i8], align 16 %4 = alloca ptr, align 8 %5 = alloca [45 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.name, i64 29, i1 false) store ptr @.str, ptr %4, align 8 %8 = getelementptr inbounds [29 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @mkstemp(ptr noundef %8) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %15 12: ; preds = %0 %13 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef 36) %14 = call i32 @exit(i32 noundef 1) #4 unreachable 15: ; preds = %0 %16 = load i32, ptr %6, align 4 %17 = call ptr @fdopen(i32 noundef %16, ptr noundef @.str.2) store ptr %17, ptr %7, align 8 %18 = load ptr, ptr %7, align 8 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %23 20: ; preds = %15 %21 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef 43) %22 = call i32 @exit(i32 noundef 1) #4 unreachable 23: ; preds = %15 %24 = load ptr, ptr %7, align 8 %25 = call i32 @fputs(ptr noundef @.str, ptr noundef %24) %26 = load ptr, ptr %7, align 8 %27 = call i32 @fclose(ptr noundef %26) %28 = getelementptr inbounds [29 x i8], ptr %2, i64 0, i64 0 %29 = call ptr @fopen(ptr noundef %28, ptr noundef @.str.4) store ptr %29, ptr %7, align 8 %30 = load ptr, ptr %7, align 8 %31 = icmp eq ptr %30, null br i1 %31, label %32, label %35 32: ; preds = %23 %33 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.5, i32 noundef 53) %34 = call i32 @exit(i32 noundef 1) #4 unreachable 35: ; preds = %23 %36 = load ptr, ptr %7, align 8 %37 = getelementptr inbounds [4096 x i8], ptr %3, i64 0, i64 0 %38 = load i32, ptr @_IOFBF, align 4 %39 = call i64 @setvbuf(ptr noundef %36, ptr noundef %37, i32 noundef %38, i32 noundef 4096) %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %44 41: ; preds = %35 %42 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.6, i32 noundef 59) %43 = call i32 @exit(i32 noundef 1) #4 unreachable 44: ; preds = %35 %45 = getelementptr inbounds [45 x i8], ptr %5, i64 0, i64 0 %46 = load ptr, ptr %7, align 8 %47 = call i64 @fread(ptr noundef %45, i32 noundef 1, i64 noundef 44, ptr noundef %46) %48 = icmp ne i64 %47, 44 br i1 %48, label %49, label %52 49: ; preds = %44 %50 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.7, i32 noundef 65) %51 = call i32 @exit(i32 noundef 1) #4 unreachable 52: ; preds = %44 %53 = getelementptr inbounds [45 x i8], ptr %5, i64 0, i64 44 store i8 0, ptr %53, align 4 %54 = getelementptr inbounds [45 x i8], ptr %5, i64 0, i64 0 %55 = call i64 @strcmp(ptr noundef @.str, ptr noundef %54) %56 = icmp ne i64 %55, 0 br i1 %56, label %57, label %61 57: ; preds = %52 %58 = getelementptr inbounds [45 x i8], ptr %5, i64 0, i64 0 %59 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.8, i32 noundef 73, ptr noundef @.str, ptr noundef %58) %60 = call i32 @exit(i32 noundef 1) #4 unreachable 61: ; preds = %52 %62 = load ptr, ptr %7, align 8 %63 = call i32 @fclose(ptr noundef %62) %64 = getelementptr inbounds [29 x i8], ptr %2, i64 0, i64 0 %65 = call i32 @unlink(ptr noundef %64) %66 = call i32 @exit(i32 noundef 0) #4 unreachable } ; 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 @mkstemp(ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef, ...) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare ptr @fdopen(i32 noundef, ptr noundef) #2 declare i32 @fputs(ptr noundef, ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i64 @setvbuf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @unlink(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyyqxp_8y.c" target datalayout = "e-m:e-p270: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.name = private unnamed_addr constant [29 x i8] c"/tmp/tst-mmap-setvbuf.XXXXXX\00", align 16 @.str = private unnamed_addr constant [45 x i8] c"Let's see if mmap stdio works with setvbuf.\0A\00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"%u: cannot open temporary file: %m\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"%u: cannot fdopen temporary file: %m\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"rm\00", align 1 @.str.5 = private unnamed_addr constant [37 x i8] c"%u: cannot fopen temporary file: %m\0A\00", align 1 @_IOFBF = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [24 x i8] c"%u: setvbuf failed: %m\0A\00", align 1 @.str.7 = private unnamed_addr constant [37 x i8] c"%u: couldn't read the file back: %m\0A\00", align 1 @.str.8 = private unnamed_addr constant [49 x i8] c"%u: read different string than was written:\0A%s%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [29 x i8], align 16 %3 = alloca [4096 x i8], align 16 %4 = alloca ptr, align 8 %5 = alloca [45 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.name, i64 29, i1 false) store ptr @.str, ptr %4, align 8 %8 = getelementptr inbounds [29 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @mkstemp(ptr noundef %8) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %15 12: ; preds = %0 %13 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef 36) %14 = call i32 @exit(i32 noundef 1) #4 unreachable 15: ; preds = %0 %16 = load i32, ptr %6, align 4 %17 = call ptr @fdopen(i32 noundef %16, ptr noundef @.str.2) store ptr %17, ptr %7, align 8 %18 = load ptr, ptr %7, align 8 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %23 20: ; preds = %15 %21 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef 43) %22 = call i32 @exit(i32 noundef 1) #4 unreachable 23: ; preds = %15 %24 = load ptr, ptr %7, align 8 %25 = call i32 @fputs(ptr noundef @.str, ptr noundef %24) %26 = load ptr, ptr %7, align 8 %27 = call i32 @fclose(ptr noundef %26) %28 = getelementptr inbounds [29 x i8], ptr %2, i64 0, i64 0 %29 = call ptr @fopen(ptr noundef %28, ptr noundef @.str.4) store ptr %29, ptr %7, align 8 %30 = load ptr, ptr %7, align 8 %31 = icmp eq ptr %30, null br i1 %31, label %32, label %35 32: ; preds = %23 %33 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.5, i32 noundef 53) %34 = call i32 @exit(i32 noundef 1) #4 unreachable 35: ; preds = %23 %36 = load ptr, ptr %7, align 8 %37 = getelementptr inbounds [4096 x i8], ptr %3, i64 0, i64 0 %38 = load i32, ptr @_IOFBF, align 4 %39 = call i64 @setvbuf(ptr noundef %36, ptr noundef %37, i32 noundef %38, i32 noundef 4096) %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %44 41: ; preds = %35 %42 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.6, i32 noundef 59) %43 = call i32 @exit(i32 noundef 1) #4 unreachable 44: ; preds = %35 %45 = getelementptr inbounds [45 x i8], ptr %5, i64 0, i64 0 %46 = load ptr, ptr %7, align 8 %47 = call i64 @fread(ptr noundef %45, i32 noundef 1, i64 noundef 44, ptr noundef %46) %48 = icmp ne i64 %47, 44 br i1 %48, label %49, label %52 49: ; preds = %44 %50 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.7, i32 noundef 65) %51 = call i32 @exit(i32 noundef 1) #4 unreachable 52: ; preds = %44 %53 = getelementptr inbounds [45 x i8], ptr %5, i64 0, i64 44 store i8 0, ptr %53, align 4 %54 = getelementptr inbounds [45 x i8], ptr %5, i64 0, i64 0 %55 = call i64 @strcmp(ptr noundef @.str, ptr noundef %54) %56 = icmp ne i64 %55, 0 br i1 %56, label %57, label %61 57: ; preds = %52 %58 = getelementptr inbounds [45 x i8], ptr %5, i64 0, i64 0 %59 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.8, i32 noundef 73, ptr noundef @.str, ptr noundef %58) %60 = call i32 @exit(i32 noundef 1) #4 unreachable 61: ; preds = %52 %62 = load ptr, ptr %7, align 8 %63 = call i32 @fclose(ptr noundef %62) %64 = getelementptr inbounds [29 x i8], ptr %2, i64 0, i64 0 %65 = call i32 @unlink(ptr noundef %64) %66 = call i32 @exit(i32 noundef 0) #4 unreachable } ; 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 @mkstemp(ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef, ...) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare ptr @fdopen(i32 noundef, ptr noundef) #2 declare i32 @fputs(ptr noundef, ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i64 @setvbuf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @unlink(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd2idyz85.c' source_filename = "/tmp/tmpd2idyz85.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = 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/tmpd2idyz85.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = 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/tmp61z7_i8j.c' source_filename = "/tmp/tmp61z7_i8j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isEmpty(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 br label %6 6: ; preds = %19, %2 %7 = load i32, ptr %5, align 4 %8 = add nsw i32 %7, -1 store i32 %8, ptr %5, align 4 %9 = icmp sgt i32 %7, 0 br i1 %9, label %10, label %20 10: ; preds = %6 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %10 store i32 0, ptr %3, align 4 br label %21 19: ; preds = %10 br label %6, !llvm.loop !6 20: ; preds = %6 store i32 1, ptr %3, align 4 br label %21 21: ; preds = %20, %18 %22 = load i32, ptr %3, align 4 ret i32 %22 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp61z7_i8j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isEmpty(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = add nsw i32 %6, -1 store i32 %7, ptr %5, align 4 %8 = icmp sgt i32 %6, 0 br i1 %8, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %13 9: ; preds = %13 %10 = load i32, ptr %5, align 4 %11 = add nsw i32 %10, -1 store i32 %11, ptr %5, align 4 %12 = icmp sgt i32 %10, 0 br i1 %12, label %13, label %._crit_edge, !llvm.loop !6 13: ; preds = %.lr.ph, %9 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %9 21: ; preds = %13 store i32 0, ptr %3, align 4 br label %23 ._crit_edge: ; preds = %9 br label %22 22: ; preds = %._crit_edge, %2 store i32 1, ptr %3, align 4 br label %23 23: ; preds = %22, %21 %24 = load i32, ptr %3, 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 = '/tmp/tmpuqi1jdx4.c' source_filename = "/tmp/tmpuqi1jdx4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ln_get_pluto_phase(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store double %0, ptr %2, align 8 %7 = load double, ptr %2, align 8 %8 = call double @ln_get_earth_solar_dist(double noundef %7) store double %8, ptr %6, align 8 %9 = load double, ptr %2, align 8 %10 = call double @ln_get_pluto_solar_dist(double noundef %9) store double %10, ptr %4, align 8 %11 = load double, ptr %2, align 8 %12 = call double @ln_get_pluto_earth_dist(double noundef %11) store double %12, ptr %5, align 8 %13 = load double, ptr %4, align 8 %14 = load double, ptr %4, align 8 %15 = load double, ptr %5, align 8 %16 = load double, ptr %5, align 8 %17 = fmul double %15, %16 %18 = call double @llvm.fmuladd.f64(double %13, double %14, double %17) %19 = load double, ptr %6, align 8 %20 = load double, ptr %6, align 8 %21 = fneg double %19 %22 = call double @llvm.fmuladd.f64(double %21, double %20, double %18) %23 = load double, ptr %4, align 8 %24 = fmul double 2.000000e+00, %23 %25 = load double, ptr %5, align 8 %26 = fmul double %24, %25 %27 = fdiv double %22, %26 store double %27, ptr %3, align 8 %28 = load double, ptr %3, align 8 %29 = call double @acos(double noundef %28) #4 store double %29, ptr %3, align 8 %30 = load double, ptr %3, align 8 %31 = call double @ln_rad_to_deg(double noundef %30) ret double %31 } declare double @ln_get_earth_solar_dist(double noundef) #1 declare double @ln_get_pluto_solar_dist(double noundef) #1 declare double @ln_get_pluto_earth_dist(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @acos(double noundef) #3 declare double @ln_rad_to_deg(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuqi1jdx4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ln_get_pluto_phase(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store double %0, ptr %2, align 8 %7 = load double, ptr %2, align 8 %8 = call double @ln_get_earth_solar_dist(double noundef %7) store double %8, ptr %6, align 8 %9 = load double, ptr %2, align 8 %10 = call double @ln_get_pluto_solar_dist(double noundef %9) store double %10, ptr %4, align 8 %11 = load double, ptr %2, align 8 %12 = call double @ln_get_pluto_earth_dist(double noundef %11) store double %12, ptr %5, align 8 %13 = load double, ptr %4, align 8 %14 = load double, ptr %4, align 8 %15 = load double, ptr %5, align 8 %16 = load double, ptr %5, align 8 %17 = fmul double %15, %16 %18 = call double @llvm.fmuladd.f64(double %13, double %14, double %17) %19 = load double, ptr %6, align 8 %20 = load double, ptr %6, align 8 %21 = fneg double %19 %22 = call double @llvm.fmuladd.f64(double %21, double %20, double %18) %23 = load double, ptr %4, align 8 %24 = fmul double 2.000000e+00, %23 %25 = load double, ptr %5, align 8 %26 = fmul double %24, %25 %27 = fdiv double %22, %26 store double %27, ptr %3, align 8 %28 = load double, ptr %3, align 8 %29 = call double @acos(double noundef %28) #4 store double %29, ptr %3, align 8 %30 = load double, ptr %3, align 8 %31 = call double @ln_rad_to_deg(double noundef %30) ret double %31 } declare double @ln_get_earth_solar_dist(double noundef) #1 declare double @ln_get_pluto_solar_dist(double noundef) #1 declare double @ln_get_pluto_earth_dist(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @acos(double noundef) #3 declare double @ln_rad_to_deg(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2lxcmwi_.c' source_filename = "/tmp/tmp2lxcmwi_.c" target datalayout = "e-m:e-p270: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.ages = private unnamed_addr constant [5 x i32] [i32 23, i32 43, i32 12, i32 89, i32 2], align 16 @.str = private unnamed_addr constant [5 x i8] c"Alan\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"Frank\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"Mary\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"John\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"Lisa\00", align 1 @__const.main.names = private unnamed_addr constant [5 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4], align 16 @.str.5 = private unnamed_addr constant [24 x i8] c"%s has %d years alive.\0A\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"---\0A\00", align 1 @.str.7 = private unnamed_addr constant [21 x i8] c"%s is %d years old.\0A\00", align 1 @.str.8 = private unnamed_addr constant [14 x i8] c"--->>>> %s\0A\00", align 1 @.str.9 = private unnamed_addr constant [27 x i8] c"%s is %d years old again.\0A\00", align 1 @.str.10 = private unnamed_addr constant [27 x i8] c"%s lived %d years so far.\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 [5 x i32], align 16 %7 = alloca [5 x ptr], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.ages, i64 20, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.names, i64 40, i1 false) store i32 5, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %9, align 4 br label %12 12: ; preds = %26, %2 %13 = load i32, ptr %9, align 4 %14 = load i32, ptr %8, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %29 16: ; preds = %12 %17 = load i32, ptr %9, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = load i32, ptr %9, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %22 %24 = load i32, ptr %23, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %20, i32 noundef %24) br label %26 26: ; preds = %16 %27 = load i32, ptr %9, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %9, align 4 br label %12, !llvm.loop !6 29: ; preds = %12 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %31 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0 store ptr %31, ptr %10, align 8 %32 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 0 store ptr %32, ptr %11, align 8 store i32 0, ptr %9, align 4 br label %33 33: ; preds = %64, %29 %34 = load i32, ptr %9, align 4 %35 = load i32, ptr %8, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %37, label %67 37: ; preds = %33 %38 = load ptr, ptr %11, align 8 %39 = load i32, ptr %9, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds ptr, ptr %38, i64 %40 %42 = load ptr, ptr %41, align 8 %43 = load ptr, ptr %10, align 8 %44 = load i32, ptr %9, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 %47 = load i32, ptr %46, align 4 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %42, i32 noundef %47) %49 = load ptr, ptr %11, align 8 %50 = load ptr, ptr %49, align 8 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %50) %52 = load ptr, ptr %11, align 8 %53 = load ptr, ptr %52, align 8 %54 = load i32, ptr %9, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %53, i64 %55 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %56) %58 = load ptr, ptr %11, align 8 %59 = load i32, ptr %9, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds ptr, ptr %58, i64 %60 %62 = load ptr, ptr %61, align 8 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %62) br label %64 64: ; preds = %37 %65 = load i32, ptr %9, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %9, align 4 br label %33, !llvm.loop !8 67: ; preds = %33 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 0, ptr %9, align 4 br label %69 69: ; preds = %85, %67 %70 = load i32, ptr %9, align 4 %71 = load i32, ptr %8, align 4 %72 = icmp slt i32 %70, %71 br i1 %72, label %73, label %88 73: ; preds = %69 %74 = load ptr, ptr %11, align 8 %75 = load i32, ptr %9, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds ptr, ptr %74, i64 %76 %78 = load ptr, ptr %77, align 8 %79 = load ptr, ptr %10, align 8 %80 = load i32, ptr %9, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i32, ptr %79, i64 %81 %83 = load i32, ptr %82, align 4 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %78, i32 noundef %83) br label %85 85: ; preds = %73 %86 = load i32, ptr %9, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %9, align 4 br label %69, !llvm.loop !9 88: ; preds = %69 %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %90 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 0 store ptr %90, ptr %11, align 8 %91 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0 store ptr %91, ptr %10, align 8 br label %92 92: ; preds = %108, %88 %93 = load ptr, ptr %10, align 8 %94 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0 %95 = ptrtoint ptr %93 to i64 %96 = ptrtoint ptr %94 to i64 %97 = sub i64 %95, %96 %98 = sdiv exact i64 %97, 4 %99 = load i32, ptr %8, align 4 %100 = sext i32 %99 to i64 %101 = icmp slt i64 %98, %100 br i1 %101, label %102, label %113 102: ; preds = %92 %103 = load ptr, ptr %11, align 8 %104 = load ptr, ptr %103, align 8 %105 = load ptr, ptr %10, align 8 %106 = load i32, ptr %105, align 4 %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %104, i32 noundef %106) br label %108 108: ; preds = %102 %109 = load ptr, ptr %11, align 8 %110 = getelementptr inbounds ptr, ptr %109, i32 1 store ptr %110, ptr %11, align 8 %111 = load ptr, ptr %10, align 8 %112 = getelementptr inbounds i32, ptr %111, i32 1 store ptr %112, ptr %10, align 8 br label %92, !llvm.loop !10 113: ; preds = %92 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, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2lxcmwi_.c" target datalayout = "e-m:e-p270: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.ages = private unnamed_addr constant [5 x i32] [i32 23, i32 43, i32 12, i32 89, i32 2], align 16 @.str = private unnamed_addr constant [5 x i8] c"Alan\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"Frank\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"Mary\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"John\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"Lisa\00", align 1 @__const.main.names = private unnamed_addr constant [5 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4], align 16 @.str.5 = private unnamed_addr constant [24 x i8] c"%s has %d years alive.\0A\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"---\0A\00", align 1 @.str.7 = private unnamed_addr constant [21 x i8] c"%s is %d years old.\0A\00", align 1 @.str.8 = private unnamed_addr constant [14 x i8] c"--->>>> %s\0A\00", align 1 @.str.9 = private unnamed_addr constant [27 x i8] c"%s is %d years old again.\0A\00", align 1 @.str.10 = private unnamed_addr constant [27 x i8] c"%s lived %d years so far.\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 [5 x i32], align 16 %7 = alloca [5 x ptr], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.ages, i64 20, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.names, i64 40, i1 false) store i32 5, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %9, align 4 %12 = load i32, ptr %9, align 4 %13 = load i32, ptr %8, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %31 .lr.ph: ; preds = %2 br label %15 15: ; preds = %.lr.ph, %25 %16 = load i32, ptr %9, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 %17 %19 = load ptr, ptr %18, align 8 %20 = load i32, ptr %9, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %21 %23 = load i32, ptr %22, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %19, i32 noundef %23) br label %25 25: ; preds = %15 %26 = load i32, ptr %9, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %9, align 4 %28 = load i32, ptr %9, align 4 %29 = load i32, ptr %8, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %2 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %33 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0 store ptr %33, ptr %10, align 8 %34 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 0 store ptr %34, ptr %11, align 8 store i32 0, ptr %9, align 4 %35 = load i32, ptr %9, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %.lr.ph2, label %71 .lr.ph2: ; preds = %31 br label %38 38: ; preds = %.lr.ph2, %65 %39 = load ptr, ptr %11, align 8 %40 = load i32, ptr %9, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds ptr, ptr %39, i64 %41 %43 = load ptr, ptr %42, align 8 %44 = load ptr, ptr %10, align 8 %45 = load i32, ptr %9, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 %48 = load i32, ptr %47, align 4 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %43, i32 noundef %48) %50 = load ptr, ptr %11, align 8 %51 = load ptr, ptr %50, align 8 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %51) %53 = load ptr, ptr %11, align 8 %54 = load ptr, ptr %53, align 8 %55 = load i32, ptr %9, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %54, i64 %56 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %57) %59 = load ptr, ptr %11, align 8 %60 = load i32, ptr %9, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds ptr, ptr %59, i64 %61 %63 = load ptr, ptr %62, align 8 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %63) br label %65 65: ; preds = %38 %66 = load i32, ptr %9, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %9, align 4 %68 = load i32, ptr %9, align 4 %69 = load i32, ptr %8, align 4 %70 = icmp slt i32 %68, %69 br i1 %70, label %38, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %65 br label %71 71: ; preds = %._crit_edge3, %31 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 0, ptr %9, align 4 %73 = load i32, ptr %9, align 4 %74 = load i32, ptr %8, align 4 %75 = icmp slt i32 %73, %74 br i1 %75, label %.lr.ph5, label %94 .lr.ph5: ; preds = %71 br label %76 76: ; preds = %.lr.ph5, %88 %77 = load ptr, ptr %11, align 8 %78 = load i32, ptr %9, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds ptr, ptr %77, i64 %79 %81 = load ptr, ptr %80, align 8 %82 = load ptr, ptr %10, align 8 %83 = load i32, ptr %9, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i32, ptr %82, i64 %84 %86 = load i32, ptr %85, align 4 %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %81, i32 noundef %86) br label %88 88: ; preds = %76 %89 = load i32, ptr %9, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %9, align 4 %91 = load i32, ptr %9, align 4 %92 = load i32, ptr %8, align 4 %93 = icmp slt i32 %91, %92 br i1 %93, label %76, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %88 br label %94 94: ; preds = %._crit_edge6, %71 %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %96 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 0 store ptr %96, ptr %11, align 8 %97 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0 store ptr %97, ptr %10, align 8 %98 = load ptr, ptr %10, align 8 %99 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0 %100 = ptrtoint ptr %98 to i64 %101 = ptrtoint ptr %99 to i64 %102 = sub i64 %100, %101 %103 = sdiv exact i64 %102, 4 %104 = load i32, ptr %8, align 4 %105 = sext i32 %104 to i64 %106 = icmp slt i64 %103, %105 br i1 %106, label %.lr.ph8, label %125 .lr.ph8: ; preds = %94 br label %107 107: ; preds = %.lr.ph8, %113 %108 = load ptr, ptr %11, align 8 %109 = load ptr, ptr %108, align 8 %110 = load ptr, ptr %10, align 8 %111 = load i32, ptr %110, align 4 %112 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %109, i32 noundef %111) br label %113 113: ; preds = %107 %114 = load ptr, ptr %11, align 8 %115 = getelementptr inbounds ptr, ptr %114, i32 1 store ptr %115, ptr %11, align 8 %116 = load ptr, ptr %10, align 8 %117 = getelementptr inbounds i32, ptr %116, i32 1 store ptr %117, ptr %10, align 8 %118 = load ptr, ptr %10, align 8 %119 = ptrtoint ptr %118 to i64 %120 = sub i64 %119, %101 %121 = sdiv exact i64 %120, 4 %122 = load i32, ptr %8, align 4 %123 = sext i32 %122 to i64 %124 = icmp slt i64 %121, %123 br i1 %124, label %107, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %113 br label %125 125: ; preds = %._crit_edge9, %94 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, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp98qtf5qn.c' source_filename = "/tmp/tmp98qtf5qn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"M=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str, i32 noundef 1) 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp98qtf5qn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"M=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str, i32 noundef 1) 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"}
; ModuleID = '/tmp/tmppt1d1h2r.c' source_filename = "/tmp/tmppt1d1h2r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8 store i32 0, ptr %1, align 4 %3 = call ptr (...) @foo() store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %4, align 4 %6 = icmp sge i32 %5, 5 %7 = zext i1 %6 to i32 %8 = call i32 @__CRAB_assert(i32 noundef %7) ret i32 0 } declare ptr @foo(...) #1 declare i32 @__CRAB_assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppt1d1h2r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8 store i32 0, ptr %1, align 4 %3 = call ptr (...) @foo() store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %4, align 4 %6 = icmp sge i32 %5, 5 %7 = zext i1 %6 to i32 %8 = call i32 @__CRAB_assert(i32 noundef %7) ret i32 0 } declare ptr @foo(...) #1 declare i32 @__CRAB_assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcahbhrsc.c' source_filename = "/tmp/tmpcahbhrsc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SHA512_DIGEST_LENGTH = dso_local global i32 0, align 4 @NID_sha512 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @verifyRSA(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i64 %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %16 = load i32, ptr @SHA512_DIGEST_LENGTH, align 4 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %12, align 8 %19 = alloca i8, i64 %17, align 16 store i64 %17, ptr %13, align 8 %20 = load ptr, ptr %11, align 8 %21 = call ptr @createRSA(ptr noundef %20, i32 noundef 1) store ptr %21, ptr %14, align 8 %22 = load ptr, ptr %14, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %25 24: ; preds = %5 br label %48 25: ; preds = %5 %26 = load ptr, ptr %7, align 8 %27 = load i64, ptr %8, align 8 %28 = call i32 @SHA512(ptr noundef %26, i64 noundef %27, ptr noundef %19) %29 = icmp ne i32 %28, 0 br i1 %29, label %31, label %30 30: ; preds = %25 br label %48 31: ; preds = %25 %32 = load i32, ptr @NID_sha512, align 4 %33 = trunc i64 %17 to i32 %34 = load ptr, ptr %9, align 8 %35 = load i64, ptr %10, align 8 %36 = trunc i64 %35 to i32 %37 = load ptr, ptr %14, align 8 %38 = call i32 @RSA_verify(i32 noundef %32, ptr noundef %19, i32 noundef %33, ptr noundef %34, i32 noundef %36, ptr noundef %37) %39 = icmp ne i32 %38, 0 br i1 %39, label %41, label %40 40: ; preds = %31 br label %48 41: ; preds = %31 %42 = load ptr, ptr %14, align 8 %43 = icmp ne ptr %42, null br i1 %43, label %44, label %47 44: ; preds = %41 %45 = load ptr, ptr %14, align 8 %46 = call i32 @RSA_free(ptr noundef %45) br label %47 47: ; preds = %44, %41 store i32 1, ptr %6, align 4 store i32 1, ptr %15, align 4 br label %55 48: ; preds = %40, %30, %24 %49 = load ptr, ptr %14, align 8 %50 = icmp ne ptr %49, null br i1 %50, label %51, label %54 51: ; preds = %48 %52 = load ptr, ptr %14, align 8 %53 = call i32 @RSA_free(ptr noundef %52) br label %54 54: ; preds = %51, %48 store i32 0, ptr %6, align 4 store i32 1, ptr %15, align 4 br label %55 55: ; preds = %54, %47 %56 = load ptr, ptr %12, align 8 call void @llvm.stackrestore(ptr %56) %57 = load i32, ptr %6, align 4 ret i32 %57 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @createRSA(ptr noundef, i32 noundef) #2 declare i32 @SHA512(ptr noundef, i64 noundef, ptr noundef) #2 declare i32 @RSA_verify(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @RSA_free(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcahbhrsc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SHA512_DIGEST_LENGTH = dso_local global i32 0, align 4 @NID_sha512 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @verifyRSA(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i64 %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %16 = load i32, ptr @SHA512_DIGEST_LENGTH, align 4 %17 = zext i32 %16 to i64 %18 = call ptr @llvm.stacksave() store ptr %18, ptr %12, align 8 %19 = alloca i8, i64 %17, align 16 store i64 %17, ptr %13, align 8 %20 = load ptr, ptr %11, align 8 %21 = call ptr @createRSA(ptr noundef %20, i32 noundef 1) store ptr %21, ptr %14, align 8 %22 = load ptr, ptr %14, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %25 24: ; preds = %5 br label %48 25: ; preds = %5 %26 = load ptr, ptr %7, align 8 %27 = load i64, ptr %8, align 8 %28 = call i32 @SHA512(ptr noundef %26, i64 noundef %27, ptr noundef %19) %29 = icmp ne i32 %28, 0 br i1 %29, label %31, label %30 30: ; preds = %25 br label %48 31: ; preds = %25 %32 = load i32, ptr @NID_sha512, align 4 %33 = trunc i64 %17 to i32 %34 = load ptr, ptr %9, align 8 %35 = load i64, ptr %10, align 8 %36 = trunc i64 %35 to i32 %37 = load ptr, ptr %14, align 8 %38 = call i32 @RSA_verify(i32 noundef %32, ptr noundef %19, i32 noundef %33, ptr noundef %34, i32 noundef %36, ptr noundef %37) %39 = icmp ne i32 %38, 0 br i1 %39, label %41, label %40 40: ; preds = %31 br label %48 41: ; preds = %31 %42 = load ptr, ptr %14, align 8 %43 = icmp ne ptr %42, null br i1 %43, label %44, label %47 44: ; preds = %41 %45 = load ptr, ptr %14, align 8 %46 = call i32 @RSA_free(ptr noundef %45) br label %47 47: ; preds = %44, %41 store i32 1, ptr %6, align 4 store i32 1, ptr %15, align 4 br label %55 48: ; preds = %40, %30, %24 %49 = load ptr, ptr %14, align 8 %50 = icmp ne ptr %49, null br i1 %50, label %51, label %54 51: ; preds = %48 %52 = load ptr, ptr %14, align 8 %53 = call i32 @RSA_free(ptr noundef %52) br label %54 54: ; preds = %51, %48 store i32 0, ptr %6, align 4 store i32 1, ptr %15, align 4 br label %55 55: ; preds = %54, %47 %56 = load ptr, ptr %12, align 8 call void @llvm.stackrestore(ptr %56) %57 = load i32, ptr %6, align 4 ret i32 %57 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @createRSA(ptr noundef, i32 noundef) #2 declare i32 @SHA512(ptr noundef, i64 noundef, ptr noundef) #2 declare i32 @RSA_verify(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @RSA_free(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq899av8o.c' source_filename = "/tmp/tmpq899av8o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCK_MONOTONIC = 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/tmpq899av8o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCK_MONOTONIC = 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/tmp28_oboje.c' source_filename = "/tmp/tmp28_oboje.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check_int(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 1, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %28, %1 %6 = load i32, ptr %3, align 4 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = icmp slt i32 %6, %8 br i1 %9, label %10, label %31 10: ; preds = %5 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp slt i32 %16, 48 br i1 %17, label %26, label %18 18: ; preds = %10 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr %3, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp sgt i32 %24, 57 br i1 %25, label %26, label %27 26: ; preds = %18, %10 store i32 0, ptr %4, align 4 br label %31 27: ; preds = %18 br label %28 28: ; preds = %27 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %3, align 4 br label %5, !llvm.loop !6 31: ; preds = %26, %5 %32 = load i32, ptr %4, align 4 ret i32 %32 } 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/tmp28_oboje.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check_int(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 store i32 1, ptr %4, align 4 store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = icmp slt i32 %5, %7 br i1 %8, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %27 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp slt i32 %15, 48 br i1 %16, label %25, label %17 17: ; preds = %9 %18 = load ptr, ptr %2, align 8 %19 = load i32, ptr %3, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp sgt i32 %23, 57 br i1 %24, label %25, label %26 25: ; preds = %17, %9 store i32 0, ptr %4, align 4 br label %34 26: ; preds = %17 br label %27 27: ; preds = %26 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = load ptr, ptr %2, align 8 %32 = call i32 @strlen(ptr noundef %31) %33 = icmp slt i32 %30, %32 br i1 %33, label %9, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %27 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %1 br label %34 34: ; preds = %.loopexit, %25 %35 = load i32, ptr %4, align 4 ret i32 %35 } 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/tmp7o5a6jqb.c' source_filename = "/tmp/tmp7o5a6jqb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d %d %d %d\00", align 1 @.str.1 = private unnamed_addr constant [4 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 i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = sub nsw i32 %8, %9 %11 = load i32, ptr %4, align 4 %12 = mul nsw i32 %10, %11 %13 = sitofp i32 %12 to double %14 = load i32, ptr %6, align 4 %15 = sitofp i32 %14 to double %16 = fdiv double %13, %15 %17 = load i32, ptr %5, align 4 %18 = sitofp i32 %17 to double %19 = fadd double %16, %18 %20 = fptosi double %19 to i32 %21 = add nsw i32 %20, 1 %22 = call i32 @printf(ptr noundef @.str.1, i32 noundef %21) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7o5a6jqb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d %d %d %d\00", align 1 @.str.1 = private unnamed_addr constant [4 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 i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = sub nsw i32 %8, %9 %11 = load i32, ptr %4, align 4 %12 = mul nsw i32 %10, %11 %13 = sitofp i32 %12 to double %14 = load i32, ptr %6, align 4 %15 = sitofp i32 %14 to double %16 = fdiv double %13, %15 %17 = load i32, ptr %5, align 4 %18 = sitofp i32 %17 to double %19 = fadd double %16, %18 %20 = fptosi double %19 to i32 %21 = add nsw i32 %20, 1 %22 = call i32 @printf(ptr noundef @.str.1, i32 noundef %21) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnij6abuw.c' source_filename = "/tmp/tmpnij6abuw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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%s\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_add(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %4, 0 %6 = zext i1 %5 to i64 %7 = select i1 %5, ptr @.str.1, ptr @.str.2 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %3, ptr noundef %7) ret void } declare i32 @printf(ptr 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/tmpnij6abuw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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%s\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_add(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %4, 0 %6 = zext i1 %5 to i64 %7 = select i1 %5, ptr @.str.1, ptr @.str.2 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %3, ptr noundef %7) ret void } declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphwia3s0s.c' source_filename = "/tmp/tmphwia3s0s.c" target datalayout = "e-m:e-p270: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/tmphwia3s0s.c" target datalayout = "e-m:e-p270: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/tmp7pbcvgmm.c' source_filename = "/tmp/tmp7pbcvgmm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gen_57() #0 { %1 = alloca i32, align 4 %2 = call i32 @handle_57(i32 noundef 0) %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @handle_57(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/tmp7pbcvgmm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gen_57() #0 { %1 = alloca i32, align 4 %2 = call i32 @handle_57(i32 noundef 0) %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @handle_57(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/tmplp7s1pqm.c' source_filename = "/tmp/tmplp7s1pqm.c" target datalayout = "e-m:e-p270: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/tmplp7s1pqm.c" target datalayout = "e-m:e-p270: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/tmplqmqmu5s.c' source_filename = "/tmp/tmplqmqmu5s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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",\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @comma_separate_values(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 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store ptr null, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 store i32 0, ptr %8, align 4 %9 = load ptr, ptr %3, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %44 11: ; preds = %2 %12 = load ptr, ptr %3, align 8 %13 = call ptr @strdup(ptr noundef %12) store ptr %13, ptr %6, align 8 %14 = load ptr, ptr %6, align 8 %15 = call ptr @strtok(ptr noundef %14, ptr noundef @.str) store ptr %15, ptr %7, align 8 br label %16 16: ; preds = %39, %11 %17 = load ptr, ptr %7, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %41 19: ; preds = %16 br label %20 20: ; preds = %19 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %21, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %21, align 4 %24 = load ptr, ptr %5, align 8 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %25, align 4 %27 = sext i32 %26 to i64 %28 = mul i64 8, %27 %29 = trunc i64 %28 to i32 %30 = call ptr @realloc(ptr noundef %24, i32 noundef %29) store ptr %30, ptr %5, align 8 %31 = load ptr, ptr %7, align 8 %32 = call ptr @uniquestr(ptr noundef %31) %33 = load ptr, ptr %5, align 8 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %34, align 4 %36 = sub nsw i32 %35, 1 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds ptr, ptr %33, i64 %37 store ptr %32, ptr %38, align 8 br label %39 39: ; preds = %20 %40 = call ptr @strtok(ptr noundef null, ptr noundef @.str) store ptr %40, ptr %7, align 8 br label %16, !llvm.loop !6 41: ; preds = %16 %42 = load ptr, ptr %6, align 8 %43 = call i32 @free(ptr noundef %42) br label %44 44: ; preds = %41, %2 br label %45 45: ; preds = %44 %46 = load ptr, ptr %4, align 8 %47 = load i32, ptr %46, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %46, align 4 %49 = load ptr, ptr %5, align 8 %50 = load ptr, ptr %4, align 8 %51 = load i32, ptr %50, align 4 %52 = sext i32 %51 to i64 %53 = mul i64 8, %52 %54 = trunc i64 %53 to i32 %55 = call ptr @realloc(ptr noundef %49, i32 noundef %54) store ptr %55, ptr %5, align 8 %56 = load ptr, ptr %5, align 8 %57 = load ptr, ptr %4, align 8 %58 = load i32, ptr %57, align 4 %59 = sub nsw i32 %58, 1 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds ptr, ptr %56, i64 %60 store ptr null, ptr %61, align 8 br label %62 62: ; preds = %45 %63 = load ptr, ptr %4, align 8 %64 = load i32, ptr %63, align 4 %65 = add nsw i32 %64, -1 store i32 %65, ptr %63, align 4 %66 = load ptr, ptr %5, align 8 ret ptr %66 } declare ptr @strdup(ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare ptr @uniquestr(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplqmqmu5s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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",\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @comma_separate_values(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 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store ptr null, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 store i32 0, ptr %8, align 4 %9 = load ptr, ptr %3, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %45 11: ; preds = %2 %12 = load ptr, ptr %3, align 8 %13 = call ptr @strdup(ptr noundef %12) store ptr %13, ptr %6, align 8 %14 = load ptr, ptr %6, align 8 %15 = call ptr @strtok(ptr noundef %14, ptr noundef @.str) store ptr %15, ptr %7, align 8 %16 = load ptr, ptr %7, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %.lr.ph, label %42 .lr.ph: ; preds = %11 br label %18 18: ; preds = %.lr.ph, %38 br label %19 19: ; preds = %18 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %20, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %20, align 4 %23 = load ptr, ptr %5, align 8 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %24, align 4 %26 = sext i32 %25 to i64 %27 = mul i64 8, %26 %28 = trunc i64 %27 to i32 %29 = call ptr @realloc(ptr noundef %23, i32 noundef %28) store ptr %29, ptr %5, align 8 %30 = load ptr, ptr %7, align 8 %31 = call ptr @uniquestr(ptr noundef %30) %32 = load ptr, ptr %5, align 8 %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %33, align 4 %35 = sub nsw i32 %34, 1 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %32, i64 %36 store ptr %31, ptr %37, align 8 br label %38 38: ; preds = %19 %39 = call ptr @strtok(ptr noundef null, ptr noundef @.str) store ptr %39, ptr %7, align 8 %40 = load ptr, ptr %7, align 8 %41 = icmp ne ptr %40, null br i1 %41, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %42 42: ; preds = %._crit_edge, %11 %43 = load ptr, ptr %6, align 8 %44 = call i32 @free(ptr noundef %43) br label %45 45: ; preds = %42, %2 br label %46 46: ; preds = %45 %47 = load ptr, ptr %4, align 8 %48 = load i32, ptr %47, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %47, align 4 %50 = load ptr, ptr %5, align 8 %51 = load ptr, ptr %4, align 8 %52 = load i32, ptr %51, align 4 %53 = sext i32 %52 to i64 %54 = mul i64 8, %53 %55 = trunc i64 %54 to i32 %56 = call ptr @realloc(ptr noundef %50, i32 noundef %55) store ptr %56, ptr %5, align 8 %57 = load ptr, ptr %5, align 8 %58 = load ptr, ptr %4, align 8 %59 = load i32, ptr %58, align 4 %60 = sub nsw i32 %59, 1 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds ptr, ptr %57, i64 %61 store ptr null, ptr %62, align 8 br label %63 63: ; preds = %46 %64 = load ptr, ptr %4, align 8 %65 = load i32, ptr %64, align 4 %66 = add nsw i32 %65, -1 store i32 %66, ptr %64, align 4 %67 = load ptr, ptr %5, align 8 ret ptr %67 } declare ptr @strdup(ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare ptr @uniquestr(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmplgec75no.c' source_filename = "/tmp/tmplgec75no.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"| n | base: 2 | base -3 |\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"| %d | %7d | %7d |\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 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %6, align 4 br label %8 8: ; preds = %18, %2 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %9, 10 br i1 %10, label %11, label %21 11: ; preds = %8 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = call i32 @power(i32 noundef 2, i32 noundef %13) %15 = load i32, ptr %6, align 4 %16 = call i32 @power(i32 noundef -3, i32 noundef %15) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12, i32 noundef %14, i32 noundef %16) br label %18 18: ; preds = %11 %19 = load i32, ptr %6, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %6, align 4 br label %8, !llvm.loop !6 21: ; preds = %8 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @power(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/tmplgec75no.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"| n | base: 2 | base -3 |\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"| %d | %7d | %7d |\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 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp slt i32 %8, 10 br i1 %9, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %17 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = call i32 @power(i32 noundef 2, i32 noundef %12) %14 = load i32, ptr %6, align 4 %15 = call i32 @power(i32 noundef -3, i32 noundef %14) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11, i32 noundef %13, i32 noundef %15) br label %17 17: ; preds = %10 %18 = load i32, ptr %6, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %6, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp slt i32 %20, 10 br i1 %21, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %2 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @power(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/tmp2jjlnbst.c' source_filename = "/tmp/tmp2jjlnbst.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"^\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vprint(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %34, %1 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 16 br i1 %6, label %7, label %37 7: ; preds = %4 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %8, i64 %10 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp sgt i32 %13, 31 br i1 %14, label %15, label %31 15: ; preds = %7 %16 = load ptr, ptr %2, align 8 %17 = load i32, ptr %3, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp slt i32 %21, 127 br i1 %22, label %23, label %31 23: ; preds = %15 %24 = load ptr, ptr %2, align 8 %25 = load i32, ptr %3, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %29) br label %33 31: ; preds = %15, %7 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %33 33: ; preds = %31, %23 br label %34 34: ; preds = %33 %35 = load i32, ptr %3, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %3, align 4 br label %4, !llvm.loop !6 37: ; preds = %4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2jjlnbst.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"^\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vprint(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 16 br i1 %5, label %.lr.ph, label %38 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %33 %7 = load ptr, ptr %2, align 8 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i8, ptr %7, i64 %9 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp sgt i32 %12, 31 br i1 %13, label %14, label %30 14: ; preds = %6 %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr %3, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp slt i32 %20, 127 br i1 %21, label %22, label %30 22: ; preds = %14 %23 = load ptr, ptr %2, align 8 %24 = load i32, ptr %3, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %28) br label %32 30: ; preds = %14, %6 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %32 32: ; preds = %30, %22 br label %33 33: ; preds = %32 %34 = load i32, ptr %3, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %3, align 4 %36 = load i32, ptr %3, align 4 %37 = icmp slt i32 %36, 16 br i1 %37, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %38 38: ; preds = %._crit_edge, %1 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6ljlzv96.c' source_filename = "/tmp/tmp6ljlzv96.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6ljlzv96.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaep_w_13.c' source_filename = "/tmp/tmpaep_w_13.c" target datalayout = "e-m:e-p270: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/tmpaep_w_13.c" target datalayout = "e-m:e-p270: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/tmpocfxxkh8.c' source_filename = "/tmp/tmpocfxxkh8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MAXPATHLEN = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"FileUtil_getRealPath\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"errno = %d\0A\00", align 1 @errno = dso_local global ptr null, align 8 @.str.2 = private unnamed_addr constant [46 x i8] c"realpath returned NULL. File = %s Path = %s.\0A\00", align 1 @EINVAL = dso_local global ptr null, align 8 @.str.3 = private unnamed_addr constant [33 x i8] c"File = %s Path = %s. errno = %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"CurDir = %s. errno = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @FileUtil_getRealPath(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load i32, ptr @MAXPATHLEN, align 4 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %6, align 8 %12 = alloca i8, i64 %10, align 16 store i64 %10, ptr %7, align 8 %13 = load i32, ptr @MAXPATHLEN, align 4 %14 = call ptr @getcwd(ptr noundef %12, i32 noundef %13) %15 = icmp eq ptr %14, null br i1 %15, label %16, label %19 16: ; preds = %2 %17 = load ptr, ptr @errno, align 8 %18 = call i32 (i32, ptr, i32, ptr, ptr, ...) @Error_write(i32 noundef 307, ptr noundef @.str, i32 noundef 2, ptr noundef @.str.1, ptr noundef %17) store i32 0, ptr %3, align 4 store i32 1, ptr %8, align 4 br label %53 19: ; preds = %2 %20 = load ptr, ptr @errno, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %22, label %25 22: ; preds = %19 %23 = load ptr, ptr @errno, align 8 %24 = call i32 (i32, ptr, i32, ptr, ptr, ...) @Error_write(i32 noundef 307, ptr noundef @.str, i32 noundef 2, ptr noundef @.str.1, ptr noundef %23) store i32 0, ptr %3, align 4 store i32 1, ptr %8, align 4 br label %53 25: ; preds = %19 %26 = load ptr, ptr %4, align 8 %27 = load ptr, ptr %5, align 8 %28 = call ptr @realpath(ptr noundef %26, ptr noundef %27) %29 = icmp eq ptr %28, null br i1 %29, label %30, label %34 30: ; preds = %25 %31 = load ptr, ptr %4, align 8 %32 = load ptr, ptr %5, align 8 %33 = call i32 (i32, ptr, i32, ptr, ptr, ...) @Error_write(i32 noundef 308, ptr noundef @.str, i32 noundef 2, ptr noundef @.str.2, ptr noundef %31, ptr noundef %32) br label %34 34: ; preds = %30, %25 %35 = load ptr, ptr @errno, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %37, label %46 37: ; preds = %34 %38 = load ptr, ptr @errno, align 8 %39 = load ptr, ptr @EINVAL, align 8 %40 = icmp ne ptr %38, %39 br i1 %40, label %41, label %46 41: ; preds = %37 %42 = load ptr, ptr %4, align 8 %43 = load ptr, ptr %5, align 8 %44 = load ptr, ptr @errno, align 8 %45 = call i32 (i32, ptr, i32, ptr, ptr, ...) @Error_write(i32 noundef 308, ptr noundef @.str, i32 noundef 2, ptr noundef @.str.3, ptr noundef %42, ptr noundef %43, ptr noundef %44) store i32 0, ptr %3, align 4 store i32 1, ptr %8, align 4 br label %53 46: ; preds = %37, %34 %47 = call i64 @chdir(ptr noundef %12) %48 = icmp ne i64 %47, 0 br i1 %48, label %49, label %52 49: ; preds = %46 %50 = load ptr, ptr @errno, align 8 %51 = call i32 (i32, ptr, i32, ptr, ptr, ...) @Error_write(i32 noundef 309, ptr noundef @.str, i32 noundef 2, ptr noundef @.str.4, ptr noundef %12, ptr noundef %50) store i32 0, ptr %3, align 4 store i32 1, ptr %8, align 4 br label %53 52: ; preds = %46 store i32 1, ptr %3, align 4 store i32 1, ptr %8, align 4 br label %53 53: ; preds = %52, %49, %41, %22, %16 %54 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %54) %55 = load i32, ptr %3, align 4 ret i32 %55 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @getcwd(ptr noundef, i32 noundef) #2 declare i32 @Error_write(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) #2 declare ptr @realpath(ptr noundef, ptr noundef) #2 declare i64 @chdir(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpocfxxkh8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MAXPATHLEN = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [21 x i8] c"FileUtil_getRealPath\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"errno = %d\0A\00", align 1 @errno = dso_local global ptr null, align 8 @.str.2 = private unnamed_addr constant [46 x i8] c"realpath returned NULL. File = %s Path = %s.\0A\00", align 1 @EINVAL = dso_local global ptr null, align 8 @.str.3 = private unnamed_addr constant [33 x i8] c"File = %s Path = %s. errno = %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"CurDir = %s. errno = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @FileUtil_getRealPath(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load i32, ptr @MAXPATHLEN, align 4 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %6, align 8 %12 = alloca i8, i64 %10, align 16 store i64 %10, ptr %7, align 8 %13 = load i32, ptr @MAXPATHLEN, align 4 %14 = call ptr @getcwd(ptr noundef %12, i32 noundef %13) %15 = icmp eq ptr %14, null br i1 %15, label %16, label %19 16: ; preds = %2 %17 = load ptr, ptr @errno, align 8 %18 = call i32 (i32, ptr, i32, ptr, ptr, ...) @Error_write(i32 noundef 307, ptr noundef @.str, i32 noundef 2, ptr noundef @.str.1, ptr noundef %17) store i32 0, ptr %3, align 4 store i32 1, ptr %8, align 4 br label %53 19: ; preds = %2 %20 = load ptr, ptr @errno, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %22, label %25 22: ; preds = %19 %23 = load ptr, ptr @errno, align 8 %24 = call i32 (i32, ptr, i32, ptr, ptr, ...) @Error_write(i32 noundef 307, ptr noundef @.str, i32 noundef 2, ptr noundef @.str.1, ptr noundef %23) store i32 0, ptr %3, align 4 store i32 1, ptr %8, align 4 br label %53 25: ; preds = %19 %26 = load ptr, ptr %4, align 8 %27 = load ptr, ptr %5, align 8 %28 = call ptr @realpath(ptr noundef %26, ptr noundef %27) %29 = icmp eq ptr %28, null br i1 %29, label %30, label %34 30: ; preds = %25 %31 = load ptr, ptr %4, align 8 %32 = load ptr, ptr %5, align 8 %33 = call i32 (i32, ptr, i32, ptr, ptr, ...) @Error_write(i32 noundef 308, ptr noundef @.str, i32 noundef 2, ptr noundef @.str.2, ptr noundef %31, ptr noundef %32) br label %34 34: ; preds = %30, %25 %35 = load ptr, ptr @errno, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %37, label %46 37: ; preds = %34 %38 = load ptr, ptr @errno, align 8 %39 = load ptr, ptr @EINVAL, align 8 %40 = icmp ne ptr %38, %39 br i1 %40, label %41, label %46 41: ; preds = %37 %42 = load ptr, ptr %4, align 8 %43 = load ptr, ptr %5, align 8 %44 = load ptr, ptr @errno, align 8 %45 = call i32 (i32, ptr, i32, ptr, ptr, ...) @Error_write(i32 noundef 308, ptr noundef @.str, i32 noundef 2, ptr noundef @.str.3, ptr noundef %42, ptr noundef %43, ptr noundef %44) store i32 0, ptr %3, align 4 store i32 1, ptr %8, align 4 br label %53 46: ; preds = %37, %34 %47 = call i64 @chdir(ptr noundef %12) %48 = icmp ne i64 %47, 0 br i1 %48, label %49, label %52 49: ; preds = %46 %50 = load ptr, ptr @errno, align 8 %51 = call i32 (i32, ptr, i32, ptr, ptr, ...) @Error_write(i32 noundef 309, ptr noundef @.str, i32 noundef 2, ptr noundef @.str.4, ptr noundef %12, ptr noundef %50) store i32 0, ptr %3, align 4 store i32 1, ptr %8, align 4 br label %53 52: ; preds = %46 store i32 1, ptr %3, align 4 store i32 1, ptr %8, align 4 br label %53 53: ; preds = %52, %49, %41, %22, %16 %54 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %54) %55 = load i32, ptr %3, align 4 ret i32 %55 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare ptr @getcwd(ptr noundef, i32 noundef) #2 declare i32 @Error_write(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) #2 declare ptr @realpath(ptr noundef, ptr noundef) #2 declare i64 @chdir(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkgz6_3n3.c' source_filename = "/tmp/tmpkgz6_3n3.c" target datalayout = "e-m:e-p270: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/tmpkgz6_3n3.c" target datalayout = "e-m:e-p270: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/tmp03t7vfwi.c' source_filename = "/tmp/tmp03t7vfwi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vfprintf(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %6, align 4 %11 = call i32 @print(ptr noundef %8, ptr noundef null, i64 noundef -1, ptr noundef %9, i32 noundef %10) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 ret i32 %12 } declare i32 @print(ptr noundef, ptr noundef, i64 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/tmp03t7vfwi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vfprintf(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %6, align 4 %11 = call i32 @print(ptr noundef %8, ptr noundef null, i64 noundef -1, ptr noundef %9, i32 noundef %10) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 ret i32 %12 } declare i32 @print(ptr noundef, ptr noundef, i64 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/tmphi6f2dck.c' source_filename = "/tmp/tmphi6f2dck.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_SC_PAGESIZE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @page_size() #0 { %1 = alloca i32, align 4 %2 = load i32, ptr @_SC_PAGESIZE, align 4 %3 = call i32 @sysconf(i32 noundef %2) store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = icmp sgt i32 %4, 0 %6 = zext i1 %5 to i32 %7 = call i32 @assert(i32 noundef %6) %8 = load i32, ptr %1, align 4 %9 = sext i32 %8 to i64 ret i64 %9 } declare i32 @sysconf(i32 noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphi6f2dck.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_SC_PAGESIZE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @page_size() #0 { %1 = alloca i32, align 4 %2 = load i32, ptr @_SC_PAGESIZE, align 4 %3 = call i32 @sysconf(i32 noundef %2) store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = icmp sgt i32 %4, 0 %6 = zext i1 %5 to i32 %7 = call i32 @assert(i32 noundef %6) %8 = load i32, ptr %1, align 4 %9 = sext i32 %8 to i64 ret i64 %9 } declare i32 @sysconf(i32 noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc6ulg86_.c' source_filename = "/tmp/tmpc6ulg86_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i64 } @FD_SETSIZE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @poll_func(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca %struct.timeval, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @st_pop(ptr noundef %7) store i32 %8, ptr %6, align 4 %9 = load ptr, ptr %2, align 8 %10 = call i32 @st_pop(ptr noundef %9) store i32 %10, ptr %5, align 4 %11 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 1 store i64 0, ptr %11, align 8 %12 = load i32, ptr %6, align 4 %13 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0 store i32 %12, ptr %13, align 8 %14 = call i32 @FD_ZERO(ptr noundef %3) %15 = load i32, ptr %5, align 4 %16 = call i32 @FD_SET(i32 noundef %15, ptr noundef %3) %17 = load i32, ptr @FD_SETSIZE, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %21 20: ; preds = %1 br label %22 21: ; preds = %1 br label %22 22: ; preds = %21, %20 %23 = phi ptr [ null, %20 ], [ %4, %21 ] %24 = call i32 @select(i32 noundef %17, ptr noundef %3, ptr noundef null, ptr noundef null, ptr noundef %23) %25 = load ptr, ptr %2, align 8 %26 = load i32, ptr %5, align 4 %27 = call i64 @FD_ISSET(i32 noundef %26, ptr noundef %3) %28 = trunc i64 %27 to i32 %29 = call i32 @st_push(ptr noundef %25, i32 noundef %28) ret void } declare i32 @st_pop(ptr noundef) #1 declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @st_push(ptr noundef, i32 noundef) #1 declare i64 @FD_ISSET(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/tmpc6ulg86_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i64 } @FD_SETSIZE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @poll_func(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca %struct.timeval, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @st_pop(ptr noundef %7) store i32 %8, ptr %6, align 4 %9 = load ptr, ptr %2, align 8 %10 = call i32 @st_pop(ptr noundef %9) store i32 %10, ptr %5, align 4 %11 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 1 store i64 0, ptr %11, align 8 %12 = load i32, ptr %6, align 4 %13 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0 store i32 %12, ptr %13, align 8 %14 = call i32 @FD_ZERO(ptr noundef %3) %15 = load i32, ptr %5, align 4 %16 = call i32 @FD_SET(i32 noundef %15, ptr noundef %3) %17 = load i32, ptr @FD_SETSIZE, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %21 20: ; preds = %1 br label %22 21: ; preds = %1 br label %22 22: ; preds = %21, %20 %23 = phi ptr [ null, %20 ], [ %4, %21 ] %24 = call i32 @select(i32 noundef %17, ptr noundef %3, ptr noundef null, ptr noundef null, ptr noundef %23) %25 = load ptr, ptr %2, align 8 %26 = load i32, ptr %5, align 4 %27 = call i64 @FD_ISSET(i32 noundef %26, ptr noundef %3) %28 = trunc i64 %27 to i32 %29 = call i32 @st_push(ptr noundef %25, i32 noundef %28) ret void } declare i32 @st_pop(ptr noundef) #1 declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @st_push(ptr noundef, i32 noundef) #1 declare i64 @FD_ISSET(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/tmpf8au1mi4.c' source_filename = "/tmp/tmpf8au1mi4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @call6d(i64 noundef %0, float noundef %1, double noundef %2, i8 noundef zeroext %3, i16 noundef zeroext %4, i32 noundef %5, i64 noundef %6) #0 { %8 = alloca i64, align 8 %9 = alloca float, align 4 %10 = alloca double, align 8 %11 = alloca i8, align 1 %12 = alloca i16, align 2 %13 = alloca i32, align 4 %14 = alloca i64, align 8 store i64 %0, ptr %8, align 8 store float %1, ptr %9, align 4 store double %2, ptr %10, align 8 store i8 %3, ptr %11, align 1 store i16 %4, ptr %12, align 2 store i32 %5, ptr %13, align 4 store i64 %6, ptr %14, align 8 %15 = load i64, ptr %8, align 8 store i64 %15, ptr %8, align 8 %16 = load float, ptr %9, align 4 %17 = load double, ptr %10, align 8 %18 = load i8, ptr %11, align 1 %19 = load i16, ptr %12, align 2 %20 = load i32, ptr %13, align 4 %21 = load i64, ptr %14, align 8 %22 = call i32 @call6e(float noundef %16, double noundef %17, i8 noundef zeroext %18, i16 noundef zeroext %19, i32 noundef %20, i64 noundef %21) ret void } declare i32 @call6e(float noundef, double noundef, i8 noundef zeroext, i16 noundef zeroext, i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf8au1mi4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @call6d(i64 noundef %0, float noundef %1, double noundef %2, i8 noundef zeroext %3, i16 noundef zeroext %4, i32 noundef %5, i64 noundef %6) #0 { %8 = alloca i64, align 8 %9 = alloca float, align 4 %10 = alloca double, align 8 %11 = alloca i8, align 1 %12 = alloca i16, align 2 %13 = alloca i32, align 4 %14 = alloca i64, align 8 store i64 %0, ptr %8, align 8 store float %1, ptr %9, align 4 store double %2, ptr %10, align 8 store i8 %3, ptr %11, align 1 store i16 %4, ptr %12, align 2 store i32 %5, ptr %13, align 4 store i64 %6, ptr %14, align 8 %15 = load i64, ptr %8, align 8 store i64 %15, ptr %8, align 8 %16 = load float, ptr %9, align 4 %17 = load double, ptr %10, align 8 %18 = load i8, ptr %11, align 1 %19 = load i16, ptr %12, align 2 %20 = load i32, ptr %13, align 4 %21 = load i64, ptr %14, align 8 %22 = call i32 @call6e(float noundef %16, double noundef %17, i8 noundef zeroext %18, i16 noundef zeroext %19, i32 noundef %20, i64 noundef %21) ret void } declare i32 @call6e(float noundef, double noundef, i8 noundef zeroext, i16 noundef zeroext, i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi7l44d9h.c' source_filename = "/tmp/tmpi7l44d9h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\0A\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @commit_move(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) %5 = load i32, ptr @stdout, align 4 %6 = call i32 @fflush(i32 noundef %5) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @fflush(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/tmpi7l44d9h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\0A\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @commit_move(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) %5 = load i32, ptr @stdout, align 4 %6 = call i32 @fflush(i32 noundef %5) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @fflush(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/tmp95g59xua.c' source_filename = "/tmp/tmp95g59xua.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 41, ptr %5, align 4 %6 = call i32 @f(ptr noundef %5) %7 = load i32, ptr %5, align 4 %8 = icmp ne i32 %7, 42 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = call i32 (...) @abort() #3 unreachable 11: ; preds = %2 ret i32 0 } declare i32 @f(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp95g59xua.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 41, ptr %5, align 4 %6 = call i32 @f(ptr noundef %5) %7 = load i32, ptr %5, align 4 %8 = icmp ne i32 %7, 42 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = call i32 (...) @abort() #3 unreachable 11: ; preds = %2 ret i32 0 } declare i32 @f(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2l_u0jn8.c' source_filename = "/tmp/tmp2l_u0jn8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writeLeInt32(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = trunc i32 %6 to i8 store i8 %7, ptr %5, align 1 %8 = load ptr, ptr %3, align 8 %9 = call i32 @fwrite(ptr noundef %5, i32 noundef 1, i32 noundef 1, ptr noundef %8) %10 = load i32, ptr %4, align 4 %11 = sdiv i32 %10, 256 store i32 %11, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = trunc i32 %12 to i8 store i8 %13, ptr %5, align 1 %14 = load ptr, ptr %3, align 8 %15 = call i32 @fwrite(ptr noundef %5, i32 noundef 1, i32 noundef 1, ptr noundef %14) %16 = load i32, ptr %4, align 4 %17 = sdiv i32 %16, 256 store i32 %17, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = trunc i32 %18 to i8 store i8 %19, ptr %5, align 1 %20 = load ptr, ptr %3, align 8 %21 = call i32 @fwrite(ptr noundef %5, i32 noundef 1, i32 noundef 1, ptr noundef %20) %22 = load i32, ptr %4, align 4 %23 = sdiv i32 %22, 256 store i32 %23, ptr %4, align 4 %24 = load i32, ptr %4, align 4 %25 = trunc i32 %24 to i8 store i8 %25, ptr %5, align 1 %26 = load ptr, ptr %3, align 8 %27 = call i32 @fwrite(ptr noundef %5, i32 noundef 1, i32 noundef 1, ptr noundef %26) ret void } declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2l_u0jn8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writeLeInt32(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = trunc i32 %6 to i8 store i8 %7, ptr %5, align 1 %8 = load ptr, ptr %3, align 8 %9 = call i32 @fwrite(ptr noundef %5, i32 noundef 1, i32 noundef 1, ptr noundef %8) %10 = load i32, ptr %4, align 4 %11 = sdiv i32 %10, 256 store i32 %11, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = trunc i32 %12 to i8 store i8 %13, ptr %5, align 1 %14 = load ptr, ptr %3, align 8 %15 = call i32 @fwrite(ptr noundef %5, i32 noundef 1, i32 noundef 1, ptr noundef %14) %16 = load i32, ptr %4, align 4 %17 = sdiv i32 %16, 256 store i32 %17, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = trunc i32 %18 to i8 store i8 %19, ptr %5, align 1 %20 = load ptr, ptr %3, align 8 %21 = call i32 @fwrite(ptr noundef %5, i32 noundef 1, i32 noundef 1, ptr noundef %20) %22 = load i32, ptr %4, align 4 %23 = sdiv i32 %22, 256 store i32 %23, ptr %4, align 4 %24 = load i32, ptr %4, align 4 %25 = trunc i32 %24 to i8 store i8 %25, ptr %5, align 1 %26 = load ptr, ptr %3, align 8 %27 = call i32 @fwrite(ptr noundef %5, i32 noundef 1, i32 noundef 1, ptr noundef %26) ret void } declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4jdwuq_u.c' source_filename = "/tmp/tmp4jdwuq_u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SYS_get_thread_area = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_thread_area(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @SYS_get_thread_area, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @syscall(i32 noundef %3, ptr noundef %4) ret i32 %5 } declare i32 @syscall(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/tmp4jdwuq_u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SYS_get_thread_area = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_thread_area(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @SYS_get_thread_area, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @syscall(i32 noundef %3, ptr noundef %4) ret i32 %5 } declare i32 @syscall(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/tmpe5j1c6kb.c' source_filename = "/tmp/tmpe5j1c6kb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call i32 @trim_leading(ptr noundef %6, i64 noundef %7) %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 %11 = call i32 @strlen(ptr noundef %10) %12 = sub nsw i32 %11, 1 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %9, i64 %13 store ptr %14, ptr %5, align 8 br label %15 15: ; preds = %33, %2 %16 = load ptr, ptr %5, align 8 %17 = load ptr, ptr %3, align 8 %18 = icmp uge ptr %16, %17 br i1 %18, label %19, label %31 19: ; preds = %15 %20 = load ptr, ptr %5, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 32 br i1 %23, label %29, label %24 24: ; preds = %19 %25 = load ptr, ptr %5, align 8 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 9 br label %29 29: ; preds = %24, %19 %30 = phi i1 [ true, %19 ], [ %28, %24 ] br label %31 31: ; preds = %29, %15 %32 = phi i1 [ false, %15 ], [ %30, %29 ] br i1 %32, label %33, label %36 33: ; preds = %31 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds i8, ptr %34, i32 -1 store ptr %35, ptr %5, align 8 br label %15, !llvm.loop !6 36: ; preds = %31 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 1 store i8 0, ptr %38, align 1 ret void } declare i32 @trim_leading(ptr noundef, i64 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe5j1c6kb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call i32 @trim_leading(ptr noundef %6, i64 noundef %7) %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 %11 = call i32 @strlen(ptr noundef %10) %12 = sub nsw i32 %11, 1 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %9, i64 %13 store ptr %14, ptr %5, align 8 br label %15 15: ; preds = %33, %2 %16 = load ptr, ptr %5, align 8 %17 = load ptr, ptr %3, align 8 %18 = icmp uge ptr %16, %17 br i1 %18, label %19, label %31 19: ; preds = %15 %20 = load ptr, ptr %5, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 32 br i1 %23, label %29, label %24 24: ; preds = %19 %25 = load ptr, ptr %5, align 8 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 9 br label %29 29: ; preds = %24, %19 %30 = phi i1 [ true, %19 ], [ %28, %24 ] br label %31 31: ; preds = %29, %15 %32 = phi i1 [ false, %15 ], [ %30, %29 ] br i1 %32, label %33, label %36 33: ; preds = %31 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds i8, ptr %34, i32 -1 store ptr %35, ptr %5, align 8 br label %15, !llvm.loop !6 36: ; preds = %31 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 1 store i8 0, ptr %38, align 1 ret void } declare i32 @trim_leading(ptr noundef, i64 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvonou5p5.c' source_filename = "/tmp/tmpvonou5p5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wdwhmg(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca float, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %58 15: ; preds = %4 %16 = load i32, ptr %7, align 4 %17 = icmp sgt i32 %16, 1 br i1 %17, label %18, label %20 18: ; preds = %15 %19 = load i32, ptr %7, align 4 br label %21 20: ; preds = %15 br label %21 21: ; preds = %20, %18 %22 = phi i32 [ %19, %18 ], [ 1, %20 ] store i32 %22, ptr %10, align 4 %23 = load i32, ptr %8, align 4 %24 = load i32, ptr %6, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %28 26: ; preds = %21 %27 = load i32, ptr %8, align 4 br label %30 28: ; preds = %21 %29 = load i32, ptr %6, align 4 br label %30 30: ; preds = %28, %26 %31 = phi i32 [ %27, %26 ], [ %29, %28 ] store i32 %31, ptr %11, align 4 %32 = call float @acos(double noundef -1.000000e+00) store float %32, ptr %12, align 4 %33 = load i32, ptr %10, align 4 store i32 %33, ptr %9, align 4 br label %34 34: ; preds = %54, %30 %35 = load i32, ptr %9, align 4 %36 = load i32, ptr %11, align 4 %37 = icmp sle i32 %35, %36 br i1 %37, label %38, label %57 38: ; preds = %34 %39 = load float, ptr %12, align 4 %40 = load i32, ptr %9, align 4 %41 = sitofp i32 %40 to float %42 = load i32, ptr %6, align 4 %43 = sitofp i32 %42 to float %44 = fdiv float %41, %43 %45 = fmul float %39, %44 %46 = call double @cos(float noundef %45) %47 = call double @llvm.fmuladd.f64(double 4.600000e-01, double %46, double 5.400000e-01) %48 = fptrunc double %47 to float %49 = load ptr, ptr %5, align 8 %50 = load i32, ptr %9, align 4 %51 = sub nsw i32 %50, 1 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds float, ptr %49, i64 %52 store float %48, ptr %53, align 4 br label %54 54: ; preds = %38 %55 = load i32, ptr %9, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %9, align 4 br label %34, !llvm.loop !6 57: ; preds = %34 br label %58 58: ; preds = %57, %4 ret void } declare float @acos(double noundef) #1 declare double @cos(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvonou5p5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wdwhmg(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca float, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %60 15: ; preds = %4 %16 = load i32, ptr %7, align 4 %17 = icmp sgt i32 %16, 1 br i1 %17, label %18, label %20 18: ; preds = %15 %19 = load i32, ptr %7, align 4 br label %21 20: ; preds = %15 br label %21 21: ; preds = %20, %18 %22 = phi i32 [ %19, %18 ], [ 1, %20 ] store i32 %22, ptr %10, align 4 %23 = load i32, ptr %8, align 4 %24 = load i32, ptr %6, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %28 26: ; preds = %21 %27 = load i32, ptr %8, align 4 br label %30 28: ; preds = %21 %29 = load i32, ptr %6, align 4 br label %30 30: ; preds = %28, %26 %31 = phi i32 [ %27, %26 ], [ %29, %28 ] store i32 %31, ptr %11, align 4 %32 = call float @acos(double noundef -1.000000e+00) store float %32, ptr %12, align 4 %33 = load i32, ptr %10, align 4 store i32 %33, ptr %9, align 4 %34 = load i32, ptr %9, align 4 %35 = load i32, ptr %11, align 4 %36 = icmp sle i32 %34, %35 br i1 %36, label %.lr.ph, label %59 .lr.ph: ; preds = %30 br label %37 37: ; preds = %.lr.ph, %53 %38 = load float, ptr %12, align 4 %39 = load i32, ptr %9, align 4 %40 = sitofp i32 %39 to float %41 = load i32, ptr %6, align 4 %42 = sitofp i32 %41 to float %43 = fdiv float %40, %42 %44 = fmul float %38, %43 %45 = call double @cos(float noundef %44) %46 = call double @llvm.fmuladd.f64(double 4.600000e-01, double %45, double 5.400000e-01) %47 = fptrunc double %46 to float %48 = load ptr, ptr %5, align 8 %49 = load i32, ptr %9, align 4 %50 = sub nsw i32 %49, 1 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds float, ptr %48, i64 %51 store float %47, ptr %52, align 4 br label %53 53: ; preds = %37 %54 = load i32, ptr %9, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %9, align 4 %56 = load i32, ptr %9, align 4 %57 = load i32, ptr %11, align 4 %58 = icmp sle i32 %56, %57 br i1 %58, label %37, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %53 br label %59 59: ; preds = %._crit_edge, %30 br label %60 60: ; preds = %59, %4 ret void } declare float @acos(double noundef) #1 declare double @cos(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpet6x475d.c' source_filename = "/tmp/tmpet6x475d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @res_tmp_txt_size() #0 { %1 = call i64 (...) @get_binary_resource_tmp_txt_res_size() ret i64 %1 } declare i64 @get_binary_resource_tmp_txt_res_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/tmpet6x475d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @res_tmp_txt_size() #0 { %1 = call i64 (...) @get_binary_resource_tmp_txt_res_size() ret i64 %1 } declare i64 @get_binary_resource_tmp_txt_res_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/tmp20o7bf13.c' source_filename = "/tmp/tmp20o7bf13.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [55 x i8] c"Displays a calendar for years between 1900 and 2099.\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"./calendar [yyyy [mm]] | [mm [yyyy]]\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"yyyy\09year of calendar\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"mm\09month of calendar\0A\00", align 1 @.str.4 = private unnamed_addr constant [52 x i8] c"\0AAuthor: Francis Asante <kofrasa@gmail.com> (2009)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp20o7bf13.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [55 x i8] c"Displays a calendar for years between 1900 and 2099.\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"./calendar [yyyy [mm]] | [mm [yyyy]]\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"yyyy\09year of calendar\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"mm\09month of calendar\0A\00", align 1 @.str.4 = private unnamed_addr constant [52 x i8] c"\0AAuthor: Francis Asante <kofrasa@gmail.com> (2009)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdpgkfqng.c' source_filename = "/tmp/tmpdpgkfqng.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_3__ = type { ptr } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @RAND_seed(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call ptr (...) @RAND_get_rand_method() store ptr %6, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %21 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds %struct.TYPE_3__, ptr %10, i32 0, i32 0 %12 = load ptr, ptr %11, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %21 14: ; preds = %9 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds %struct.TYPE_3__, ptr %15, i32 0, i32 0 %17 = load ptr, ptr %16, align 8 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %4, align 4 %20 = call i32 %17(ptr noundef %18, i32 noundef %19) br label %21 21: ; preds = %14, %9, %2 ret void } declare ptr @RAND_get_rand_method(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdpgkfqng.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_3__ = type { ptr } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @RAND_seed(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call ptr (...) @RAND_get_rand_method() store ptr %6, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %21 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds %struct.TYPE_3__, ptr %10, i32 0, i32 0 %12 = load ptr, ptr %11, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %21 14: ; preds = %9 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds %struct.TYPE_3__, ptr %15, i32 0, i32 0 %17 = load ptr, ptr %16, align 8 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %4, align 4 %20 = call i32 %17(ptr noundef %18, i32 noundef %19) br label %21 21: ; preds = %14, %9, %2 ret void } declare ptr @RAND_get_rand_method(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnwkc_vg5.c' source_filename = "/tmp/tmpnwkc_vg5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local { i64, i64 } @timesub(i64 %0, i64 %1, i64 %2, i64 %3) #0 { %5 = alloca %struct.timespec, align 8 %6 = alloca %struct.timespec, align 8 %7 = alloca %struct.timespec, align 8 %8 = getelementptr inbounds { i64, i64 }, ptr %6, i32 0, i32 0 store i64 %0, ptr %8, align 8 %9 = getelementptr inbounds { i64, i64 }, ptr %6, i32 0, i32 1 store i64 %1, ptr %9, align 8 %10 = getelementptr inbounds { i64, i64 }, ptr %7, i32 0, i32 0 store i64 %2, ptr %10, align 8 %11 = getelementptr inbounds { i64, i64 }, ptr %7, i32 0, i32 1 store i64 %3, ptr %11, align 8 %12 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1 %13 = load i64, ptr %12, align 8 %14 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 1 %15 = load i64, ptr %14, align 8 %16 = sub nsw i64 %13, %15 %17 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1 store i64 %16, ptr %17, align 8 %18 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 0 %19 = load i64, ptr %18, align 8 %20 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0 %21 = load i64, ptr %20, align 8 %22 = sub nsw i64 %19, %21 %23 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 store i64 %22, ptr %23, align 8 %24 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 %25 = load i64, ptr %24, align 8 %26 = icmp slt i64 %25, 0 br i1 %26, label %27, label %34 27: ; preds = %4 %28 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 %29 = load i64, ptr %28, align 8 %30 = add nsw i64 %29, 1000000000 store i64 %30, ptr %28, align 8 %31 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1 %32 = load i64, ptr %31, align 8 %33 = sub nsw i64 %32, 1 store i64 %33, ptr %31, align 8 br label %34 34: ; preds = %27, %4 %35 = load { i64, i64 }, ptr %5, align 8 ret { i64, i64 } %35 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnwkc_vg5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local { i64, i64 } @timesub(i64 %0, i64 %1, i64 %2, i64 %3) #0 { %5 = alloca %struct.timespec, align 8 %6 = alloca %struct.timespec, align 8 %7 = alloca %struct.timespec, align 8 %8 = getelementptr inbounds { i64, i64 }, ptr %6, i32 0, i32 0 store i64 %0, ptr %8, align 8 %9 = getelementptr inbounds { i64, i64 }, ptr %6, i32 0, i32 1 store i64 %1, ptr %9, align 8 %10 = getelementptr inbounds { i64, i64 }, ptr %7, i32 0, i32 0 store i64 %2, ptr %10, align 8 %11 = getelementptr inbounds { i64, i64 }, ptr %7, i32 0, i32 1 store i64 %3, ptr %11, align 8 %12 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1 %13 = load i64, ptr %12, align 8 %14 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 1 %15 = load i64, ptr %14, align 8 %16 = sub nsw i64 %13, %15 %17 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1 store i64 %16, ptr %17, align 8 %18 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 0 %19 = load i64, ptr %18, align 8 %20 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0 %21 = load i64, ptr %20, align 8 %22 = sub nsw i64 %19, %21 %23 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 store i64 %22, ptr %23, align 8 %24 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 %25 = load i64, ptr %24, align 8 %26 = icmp slt i64 %25, 0 br i1 %26, label %27, label %34 27: ; preds = %4 %28 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 %29 = load i64, ptr %28, align 8 %30 = add nsw i64 %29, 1000000000 store i64 %30, ptr %28, align 8 %31 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1 %32 = load i64, ptr %31, align 8 %33 = sub nsw i64 %32, 1 store i64 %33, ptr %31, align 8 br label %34 34: ; preds = %27, %4 %35 = load { i64, i64 }, ptr %5, align 8 ret { i64, i64 } %35 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp786hiqcv.c' source_filename = "/tmp/tmp786hiqcv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ioctl(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @g(i32 noundef 1) %4 = call i32 @h(i32 noundef 2) %5 = call i32 @w(i32 noundef 3) %6 = call i32 @z(i32 noundef 4) ret void } declare i32 @g(i32 noundef) #1 declare i32 @h(i32 noundef) #1 declare i32 @w(i32 noundef) #1 declare i32 @z(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/tmp786hiqcv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ioctl(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @g(i32 noundef 1) %4 = call i32 @h(i32 noundef 2) %5 = call i32 @w(i32 noundef 3) %6 = call i32 @z(i32 noundef 4) ret void } declare i32 @g(i32 noundef) #1 declare i32 @h(i32 noundef) #1 declare i32 @w(i32 noundef) #1 declare i32 @z(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/tmpio1aglj3.c' source_filename = "/tmp/tmpio1aglj3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Test int va_arg : %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Test double va_arg : %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @testVaArgInt(i32 noundef 8, i32 noundef 1, i32 noundef 2, i32 noundef 3, i32 noundef 4, i32 noundef 5, i32 noundef 6, i32 noundef 7, i32 noundef 8, i32 noundef 9, i32 noundef 10, i32 noundef 11, i32 noundef 12, i32 noundef 13, i32 noundef 14, i32 noundef 15, i32 noundef 16) %2 = sitofp i32 %1 to double %3 = call i32 @printf(ptr noundef @.str, double noundef %2) %4 = call double @testVaArgDouble(i32 noundef 8, i32 noundef 1, i32 noundef 2, i32 noundef 3, i32 noundef 4, i32 noundef 5, i32 noundef 6, i32 noundef 7, i32 noundef 8, i32 noundef 9, i32 noundef 10, i32 noundef 11, i32 noundef 12, i32 noundef 13, i32 noundef 14, i32 noundef 15, i32 noundef 16) %5 = call i32 @printf(ptr noundef @.str.1, double noundef %4) ret i32 0 } declare i32 @printf(ptr noundef, double noundef) #1 declare i32 @testVaArgInt(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare double @testVaArgDouble(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, 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/tmpio1aglj3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Test int va_arg : %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Test double va_arg : %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @testVaArgInt(i32 noundef 8, i32 noundef 1, i32 noundef 2, i32 noundef 3, i32 noundef 4, i32 noundef 5, i32 noundef 6, i32 noundef 7, i32 noundef 8, i32 noundef 9, i32 noundef 10, i32 noundef 11, i32 noundef 12, i32 noundef 13, i32 noundef 14, i32 noundef 15, i32 noundef 16) %2 = sitofp i32 %1 to double %3 = call i32 @printf(ptr noundef @.str, double noundef %2) %4 = call double @testVaArgDouble(i32 noundef 8, i32 noundef 1, i32 noundef 2, i32 noundef 3, i32 noundef 4, i32 noundef 5, i32 noundef 6, i32 noundef 7, i32 noundef 8, i32 noundef 9, i32 noundef 10, i32 noundef 11, i32 noundef 12, i32 noundef 13, i32 noundef 14, i32 noundef 15, i32 noundef 16) %5 = call i32 @printf(ptr noundef @.str.1, double noundef %4) ret i32 0 } declare i32 @printf(ptr noundef, double noundef) #1 declare i32 @testVaArgInt(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare double @testVaArgDouble(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, 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/tmpjsmlcjmw.c' source_filename = "/tmp/tmpjsmlcjmw.c" target datalayout = "e-m:e-p270: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.ifreq = type { ptr, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } %struct.sockaddr_in = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @SIOCGIFADDR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @libnet_get_if_ipv4(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca %struct.ifreq, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %11 = load i32, ptr @AF_INET, align 4 %12 = load i32, ptr @SOCK_DGRAM, align 4 %13 = call i32 @socket(i32 noundef %11, i32 noundef %12, i32 noundef 0) store i32 %13, ptr %8, align 4 %14 = load i32, ptr %8, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %3 store i32 -1, ptr %4, align 4 br label %43 17: ; preds = %3 %18 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 16) %19 = load i32, ptr @AF_INET, align 4 %20 = getelementptr inbounds %struct.ifreq, ptr %10, i32 0, i32 1 %21 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i32 0, i32 0 store i32 %19, ptr %21, align 8 %22 = getelementptr inbounds %struct.ifreq, ptr %10, i32 0, i32 0 %23 = load ptr, ptr %22, align 8 %24 = load ptr, ptr %7, align 8 %25 = call i32 @strcpy(ptr noundef %23, ptr noundef %24) %26 = load i32, ptr %8, align 4 %27 = load i32, ptr @SIOCGIFADDR, align 4 %28 = call i64 @ioctl(i32 noundef %26, i32 noundef %27, ptr noundef %10) %29 = icmp slt i64 %28, 0 br i1 %29, label %30, label %33 30: ; preds = %17 %31 = load i32, ptr %8, align 4 %32 = call i32 @close(i32 noundef %31) store i32 -1, ptr %4, align 4 br label %43 33: ; preds = %17 %34 = getelementptr inbounds %struct.ifreq, ptr %10, i32 0, i32 1 %35 = getelementptr inbounds %struct.sockaddr_in, ptr %34, i32 0, i32 0 %36 = load i32, ptr %35, align 8 %37 = call ptr @inet_ntoa(i32 noundef %36) store ptr %37, ptr %9, align 8 %38 = load ptr, ptr %6, align 8 %39 = load ptr, ptr %9, align 8 %40 = call i32 @strcpy(ptr noundef %38, ptr noundef %39) %41 = load i32, ptr %8, align 4 %42 = call i32 @close(i32 noundef %41) store i32 0, ptr %4, align 4 br label %43 43: ; preds = %33, %30, %16 %44 = load i32, ptr %4, align 4 ret i32 %44 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare ptr @inet_ntoa(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/tmpjsmlcjmw.c" target datalayout = "e-m:e-p270: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.ifreq = type { ptr, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } %struct.sockaddr_in = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @SIOCGIFADDR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @libnet_get_if_ipv4(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca %struct.ifreq, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %11 = load i32, ptr @AF_INET, align 4 %12 = load i32, ptr @SOCK_DGRAM, align 4 %13 = call i32 @socket(i32 noundef %11, i32 noundef %12, i32 noundef 0) store i32 %13, ptr %8, align 4 %14 = load i32, ptr %8, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %3 store i32 -1, ptr %4, align 4 br label %43 17: ; preds = %3 %18 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 16) %19 = load i32, ptr @AF_INET, align 4 %20 = getelementptr inbounds %struct.ifreq, ptr %10, i32 0, i32 1 %21 = getelementptr inbounds %struct.TYPE_2__, ptr %20, i32 0, i32 0 store i32 %19, ptr %21, align 8 %22 = getelementptr inbounds %struct.ifreq, ptr %10, i32 0, i32 0 %23 = load ptr, ptr %22, align 8 %24 = load ptr, ptr %7, align 8 %25 = call i32 @strcpy(ptr noundef %23, ptr noundef %24) %26 = load i32, ptr %8, align 4 %27 = load i32, ptr @SIOCGIFADDR, align 4 %28 = call i64 @ioctl(i32 noundef %26, i32 noundef %27, ptr noundef %10) %29 = icmp slt i64 %28, 0 br i1 %29, label %30, label %33 30: ; preds = %17 %31 = load i32, ptr %8, align 4 %32 = call i32 @close(i32 noundef %31) store i32 -1, ptr %4, align 4 br label %43 33: ; preds = %17 %34 = getelementptr inbounds %struct.ifreq, ptr %10, i32 0, i32 1 %35 = getelementptr inbounds %struct.sockaddr_in, ptr %34, i32 0, i32 0 %36 = load i32, ptr %35, align 8 %37 = call ptr @inet_ntoa(i32 noundef %36) store ptr %37, ptr %9, align 8 %38 = load ptr, ptr %6, align 8 %39 = load ptr, ptr %9, align 8 %40 = call i32 @strcpy(ptr noundef %38, ptr noundef %39) %41 = load i32, ptr %8, align 4 %42 = call i32 @close(i32 noundef %41) store i32 0, ptr %4, align 4 br label %43 43: ; preds = %33, %30, %16 %44 = load i32, ptr %4, align 4 ret i32 %44 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare ptr @inet_ntoa(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/tmpv74yjkbc.c' source_filename = "/tmp/tmpv74yjkbc.c" target datalayout = "e-m:e-p270: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/tmpv74yjkbc.c" target datalayout = "e-m:e-p270: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/tmpehqrcxo_.c' source_filename = "/tmp/tmpehqrcxo_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @test4(i32 noundef 3) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) %4 = call i32 @test4(i32 noundef -1) %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) %6 = call i32 @test4(i32 noundef 20) %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) %8 = call i32 @test4(i32 noundef 21) %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @test4(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/tmpehqrcxo_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @test4(i32 noundef 3) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) %4 = call i32 @test4(i32 noundef -1) %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) %6 = call i32 @test4(i32 noundef 20) %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) %8 = call i32 @test4(i32 noundef 21) %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @test4(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/tmpwi7qh5f0.c' source_filename = "/tmp/tmpwi7qh5f0.c" target datalayout = "e-m:e-p270: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/tmpwi7qh5f0.c" target datalayout = "e-m:e-p270: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/tmp6pghdfip.c' source_filename = "/tmp/tmp6pghdfip.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [65 x i8] c"ERROR: Expected sscanf to return 1, got %d.\0AUsing \22%s\22 in \22%s\22.\0A\00", align 1 @.str.1 = private unnamed_addr constant [81 x i8] c"ERROR: scanned float incorrectly from \22%s\22 using \22%s\22.\0AExpected \22%f\22, got \22%f\22.\0A\00", align 1 @.str.2 = private unnamed_addr constant [66 x i8] c"ERROR: overflow occurred in scanning float from \22%s\22 using \22%s\22.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @DoFloatTest(ptr noundef %0, ptr noundef %1, float noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca float, align 4 %7 = alloca [256 x i8], align 16 %8 = alloca float, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store float %2, ptr %6, align 4 call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 256, i1 false) store i32 0, ptr %10, align 4 br label %11 11: ; preds = %18, %3 %12 = load i32, ptr %10, align 4 %13 = icmp slt i32 %12, 256 br i1 %13, label %14, label %21 14: ; preds = %11 %15 = load i32, ptr %10, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %16 store i8 -1, ptr %17, align 1 br label %18 18: ; preds = %14 %19 = load i32, ptr %10, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %10, align 4 br label %11, !llvm.loop !6 21: ; preds = %11 %22 = load ptr, ptr %4, align 8 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %25 = call i32 @sscanf(ptr noundef %22, ptr noundef %23, ptr noundef %24) store i32 %25, ptr %9, align 4 %26 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %27 = load float, ptr %26, align 16 store float %27, ptr %8, align 4 %28 = load i32, ptr %9, align 4 %29 = icmp ne i32 %28, 1 br i1 %29, label %30, label %35 30: ; preds = %21 %31 = load i32, ptr %9, align 4 %32 = load ptr, ptr %4, align 8 %33 = load ptr, ptr %5, align 8 %34 = call i32 (ptr, ...) @Fail(ptr noundef @.str, i32 noundef %31, ptr noundef %32, ptr noundef %33) br label %35 35: ; preds = %30, %21 %36 = load float, ptr %8, align 4 %37 = load float, ptr %6, align 4 %38 = fcmp une float %36, %37 br i1 %38, label %39, label %47 39: ; preds = %35 %40 = load ptr, ptr %4, align 8 %41 = load ptr, ptr %5, align 8 %42 = load float, ptr %6, align 4 %43 = fpext float %42 to double %44 = load float, ptr %8, align 4 %45 = fpext float %44 to double %46 = call i32 (ptr, ...) @Fail(ptr noundef @.str.1, ptr noundef %40, ptr noundef %41, double noundef %43, double noundef %45) br label %47 47: ; preds = %39, %35 %48 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 4 %49 = load i8, ptr %48, align 4 %50 = sext i8 %49 to i32 %51 = icmp ne i32 %50, -1 br i1 %51, label %52, label %56 52: ; preds = %47 %53 = load ptr, ptr %4, align 8 %54 = load ptr, ptr %5, align 8 %55 = call i32 (ptr, ...) @Fail(ptr noundef @.str.2, ptr noundef %53, ptr noundef %54) br label %56 56: ; preds = %52, %47 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @Fail(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6pghdfip.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [65 x i8] c"ERROR: Expected sscanf to return 1, got %d.\0AUsing \22%s\22 in \22%s\22.\0A\00", align 1 @.str.1 = private unnamed_addr constant [81 x i8] c"ERROR: scanned float incorrectly from \22%s\22 using \22%s\22.\0AExpected \22%f\22, got \22%f\22.\0A\00", align 1 @.str.2 = private unnamed_addr constant [66 x i8] c"ERROR: overflow occurred in scanning float from \22%s\22 using \22%s\22.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @DoFloatTest(ptr noundef %0, ptr noundef %1, float noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca float, align 4 %7 = alloca [256 x i8], align 16 %8 = alloca float, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store float %2, ptr %6, align 4 call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 256, i1 false) store i32 0, ptr %10, align 4 %11 = load i32, ptr %10, align 4 %12 = icmp slt i32 %11, 256 br i1 %12, label %.lr.ph, label %22 .lr.ph: ; preds = %3 br label %13 13: ; preds = %.lr.ph, %17 %14 = load i32, ptr %10, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %15 store i8 -1, ptr %16, align 1 br label %17 17: ; preds = %13 %18 = load i32, ptr %10, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %10, align 4 %20 = load i32, ptr %10, align 4 %21 = icmp slt i32 %20, 256 br i1 %21, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %3 %23 = load ptr, ptr %4, align 8 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %26 = call i32 @sscanf(ptr noundef %23, ptr noundef %24, ptr noundef %25) store i32 %26, ptr %9, align 4 %27 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %28 = load float, ptr %27, align 16 store float %28, ptr %8, align 4 %29 = load i32, ptr %9, align 4 %30 = icmp ne i32 %29, 1 br i1 %30, label %31, label %36 31: ; preds = %22 %32 = load i32, ptr %9, align 4 %33 = load ptr, ptr %4, align 8 %34 = load ptr, ptr %5, align 8 %35 = call i32 (ptr, ...) @Fail(ptr noundef @.str, i32 noundef %32, ptr noundef %33, ptr noundef %34) br label %36 36: ; preds = %31, %22 %37 = load float, ptr %8, align 4 %38 = load float, ptr %6, align 4 %39 = fcmp une float %37, %38 br i1 %39, label %40, label %48 40: ; preds = %36 %41 = load ptr, ptr %4, align 8 %42 = load ptr, ptr %5, align 8 %43 = load float, ptr %6, align 4 %44 = fpext float %43 to double %45 = load float, ptr %8, align 4 %46 = fpext float %45 to double %47 = call i32 (ptr, ...) @Fail(ptr noundef @.str.1, ptr noundef %41, ptr noundef %42, double noundef %44, double noundef %46) br label %48 48: ; preds = %40, %36 %49 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 4 %50 = load i8, ptr %49, align 4 %51 = sext i8 %50 to i32 %52 = icmp ne i32 %51, -1 br i1 %52, label %53, label %57 53: ; preds = %48 %54 = load ptr, ptr %4, align 8 %55 = load ptr, ptr %5, align 8 %56 = call i32 (ptr, ...) @Fail(ptr noundef @.str.2, ptr noundef %54, ptr noundef %55) br label %57 57: ; preds = %53, %48 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @Fail(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpgxq4p957.c' source_filename = "/tmp/tmpgxq4p957.c" target datalayout = "e-m:e-p270: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/tmpgxq4p957.c" target datalayout = "e-m:e-p270: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/tmpfctvj_bh.c' source_filename = "/tmp/tmpfctvj_bh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SysCtlPeripheralDeepSleepDisable(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = and i32 %3, 65280 %5 = ashr i32 %4, 8 %6 = add nsw i32 1074784256, %5 %7 = sext i32 %6 to i64 %8 = and i64 %7, 4026531840 %9 = or i64 %8, 33554432 %10 = load i32, ptr %2, align 4 %11 = and i32 %10, 65280 %12 = ashr i32 %11, 8 %13 = add nsw i32 1074784256, %12 %14 = sext i32 %13 to i64 %15 = and i64 %14, 1048575 %16 = shl i64 %15, 5 %17 = or i64 %9, %16 %18 = load i32, ptr %2, align 4 %19 = and i32 %18, 255 %20 = shl i32 %19, 2 %21 = sext i32 %20 to i64 %22 = or i64 %17, %21 %23 = inttoptr i64 %22 to ptr store volatile i64 0, ptr %23, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfctvj_bh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SysCtlPeripheralDeepSleepDisable(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = and i32 %3, 65280 %5 = ashr i32 %4, 8 %6 = add nsw i32 1074784256, %5 %7 = sext i32 %6 to i64 %8 = and i64 %7, 4026531840 %9 = or i64 %8, 33554432 %10 = load i32, ptr %2, align 4 %11 = and i32 %10, 65280 %12 = ashr i32 %11, 8 %13 = add nsw i32 1074784256, %12 %14 = sext i32 %13 to i64 %15 = and i64 %14, 1048575 %16 = shl i64 %15, 5 %17 = or i64 %9, %16 %18 = load i32, ptr %2, align 4 %19 = and i32 %18, 255 %20 = shl i32 %19, 2 %21 = sext i32 %20 to i64 %22 = or i64 %17, %21 %23 = inttoptr i64 %22 to ptr store volatile i64 0, ptr %23, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9c7v4q69.c' source_filename = "/tmp/tmp9c7v4q69.c" target datalayout = "e-m:e-p270: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 [15 x i8] c"unknown error.\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"connect to server error.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @connect_to_server(ptr noundef %0, i16 noundef zeroext %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i16, align 2 %6 = alloca i32, align 4 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca i32, align 4 %9 = alloca [128 x i8], align 16 store ptr %0, ptr %4, align 8 store i16 %1, ptr %5, align 2 call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 128, i1 false) %10 = load i32, ptr @AF_INET, align 4 %11 = load i32, ptr @SOCK_STREAM, align 4 %12 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef 0) store i32 %12, ptr %6, align 4 %13 = load i32, ptr @AF_INET, align 4 %14 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %13, ptr %14, align 4 %15 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0 %16 = load ptr, ptr %4, align 8 %17 = call i64 @get_ip_from_host(ptr noundef %15, ptr noundef %16, i32 noundef 128) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %2 %20 = call i32 @__die__(ptr noundef @.str) br label %21 21: ; preds = %19, %2 %22 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0 %23 = call i32 @inet_addr(ptr noundef %22) %24 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 %25 = getelementptr inbounds %struct.TYPE_2__, ptr %24, i32 0, i32 0 store i32 %23, ptr %25, align 4 %26 = load i16, ptr %5, align 2 %27 = call i32 @htons(i16 noundef zeroext %26) %28 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 store i32 %27, ptr %28, align 4 %29 = load i32, ptr %6, align 4 %30 = call i32 @connect(i32 noundef %29, ptr noundef %7, i32 noundef 12) store i32 %30, ptr %8, align 4 %31 = load i32, ptr %8, align 4 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %35 33: ; preds = %21 %34 = load i32, ptr %6, align 4 store i32 %34, ptr %3, align 4 br label %37 35: ; preds = %21 %36 = call i32 @__die__(ptr noundef @.str.1) br label %37 37: ; preds = %33, %35 %38 = load i32, ptr %3, align 4 ret i32 %38 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i64 @get_ip_from_host(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @__die__(ptr noundef) #2 declare i32 @inet_addr(ptr noundef) #2 declare i32 @htons(i16 noundef zeroext) #2 declare i32 @connect(i32 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9c7v4q69.c" target datalayout = "e-m:e-p270: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 [15 x i8] c"unknown error.\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"connect to server error.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @connect_to_server(ptr noundef %0, i16 noundef zeroext %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i16, align 2 %6 = alloca i32, align 4 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca i32, align 4 %9 = alloca [128 x i8], align 16 store ptr %0, ptr %4, align 8 store i16 %1, ptr %5, align 2 call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 128, i1 false) %10 = load i32, ptr @AF_INET, align 4 %11 = load i32, ptr @SOCK_STREAM, align 4 %12 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef 0) store i32 %12, ptr %6, align 4 %13 = load i32, ptr @AF_INET, align 4 %14 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %13, ptr %14, align 4 %15 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0 %16 = load ptr, ptr %4, align 8 %17 = call i64 @get_ip_from_host(ptr noundef %15, ptr noundef %16, i32 noundef 128) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %2 %20 = call i32 @__die__(ptr noundef @.str) br label %21 21: ; preds = %19, %2 %22 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0 %23 = call i32 @inet_addr(ptr noundef %22) %24 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 %25 = getelementptr inbounds %struct.TYPE_2__, ptr %24, i32 0, i32 0 store i32 %23, ptr %25, align 4 %26 = load i16, ptr %5, align 2 %27 = call i32 @htons(i16 noundef zeroext %26) %28 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 store i32 %27, ptr %28, align 4 %29 = load i32, ptr %6, align 4 %30 = call i32 @connect(i32 noundef %29, ptr noundef %7, i32 noundef 12) store i32 %30, ptr %8, align 4 %31 = load i32, ptr %8, align 4 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %35 33: ; preds = %21 %34 = load i32, ptr %6, align 4 store i32 %34, ptr %3, align 4 br label %37 35: ; preds = %21 %36 = call i32 @__die__(ptr noundef @.str.1) br label %37 37: ; preds = %35, %33 %38 = load i32, ptr %3, align 4 ret i32 %38 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i64 @get_ip_from_host(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @__die__(ptr noundef) #2 declare i32 @inet_addr(ptr noundef) #2 declare i32 @htons(i16 noundef zeroext) #2 declare i32 @connect(i32 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"}
; ModuleID = '/tmp/tmpzo_kgjz2.c' source_filename = "/tmp/tmpzo_kgjz2.c" target datalayout = "e-m:e-p270: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 [73 x i8] c"Usage: fsaprune [-ip d/s] [-op d/s] [-silent] [-v] [-a] [-i] [filename]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @badusage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzo_kgjz2.c" target datalayout = "e-m:e-p270: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 [73 x i8] c"Usage: fsaprune [-ip d/s] [-op d/s] [-silent] [-v] [-a] [-i] [filename]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @badusage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp44l538vq.c' source_filename = "/tmp/tmp44l538vq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"%d + %d = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"%d*(%d + %d) = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [3 x ptr], align 16 %6 = alloca [3 x ptr], align 16 store i32 0, ptr %1, align 4 store i32 7, ptr %2, align 4 store i32 13, ptr %3, align 4 store i32 42, ptr %4, align 4 %7 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 0 store ptr %2, ptr %7, align 8 %8 = getelementptr inbounds ptr, ptr %7, i64 1 store ptr %3, ptr %8, align 8 %9 = getelementptr inbounds ptr, ptr %8, i64 1 store ptr %4, ptr %9, align 8 %10 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 0 %11 = load ptr, ptr %10, align 16 %12 = load i32, ptr %11, align 4 %13 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 2 %14 = load ptr, ptr %13, align 16 %15 = load i32, ptr %14, align 4 %16 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 0 %17 = load ptr, ptr %16, align 16 %18 = load i32, ptr %17, align 4 %19 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 2 %20 = load ptr, ptr %19, align 16 %21 = load i32, ptr %20, align 4 %22 = add nsw i32 %18, %21 %23 = call i32 (ptr, i32, i32, i32, ...) @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %15, i32 noundef %22) %24 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 0 store ptr %3, ptr %24, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 store ptr %4, ptr %25, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 1 store ptr %2, ptr %26, align 8 %27 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 0 %28 = load ptr, ptr %27, align 16 %29 = load i32, ptr %28, align 4 %30 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 2 %31 = load ptr, ptr %30, align 16 %32 = load i32, ptr %31, align 4 %33 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 0 %34 = load ptr, ptr %33, align 16 %35 = load i32, ptr %34, align 4 %36 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 2 %37 = load ptr, ptr %36, align 16 %38 = load i32, ptr %37, align 4 %39 = add nsw i32 %35, %38 %40 = call i32 (ptr, i32, i32, i32, ...) @printf(ptr noundef @.str, i32 noundef %29, i32 noundef %32, i32 noundef %39) %41 = load i32, ptr %4, align 4 %42 = load i32, ptr %2, align 4 %43 = load i32, ptr %3, align 4 %44 = load i32, ptr %4, align 4 %45 = load i32, ptr %2, align 4 %46 = load i32, ptr %3, align 4 %47 = call i32 @add(i32 noundef %45, i32 noundef %46) %48 = call i32 @mult(i32 noundef %44, i32 noundef %47) %49 = call i32 (ptr, i32, i32, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %41, i32 noundef %42, i32 noundef %43, i32 noundef %48) %50 = load i32, ptr %2, align 4 %51 = load i32, ptr %3, align 4 %52 = load i32, ptr %4, align 4 %53 = load i32, ptr %2, align 4 %54 = load i32, ptr %3, align 4 %55 = load i32, ptr %4, align 4 %56 = call i32 @mult_a_sum(i32 noundef %53, i32 noundef %54, i32 noundef %55) %57 = call i32 (ptr, i32, i32, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %50, i32 noundef %51, i32 noundef %52, i32 noundef %56) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ...) #1 declare i32 @mult(i32 noundef, i32 noundef) #1 declare i32 @add(i32 noundef, i32 noundef) #1 declare i32 @mult_a_sum(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/tmp44l538vq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"%d + %d = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"%d*(%d + %d) = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [3 x ptr], align 16 %6 = alloca [3 x ptr], align 16 store i32 0, ptr %1, align 4 store i32 7, ptr %2, align 4 store i32 13, ptr %3, align 4 store i32 42, ptr %4, align 4 %7 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 0 store ptr %2, ptr %7, align 8 %8 = getelementptr inbounds ptr, ptr %7, i64 1 store ptr %3, ptr %8, align 8 %9 = getelementptr inbounds ptr, ptr %8, i64 1 store ptr %4, ptr %9, align 8 %10 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 0 %11 = load ptr, ptr %10, align 16 %12 = load i32, ptr %11, align 4 %13 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 2 %14 = load ptr, ptr %13, align 16 %15 = load i32, ptr %14, align 4 %16 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 0 %17 = load ptr, ptr %16, align 16 %18 = load i32, ptr %17, align 4 %19 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 2 %20 = load ptr, ptr %19, align 16 %21 = load i32, ptr %20, align 4 %22 = add nsw i32 %18, %21 %23 = call i32 (ptr, i32, i32, i32, ...) @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %15, i32 noundef %22) %24 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 0 store ptr %3, ptr %24, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 store ptr %4, ptr %25, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 1 store ptr %2, ptr %26, align 8 %27 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 0 %28 = load ptr, ptr %27, align 16 %29 = load i32, ptr %28, align 4 %30 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 2 %31 = load ptr, ptr %30, align 16 %32 = load i32, ptr %31, align 4 %33 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 0 %34 = load ptr, ptr %33, align 16 %35 = load i32, ptr %34, align 4 %36 = getelementptr inbounds [3 x ptr], ptr %6, i64 0, i64 2 %37 = load ptr, ptr %36, align 16 %38 = load i32, ptr %37, align 4 %39 = add nsw i32 %35, %38 %40 = call i32 (ptr, i32, i32, i32, ...) @printf(ptr noundef @.str, i32 noundef %29, i32 noundef %32, i32 noundef %39) %41 = load i32, ptr %4, align 4 %42 = load i32, ptr %2, align 4 %43 = load i32, ptr %3, align 4 %44 = load i32, ptr %4, align 4 %45 = load i32, ptr %2, align 4 %46 = load i32, ptr %3, align 4 %47 = call i32 @add(i32 noundef %45, i32 noundef %46) %48 = call i32 @mult(i32 noundef %44, i32 noundef %47) %49 = call i32 (ptr, i32, i32, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %41, i32 noundef %42, i32 noundef %43, i32 noundef %48) %50 = load i32, ptr %2, align 4 %51 = load i32, ptr %3, align 4 %52 = load i32, ptr %4, align 4 %53 = load i32, ptr %2, align 4 %54 = load i32, ptr %3, align 4 %55 = load i32, ptr %4, align 4 %56 = call i32 @mult_a_sum(i32 noundef %53, i32 noundef %54, i32 noundef %55) %57 = call i32 (ptr, i32, i32, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %50, i32 noundef %51, i32 noundef %52, i32 noundef %56) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ...) #1 declare i32 @mult(i32 noundef, i32 noundef) #1 declare i32 @add(i32 noundef, i32 noundef) #1 declare i32 @mult_a_sum(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/tmppxe10y2d.c' source_filename = "/tmp/tmppxe10y2d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Gimme a file name.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 2 br i1 %8, label %15, label %9 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 1 %12 = load ptr, ptr %11, align 8 %13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str) store ptr %13, ptr %6, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %18, label %15 15: ; preds = %9, %2 %16 = call i32 @printf(ptr noundef @.str.1) %17 = call i32 @exit(i32 noundef 1) #3 unreachable 18: ; preds = %9 %19 = load ptr, ptr %6, align 8 %20 = call i32 @dumpBytes(ptr noundef %19) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @dumpBytes(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmppxe10y2d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Gimme a file name.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 2 br i1 %8, label %15, label %9 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 1 %12 = load ptr, ptr %11, align 8 %13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str) store ptr %13, ptr %6, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %18, label %15 15: ; preds = %9, %2 %16 = call i32 @printf(ptr noundef @.str.1) %17 = call i32 @exit(i32 noundef 1) #3 unreachable 18: ; preds = %9 %19 = load ptr, ptr %6, align 8 %20 = call i32 @dumpBytes(ptr noundef %19) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @dumpBytes(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpsq8xssvt.c' source_filename = "/tmp/tmpsq8xssvt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @deg2(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca double, align 8 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store double 1.000000e+00, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %12, %1 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %9, label %15 9: ; preds = %5 %10 = load double, ptr %3, align 8 %11 = fmul double %10, 2.000000e+00 store double %11, ptr %3, align 8 br label %12 12: ; preds = %9 %13 = load i32, ptr %4, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %4, align 4 br label %5, !llvm.loop !6 15: ; preds = %5 %16 = load double, ptr %3, align 8 ret double %16 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsq8xssvt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @deg2(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca double, align 8 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store double 1.000000e+00, ptr %3, align 8 store i32 0, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %5, %6 br i1 %7, label %.lr.ph, label %17 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %11 %9 = load double, ptr %3, align 8 %10 = fmul double %9, 2.000000e+00 store double %10, ptr %3, align 8 br label %11 11: ; preds = %8 %12 = load i32, ptr %4, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %17 17: ; preds = %._crit_edge, %1 %18 = load double, ptr %3, align 8 ret double %18 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmplms41gp2.c' source_filename = "/tmp/tmplms41gp2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"maior de idade\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"menor de idade\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = icmp sge i32 %4, 18 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str.1) br label %10 8: ; preds = %0 %9 = call i32 @printf(ptr noundef @.str.2) br label %10 10: ; preds = %8, %6 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplms41gp2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"maior de idade\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"menor de idade\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr %2, align 4 %5 = icmp sge i32 %4, 18 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str.1) br label %10 8: ; preds = %0 %9 = call i32 @printf(ptr noundef @.str.2) br label %10 10: ; preds = %8, %6 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbl8ugfo5.c' source_filename = "/tmp/tmpbl8ugfo5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"unknown\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @_version(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 store ptr null, ptr %3, align 8 ret ptr @.str } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbl8ugfo5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"unknown\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @_version(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 store ptr null, ptr %3, align 8 ret ptr @.str } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplwq7qla7.c' source_filename = "/tmp/tmplwq7qla7.c" target datalayout = "e-m:e-p270: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/tmplwq7qla7.c" target datalayout = "e-m:e-p270: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/tmprwih1qh9.c' source_filename = "/tmp/tmprwih1qh9.c" target datalayout = "e-m:e-p270: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/tmprwih1qh9.c" target datalayout = "e-m:e-p270: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/tmpxr15wgsa.c' source_filename = "/tmp/tmpxr15wgsa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"nsStreamSocketResponse: %s \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @nsStreamSocketResponse(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 %7 = alloca [4 x i8], align 1 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %5, align 8 %9 = call i32 @printf(ptr noundef @.str, ptr noundef %8) call void @llvm.memset.p0.i64(ptr align 1 %7, i8 0, i64 4, i1 false) %10 = load i32, ptr %6, align 4 %11 = lshr i32 %10, 24 %12 = and i32 %11, 255 %13 = trunc i32 %12 to i8 %14 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0 store i8 %13, ptr %14, align 1 %15 = load i32, ptr %6, align 4 %16 = lshr i32 %15, 16 %17 = and i32 %16, 255 %18 = trunc i32 %17 to i8 %19 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1 store i8 %18, ptr %19, align 1 %20 = load i32, ptr %6, align 4 %21 = lshr i32 %20, 8 %22 = and i32 %21, 255 %23 = trunc i32 %22 to i8 %24 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2 store i8 %23, ptr %24, align 1 %25 = load i32, ptr %6, align 4 %26 = and i32 %25, 255 %27 = trunc i32 %26 to i8 %28 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3 store i8 %27, ptr %28, align 1 %29 = load i32, ptr %4, align 4 %30 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0 %31 = call i32 @send(i32 noundef %29, ptr noundef %30, i32 noundef 4, i32 noundef 0) %32 = load i32, ptr %4, align 4 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %6, align 4 %35 = call i32 @send(i32 noundef %32, ptr noundef %33, i32 noundef %34, i32 noundef 0) ret i32 %35 } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @send(i32 noundef, 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" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxr15wgsa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"nsStreamSocketResponse: %s \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @nsStreamSocketResponse(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 %7 = alloca [4 x i8], align 1 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %5, align 8 %9 = call i32 @printf(ptr noundef @.str, ptr noundef %8) call void @llvm.memset.p0.i64(ptr align 1 %7, i8 0, i64 4, i1 false) %10 = load i32, ptr %6, align 4 %11 = lshr i32 %10, 24 %12 = and i32 %11, 255 %13 = trunc i32 %12 to i8 %14 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0 store i8 %13, ptr %14, align 1 %15 = load i32, ptr %6, align 4 %16 = lshr i32 %15, 16 %17 = and i32 %16, 255 %18 = trunc i32 %17 to i8 %19 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1 store i8 %18, ptr %19, align 1 %20 = load i32, ptr %6, align 4 %21 = lshr i32 %20, 8 %22 = and i32 %21, 255 %23 = trunc i32 %22 to i8 %24 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2 store i8 %23, ptr %24, align 1 %25 = load i32, ptr %6, align 4 %26 = and i32 %25, 255 %27 = trunc i32 %26 to i8 %28 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3 store i8 %27, ptr %28, align 1 %29 = load i32, ptr %4, align 4 %30 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0 %31 = call i32 @send(i32 noundef %29, ptr noundef %30, i32 noundef 4, i32 noundef 0) %32 = load i32, ptr %4, align 4 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %6, align 4 %35 = call i32 @send(i32 noundef %32, ptr noundef %33, i32 noundef %34, i32 noundef 0) ret i32 %35 } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @send(i32 noundef, 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" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa4uq8odx.c' source_filename = "/tmp/tmpa4uq8odx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c"1\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @p_binary(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %16, %1 %5 = load i32, ptr %3, align 4 %6 = icmp sle i32 %5, 7 br i1 %6, label %7, label %19 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = and i32 %8, 128 %10 = icmp ne i32 %9, 0 %11 = zext i1 %10 to i64 %12 = select i1 %10, ptr @.str.1, ptr @.str.2 %13 = call i32 @printf(ptr noundef @.str, ptr 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 = %7 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %3, align 4 br label %4, !llvm.loop !6 19: ; preds = %4 ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa4uq8odx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c"1\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @p_binary(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp sle i32 %4, 7 br i1 %5, label %.lr.ph, label %20 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %15 %7 = load i32, ptr %2, align 4 %8 = and i32 %7, 128 %9 = icmp ne i32 %8, 0 %10 = zext i1 %9 to i64 %11 = select i1 %9, ptr @.str.1, ptr @.str.2 %12 = call i32 @printf(ptr noundef @.str, ptr 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 = %6 %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 sle i32 %18, 7 br i1 %19, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %20 20: ; preds = %._crit_edge, %1 ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnmoirg24.c' source_filename = "/tmp/tmpnmoirg24.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @realloc_wcstombs(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @malloc_wcstombs(ptr noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @free(ptr noundef %6) %8 = load ptr, ptr %3, align 8 ret ptr %8 } declare ptr @malloc_wcstombs(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnmoirg24.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @realloc_wcstombs(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @malloc_wcstombs(ptr noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @free(ptr noundef %6) %8 = load ptr, ptr %3, align 8 ret ptr %8 } declare ptr @malloc_wcstombs(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz1jvbipm.c' source_filename = "/tmp/tmpz1jvbipm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @myCeil(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @llvm.ceil.f64(double %3) ret double %4 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.ceil.f64(double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz1jvbipm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @myCeil(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @llvm.ceil.f64(double %3) ret double %4 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.ceil.f64(double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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"}