llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp6fbnj9s3.c' source_filename = "/tmp/tmp6fbnj9s3.c" target datalayout = "e-m:e-p270: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.shm_name = private unnamed_addr constant [30 x i8] c"shm_name_elektra_test_compile\00", align 16 @O_RDWR = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_EXCL = dso_local global i32 0, align 4 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 ; 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 [30 x i8], align 16 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.shm_name, i64 30, i1 false) %7 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0 %8 = call i32 @shm_unlink(ptr noundef %7) %9 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0 %10 = load i32, ptr @O_RDWR, align 4 %11 = load i32, ptr @O_CREAT, align 4 %12 = or i32 %10, %11 %13 = load i32, ptr @O_EXCL, align 4 %14 = or i32 %12, %13 %15 = load i32, ptr @S_IRUSR, align 4 %16 = load i32, ptr @S_IWUSR, align 4 %17 = or i32 %15, %16 %18 = call i32 @shm_open(ptr noundef %9, i32 noundef %14, i32 noundef %17) store i32 %18, ptr %6, align 4 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 @shm_unlink(ptr noundef) #2 declare i32 @shm_open(ptr noundef, i32 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: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6fbnj9s3.c" target datalayout = "e-m:e-p270: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.shm_name = private unnamed_addr constant [30 x i8] c"shm_name_elektra_test_compile\00", align 16 @O_RDWR = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_EXCL = dso_local global i32 0, align 4 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 ; 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 [30 x i8], align 16 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.shm_name, i64 30, i1 false) %7 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0 %8 = call i32 @shm_unlink(ptr noundef %7) %9 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0 %10 = load i32, ptr @O_RDWR, align 4 %11 = load i32, ptr @O_CREAT, align 4 %12 = or i32 %10, %11 %13 = load i32, ptr @O_EXCL, align 4 %14 = or i32 %12, %13 %15 = load i32, ptr @S_IRUSR, align 4 %16 = load i32, ptr @S_IWUSR, align 4 %17 = or i32 %15, %16 %18 = call i32 @shm_open(ptr noundef %9, i32 noundef %14, i32 noundef %17) store i32 %18, ptr %6, align 4 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 @shm_unlink(ptr noundef) #2 declare i32 @shm_open(ptr noundef, i32 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: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4_9xwip2.c' source_filename = "/tmp/tmp4_9xwip2.c" target datalayout = "e-m:e-p270: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/tmp4_9xwip2.c" target datalayout = "e-m:e-p270: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_f8xxmbl.c' source_filename = "/tmp/tmp_f8xxmbl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Unimplemented %s called, exiting\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"_Q_div\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_Q_div() #0 { %1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 @exit(i32 noundef -1) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_f8xxmbl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Unimplemented %s called, exiting\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"_Q_div\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_Q_div() #0 { %1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 @exit(i32 noundef -1) #3 unreachable } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpapn92y6v.c' source_filename = "/tmp/tmpapn92y6v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"In block structure:\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"\09Block %d:\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"\09%s = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"i\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"Out of block structure:\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 5, ptr %2, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %6 6: ; preds = %22, %0 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 3 br i1 %8, label %9, label %25 9: ; preds = %6 %10 = load i32, ptr %3, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10) store i32 0, ptr %4, align 4 br label %12 12: ; preds = %18, %9 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 10 br i1 %14, label %15, label %21 15: ; preds = %12 %16 = load i32, ptr %4, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef %16) br label %18 18: ; preds = %15 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %4, align 4 br label %12, !llvm.loop !6 21: ; preds = %12 br label %22 22: ; preds = %21 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 br label %6, !llvm.loop !8 25: ; preds = %6 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %27 = load i32, ptr %2, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef %27) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpapn92y6v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"In block structure:\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"\09Block %d:\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"\09%s = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"i\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"Out of block structure:\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 5, ptr %2, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 3 br i1 %7, label %.lr.ph2, label %27 .lr.ph2: ; preds = %0 br label %8 8: ; preds = %.lr.ph2, %22 %9 = load i32, ptr %3, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %9) store i32 0, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 10 br i1 %12, label %.lr.ph, label %21 .lr.ph: ; preds = %8 br label %13 13: ; preds = %.lr.ph, %16 %14 = load i32, ptr %4, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef %14) br label %16 16: ; preds = %13 %17 = load i32, ptr %4, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %4, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp slt i32 %19, 10 br i1 %20, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %8 br label %22 22: ; preds = %21 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 %25 = load i32, ptr %3, align 4 %26 = icmp slt i32 %25, 3 br i1 %26, label %8, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %22 br label %27 27: ; preds = %._crit_edge3, %0 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %29 = load i32, ptr %2, align 4 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef %29) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpdq7_of_r.c' source_filename = "/tmp/tmpdq7_of_r.c" target datalayout = "e-m:e-p270: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/tmpdq7_of_r.c" target datalayout = "e-m:e-p270: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/tmpoxy9zxdi.c' source_filename = "/tmp/tmpoxy9zxdi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skip_whitespace(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @getc(ptr noundef %4) store i32 %5, ptr %3, align 4 br label %6 6: ; preds = %10, %1 %7 = load i32, ptr %3, align 4 %8 = call i64 @is_whitespace(i32 noundef %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %6 %11 = load ptr, ptr %2, align 8 %12 = call i32 @getc(ptr noundef %11) store i32 %12, ptr %3, align 4 br label %6, !llvm.loop !6 13: ; preds = %6 %14 = load i32, ptr %3, align 4 ret i32 %14 } declare i32 @getc(ptr noundef) #1 declare i64 @is_whitespace(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpoxy9zxdi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skip_whitespace(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @getc(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = call i64 @is_whitespace(i32 noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %.lr.ph, label %15 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %9 %10 = load ptr, ptr %2, align 8 %11 = call i32 @getc(ptr noundef %10) store i32 %11, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = call i64 @is_whitespace(i32 noundef %12) %14 = icmp ne i64 %13, 0 br i1 %14, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %15 15: ; preds = %._crit_edge, %1 %16 = load i32, ptr %3, align 4 ret i32 %16 } declare i32 @getc(ptr noundef) #1 declare i64 @is_whitespace(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpxffqv_nz.c' source_filename = "/tmp/tmpxffqv_nz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"./signal_start.dat\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gui_start() #0 { %1 = alloca ptr, align 8 %2 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = call i32 @fclose(ptr noundef %3) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxffqv_nz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"./signal_start.dat\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gui_start() #0 { %1 = alloca ptr, align 8 %2 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = call i32 @fclose(ptr noundef %3) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpddj2vajk.c' source_filename = "/tmp/tmpddj2vajk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iwritec(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = call i32 @syscall(i32 noundef 18755, i8 noundef signext %3, i32 noundef 0, i32 noundef 0) ret void } declare i32 @syscall(i32 noundef, i8 noundef signext, 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/tmpddj2vajk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iwritec(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = call i32 @syscall(i32 noundef 18755, i8 noundef signext %3, i32 noundef 0, i32 noundef 0) ret void } declare i32 @syscall(i32 noundef, i8 noundef signext, 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/tmpmhxhy522.c' source_filename = "/tmp/tmpmhxhy522.c" target datalayout = "e-m:e-p270: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 { i32, i32, i32 } @.str = private unnamed_addr constant [17 x i8] c"file_size: %lld\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"inode:%llu\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"st_mode:%x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @buf_handler(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %5 = load i32, ptr %4, align 4 %6 = call i32 @printf(ptr noundef @.str, i32 noundef %5) %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 1 %9 = load i32, ptr %8, align 4 %10 = call i32 @printf(ptr noundef @.str.1, i32 noundef %9) %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds %struct.stat, ptr %11, i32 0, i32 2 %13 = load i32, ptr %12, align 4 %14 = call i32 @printf(ptr noundef @.str.2, i32 noundef %13) %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds %struct.stat, ptr %15, i32 0, i32 2 %17 = load i32, ptr %16, align 4 %18 = call i32 @stmode_handler(i32 noundef %17) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @stmode_handler(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmhxhy522.c" target datalayout = "e-m:e-p270: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 { i32, i32, i32 } @.str = private unnamed_addr constant [17 x i8] c"file_size: %lld\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"inode:%llu\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"st_mode:%x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @buf_handler(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %5 = load i32, ptr %4, align 4 %6 = call i32 @printf(ptr noundef @.str, i32 noundef %5) %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 1 %9 = load i32, ptr %8, align 4 %10 = call i32 @printf(ptr noundef @.str.1, i32 noundef %9) %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds %struct.stat, ptr %11, i32 0, i32 2 %13 = load i32, ptr %12, align 4 %14 = call i32 @printf(ptr noundef @.str.2, i32 noundef %13) %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds %struct.stat, ptr %15, i32 0, i32 2 %17 = load i32, ptr %16, align 4 %18 = call i32 @stmode_handler(i32 noundef %17) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @stmode_handler(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_ju5wh4a.c' source_filename = "/tmp/tmp_ju5wh4a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @base64_encode.b64 = internal constant [65 x i8] c"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @base64_encode(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %10 = load i32, ptr %4, align 4 store i32 %10, ptr %9, align 4 %11 = load i32, ptr %4, align 4 %12 = mul nsw i32 %11, 4 %13 = sdiv i32 %12, 3 %14 = add nsw i32 %13, 12 %15 = call ptr @xmalloc(i32 noundef %14) store ptr %15, ptr %6, align 8 store ptr %15, ptr %5, align 8 %16 = load i32, ptr %4, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %74 18: ; preds = %2 br label %19 19: ; preds = %60, %18 %20 = load i32, ptr %9, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %61 22: ; preds = %19 %23 = load i32, ptr %7, align 4 %24 = shl i32 %23, 8 %25 = load ptr, ptr %3, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %3, align 8 %27 = load i8, ptr %25, align 1 %28 = zext i8 %27 to i32 %29 = add i32 %24, %28 store i32 %29, ptr %7, align 4 %30 = load i32, ptr %9, align 4 %31 = add nsw i32 %30, -1 store i32 %31, ptr %9, align 4 %32 = load i32, ptr %8, align 4 %33 = add nsw i32 %32, 8 store i32 %33, ptr %8, align 4 br label %34 34: ; preds = %58, %22 %35 = load i32, ptr %7, align 4 %36 = shl i32 %35, 6 %37 = load i32, ptr %8, align 4 %38 = lshr i32 %36, %37 %39 = and i32 %38, 63 %40 = zext i32 %39 to i64 %41 = getelementptr inbounds [65 x i8], ptr @base64_encode.b64, i64 0, i64 %40 %42 = load i8, ptr %41, align 1 %43 = load ptr, ptr %6, align 8 %44 = getelementptr inbounds i8, ptr %43, i32 1 store ptr %44, ptr %6, align 8 store i8 %42, ptr %43, align 1 %45 = load i32, ptr %8, align 4 %46 = sub nsw i32 %45, 6 store i32 %46, ptr %8, align 4 br label %47 47: ; preds = %34 %48 = load i32, ptr %8, align 4 %49 = icmp sgt i32 %48, 6 br i1 %49, label %58, label %50 50: ; preds = %47 %51 = load i32, ptr %9, align 4 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %56 53: ; preds = %50 %54 = load i32, ptr %8, align 4 %55 = icmp sgt i32 %54, 0 br label %56 56: ; preds = %53, %50 %57 = phi i1 [ false, %50 ], [ %55, %53 ] br label %58 58: ; preds = %56, %47 %59 = phi i1 [ true, %47 ], [ %57, %56 ] br i1 %59, label %34, label %60, !llvm.loop !6 60: ; preds = %58 br label %19, !llvm.loop !8 61: ; preds = %19 br label %62 62: ; preds = %70, %61 %63 = load ptr, ptr %6, align 8 %64 = load ptr, ptr %5, align 8 %65 = ptrtoint ptr %63 to i64 %66 = ptrtoint ptr %64 to i64 %67 = sub i64 %65, %66 %68 = and i64 %67, 3 %69 = icmp ne i64 %68, 0 br i1 %69, label %70, label %73 70: ; preds = %62 %71 = load ptr, ptr %6, align 8 %72 = getelementptr inbounds i8, ptr %71, i32 1 store ptr %72, ptr %6, align 8 store i8 61, ptr %71, align 1 br label %62, !llvm.loop !9 73: ; preds = %62 br label %74 74: ; preds = %73, %2 %75 = load ptr, ptr %6, align 8 store i8 0, ptr %75, align 1 %76 = load ptr, ptr %5, align 8 ret ptr %76 } declare ptr @xmalloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_ju5wh4a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @base64_encode.b64 = internal constant [65 x i8] c"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @base64_encode(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %10 = load i32, ptr %4, align 4 store i32 %10, ptr %9, align 4 %11 = load i32, ptr %4, align 4 %12 = mul nsw i32 %11, 4 %13 = sdiv i32 %12, 3 %14 = add nsw i32 %13, 12 %15 = call ptr @xmalloc(i32 noundef %14) store ptr %15, ptr %6, align 8 store ptr %15, ptr %5, align 8 %16 = load i32, ptr %4, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %81 18: ; preds = %2 %19 = load i32, ptr %9, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %.lr.ph, label %62 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %59 %22 = load i32, ptr %7, align 4 %23 = shl i32 %22, 8 %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %3, align 8 %26 = load i8, ptr %24, align 1 %27 = zext i8 %26 to i32 %28 = add i32 %23, %27 store i32 %28, ptr %7, align 4 %29 = load i32, ptr %9, align 4 %30 = add nsw i32 %29, -1 store i32 %30, ptr %9, align 4 %31 = load i32, ptr %8, align 4 %32 = add nsw i32 %31, 8 store i32 %32, ptr %8, align 4 br label %33 33: ; preds = %57, %21 %34 = load i32, ptr %7, align 4 %35 = shl i32 %34, 6 %36 = load i32, ptr %8, align 4 %37 = lshr i32 %35, %36 %38 = and i32 %37, 63 %39 = zext i32 %38 to i64 %40 = getelementptr inbounds [65 x i8], ptr @base64_encode.b64, i64 0, i64 %39 %41 = load i8, ptr %40, align 1 %42 = load ptr, ptr %6, align 8 %43 = getelementptr inbounds i8, ptr %42, i32 1 store ptr %43, ptr %6, align 8 store i8 %41, ptr %42, align 1 %44 = load i32, ptr %8, align 4 %45 = sub nsw i32 %44, 6 store i32 %45, ptr %8, align 4 br label %46 46: ; preds = %33 %47 = load i32, ptr %8, align 4 %48 = icmp sgt i32 %47, 6 br i1 %48, label %57, label %49 49: ; preds = %46 %50 = load i32, ptr %9, align 4 %51 = icmp eq i32 %50, 0 br i1 %51, label %52, label %55 52: ; preds = %49 %53 = load i32, ptr %8, align 4 %54 = icmp sgt i32 %53, 0 br label %55 55: ; preds = %52, %49 %56 = phi i1 [ false, %49 ], [ %54, %52 ] br label %57 57: ; preds = %55, %46 %58 = phi i1 [ true, %46 ], [ %56, %55 ] br i1 %58, label %33, label %59, !llvm.loop !6 59: ; preds = %57 %60 = load i32, ptr %9, align 4 %61 = icmp ne i32 %60, 0 br i1 %61, label %21, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %59 br label %62 62: ; preds = %._crit_edge, %18 %63 = load ptr, ptr %6, align 8 %64 = load ptr, ptr %5, align 8 %65 = ptrtoint ptr %63 to i64 %66 = ptrtoint ptr %64 to i64 %67 = sub i64 %65, %66 %68 = and i64 %67, 3 %69 = icmp ne i64 %68, 0 br i1 %69, label %.lr.ph2, label %80 .lr.ph2: ; preds = %62 br label %70 70: ; preds = %.lr.ph2, %70 %71 = load ptr, ptr %6, align 8 %72 = getelementptr inbounds i8, ptr %71, i32 1 store ptr %72, ptr %6, align 8 store i8 61, ptr %71, align 1 %73 = load ptr, ptr %6, align 8 %74 = load ptr, ptr %5, align 8 %75 = ptrtoint ptr %73 to i64 %76 = ptrtoint ptr %74 to i64 %77 = sub i64 %75, %76 %78 = and i64 %77, 3 %79 = icmp ne i64 %78, 0 br i1 %79, label %70, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %70 br label %80 80: ; preds = %._crit_edge3, %62 br label %81 81: ; preds = %80, %2 %82 = load ptr, ptr %6, align 8 store i8 0, ptr %82, align 1 %83 = load ptr, ptr %5, align 8 ret ptr %83 } declare ptr @xmalloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp430qj0c7.c' source_filename = "/tmp/tmp430qj0c7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"sortedlist: error creating pipe\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"sortedlist: error while forking\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"ls\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"sort\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"-r\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [2 x i32], align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp eq i32 %9, 1 br i1 %10, label %11, label %12 11: ; preds = %2 store ptr null, ptr %6, align 8 br label %16 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 store ptr %15, ptr %6, align 8 br label %16 16: ; preds = %12, %11 %17 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %18 = call i32 @pipe(ptr noundef %17) %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = call i32 @error(ptr noundef @.str) br label %22 22: ; preds = %20, %16 %23 = call i32 (...) @fork() store i32 %23, ptr %8, align 4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %22 %26 = call i32 @error(ptr noundef @.str.1) br label %27 27: ; preds = %25, %22 %28 = load i32, ptr %8, align 4 %29 = icmp sgt i32 %28, 0 br i1 %29, label %30, label %43 30: ; preds = %27 %31 = call i32 @close(i32 noundef 1) %32 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %33 = load i32, ptr %32, align 4 %34 = call i32 @dup(i32 noundef %33) %35 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %36 = load i32, ptr %35, align 4 %37 = call i32 @close(i32 noundef %36) %38 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %39 = load i32, ptr %38, align 4 %40 = call i32 @close(i32 noundef %39) %41 = load ptr, ptr %6, align 8 %42 = call i32 @execlp(ptr noundef @.str.2, ptr noundef @.str.2, ptr noundef %41, ptr noundef null) br label %59 43: ; preds = %27 %44 = load i32, ptr %8, align 4 %45 = icmp eq i32 %44, 0 br i1 %45, label %46, label %58 46: ; preds = %43 %47 = call i32 @close(i32 noundef 0) %48 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %49 = load i32, ptr %48, align 4 %50 = call i32 @dup(i32 noundef %49) %51 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %52 = load i32, ptr %51, align 4 %53 = call i32 @close(i32 noundef %52) %54 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %55 = load i32, ptr %54, align 4 %56 = call i32 @close(i32 noundef %55) %57 = call i32 @execlp(ptr noundef @.str.3, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef null) br label %58 58: ; preds = %46, %43 br label %59 59: ; preds = %58, %30 ret i32 0 } declare i32 @pipe(ptr noundef) #1 declare i32 @error(ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @close(i32 noundef) #1 declare i32 @dup(i32 noundef) #1 declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp430qj0c7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"sortedlist: error creating pipe\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"sortedlist: error while forking\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"ls\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"sort\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"-r\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [2 x i32], align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp eq i32 %9, 1 br i1 %10, label %11, label %12 11: ; preds = %2 store ptr null, ptr %6, align 8 br label %16 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 store ptr %15, ptr %6, align 8 br label %16 16: ; preds = %12, %11 %17 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %18 = call i32 @pipe(ptr noundef %17) %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = call i32 @error(ptr noundef @.str) br label %22 22: ; preds = %20, %16 %23 = call i32 (...) @fork() store i32 %23, ptr %8, align 4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %22 %26 = call i32 @error(ptr noundef @.str.1) br label %27 27: ; preds = %25, %22 %28 = load i32, ptr %8, align 4 %29 = icmp sgt i32 %28, 0 br i1 %29, label %30, label %43 30: ; preds = %27 %31 = call i32 @close(i32 noundef 1) %32 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %33 = load i32, ptr %32, align 4 %34 = call i32 @dup(i32 noundef %33) %35 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %36 = load i32, ptr %35, align 4 %37 = call i32 @close(i32 noundef %36) %38 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %39 = load i32, ptr %38, align 4 %40 = call i32 @close(i32 noundef %39) %41 = load ptr, ptr %6, align 8 %42 = call i32 @execlp(ptr noundef @.str.2, ptr noundef @.str.2, ptr noundef %41, ptr noundef null) br label %59 43: ; preds = %27 %44 = load i32, ptr %8, align 4 %45 = icmp eq i32 %44, 0 br i1 %45, label %46, label %58 46: ; preds = %43 %47 = call i32 @close(i32 noundef 0) %48 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %49 = load i32, ptr %48, align 4 %50 = call i32 @dup(i32 noundef %49) %51 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %52 = load i32, ptr %51, align 4 %53 = call i32 @close(i32 noundef %52) %54 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %55 = load i32, ptr %54, align 4 %56 = call i32 @close(i32 noundef %55) %57 = call i32 @execlp(ptr noundef @.str.3, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef null) br label %58 58: ; preds = %46, %43 br label %59 59: ; preds = %58, %30 ret i32 0 } declare i32 @pipe(ptr noundef) #1 declare i32 @error(ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @close(i32 noundef) #1 declare i32 @dup(i32 noundef) #1 declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpiw2ykbht.c' source_filename = "/tmp/tmpiw2ykbht.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"10 - 5 - 2 - 1 = %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 2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiw2ykbht.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"10 - 5 - 2 - 1 = %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 2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcctdwx7a.c' source_filename = "/tmp/tmpcctdwx7a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\0A\00", align 1 @LONG_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @hlp_long_max() #0 { %1 = load i32, ptr @LONG_MAX, 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/tmpcctdwx7a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\0A\00", align 1 @LONG_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @hlp_long_max() #0 { %1 = load i32, ptr @LONG_MAX, 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/tmp77trq696.c' source_filename = "/tmp/tmp77trq696.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quote_string(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %9 = load ptr, ptr %4, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load i32, ptr %5, align 4 %13 = icmp ne i32 %12, 0 br i1 %13, label %15, label %14 14: ; preds = %11, %2 store ptr null, ptr %3, align 8 br label %179 15: ; preds = %11 %16 = load i32, ptr %5, align 4 %17 = mul nsw i32 4, %16 %18 = add nsw i32 %17, 1 %19 = call ptr @new_mem(i32 noundef %18) store ptr %19, ptr %6, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %7, align 4 br label %20 20: ; preds = %174, %15 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %177 24: ; preds = %20 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %7, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i8, ptr %28, align 1 %30 = zext i8 %29 to i32 %31 = icmp eq i32 %30, 92 br i1 %31, label %48, label %32 32: ; preds = %24 %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %7, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = load i8, ptr %36, align 1 %38 = zext i8 %37 to i32 %39 = icmp eq i32 %38, 34 br i1 %39, label %48, label %40 40: ; preds = %32 %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %7, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = load i8, ptr %44, align 1 %46 = zext i8 %45 to i32 %47 = icmp eq i32 %46, 63 br i1 %47, label %48, label %64 48: ; preds = %40, %32, %24 %49 = load ptr, ptr %6, align 8 %50 = load i32, ptr %8, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %8, align 4 %52 = sext i32 %50 to i64 %53 = getelementptr inbounds i8, ptr %49, i64 %52 store i8 92, ptr %53, align 1 %54 = load ptr, ptr %4, align 8 %55 = load i32, ptr %7, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %54, i64 %56 %58 = load i8, ptr %57, align 1 %59 = load ptr, ptr %6, align 8 %60 = load i32, ptr %8, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %8, align 4 %62 = sext i32 %60 to i64 %63 = getelementptr inbounds i8, ptr %59, i64 %62 store i8 %58, ptr %63, align 1 br label %173 64: ; preds = %40 %65 = load ptr, ptr %4, align 8 %66 = load i32, ptr %7, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i8, ptr %65, i64 %67 %69 = load i8, ptr %68, align 1 %70 = zext i8 %69 to i32 %71 = icmp eq i32 %70, 10 br i1 %71, label %72, label %83 72: ; preds = %64 %73 = load ptr, ptr %6, align 8 %74 = load i32, ptr %8, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %8, align 4 %76 = sext i32 %74 to i64 %77 = getelementptr inbounds i8, ptr %73, i64 %76 store i8 92, ptr %77, align 1 %78 = load ptr, ptr %6, align 8 %79 = load i32, ptr %8, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %8, align 4 %81 = sext i32 %79 to i64 %82 = getelementptr inbounds i8, ptr %78, i64 %81 store i8 110, ptr %82, align 1 br label %172 83: ; preds = %64 %84 = load ptr, ptr %4, align 8 %85 = load i32, ptr %7, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds i8, ptr %84, i64 %86 %88 = load i8, ptr %87, align 1 %89 = zext i8 %88 to i32 %90 = icmp eq i32 %89, 9 br i1 %90, label %91, label %102 91: ; preds = %83 %92 = load ptr, ptr %6, align 8 %93 = load i32, ptr %8, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %8, align 4 %95 = sext i32 %93 to i64 %96 = getelementptr inbounds i8, ptr %92, i64 %95 store i8 92, ptr %96, align 1 %97 = load ptr, ptr %6, align 8 %98 = load i32, ptr %8, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %8, align 4 %100 = sext i32 %98 to i64 %101 = getelementptr inbounds i8, ptr %97, i64 %100 store i8 116, ptr %101, align 1 br label %171 102: ; preds = %83 %103 = load ptr, ptr %4, align 8 %104 = load i32, ptr %7, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds i8, ptr %103, i64 %105 %107 = load i8, ptr %106, align 1 %108 = zext i8 %107 to i32 %109 = icmp slt i32 %108, 32 br i1 %109, label %110, label %159 110: ; preds = %102 %111 = load ptr, ptr %6, align 8 %112 = load i32, ptr %8, align 4 %113 = add nsw i32 %112, 1 store i32 %113, ptr %8, align 4 %114 = sext i32 %112 to i64 %115 = getelementptr inbounds i8, ptr %111, i64 %114 store i8 92, ptr %115, align 1 %116 = load ptr, ptr %4, align 8 %117 = load i32, ptr %7, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds i8, ptr %116, i64 %118 %120 = load i8, ptr %119, align 1 %121 = zext i8 %120 to i32 %122 = ashr i32 %121, 6 %123 = add nsw i32 %122, 48 %124 = trunc i32 %123 to i8 %125 = load ptr, ptr %6, align 8 %126 = load i32, ptr %8, align 4 %127 = add nsw i32 %126, 1 store i32 %127, ptr %8, align 4 %128 = sext i32 %126 to i64 %129 = getelementptr inbounds i8, ptr %125, i64 %128 store i8 %124, ptr %129, align 1 %130 = load ptr, ptr %4, align 8 %131 = load i32, ptr %7, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds i8, ptr %130, i64 %132 %134 = load i8, ptr %133, align 1 %135 = zext i8 %134 to i32 %136 = ashr i32 %135, 3 %137 = and i32 %136, 7 %138 = add nsw i32 %137, 48 %139 = trunc i32 %138 to i8 %140 = load ptr, ptr %6, align 8 %141 = load i32, ptr %8, align 4 %142 = add nsw i32 %141, 1 store i32 %142, ptr %8, align 4 %143 = sext i32 %141 to i64 %144 = getelementptr inbounds i8, ptr %140, i64 %143 store i8 %139, ptr %144, align 1 %145 = load ptr, ptr %4, align 8 %146 = load i32, ptr %7, align 4 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds i8, ptr %145, i64 %147 %149 = load i8, ptr %148, align 1 %150 = zext i8 %149 to i32 %151 = and i32 %150, 7 %152 = add nsw i32 %151, 48 %153 = trunc i32 %152 to i8 %154 = load ptr, ptr %6, align 8 %155 = load i32, ptr %8, align 4 %156 = add nsw i32 %155, 1 store i32 %156, ptr %8, align 4 %157 = sext i32 %155 to i64 %158 = getelementptr inbounds i8, ptr %154, i64 %157 store i8 %153, ptr %158, align 1 br label %170 159: ; preds = %102 %160 = load ptr, ptr %4, align 8 %161 = load i32, ptr %7, align 4 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds i8, ptr %160, i64 %162 %164 = load i8, ptr %163, align 1 %165 = load ptr, ptr %6, align 8 %166 = load i32, ptr %8, align 4 %167 = add nsw i32 %166, 1 store i32 %167, ptr %8, align 4 %168 = sext i32 %166 to i64 %169 = getelementptr inbounds i8, ptr %165, i64 %168 store i8 %164, ptr %169, align 1 br label %170 170: ; preds = %159, %110 br label %171 171: ; preds = %170, %91 br label %172 172: ; preds = %171, %72 br label %173 173: ; preds = %172, %48 br label %174 174: ; preds = %173 %175 = load i32, ptr %7, align 4 %176 = add nsw i32 %175, 1 store i32 %176, ptr %7, align 4 br label %20, !llvm.loop !6 177: ; preds = %20 %178 = load ptr, ptr %6, align 8 store ptr %178, ptr %3, align 8 br label %179 179: ; preds = %177, %14 %180 = load ptr, ptr %3, align 8 ret ptr %180 } declare ptr @new_mem(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp77trq696.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quote_string(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %9 = load ptr, ptr %4, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load i32, ptr %5, align 4 %13 = icmp ne i32 %12, 0 br i1 %13, label %15, label %14 14: ; preds = %11, %2 store ptr null, ptr %3, align 8 br label %181 15: ; preds = %11 %16 = load i32, ptr %5, align 4 %17 = mul nsw i32 4, %16 %18 = add nsw i32 %17, 1 %19 = call ptr @new_mem(i32 noundef %18) store ptr %19, ptr %6, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %5, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph, label %179 .lr.ph: ; preds = %15 br label %23 23: ; preds = %.lr.ph, %173 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %7, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = zext i8 %28 to i32 %30 = icmp eq i32 %29, 92 br i1 %30, label %47, label %31 31: ; preds = %23 %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr %7, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = load i8, ptr %35, align 1 %37 = zext i8 %36 to i32 %38 = icmp eq i32 %37, 34 br i1 %38, label %47, label %39 39: ; preds = %31 %40 = load ptr, ptr %4, align 8 %41 = load i32, ptr %7, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 %44 = load i8, ptr %43, align 1 %45 = zext i8 %44 to i32 %46 = icmp eq i32 %45, 63 br i1 %46, label %47, label %63 47: ; preds = %39, %31, %23 %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr %8, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %8, align 4 %51 = sext i32 %49 to i64 %52 = getelementptr inbounds i8, ptr %48, i64 %51 store i8 92, ptr %52, align 1 %53 = load ptr, ptr %4, align 8 %54 = load i32, ptr %7, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %53, i64 %55 %57 = load i8, ptr %56, align 1 %58 = load ptr, ptr %6, align 8 %59 = load i32, ptr %8, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %8, align 4 %61 = sext i32 %59 to i64 %62 = getelementptr inbounds i8, ptr %58, i64 %61 store i8 %57, ptr %62, align 1 br label %172 63: ; preds = %39 %64 = load ptr, ptr %4, align 8 %65 = load i32, ptr %7, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i8, ptr %64, i64 %66 %68 = load i8, ptr %67, align 1 %69 = zext i8 %68 to i32 %70 = icmp eq i32 %69, 10 br i1 %70, label %71, label %82 71: ; preds = %63 %72 = load ptr, ptr %6, align 8 %73 = load i32, ptr %8, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %8, align 4 %75 = sext i32 %73 to i64 %76 = getelementptr inbounds i8, ptr %72, i64 %75 store i8 92, ptr %76, align 1 %77 = load ptr, ptr %6, align 8 %78 = load i32, ptr %8, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %8, align 4 %80 = sext i32 %78 to i64 %81 = getelementptr inbounds i8, ptr %77, i64 %80 store i8 110, ptr %81, align 1 br label %171 82: ; preds = %63 %83 = load ptr, ptr %4, align 8 %84 = load i32, ptr %7, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i8, ptr %83, i64 %85 %87 = load i8, ptr %86, align 1 %88 = zext i8 %87 to i32 %89 = icmp eq i32 %88, 9 br i1 %89, label %90, label %101 90: ; preds = %82 %91 = load ptr, ptr %6, align 8 %92 = load i32, ptr %8, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %8, align 4 %94 = sext i32 %92 to i64 %95 = getelementptr inbounds i8, ptr %91, i64 %94 store i8 92, ptr %95, align 1 %96 = load ptr, ptr %6, align 8 %97 = load i32, ptr %8, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %8, align 4 %99 = sext i32 %97 to i64 %100 = getelementptr inbounds i8, ptr %96, i64 %99 store i8 116, ptr %100, align 1 br label %170 101: ; preds = %82 %102 = load ptr, ptr %4, align 8 %103 = load i32, ptr %7, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds i8, ptr %102, i64 %104 %106 = load i8, ptr %105, align 1 %107 = zext i8 %106 to i32 %108 = icmp slt i32 %107, 32 br i1 %108, label %109, label %158 109: ; preds = %101 %110 = load ptr, ptr %6, align 8 %111 = load i32, ptr %8, align 4 %112 = add nsw i32 %111, 1 store i32 %112, ptr %8, align 4 %113 = sext i32 %111 to i64 %114 = getelementptr inbounds i8, ptr %110, i64 %113 store i8 92, ptr %114, align 1 %115 = load ptr, ptr %4, align 8 %116 = load i32, ptr %7, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds i8, ptr %115, i64 %117 %119 = load i8, ptr %118, align 1 %120 = zext i8 %119 to i32 %121 = ashr i32 %120, 6 %122 = add nsw i32 %121, 48 %123 = trunc i32 %122 to i8 %124 = load ptr, ptr %6, align 8 %125 = load i32, ptr %8, align 4 %126 = add nsw i32 %125, 1 store i32 %126, ptr %8, align 4 %127 = sext i32 %125 to i64 %128 = getelementptr inbounds i8, ptr %124, i64 %127 store i8 %123, ptr %128, align 1 %129 = load ptr, ptr %4, align 8 %130 = load i32, ptr %7, align 4 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds i8, ptr %129, i64 %131 %133 = load i8, ptr %132, align 1 %134 = zext i8 %133 to i32 %135 = ashr i32 %134, 3 %136 = and i32 %135, 7 %137 = add nsw i32 %136, 48 %138 = trunc i32 %137 to i8 %139 = load ptr, ptr %6, align 8 %140 = load i32, ptr %8, align 4 %141 = add nsw i32 %140, 1 store i32 %141, ptr %8, align 4 %142 = sext i32 %140 to i64 %143 = getelementptr inbounds i8, ptr %139, i64 %142 store i8 %138, ptr %143, align 1 %144 = load ptr, ptr %4, align 8 %145 = load i32, ptr %7, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds i8, ptr %144, i64 %146 %148 = load i8, ptr %147, align 1 %149 = zext i8 %148 to i32 %150 = and i32 %149, 7 %151 = add nsw i32 %150, 48 %152 = trunc i32 %151 to i8 %153 = load ptr, ptr %6, align 8 %154 = load i32, ptr %8, align 4 %155 = add nsw i32 %154, 1 store i32 %155, ptr %8, align 4 %156 = sext i32 %154 to i64 %157 = getelementptr inbounds i8, ptr %153, i64 %156 store i8 %152, ptr %157, align 1 br label %169 158: ; preds = %101 %159 = load ptr, ptr %4, align 8 %160 = load i32, ptr %7, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds i8, ptr %159, i64 %161 %163 = load i8, ptr %162, align 1 %164 = load ptr, ptr %6, align 8 %165 = load i32, ptr %8, align 4 %166 = add nsw i32 %165, 1 store i32 %166, ptr %8, align 4 %167 = sext i32 %165 to i64 %168 = getelementptr inbounds i8, ptr %164, i64 %167 store i8 %163, ptr %168, align 1 br label %169 169: ; preds = %158, %109 br label %170 170: ; preds = %169, %90 br label %171 171: ; preds = %170, %71 br label %172 172: ; preds = %171, %47 br label %173 173: ; preds = %172 %174 = load i32, ptr %7, align 4 %175 = add nsw i32 %174, 1 store i32 %175, ptr %7, align 4 %176 = load i32, ptr %7, align 4 %177 = load i32, ptr %5, align 4 %178 = icmp slt i32 %176, %177 br i1 %178, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %173 br label %179 179: ; preds = %._crit_edge, %15 %180 = load ptr, ptr %6, align 8 store ptr %180, ptr %3, align 8 br label %181 181: ; preds = %179, %14 %182 = load ptr, ptr %3, align 8 ret ptr %182 } declare ptr @new_mem(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpn76s1tv0.c' source_filename = "/tmp/tmpn76s1tv0.c" target datalayout = "e-m:e-p270: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 [21 x i8] c"Usage: %s [command]\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"python\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"Too many args\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"/home/pi/sparkfun-avc/\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"Unable to chdir\0A\00", align 1 @.str.5 = private unnamed_addr constant [42 x i8] c"/home/pi/.virtualenvs/sparkfun/bin/python\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 [20 x ptr], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp sle i32 %9, 1 br i1 %10, label %11, label %19 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 %16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %15) %17 = load i32, ptr @EXIT_FAILURE, align 4 %18 = call i32 @exit(i32 noundef %17) #3 unreachable 19: ; preds = %2 %20 = getelementptr inbounds [20 x ptr], ptr %6, i64 0, i64 0 store ptr @.str.1, ptr %20, align 16 store i32 1, ptr %7, align 4 br label %21 21: ; preds = %43, %19 %22 = load i32, ptr %7, align 4 %23 = sext i32 %22 to i64 %24 = icmp ult i64 %23, 20 br i1 %24, label %25, label %32 25: ; preds = %21 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %7, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds ptr, ptr %26, i64 %28 %30 = load ptr, ptr %29, align 8 %31 = icmp ne ptr %30, null br label %32 32: ; preds = %25, %21 %33 = phi i1 [ false, %21 ], [ %31, %25 ] br i1 %33, label %34, label %46 34: ; preds = %32 %35 = load ptr, ptr %5, align 8 %36 = load i32, ptr %7, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds ptr, ptr %35, i64 %37 %39 = load ptr, ptr %38, align 8 %40 = load i32, ptr %7, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [20 x ptr], ptr %6, i64 0, i64 %41 store ptr %39, ptr %42, align 8 br label %43 43: ; preds = %34 %44 = load i32, ptr %7, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %7, align 4 br label %21, !llvm.loop !6 46: ; preds = %32 %47 = load i32, ptr %7, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [20 x ptr], ptr %6, i64 0, i64 %48 store ptr null, ptr %49, align 8 %50 = load i32, ptr %7, align 4 %51 = sext i32 %50 to i64 %52 = icmp eq i64 %51, 20 br i1 %52, label %53, label %58 53: ; preds = %46 %54 = load i32, ptr @stderr, align 4 %55 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %54, ptr noundef @.str.2) %56 = load i32, ptr @EXIT_FAILURE, align 4 %57 = call i32 @exit(i32 noundef %56) #3 unreachable 58: ; preds = %46 %59 = call i32 @chdir(ptr noundef @.str.3) store i32 %59, ptr %8, align 4 %60 = load i32, ptr %8, align 4 %61 = icmp ne i32 %60, 0 br i1 %61, label %62, label %67 62: ; preds = %58 %63 = load i32, ptr @stderr, align 4 %64 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %63, ptr noundef @.str.4) %65 = load i32, ptr @EXIT_FAILURE, align 4 %66 = call i32 @exit(i32 noundef %65) #3 unreachable 67: ; preds = %58 %68 = getelementptr inbounds [20 x ptr], ptr %6, i64 0, i64 0 %69 = call i32 @execv(ptr noundef @.str.5, ptr noundef %68) ret i32 %69 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @chdir(ptr noundef) #1 declare i32 @execv(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn76s1tv0.c" target datalayout = "e-m:e-p270: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 [21 x i8] c"Usage: %s [command]\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"python\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"Too many args\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"/home/pi/sparkfun-avc/\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"Unable to chdir\0A\00", align 1 @.str.5 = private unnamed_addr constant [42 x i8] c"/home/pi/.virtualenvs/sparkfun/bin/python\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 [20 x ptr], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp sle i32 %9, 1 br i1 %10, label %11, label %19 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 %16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %15) %17 = load i32, ptr @EXIT_FAILURE, align 4 %18 = call i32 @exit(i32 noundef %17) #3 unreachable 19: ; preds = %2 %20 = getelementptr inbounds [20 x ptr], ptr %6, i64 0, i64 0 store ptr @.str.1, ptr %20, align 16 store i32 1, ptr %7, align 4 br label %21 21: ; preds = %43, %19 %22 = load i32, ptr %7, align 4 %23 = sext i32 %22 to i64 %24 = icmp ult i64 %23, 20 br i1 %24, label %25, label %32 25: ; preds = %21 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %7, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds ptr, ptr %26, i64 %28 %30 = load ptr, ptr %29, align 8 %31 = icmp ne ptr %30, null br label %32 32: ; preds = %25, %21 %33 = phi i1 [ false, %21 ], [ %31, %25 ] br i1 %33, label %34, label %46 34: ; preds = %32 %35 = load ptr, ptr %5, align 8 %36 = load i32, ptr %7, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds ptr, ptr %35, i64 %37 %39 = load ptr, ptr %38, align 8 %40 = load i32, ptr %7, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [20 x ptr], ptr %6, i64 0, i64 %41 store ptr %39, ptr %42, align 8 br label %43 43: ; preds = %34 %44 = load i32, ptr %7, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %7, align 4 br label %21, !llvm.loop !6 46: ; preds = %32 %47 = load i32, ptr %7, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [20 x ptr], ptr %6, i64 0, i64 %48 store ptr null, ptr %49, align 8 %50 = load i32, ptr %7, align 4 %51 = sext i32 %50 to i64 %52 = icmp eq i64 %51, 20 br i1 %52, label %53, label %58 53: ; preds = %46 %54 = load i32, ptr @stderr, align 4 %55 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %54, ptr noundef @.str.2) %56 = load i32, ptr @EXIT_FAILURE, align 4 %57 = call i32 @exit(i32 noundef %56) #3 unreachable 58: ; preds = %46 %59 = call i32 @chdir(ptr noundef @.str.3) store i32 %59, ptr %8, align 4 %60 = load i32, ptr %8, align 4 %61 = icmp ne i32 %60, 0 br i1 %61, label %62, label %67 62: ; preds = %58 %63 = load i32, ptr @stderr, align 4 %64 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %63, ptr noundef @.str.4) %65 = load i32, ptr @EXIT_FAILURE, align 4 %66 = call i32 @exit(i32 noundef %65) #3 unreachable 67: ; preds = %58 %68 = getelementptr inbounds [20 x ptr], ptr %6, i64 0, i64 0 %69 = call i32 @execv(ptr noundef @.str.5, ptr noundef %68) ret i32 %69 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @chdir(ptr noundef) #1 declare i32 @execv(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpgj4xl_uh.c' source_filename = "/tmp/tmpgj4xl_uh.c" target datalayout = "e-m:e-p270: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.data = private unnamed_addr constant [37 x i8] c"QWERTYUIOPLKJHGFDSAZXCVBNM1234567890\00", align 16 @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca [37 x i8], align 16 %4 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i64 36, ptr %2, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.data, i64 37, i1 false) store i64 0, ptr %4, align 8 br label %5 5: ; preds = %15, %0 %6 = load i64, ptr %4, align 8 %7 = icmp ult i64 %6, 64 br i1 %7, label %8, label %18 8: ; preds = %5 %9 = call i64 (...) @rand() %10 = load i64, ptr %2, align 8 %11 = urem i64 %9, %10 %12 = getelementptr inbounds [37 x i8], ptr %3, i64 0, i64 %11 %13 = load i8, ptr %12, align 1 %14 = call i32 @printf(ptr noundef @.str, i8 noundef signext %13) br label %15 15: ; preds = %8 %16 = load i64, ptr %4, align 8 %17 = add i64 %16, 1 store i64 %17, ptr %4, align 8 br label %5, !llvm.loop !6 18: ; preds = %5 %19 = call i32 @puts(ptr noundef @.str.1) 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, i8 noundef signext) #2 declare i64 @rand(...) #2 declare i32 @puts(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgj4xl_uh.c" target datalayout = "e-m:e-p270: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.data = private unnamed_addr constant [37 x i8] c"QWERTYUIOPLKJHGFDSAZXCVBNM1234567890\00", align 16 @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca [37 x i8], align 16 %4 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i64 36, ptr %2, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.data, i64 37, i1 false) store i64 0, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = icmp ult i64 %5, 64 br i1 %6, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %14 %8 = call i64 (...) @rand() %9 = load i64, ptr %2, align 8 %10 = urem i64 %8, %9 %11 = getelementptr inbounds [37 x i8], ptr %3, i64 0, i64 %10 %12 = load i8, ptr %11, align 1 %13 = call i32 @printf(ptr noundef @.str, i8 noundef signext %12) br label %14 14: ; preds = %7 %15 = load i64, ptr %4, align 8 %16 = add i64 %15, 1 store i64 %16, ptr %4, align 8 %17 = load i64, ptr %4, align 8 %18 = icmp ult i64 %17, 64 br i1 %18, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %19 19: ; preds = %._crit_edge, %0 %20 = call i32 @puts(ptr noundef @.str.1) 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, i8 noundef signext) #2 declare i64 @rand(...) #2 declare i32 @puts(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"}
; ModuleID = '/tmp/tmp2uplf5ic.c' source_filename = "/tmp/tmp2uplf5ic.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 10, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @foobar(i32 noundef %3) ret i32 0 } declare i32 @foobar(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2uplf5ic.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 10, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @foobar(i32 noundef %3) ret i32 0 } declare i32 @foobar(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsgvi7i1q.c' source_filename = "/tmp/tmpsgvi7i1q.c" target datalayout = "e-m:e-p270: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/tmpsgvi7i1q.c" target datalayout = "e-m:e-p270: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/tmp24ara5kp.c' source_filename = "/tmp/tmp24ara5kp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strverscmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 0, ptr %9, align 8 store i64 0, ptr %6, align 8 br label %10 10: ; preds = %30, %2 %11 = load ptr, ptr %4, align 8 %12 = load i64, ptr %6, align 8 %13 = getelementptr inbounds i8, ptr %11, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = load ptr, ptr %5, align 8 %17 = load i64, ptr %6, align 8 %18 = getelementptr inbounds i8, ptr %16, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %15, %20 br i1 %21, label %22, label %33 22: ; preds = %10 %23 = load ptr, ptr %4, align 8 %24 = load i64, ptr %6, align 8 %25 = getelementptr inbounds i8, ptr %23, i64 %24 %26 = load i8, ptr %25, align 1 %27 = icmp ne i8 %26, 0 br i1 %27, label %29, label %28 28: ; preds = %22 store i32 0, ptr %3, align 4 br label %143 29: ; preds = %22 br label %30 30: ; preds = %29 %31 = load i64, ptr %6, align 8 %32 = add i64 %31, 1 store i64 %32, ptr %6, align 8 br label %10, !llvm.loop !6 33: ; preds = %10 %34 = load ptr, ptr %4, align 8 %35 = load i64, ptr %6, align 8 %36 = getelementptr inbounds i8, ptr %34, i64 %35 %37 = load i8, ptr %36, align 1 %38 = call i64 @isdigit(i8 noundef signext %37) %39 = icmp ne i64 %38, 0 br i1 %39, label %40, label %47 40: ; preds = %33 %41 = load ptr, ptr %5, align 8 %42 = load i64, ptr %6, align 8 %43 = getelementptr inbounds i8, ptr %41, i64 %42 %44 = load i8, ptr %43, align 1 %45 = call i64 @isdigit(i8 noundef signext %44) %46 = icmp ne i64 %45, 0 br i1 %46, label %59, label %47 47: ; preds = %40, %33 %48 = load ptr, ptr %4, align 8 %49 = load i64, ptr %6, align 8 %50 = getelementptr inbounds i8, ptr %48, i64 %49 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = load ptr, ptr %5, align 8 %54 = load i64, ptr %6, align 8 %55 = getelementptr inbounds i8, ptr %53, i64 %54 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = sub nsw i32 %52, %57 store i32 %58, ptr %3, align 4 br label %143 59: ; preds = %40 %60 = load i64, ptr %6, align 8 store i64 %60, ptr %7, align 8 br label %61 61: ; preds = %75, %59 %62 = load i64, ptr %7, align 8 %63 = icmp ugt i64 %62, 0 br i1 %63, label %64, label %72 64: ; preds = %61 %65 = load ptr, ptr %4, align 8 %66 = load i64, ptr %7, align 8 %67 = sub i64 %66, 1 %68 = getelementptr inbounds i8, ptr %65, i64 %67 %69 = load i8, ptr %68, align 1 %70 = call i64 @isdigit(i8 noundef signext %69) %71 = icmp ne i64 %70, 0 br label %72 72: ; preds = %64, %61 %73 = phi i1 [ false, %61 ], [ %71, %64 ] br i1 %73, label %74, label %78 74: ; preds = %72 br label %75 75: ; preds = %74 %76 = load i64, ptr %7, align 8 %77 = add i64 %76, -1 store i64 %77, ptr %7, align 8 br label %61, !llvm.loop !8 78: ; preds = %72 store i64 0, ptr %8, align 8 br label %79 79: ; preds = %93, %78 %80 = load i64, ptr %7, align 8 %81 = load i64, ptr %6, align 8 %82 = icmp ult i64 %80, %81 br i1 %82, label %83, label %96 83: ; preds = %79 %84 = load i64, ptr %8, align 8 %85 = mul nsw i64 %84, 10 %86 = load ptr, ptr %4, align 8 %87 = load i64, ptr %7, align 8 %88 = getelementptr inbounds i8, ptr %86, i64 %87 %89 = load i8, ptr %88, align 1 %90 = sext i8 %89 to i64 %91 = add nsw i64 %85, %90 %92 = sub nsw i64 %91, 48 store i64 %92, ptr %8, align 8 br label %93 93: ; preds = %83 %94 = load i64, ptr %7, align 8 %95 = add i64 %94, 1 store i64 %95, ptr %7, align 8 br label %79, !llvm.loop !9 96: ; preds = %79 %97 = load i64, ptr %8, align 8 store i64 %97, ptr %9, align 8 br label %98 98: ; preds = %105, %96 %99 = load ptr, ptr %4, align 8 %100 = load i64, ptr %6, align 8 %101 = getelementptr inbounds i8, ptr %99, i64 %100 %102 = load i8, ptr %101, align 1 %103 = call i64 @isdigit(i8 noundef signext %102) %104 = icmp ne i64 %103, 0 br i1 %104, label %105, label %117 105: ; preds = %98 %106 = load i64, ptr %8, align 8 %107 = mul nsw i64 %106, 10 %108 = load ptr, ptr %4, align 8 %109 = load i64, ptr %6, align 8 %110 = getelementptr inbounds i8, ptr %108, i64 %109 %111 = load i8, ptr %110, align 1 %112 = sext i8 %111 to i64 %113 = add nsw i64 %107, %112 %114 = sub nsw i64 %113, 48 store i64 %114, ptr %8, align 8 %115 = load i64, ptr %6, align 8 %116 = add i64 %115, 1 store i64 %116, ptr %6, align 8 br label %98, !llvm.loop !10 117: ; preds = %98 br label %118 118: ; preds = %125, %117 %119 = load ptr, ptr %5, align 8 %120 = load i64, ptr %7, align 8 %121 = getelementptr inbounds i8, ptr %119, i64 %120 %122 = load i8, ptr %121, align 1 %123 = call i64 @isdigit(i8 noundef signext %122) %124 = icmp ne i64 %123, 0 br i1 %124, label %125, label %137 125: ; preds = %118 %126 = load i64, ptr %9, align 8 %127 = mul nsw i64 %126, 10 %128 = load ptr, ptr %5, align 8 %129 = load i64, ptr %7, align 8 %130 = getelementptr inbounds i8, ptr %128, i64 %129 %131 = load i8, ptr %130, align 1 %132 = sext i8 %131 to i64 %133 = add nsw i64 %127, %132 %134 = sub nsw i64 %133, 48 store i64 %134, ptr %9, align 8 %135 = load i64, ptr %7, align 8 %136 = add i64 %135, 1 store i64 %136, ptr %7, align 8 br label %118, !llvm.loop !11 137: ; preds = %118 %138 = load i64, ptr %8, align 8 %139 = load i64, ptr %9, align 8 %140 = icmp slt i64 %138, %139 %141 = zext i1 %140 to i64 %142 = select i1 %140, i32 -1, i32 1 store i32 %142, ptr %3, align 4 br label %143 143: ; preds = %137, %47, %28 %144 = load i32, ptr %3, align 4 ret i32 %144 } declare i64 @isdigit(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp24ara5kp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strverscmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 0, ptr %9, align 8 store i64 0, ptr %6, align 8 %10 = load ptr, ptr %4, align 8 %11 = load i64, ptr %6, align 8 %12 = getelementptr inbounds i8, ptr %10, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = load ptr, ptr %5, align 8 %16 = load i64, ptr %6, align 8 %17 = getelementptr inbounds i8, ptr %15, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %14, %19 br i1 %20, label %.lr.ph, label %43 .lr.ph: ; preds = %2 br label %21 21: ; preds = %.lr.ph, %29 %22 = load ptr, ptr %4, align 8 %23 = load i64, ptr %6, align 8 %24 = getelementptr inbounds i8, ptr %22, i64 %23 %25 = load i8, ptr %24, align 1 %26 = icmp ne i8 %25, 0 br i1 %26, label %28, label %27 27: ; preds = %21 store i32 0, ptr %3, align 4 br label %165 28: ; preds = %21 br label %29 29: ; preds = %28 %30 = load i64, ptr %6, align 8 %31 = add i64 %30, 1 store i64 %31, ptr %6, align 8 %32 = load ptr, ptr %4, align 8 %33 = load i64, ptr %6, align 8 %34 = getelementptr inbounds i8, ptr %32, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = load ptr, ptr %5, align 8 %38 = load i64, ptr %6, align 8 %39 = getelementptr inbounds i8, ptr %37, i64 %38 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %36, %41 br i1 %42, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %43 43: ; preds = %._crit_edge, %2 %44 = load ptr, ptr %4, align 8 %45 = load i64, ptr %6, align 8 %46 = getelementptr inbounds i8, ptr %44, i64 %45 %47 = load i8, ptr %46, align 1 %48 = call i64 @isdigit(i8 noundef signext %47) %49 = icmp ne i64 %48, 0 br i1 %49, label %50, label %57 50: ; preds = %43 %51 = load ptr, ptr %5, align 8 %52 = load i64, ptr %6, align 8 %53 = getelementptr inbounds i8, ptr %51, i64 %52 %54 = load i8, ptr %53, align 1 %55 = call i64 @isdigit(i8 noundef signext %54) %56 = icmp ne i64 %55, 0 br i1 %56, label %69, label %57 57: ; preds = %50, %43 %58 = load ptr, ptr %4, align 8 %59 = load i64, ptr %6, align 8 %60 = getelementptr inbounds i8, ptr %58, i64 %59 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = load ptr, ptr %5, align 8 %64 = load i64, ptr %6, align 8 %65 = getelementptr inbounds i8, ptr %63, i64 %64 %66 = load i8, ptr %65, align 1 %67 = sext i8 %66 to i32 %68 = sub nsw i32 %62, %67 store i32 %68, ptr %3, align 4 br label %165 69: ; preds = %50 %70 = load i64, ptr %6, align 8 store i64 %70, ptr %7, align 8 br label %71 71: ; preds = %85, %69 %72 = load i64, ptr %7, align 8 %73 = icmp ugt i64 %72, 0 br i1 %73, label %74, label %82 74: ; preds = %71 %75 = load ptr, ptr %4, align 8 %76 = load i64, ptr %7, align 8 %77 = sub i64 %76, 1 %78 = getelementptr inbounds i8, ptr %75, i64 %77 %79 = load i8, ptr %78, align 1 %80 = call i64 @isdigit(i8 noundef signext %79) %81 = icmp ne i64 %80, 0 br label %82 82: ; preds = %74, %71 %83 = phi i1 [ false, %71 ], [ %81, %74 ] br i1 %83, label %84, label %88 84: ; preds = %82 br label %85 85: ; preds = %84 %86 = load i64, ptr %7, align 8 %87 = add i64 %86, -1 store i64 %87, ptr %7, align 8 br label %71, !llvm.loop !8 88: ; preds = %82 store i64 0, ptr %8, align 8 %89 = load i64, ptr %7, align 8 %90 = load i64, ptr %6, align 8 %91 = icmp ult i64 %89, %90 br i1 %91, label %.lr.ph2, label %108 .lr.ph2: ; preds = %88 br label %92 92: ; preds = %.lr.ph2, %102 %93 = load i64, ptr %8, align 8 %94 = mul nsw i64 %93, 10 %95 = load ptr, ptr %4, align 8 %96 = load i64, ptr %7, align 8 %97 = getelementptr inbounds i8, ptr %95, i64 %96 %98 = load i8, ptr %97, align 1 %99 = sext i8 %98 to i64 %100 = add nsw i64 %94, %99 %101 = sub nsw i64 %100, 48 store i64 %101, ptr %8, align 8 br label %102 102: ; preds = %92 %103 = load i64, ptr %7, align 8 %104 = add i64 %103, 1 store i64 %104, ptr %7, align 8 %105 = load i64, ptr %7, align 8 %106 = load i64, ptr %6, align 8 %107 = icmp ult i64 %105, %106 br i1 %107, label %92, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %102 br label %108 108: ; preds = %._crit_edge3, %88 %109 = load i64, ptr %8, align 8 store i64 %109, ptr %9, align 8 %110 = load ptr, ptr %4, align 8 %111 = load i64, ptr %6, align 8 %112 = getelementptr inbounds i8, ptr %110, i64 %111 %113 = load i8, ptr %112, align 1 %114 = call i64 @isdigit(i8 noundef signext %113) %115 = icmp ne i64 %114, 0 br i1 %115, label %.lr.ph5, label %134 .lr.ph5: ; preds = %108 br label %116 116: ; preds = %.lr.ph5, %116 %117 = load i64, ptr %8, align 8 %118 = mul nsw i64 %117, 10 %119 = load ptr, ptr %4, align 8 %120 = load i64, ptr %6, align 8 %121 = getelementptr inbounds i8, ptr %119, i64 %120 %122 = load i8, ptr %121, align 1 %123 = sext i8 %122 to i64 %124 = add nsw i64 %118, %123 %125 = sub nsw i64 %124, 48 store i64 %125, ptr %8, align 8 %126 = load i64, ptr %6, align 8 %127 = add i64 %126, 1 store i64 %127, ptr %6, align 8 %128 = load ptr, ptr %4, align 8 %129 = load i64, ptr %6, align 8 %130 = getelementptr inbounds i8, ptr %128, i64 %129 %131 = load i8, ptr %130, align 1 %132 = call i64 @isdigit(i8 noundef signext %131) %133 = icmp ne i64 %132, 0 br i1 %133, label %116, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %116 br label %134 134: ; preds = %._crit_edge6, %108 %135 = load ptr, ptr %5, align 8 %136 = load i64, ptr %7, align 8 %137 = getelementptr inbounds i8, ptr %135, i64 %136 %138 = load i8, ptr %137, align 1 %139 = call i64 @isdigit(i8 noundef signext %138) %140 = icmp ne i64 %139, 0 br i1 %140, label %.lr.ph8, label %159 .lr.ph8: ; preds = %134 br label %141 141: ; preds = %.lr.ph8, %141 %142 = load i64, ptr %9, align 8 %143 = mul nsw i64 %142, 10 %144 = load ptr, ptr %5, align 8 %145 = load i64, ptr %7, align 8 %146 = getelementptr inbounds i8, ptr %144, i64 %145 %147 = load i8, ptr %146, align 1 %148 = sext i8 %147 to i64 %149 = add nsw i64 %143, %148 %150 = sub nsw i64 %149, 48 store i64 %150, ptr %9, align 8 %151 = load i64, ptr %7, align 8 %152 = add i64 %151, 1 store i64 %152, ptr %7, align 8 %153 = load ptr, ptr %5, align 8 %154 = load i64, ptr %7, align 8 %155 = getelementptr inbounds i8, ptr %153, i64 %154 %156 = load i8, ptr %155, align 1 %157 = call i64 @isdigit(i8 noundef signext %156) %158 = icmp ne i64 %157, 0 br i1 %158, label %141, label %._crit_edge9, !llvm.loop !11 ._crit_edge9: ; preds = %141 br label %159 159: ; preds = %._crit_edge9, %134 %160 = load i64, ptr %8, align 8 %161 = load i64, ptr %9, align 8 %162 = icmp slt i64 %160, %161 %163 = zext i1 %162 to i64 %164 = select i1 %162, i32 -1, i32 1 store i32 %164, ptr %3, align 4 br label %165 165: ; preds = %159, %57, %27 %166 = load i32, ptr %3, align 4 ret i32 %166 } declare i64 @isdigit(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpk4410hvj.c' source_filename = "/tmp/tmpk4410hvj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGCHLD = 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/tmpk4410hvj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGCHLD = 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/tmp8xg9t1w1.c' source_filename = "/tmp/tmp8xg9t1w1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stor_fread_req_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = 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/tmp8xg9t1w1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stor_fread_req_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = 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/tmppouycuce.c' source_filename = "/tmp/tmppouycuce.c" target datalayout = "e-m:e-p270: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 [1703 x i8] c"Usage: KESTREL [OPTION]... [FILE1] [FILE2] \0AAn ultra-fast tool to filter exogenous DNA from ancient samples. \0A \0ANon-mandatory arguments: \0A \0A -h give this help, \0A -F force mode (overwrites top file), \0A -V display version number, \0A -v verbose mode (more information), \0A -i inverts search, \0A -s show compression levels, \0A -l <level> compression level [%u;%u], \0A -t <threshold> similarity threshold [0.0;1.0], \0A -p <sample> subsampling (default: %u), \0A -n <nThreads> number of threads (default: %u), \0A -o <FILE> output filename, \0A \0AMandatory arguments: \0A \0A [FILE1] reference filename (FASTA or FASTQ), \0A [FILE2] raw reads filename (FASTQ). \0A \0AReport issues to <{pratas,ap}@ua.pt>. \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PrintMenu() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, i32 noundef 1, i32 noundef 44, i32 noundef 1, i32 noundef 2) ret void } declare i32 @fprintf(i32 noundef, ptr 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/tmppouycuce.c" target datalayout = "e-m:e-p270: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 [1703 x i8] c"Usage: KESTREL [OPTION]... [FILE1] [FILE2] \0AAn ultra-fast tool to filter exogenous DNA from ancient samples. \0A \0ANon-mandatory arguments: \0A \0A -h give this help, \0A -F force mode (overwrites top file), \0A -V display version number, \0A -v verbose mode (more information), \0A -i inverts search, \0A -s show compression levels, \0A -l <level> compression level [%u;%u], \0A -t <threshold> similarity threshold [0.0;1.0], \0A -p <sample> subsampling (default: %u), \0A -n <nThreads> number of threads (default: %u), \0A -o <FILE> output filename, \0A \0AMandatory arguments: \0A \0A [FILE1] reference filename (FASTA or FASTQ), \0A [FILE2] raw reads filename (FASTQ). \0A \0AReport issues to <{pratas,ap}@ua.pt>. \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PrintMenu() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, i32 noundef 1, i32 noundef 44, i32 noundef 1, i32 noundef 2) ret void } declare i32 @fprintf(i32 noundef, ptr 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/tmpjutff_bl.c' source_filename = "/tmp/tmpjutff_bl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcasecmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @strncasecmp(ptr noundef %5, ptr noundef %6, i32 noundef 2147483647) ret i32 %7 } declare i32 @strncasecmp(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/tmpjutff_bl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcasecmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @strncasecmp(ptr noundef %5, ptr noundef %6, i32 noundef 2147483647) ret i32 %7 } declare i32 @strncasecmp(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/tmp0fs4900x.c' source_filename = "/tmp/tmp0fs4900x.c" target datalayout = "e-m:e-p270: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/tmp0fs4900x.c" target datalayout = "e-m:e-p270: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/tmpir20m_kl.c' source_filename = "/tmp/tmpir20m_kl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strStartsWith(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %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 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null %10 = zext i1 %9 to i32 %11 = call i32 @assert(i32 noundef %10) %12 = load ptr, ptr %5, align 8 %13 = icmp ne ptr %12, null %14 = zext i1 %13 to i32 %15 = call i32 @assert(i32 noundef %14) %16 = load ptr, ptr %4, align 8 %17 = call i32 @strlen(ptr noundef %16) store i32 %17, ptr %6, align 4 %18 = load ptr, ptr %5, align 8 %19 = call i32 @strlen(ptr noundef %18) store i32 %19, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp sgt i32 %20, 0 %22 = zext i1 %21 to i32 %23 = call i32 @assert(i32 noundef %22) %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %6, align 4 %26 = icmp sgt i32 %24, %25 br i1 %26, label %27, label %28 27: ; preds = %2 store i32 0, ptr %3, align 4 br label %35 28: ; preds = %2 %29 = load ptr, ptr %4, align 8 %30 = load ptr, ptr %5, align 8 %31 = load i32, ptr %7, align 4 %32 = call i64 @strncmp(ptr noundef %29, ptr noundef %30, i32 noundef %31) %33 = icmp eq i64 %32, 0 %34 = zext i1 %33 to i32 store i32 %34, ptr %3, align 4 br label %35 35: ; preds = %28, %27 %36 = load i32, ptr %3, align 4 ret i32 %36 } declare i32 @assert(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpir20m_kl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strStartsWith(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %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 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null %10 = zext i1 %9 to i32 %11 = call i32 @assert(i32 noundef %10) %12 = load ptr, ptr %5, align 8 %13 = icmp ne ptr %12, null %14 = zext i1 %13 to i32 %15 = call i32 @assert(i32 noundef %14) %16 = load ptr, ptr %4, align 8 %17 = call i32 @strlen(ptr noundef %16) store i32 %17, ptr %6, align 4 %18 = load ptr, ptr %5, align 8 %19 = call i32 @strlen(ptr noundef %18) store i32 %19, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp sgt i32 %20, 0 %22 = zext i1 %21 to i32 %23 = call i32 @assert(i32 noundef %22) %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %6, align 4 %26 = icmp sgt i32 %24, %25 br i1 %26, label %27, label %28 27: ; preds = %2 store i32 0, ptr %3, align 4 br label %35 28: ; preds = %2 %29 = load ptr, ptr %4, align 8 %30 = load ptr, ptr %5, align 8 %31 = load i32, ptr %7, align 4 %32 = call i64 @strncmp(ptr noundef %29, ptr noundef %30, i32 noundef %31) %33 = icmp eq i64 %32, 0 %34 = zext i1 %33 to i32 store i32 %34, ptr %3, align 4 br label %35 35: ; preds = %28, %27 %36 = load i32, ptr %3, align 4 ret i32 %36 } declare i32 @assert(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_x0t68lq.c' source_filename = "/tmp/tmp_x0t68lq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c" Input a first number, please? \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"The first progression is %d.\0A\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"The second progression is %d.\0A\00", align 1 @.str.4 = private unnamed_addr constant [33 x i8] c" Input a first number, please? \00", align 1 @.str.5 = private unnamed_addr constant [34 x i8] c" Input a second number, please? \00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"The third progression is %d.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = call i32 @answer(i32 noundef %6) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = call i32 @answer2(i32 noundef %9) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %10) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %16 = load i32, ptr %2, align 4 %17 = load i32, ptr %3, align 4 %18 = call i32 @answer3(i32 noundef %16, i32 noundef %17) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %18) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @answer(i32 noundef) #1 declare i32 @answer2(i32 noundef) #1 declare i32 @answer3(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/tmp_x0t68lq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c" Input a first number, please? \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"The first progression is %d.\0A\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"The second progression is %d.\0A\00", align 1 @.str.4 = private unnamed_addr constant [33 x i8] c" Input a first number, please? \00", align 1 @.str.5 = private unnamed_addr constant [34 x i8] c" Input a second number, please? \00", align 1 @.str.6 = private unnamed_addr constant [30 x i8] c"The third progression is %d.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = call i32 @answer(i32 noundef %6) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = call i32 @answer2(i32 noundef %9) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %10) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %16 = load i32, ptr %2, align 4 %17 = load i32, ptr %3, align 4 %18 = call i32 @answer3(i32 noundef %16, i32 noundef %17) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %18) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @answer(i32 noundef) #1 declare i32 @answer2(i32 noundef) #1 declare i32 @answer3(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/tmp5sz6e14h.c' source_filename = "/tmp/tmp5sz6e14h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c"0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @truco(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [2 x i8], align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @atoi(ptr noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp eq i32 %9, 1 br i1 %10, label %11, label %12 11: ; preds = %2 store i32 3, ptr %5, align 4 br label %27 12: ; preds = %2 %13 = load i32, ptr %5, align 4 %14 = icmp eq i32 %13, 3 br i1 %14, label %15, label %16 15: ; preds = %12 store i32 6, ptr %5, align 4 br label %26 16: ; preds = %12 %17 = load i32, ptr %5, align 4 %18 = icmp eq i32 %17, 6 br i1 %18, label %19, label %20 19: ; preds = %16 store i32 9, ptr %5, align 4 br label %25 20: ; preds = %16 %21 = load i32, ptr %5, align 4 %22 = icmp eq i32 %21, 9 br i1 %22, label %23, label %24 23: ; preds = %20 store i32 12, ptr %5, align 4 br label %24 24: ; preds = %23, %20 br label %25 25: ; preds = %24, %19 br label %26 26: ; preds = %25, %15 br label %27 27: ; preds = %26, %11 %28 = load ptr, ptr %4, align 8 %29 = call i32 @bzero(ptr noundef %28, i32 noundef 3) %30 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %31 = load i32, ptr %5, align 4 %32 = call i32 @sprintf(ptr noundef %30, ptr noundef @.str, i32 noundef %31) %33 = load i32, ptr %5, align 4 %34 = icmp sge i32 %33, 10 br i1 %34, label %35, label %42 35: ; preds = %27 %36 = load ptr, ptr %4, align 8 %37 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %38 = call i32 @strcat(ptr noundef %36, ptr noundef %37) %39 = load ptr, ptr %3, align 8 %40 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %41 = call i32 @setToken(ptr noundef %39, i32 noundef 17, i32 noundef 18, ptr noundef %40) br label %51 42: ; preds = %27 %43 = load ptr, ptr %4, align 8 %44 = call i32 @strcpy(ptr noundef %43, ptr noundef @.str.1) %45 = load ptr, ptr %4, align 8 %46 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %47 = call i32 @strcat(ptr noundef %45, ptr noundef %46) %48 = load ptr, ptr %3, align 8 %49 = load ptr, ptr %4, align 8 %50 = call i32 @setToken(ptr noundef %48, i32 noundef 17, i32 noundef 18, ptr noundef %49) br label %51 51: ; preds = %42, %35 ret void } declare i32 @atoi(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @setToken(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @strcpy(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/tmp5sz6e14h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c"0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @truco(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [2 x i8], align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @atoi(ptr noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp eq i32 %9, 1 br i1 %10, label %11, label %12 11: ; preds = %2 store i32 3, ptr %5, align 4 br label %27 12: ; preds = %2 %13 = load i32, ptr %5, align 4 %14 = icmp eq i32 %13, 3 br i1 %14, label %15, label %16 15: ; preds = %12 store i32 6, ptr %5, align 4 br label %26 16: ; preds = %12 %17 = load i32, ptr %5, align 4 %18 = icmp eq i32 %17, 6 br i1 %18, label %19, label %20 19: ; preds = %16 store i32 9, ptr %5, align 4 br label %25 20: ; preds = %16 %21 = load i32, ptr %5, align 4 %22 = icmp eq i32 %21, 9 br i1 %22, label %23, label %24 23: ; preds = %20 store i32 12, ptr %5, align 4 br label %24 24: ; preds = %23, %20 br label %25 25: ; preds = %24, %19 br label %26 26: ; preds = %25, %15 br label %27 27: ; preds = %26, %11 %28 = load ptr, ptr %4, align 8 %29 = call i32 @bzero(ptr noundef %28, i32 noundef 3) %30 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %31 = load i32, ptr %5, align 4 %32 = call i32 @sprintf(ptr noundef %30, ptr noundef @.str, i32 noundef %31) %33 = load i32, ptr %5, align 4 %34 = icmp sge i32 %33, 10 br i1 %34, label %35, label %42 35: ; preds = %27 %36 = load ptr, ptr %4, align 8 %37 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %38 = call i32 @strcat(ptr noundef %36, ptr noundef %37) %39 = load ptr, ptr %3, align 8 %40 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %41 = call i32 @setToken(ptr noundef %39, i32 noundef 17, i32 noundef 18, ptr noundef %40) br label %51 42: ; preds = %27 %43 = load ptr, ptr %4, align 8 %44 = call i32 @strcpy(ptr noundef %43, ptr noundef @.str.1) %45 = load ptr, ptr %4, align 8 %46 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %47 = call i32 @strcat(ptr noundef %45, ptr noundef %46) %48 = load ptr, ptr %3, align 8 %49 = load ptr, ptr %4, align 8 %50 = call i32 @setToken(ptr noundef %48, i32 noundef 17, i32 noundef 18, ptr noundef %49) br label %51 51: ; preds = %42, %35 ret void } declare i32 @atoi(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @setToken(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @strcpy(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/tmpvp6hfc57.c' source_filename = "/tmp/tmpvp6hfc57.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Enter an integer > \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"That's all, have a nice day!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %0 %8 = load i32, ptr %2, align 4 %9 = mul nsw i32 %8, -1 store i32 %9, ptr %2, align 4 br label %10 10: ; preds = %7, %0 br label %11 11: ; preds = %15, %10 %12 = load i32, ptr %2, align 4 %13 = sdiv i32 %12, 10 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %21 15: ; preds = %11 %16 = load i32, ptr %2, align 4 %17 = srem i32 %16, 10 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %17) %19 = load i32, ptr %2, align 4 %20 = sdiv i32 %19, 10 store i32 %20, ptr %2, align 4 br label %11, !llvm.loop !6 21: ; preds = %11 %22 = load i32, ptr %2, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %22) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvp6hfc57.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Enter an integer > \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"That's all, have a nice day!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %0 %8 = load i32, ptr %2, align 4 %9 = mul nsw i32 %8, -1 store i32 %9, ptr %2, align 4 br label %10 10: ; preds = %7, %0 %11 = load i32, ptr %2, align 4 %12 = sdiv i32 %11, 10 %13 = icmp ne i32 %12, 0 br i1 %13, label %.lr.ph, label %23 .lr.ph: ; preds = %10 br label %14 14: ; preds = %.lr.ph, %14 %15 = load i32, ptr %2, align 4 %16 = srem i32 %15, 10 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16) %18 = load i32, ptr %2, align 4 %19 = sdiv i32 %18, 10 store i32 %19, ptr %2, align 4 %20 = load i32, ptr %2, align 4 %21 = sdiv i32 %20, 10 %22 = icmp ne i32 %21, 0 br i1 %22, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %23 23: ; preds = %._crit_edge, %10 %24 = load i32, ptr %2, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %24) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8hy88wbe.c' source_filename = "/tmp/tmp8hy88wbe.c" target datalayout = "e-m:e-p270: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 [19 x i8] c"HERE: %s %i %s %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @callback(ptr noundef %0, ptr noundef %1, i16 noundef zeroext %2, i32 noundef %3, ptr noundef %4, i16 noundef zeroext %5, ptr noundef %6, i64 noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i16, align 2 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i16, align 2 %16 = alloca ptr, align 8 %17 = alloca i64, align 8 store ptr %0, ptr %10, align 8 store ptr %1, ptr %11, align 8 store i16 %2, ptr %12, align 2 store i32 %3, ptr %13, align 4 store ptr %4, ptr %14, align 8 store i16 %5, ptr %15, align 2 store ptr %6, ptr %16, align 8 store i64 %7, ptr %17, align 8 %18 = load i32, ptr @stderr, align 4 %19 = load ptr, ptr %11, align 8 %20 = load i32, ptr %13, align 4 %21 = load ptr, ptr %14, align 8 %22 = load ptr, ptr %16, align 8 %23 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef %19, i32 noundef %20, ptr noundef %21, ptr noundef %22) %24 = load ptr, ptr %10, align 8 %25 = load ptr, ptr %11, align 8 %26 = load i16, ptr %12, align 2 %27 = load i32, ptr %13, align 4 %28 = load ptr, ptr %14, align 8 %29 = load i16, ptr %15, align 2 %30 = load ptr, ptr %16, align 8 %31 = load i64, ptr %17, align 8 %32 = call i32 @QueueMessage(ptr noundef %24, ptr noundef %25, i16 noundef zeroext %26, i32 noundef %27, ptr noundef %28, i16 noundef zeroext %29, ptr noundef %30, i64 noundef %31) %33 = load i32, ptr %9, align 4 ret i32 %33 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @QueueMessage(ptr noundef, ptr noundef, i16 noundef zeroext, i32 noundef, ptr noundef, i16 noundef zeroext, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8hy88wbe.c" target datalayout = "e-m:e-p270: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 [19 x i8] c"HERE: %s %i %s %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @callback(ptr noundef %0, ptr noundef %1, i16 noundef zeroext %2, i32 noundef %3, ptr noundef %4, i16 noundef zeroext %5, ptr noundef %6, i64 noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i16, align 2 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i16, align 2 %16 = alloca ptr, align 8 %17 = alloca i64, align 8 store ptr %0, ptr %10, align 8 store ptr %1, ptr %11, align 8 store i16 %2, ptr %12, align 2 store i32 %3, ptr %13, align 4 store ptr %4, ptr %14, align 8 store i16 %5, ptr %15, align 2 store ptr %6, ptr %16, align 8 store i64 %7, ptr %17, align 8 %18 = load i32, ptr @stderr, align 4 %19 = load ptr, ptr %11, align 8 %20 = load i32, ptr %13, align 4 %21 = load ptr, ptr %14, align 8 %22 = load ptr, ptr %16, align 8 %23 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef %19, i32 noundef %20, ptr noundef %21, ptr noundef %22) %24 = load ptr, ptr %10, align 8 %25 = load ptr, ptr %11, align 8 %26 = load i16, ptr %12, align 2 %27 = load i32, ptr %13, align 4 %28 = load ptr, ptr %14, align 8 %29 = load i16, ptr %15, align 2 %30 = load ptr, ptr %16, align 8 %31 = load i64, ptr %17, align 8 %32 = call i32 @QueueMessage(ptr noundef %24, ptr noundef %25, i16 noundef zeroext %26, i32 noundef %27, ptr noundef %28, i16 noundef zeroext %29, ptr noundef %30, i64 noundef %31) %33 = load i32, ptr %9, align 4 ret i32 %33 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @QueueMessage(ptr noundef, ptr noundef, i16 noundef zeroext, i32 noundef, ptr noundef, i16 noundef zeroext, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyzes6025.c' source_filename = "/tmp/tmpyzes6025.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Hello arguments!\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"argv[%d]: %s\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) %8 = load i32, ptr %4, align 4 %9 = icmp sgt i32 %8, 0 br i1 %9, label %10, label %27 10: ; preds = %2 store i32 0, ptr %6, align 4 br label %11 11: ; preds = %23, %10 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %26 15: ; preds = %11 %16 = load i32, ptr %6, align 4 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16, ptr noundef %21) br label %23 23: ; preds = %15 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %6, align 4 br label %11, !llvm.loop !6 26: ; preds = %11 br label %27 27: ; preds = %26, %2 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyzes6025.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Hello arguments!\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"argv[%d]: %s\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) %8 = load i32, ptr %4, align 4 %9 = icmp sgt i32 %8, 0 br i1 %9, label %10, label %29 10: ; preds = %2 store i32 0, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %28 .lr.ph: ; preds = %10 br label %14 14: ; preds = %.lr.ph, %22 %15 = load i32, ptr %6, align 4 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15, ptr noundef %20) br label %22 22: ; preds = %14 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %6, align 4 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %10 br label %29 29: ; preds = %28, %2 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp32ck5g9y.c' source_filename = "/tmp/tmp32ck5g9y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chown(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @syscall(i32 noundef 38, ptr noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @syscall(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/tmp32ck5g9y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chown(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @syscall(i32 noundef 38, ptr noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @syscall(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/tmpiqlf6psj.c' source_filename = "/tmp/tmpiqlf6psj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @umask(i32 noundef 2) %3 = icmp eq i32 %2, 2 %4 = xor i1 %3, true %5 = zext i1 %4 to i32 ret i32 %5 } declare i32 @umask(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiqlf6psj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @umask(i32 noundef 2) %3 = icmp eq i32 %2, 2 %4 = xor i1 %3, true %5 = zext i1 %4 to i32 ret i32 %5 } declare i32 @umask(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz5mk6zn9.c' source_filename = "/tmp/tmpz5mk6zn9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello eyu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz5mk6zn9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello eyu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplx_obrty.c' source_filename = "/tmp/tmplx_obrty.c" target datalayout = "e-m:e-p270: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.termios = type { i32 } @CBAUD = dso_local global i32 0, align 4 @CBAUDEX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cfgetospeed(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %5 = load i32, ptr %4, align 4 %6 = load i32, ptr @CBAUD, align 4 %7 = load i32, ptr @CBAUDEX, align 4 %8 = or i32 %6, %7 %9 = and i32 %5, %8 ret i32 %9 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplx_obrty.c" target datalayout = "e-m:e-p270: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.termios = type { i32 } @CBAUD = dso_local global i32 0, align 4 @CBAUDEX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cfgetospeed(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %5 = load i32, ptr %4, align 4 %6 = load i32, ptr @CBAUD, align 4 %7 = load i32, ptr @CBAUDEX, align 4 %8 = or i32 %6, %7 %9 = and i32 %5, %8 ret i32 %9 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp36809vcq.c' source_filename = "/tmp/tmp36809vcq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @squareRoot(float noundef %0, float noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 store float %0, ptr %3, align 4 store float %1, ptr %4, align 4 store float 1.000000e+00, ptr %5, align 4 br label %6 6: ; preds = %15, %2 %7 = load float, ptr %5, align 4 %8 = load float, ptr %5, align 4 %9 = load float, ptr %3, align 4 %10 = fneg float %9 %11 = call float @llvm.fmuladd.f32(float %7, float %8, float %10) %12 = call float @absoluteValue(float noundef %11) %13 = load float, ptr %4, align 4 %14 = fcmp oge float %12, %13 br i1 %14, label %15, label %24 15: ; preds = %6 %16 = load float, ptr %3, align 4 %17 = load float, ptr %5, align 4 %18 = fdiv float %16, %17 %19 = load float, ptr %5, align 4 %20 = fadd float %18, %19 %21 = fpext float %20 to double %22 = fdiv double %21, 2.000000e+00 %23 = fptrunc double %22 to float store float %23, ptr %5, align 4 br label %6, !llvm.loop !6 24: ; preds = %6 %25 = load float, ptr %5, align 4 ret float %25 } declare float @absoluteValue(float 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp36809vcq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @squareRoot(float noundef %0, float noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 store float %0, ptr %3, align 4 store float %1, ptr %4, align 4 store float 1.000000e+00, ptr %5, align 4 %6 = load float, ptr %5, align 4 %7 = load float, ptr %5, align 4 %8 = load float, ptr %3, align 4 %9 = fneg float %8 %10 = call float @llvm.fmuladd.f32(float %6, float %7, float %9) %11 = call float @absoluteValue(float noundef %10) %12 = load float, ptr %4, align 4 %13 = fcmp oge float %11, %12 br i1 %13, label %.lr.ph, label %31 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %14 %15 = load float, ptr %3, align 4 %16 = load float, ptr %5, align 4 %17 = fdiv float %15, %16 %18 = load float, ptr %5, align 4 %19 = fadd float %17, %18 %20 = fpext float %19 to double %21 = fdiv double %20, 2.000000e+00 %22 = fptrunc double %21 to float store float %22, ptr %5, align 4 %23 = load float, ptr %5, align 4 %24 = load float, ptr %5, align 4 %25 = load float, ptr %3, align 4 %26 = fneg float %25 %27 = call float @llvm.fmuladd.f32(float %23, float %24, float %26) %28 = call float @absoluteValue(float noundef %27) %29 = load float, ptr %4, align 4 %30 = fcmp oge float %28, %29 br i1 %30, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %31 31: ; preds = %._crit_edge, %2 %32 = load float, ptr %5, align 4 ret float %32 } declare float @absoluteValue(float 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp2cfw842u.c' source_filename = "/tmp/tmp2cfw842u.c" target datalayout = "e-m:e-p270: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 ptr @av_malloc(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr null, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr @INT_MAX, align 4 %7 = sub nsw i32 %6, 16 %8 = icmp ugt i32 %5, %7 br i1 %8, label %9, label %10 9: ; preds = %1 store ptr null, ptr %2, align 8 br label %14 10: ; preds = %1 %11 = load i32, ptr %3, align 4 %12 = call ptr @malloc(i32 noundef %11) store ptr %12, ptr %4, align 8 %13 = load ptr, ptr %4, align 8 store ptr %13, ptr %2, align 8 br label %14 14: ; preds = %10, %9 %15 = load ptr, ptr %2, align 8 ret ptr %15 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2cfw842u.c" target datalayout = "e-m:e-p270: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 ptr @av_malloc(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr null, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr @INT_MAX, align 4 %7 = sub nsw i32 %6, 16 %8 = icmp ugt i32 %5, %7 br i1 %8, label %9, label %10 9: ; preds = %1 store ptr null, ptr %2, align 8 br label %14 10: ; preds = %1 %11 = load i32, ptr %3, align 4 %12 = call ptr @malloc(i32 noundef %11) store ptr %12, ptr %4, align 8 %13 = load ptr, ptr %4, align 8 store ptr %13, ptr %2, align 8 br label %14 14: ; preds = %10, %9 %15 = load ptr, ptr %2, align 8 ret ptr %15 } declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphi66r0p4.c' source_filename = "/tmp/tmphi66r0p4.c" target datalayout = "e-m:e-p270: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/tmphi66r0p4.c" target datalayout = "e-m:e-p270: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/tmp8n3wu8sh.c' source_filename = "/tmp/tmp8n3wu8sh.c" target datalayout = "e-m:e-p270: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/tmp8n3wu8sh.c" target datalayout = "e-m:e-p270: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/tmpubqgsdp9.c' source_filename = "/tmp/tmpubqgsdp9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @remote_fetch_list(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @remote_fetch_list_aux(ptr noundef %5, ptr noundef %6, i32 noundef 0) ret i32 %7 } declare i32 @remote_fetch_list_aux(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/tmpubqgsdp9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @remote_fetch_list(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @remote_fetch_list_aux(ptr noundef %5, ptr noundef %6, i32 noundef 0) ret i32 %7 } declare i32 @remote_fetch_list_aux(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/tmpnfxu_1pe.c' source_filename = "/tmp/tmpnfxu_1pe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @application_first_relative_source_directory.first_relative_source_directory = internal global [128 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @application_first_relative_source_directory(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i8, align 1 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @application_relative_source_directory(ptr noundef %5) store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call signext i8 @timlib_get_delimiter(ptr noundef %7) store i8 %8, ptr %4, align 1 %9 = icmp ne i8 %8, 0 br i1 %9, label %11, label %10 10: ; preds = %1 store i8 58, ptr %4, align 1 br label %11 11: ; preds = %10, %1 %12 = load i8, ptr %4, align 1 %13 = load ptr, ptr %3, align 8 %14 = call i32 @piece(ptr noundef @application_first_relative_source_directory.first_relative_source_directory, i8 noundef signext %12, ptr noundef %13, i32 noundef 0) ret ptr @application_first_relative_source_directory.first_relative_source_directory } declare ptr @application_relative_source_directory(ptr noundef) #1 declare signext i8 @timlib_get_delimiter(ptr noundef) #1 declare i32 @piece(ptr noundef, i8 noundef signext, 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/tmpnfxu_1pe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @application_first_relative_source_directory.first_relative_source_directory = internal global [128 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @application_first_relative_source_directory(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i8, align 1 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @application_relative_source_directory(ptr noundef %5) store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call signext i8 @timlib_get_delimiter(ptr noundef %7) store i8 %8, ptr %4, align 1 %9 = icmp ne i8 %8, 0 br i1 %9, label %11, label %10 10: ; preds = %1 store i8 58, ptr %4, align 1 br label %11 11: ; preds = %10, %1 %12 = load i8, ptr %4, align 1 %13 = load ptr, ptr %3, align 8 %14 = call i32 @piece(ptr noundef @application_first_relative_source_directory.first_relative_source_directory, i8 noundef signext %12, ptr noundef %13, i32 noundef 0) ret ptr @application_first_relative_source_directory.first_relative_source_directory } declare ptr @application_relative_source_directory(ptr noundef) #1 declare signext i8 @timlib_get_delimiter(ptr noundef) #1 declare i32 @piece(ptr noundef, i8 noundef signext, 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/tmpbnv5g7jc.c' source_filename = "/tmp/tmpbnv5g7jc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mb_find_zero_run_len(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = add nsw i32 %7, 1 %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = call i32 @mb_find_next_zero_bit(ptr noundef %9, i32 noundef %10, i32 noundef %11) %13 = sub nsw i32 %8, %12 ret i32 %13 } declare i32 @mb_find_next_zero_bit(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/tmpbnv5g7jc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mb_find_zero_run_len(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = add nsw i32 %7, 1 %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = call i32 @mb_find_next_zero_bit(ptr noundef %9, i32 noundef %10, i32 noundef %11) %13 = sub nsw i32 %8, %12 ret i32 %13 } declare i32 @mb_find_next_zero_bit(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/tmp27qrwhhk.c' source_filename = "/tmp/tmp27qrwhhk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [54 x i8] c"Get up Stand up, Stand up for your rights, Bob Marley\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"BCD\00", align 1 @.str.2 = private unnamed_addr constant [103 x i8] c"Find the first occurence of: '%s'\0A within the string: \22%s\22\0A The result is: '%s'\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 store ptr @.str.1, ptr %3, align 8 %5 = load ptr, ptr %2, align 8 %6 = load ptr, ptr %3, align 8 %7 = call ptr @find_occurence(ptr noundef %5, ptr noundef %6) store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = load ptr, ptr %2, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i32 @printf(ptr noundef @.str.2, ptr noundef %8, ptr noundef %9, ptr noundef %10) %12 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %12 } declare ptr @find_occurence(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp27qrwhhk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [54 x i8] c"Get up Stand up, Stand up for your rights, Bob Marley\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"BCD\00", align 1 @.str.2 = private unnamed_addr constant [103 x i8] c"Find the first occurence of: '%s'\0A within the string: \22%s\22\0A The result is: '%s'\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 store ptr @.str.1, ptr %3, align 8 %5 = load ptr, ptr %2, align 8 %6 = load ptr, ptr %3, align 8 %7 = call ptr @find_occurence(ptr noundef %5, ptr noundef %6) store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = load ptr, ptr %2, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i32 @printf(ptr noundef @.str.2, ptr noundef %8, ptr noundef %9, ptr noundef %10) %12 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %12 } declare ptr @find_occurence(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyurr0c90.c' source_filename = "/tmp/tmpyurr0c90.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"Usage: %s <database file> \0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Can't open database: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [307 x i8] c"WITH RECURSIVE reached(destination_airport_ID) AS(select destination_airport_ID from routes where source_airport_ID = 49 UNION select r.destination_airport_ID from reached re, routes r where re.destination_airport_ID = r.source_airport_ID) select source_airport_ID from routes except select * from reached;\00", align 1 @SQLITE_OK = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [24 x i8] c"Preparation failed: %s\0A\00", align 1 @SQLITE_ROW = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [4 x i8] c"%s|\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %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 = icmp ne i32 %11, 2 br i1 %12, label %13, label %19 13: ; preds = %2 %14 = load i32, ptr @stderr, align 4 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 0 %17 = load ptr, ptr %16, align 8 %18 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %17) store i32 1, ptr %3, align 4 br label %77 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call i32 @sqlite3_open(ptr noundef %22, ptr noundef %6) store i32 %23, ptr %8, align 4 %24 = load i32, ptr %8, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %33 26: ; preds = %19 %27 = load i32, ptr @stderr, align 4 %28 = load ptr, ptr %6, align 8 %29 = call ptr @sqlite3_errmsg(ptr noundef %28) %30 = call i32 @fprintf(i32 noundef %27, ptr noundef @.str.1, ptr noundef %29) %31 = load ptr, ptr %6, align 8 %32 = call i32 @sqlite3_close(ptr noundef %31) store i32 1, ptr %3, align 4 br label %77 33: ; preds = %19 store ptr @.str.2, ptr %9, align 8 %34 = load ptr, ptr %6, align 8 %35 = load ptr, ptr %9, align 8 %36 = call i32 @sqlite3_prepare_v2(ptr noundef %34, ptr noundef %35, i32 noundef -1, ptr noundef %7, i32 noundef 0) store i32 %36, ptr %8, align 4 %37 = load i32, ptr %8, align 4 %38 = load i32, ptr @SQLITE_OK, align 4 %39 = icmp ne i32 %37, %38 br i1 %39, label %40, label %47 40: ; preds = %33 %41 = load i32, ptr @stderr, align 4 %42 = load ptr, ptr %6, align 8 %43 = call ptr @sqlite3_errmsg(ptr noundef %42) %44 = call i32 @fprintf(i32 noundef %41, ptr noundef @.str.3, ptr noundef %43) %45 = load ptr, ptr %6, align 8 %46 = call i32 @sqlite3_close(ptr noundef %45) store i32 1, ptr %3, align 4 br label %77 47: ; preds = %33 br label %48 48: ; preds = %68, %47 %49 = load ptr, ptr %7, align 8 %50 = call i32 @sqlite3_step(ptr noundef %49) store i32 %50, ptr %8, align 4 %51 = load i32, ptr @SQLITE_ROW, align 4 %52 = icmp eq i32 %50, %51 br i1 %52, label %53, label %74 53: ; preds = %48 store i32 0, ptr %10, align 4 br label %54 54: ; preds = %65, %53 %55 = load i32, ptr %10, align 4 %56 = load ptr, ptr %7, align 8 %57 = call i32 @sqlite3_column_count(ptr noundef %56) %58 = sub nsw i32 %57, 1 %59 = icmp slt i32 %55, %58 br i1 %59, label %60, label %68 60: ; preds = %54 %61 = load ptr, ptr %7, align 8 %62 = load i32, ptr %10, align 4 %63 = call ptr @sqlite3_column_text(ptr noundef %61, i32 noundef %62) %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %63) br label %65 65: ; preds = %60 %66 = load i32, ptr %10, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %10, align 4 br label %54, !llvm.loop !6 68: ; preds = %54 %69 = load ptr, ptr %7, align 8 %70 = load i32, ptr %10, align 4 %71 = call ptr @sqlite3_column_text(ptr noundef %69, i32 noundef %70) %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %71) %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %48, !llvm.loop !8 74: ; preds = %48 %75 = load ptr, ptr %7, align 8 %76 = call i32 @sqlite3_finalize(ptr noundef %75) br label %77 77: ; preds = %74, %40, %26, %13 %78 = load i32, ptr %3, align 4 ret i32 %78 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sqlite3_open(ptr noundef, ptr noundef) #1 declare ptr @sqlite3_errmsg(ptr noundef) #1 declare i32 @sqlite3_close(ptr noundef) #1 declare i32 @sqlite3_prepare_v2(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @sqlite3_step(ptr noundef) #1 declare i32 @sqlite3_column_count(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @sqlite3_column_text(ptr noundef, i32 noundef) #1 declare i32 @sqlite3_finalize(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpyurr0c90.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"Usage: %s <database file> \0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Can't open database: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [307 x i8] c"WITH RECURSIVE reached(destination_airport_ID) AS(select destination_airport_ID from routes where source_airport_ID = 49 UNION select r.destination_airport_ID from reached re, routes r where re.destination_airport_ID = r.source_airport_ID) select source_airport_ID from routes except select * from reached;\00", align 1 @SQLITE_OK = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [24 x i8] c"Preparation failed: %s\0A\00", align 1 @SQLITE_ROW = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [4 x i8] c"%s|\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %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 = icmp ne i32 %11, 2 br i1 %12, label %13, label %19 13: ; preds = %2 %14 = load i32, ptr @stderr, align 4 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 0 %17 = load ptr, ptr %16, align 8 %18 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %17) store i32 1, ptr %3, align 4 br label %84 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call i32 @sqlite3_open(ptr noundef %22, ptr noundef %6) store i32 %23, ptr %8, align 4 %24 = load i32, ptr %8, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %33 26: ; preds = %19 %27 = load i32, ptr @stderr, align 4 %28 = load ptr, ptr %6, align 8 %29 = call ptr @sqlite3_errmsg(ptr noundef %28) %30 = call i32 @fprintf(i32 noundef %27, ptr noundef @.str.1, ptr noundef %29) %31 = load ptr, ptr %6, align 8 %32 = call i32 @sqlite3_close(ptr noundef %31) store i32 1, ptr %3, align 4 br label %84 33: ; preds = %19 store ptr @.str.2, ptr %9, align 8 %34 = load ptr, ptr %6, align 8 %35 = load ptr, ptr %9, align 8 %36 = call i32 @sqlite3_prepare_v2(ptr noundef %34, ptr noundef %35, i32 noundef -1, ptr noundef %7, i32 noundef 0) store i32 %36, ptr %8, align 4 %37 = load i32, ptr %8, align 4 %38 = load i32, ptr @SQLITE_OK, align 4 %39 = icmp ne i32 %37, %38 br i1 %39, label %40, label %47 40: ; preds = %33 %41 = load i32, ptr @stderr, align 4 %42 = load ptr, ptr %6, align 8 %43 = call ptr @sqlite3_errmsg(ptr noundef %42) %44 = call i32 @fprintf(i32 noundef %41, ptr noundef @.str.3, ptr noundef %43) %45 = load ptr, ptr %6, align 8 %46 = call i32 @sqlite3_close(ptr noundef %45) store i32 1, ptr %3, align 4 br label %84 47: ; preds = %33 %48 = load ptr, ptr %7, align 8 %49 = call i32 @sqlite3_step(ptr noundef %48) store i32 %49, ptr %8, align 4 %50 = load i32, ptr @SQLITE_ROW, align 4 %51 = icmp eq i32 %49, %50 br i1 %51, label %.lr.ph2, label %81 .lr.ph2: ; preds = %47 br label %52 52: ; preds = %.lr.ph2, %71 store i32 0, ptr %10, align 4 %53 = load i32, ptr %10, align 4 %54 = load ptr, ptr %7, align 8 %55 = call i32 @sqlite3_column_count(ptr noundef %54) %56 = sub nsw i32 %55, 1 %57 = icmp slt i32 %53, %56 br i1 %57, label %.lr.ph, label %71 .lr.ph: ; preds = %52 br label %58 58: ; preds = %.lr.ph, %63 %59 = load ptr, ptr %7, align 8 %60 = load i32, ptr %10, align 4 %61 = call ptr @sqlite3_column_text(ptr noundef %59, i32 noundef %60) %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %61) br label %63 63: ; preds = %58 %64 = load i32, ptr %10, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %10, align 4 %66 = load i32, ptr %10, align 4 %67 = load ptr, ptr %7, align 8 %68 = call i32 @sqlite3_column_count(ptr noundef %67) %69 = sub nsw i32 %68, 1 %70 = icmp slt i32 %66, %69 br i1 %70, label %58, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %63 br label %71 71: ; preds = %._crit_edge, %52 %72 = load ptr, ptr %7, align 8 %73 = load i32, ptr %10, align 4 %74 = call ptr @sqlite3_column_text(ptr noundef %72, i32 noundef %73) %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %74) %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %77 = load ptr, ptr %7, align 8 %78 = call i32 @sqlite3_step(ptr noundef %77) store i32 %78, ptr %8, align 4 %79 = load i32, ptr @SQLITE_ROW, align 4 %80 = icmp eq i32 %78, %79 br i1 %80, label %52, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %71 br label %81 81: ; preds = %._crit_edge3, %47 %82 = load ptr, ptr %7, align 8 %83 = call i32 @sqlite3_finalize(ptr noundef %82) br label %84 84: ; preds = %81, %40, %26, %13 %85 = load i32, ptr %3, align 4 ret i32 %85 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sqlite3_open(ptr noundef, ptr noundef) #1 declare ptr @sqlite3_errmsg(ptr noundef) #1 declare i32 @sqlite3_close(ptr noundef) #1 declare i32 @sqlite3_prepare_v2(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @sqlite3_step(ptr noundef) #1 declare i32 @sqlite3_column_count(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @sqlite3_column_text(ptr noundef, i32 noundef) #1 declare i32 @sqlite3_finalize(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpcd6_ks2k.c' source_filename = "/tmp/tmpcd6_ks2k.c" target datalayout = "e-m:e-p270: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/tmpcd6_ks2k.c" target datalayout = "e-m:e-p270: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/tmpnfzlqvea.c' source_filename = "/tmp/tmpnfzlqvea.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i16], align 2 %7 = alloca [1 x i16], align 2 %8 = alloca i32, align 4 %9 = alloca i16, align 2 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %37 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10) %30 = trunc i64 %29 to i16 store i16 %30, ptr %9, align 2 %31 = load i16, ptr %9, align 2 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %33 store i16 %31, ptr %34, align 2 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 br label %19, !llvm.loop !6 37: ; preds = %19 %38 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %42 = load i16, ptr %41, align 2 %43 = zext i16 %42 to i32 %44 = icmp eq i32 %43, 18919 br i1 %44, label %45, label %47 45: ; preds = %37 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 47: ; preds = %37 br label %48 48: ; preds = %47, %45 store i32 0, ptr %10, align 4 br label %49 49: ; preds = %52, %48 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %50, 1 br i1 %51, label %52, label %61 52: ; preds = %49 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54 %56 = load i16, ptr %55, align 2 %57 = zext i16 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57) %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 br label %49, !llvm.loop !8 61: ; preds = %49 %62 = load i32, ptr %3, align 4 ret i32 %62 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnfzlqvea.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i16], align 2 %7 = alloca [1 x i16], align 2 %8 = alloca i32, align 4 %9 = alloca i16, align 2 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %.lr.ph, label %38 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10) %29 = trunc i64 %28 to i16 store i16 %29, ptr %9, align 2 %30 = load i16, ptr %9, align 2 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %32 store i16 %30, ptr %33, align 2 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 1 br i1 %37, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %38 38: ; preds = %._crit_edge, %18 %39 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0 %40 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40) %42 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %43 = load i16, ptr %42, align 2 %44 = zext i16 %43 to i32 %45 = icmp eq i32 %44, 18919 br i1 %45, label %46, label %48 46: ; preds = %38 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %49 48: ; preds = %38 br label %49 49: ; preds = %48, %46 store i32 0, ptr %10, align 4 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %50, 1 br i1 %51, label %.lr.ph2, label %63 .lr.ph2: ; preds = %49 br label %52 52: ; preds = %.lr.ph2, %52 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54 %56 = load i16, ptr %55, align 2 %57 = zext i16 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57) %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 %61 = load i32, ptr %10, align 4 %62 = icmp slt i32 %61, 1 br i1 %62, label %52, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %52 br label %63 63: ; preds = %._crit_edge3, %49 %64 = load i32, ptr %3, align 4 ret i32 %64 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpe1_ong3e.c' source_filename = "/tmp/tmpe1_ong3e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @T() #0 { %1 = call i32 (...) @F() %2 = call i32 (...) @S() ret void } declare i32 @F(...) #1 declare i32 @S(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe1_ong3e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @T() #0 { %1 = call i32 (...) @F() %2 = call i32 (...) @S() ret void } declare i32 @F(...) #1 declare i32 @S(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp841jngig.c' source_filename = "/tmp/tmp841jngig.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dunif(state, %s, %s, %s, %d)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @dunif_toenvstring_density(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %12 = load ptr, ptr %6, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %17 14: ; preds = %4 %15 = load i32, ptr %7, align 4 %16 = icmp uge i32 %15, 2 br label %17 17: ; preds = %14, %4 %18 = phi i1 [ false, %4 ], [ %16, %14 ] %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) %21 = load ptr, ptr %6, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 0 %23 = load ptr, ptr %22, align 8 store ptr %23, ptr %9, align 8 %24 = load ptr, ptr %6, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 store ptr %26, ptr %10, align 8 %27 = load ptr, ptr %5, align 8 %28 = call i32 @strlen(ptr noundef %27) %29 = load ptr, ptr %9, align 8 %30 = call i32 @strlen(ptr noundef %29) %31 = add nsw i32 %28, %30 %32 = load ptr, ptr %10, align 8 %33 = call i32 @strlen(ptr noundef %32) %34 = add nsw i32 %31, %33 %35 = add nsw i32 %34, 40 %36 = sext i32 %35 to i64 %37 = mul i64 1, %36 %38 = trunc i64 %37 to i32 %39 = call ptr @malloc(i32 noundef %38) store ptr %39, ptr %11, align 8 %40 = load ptr, ptr %11, align 8 %41 = load ptr, ptr %5, align 8 %42 = load ptr, ptr %9, align 8 %43 = load ptr, ptr %10, align 8 %44 = load i32, ptr %8, align 4 %45 = call i32 @sprintf(ptr noundef %40, ptr noundef @.str, ptr noundef %41, ptr noundef %42, ptr noundef %43, i32 noundef %44) %46 = load ptr, ptr %11, align 8 ret ptr %46 } declare i32 @assert(i32 noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp841jngig.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dunif(state, %s, %s, %s, %d)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @dunif_toenvstring_density(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %12 = load ptr, ptr %6, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %17 14: ; preds = %4 %15 = load i32, ptr %7, align 4 %16 = icmp uge i32 %15, 2 br label %17 17: ; preds = %14, %4 %18 = phi i1 [ false, %4 ], [ %16, %14 ] %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) %21 = load ptr, ptr %6, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 0 %23 = load ptr, ptr %22, align 8 store ptr %23, ptr %9, align 8 %24 = load ptr, ptr %6, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 store ptr %26, ptr %10, align 8 %27 = load ptr, ptr %5, align 8 %28 = call i32 @strlen(ptr noundef %27) %29 = load ptr, ptr %9, align 8 %30 = call i32 @strlen(ptr noundef %29) %31 = add nsw i32 %28, %30 %32 = load ptr, ptr %10, align 8 %33 = call i32 @strlen(ptr noundef %32) %34 = add nsw i32 %31, %33 %35 = add nsw i32 %34, 40 %36 = sext i32 %35 to i64 %37 = mul i64 1, %36 %38 = trunc i64 %37 to i32 %39 = call ptr @malloc(i32 noundef %38) store ptr %39, ptr %11, align 8 %40 = load ptr, ptr %11, align 8 %41 = load ptr, ptr %5, align 8 %42 = load ptr, ptr %9, align 8 %43 = load ptr, ptr %10, align 8 %44 = load i32, ptr %8, align 4 %45 = call i32 @sprintf(ptr noundef %40, ptr noundef @.str, ptr noundef %41, ptr noundef %42, ptr noundef %43, i32 noundef %44) %46 = load ptr, ptr %11, align 8 ret ptr %46 } declare i32 @assert(i32 noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpymrtjuuz.c' source_filename = "/tmp/tmpymrtjuuz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [48 x i8] c"Enter quantity you plan on feeding the baby %c \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [63 x i8] c"\0A\0A\09Based on many, many calculations made by this awesome pc.. \00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"based on this diet..\00", align 1 @.str.4 = private unnamed_addr constant [47 x i8] c"\09the baby will produce %.2f waste materials!\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @printf(ptr noundef @.str, float noundef 1.600000e+01) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) br label %6 6: ; preds = %10, %0 %7 = call signext i8 (...) @getchar() %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 10 br i1 %9, label %10, label %11 10: ; preds = %6 br label %6, !llvm.loop !6 11: ; preds = %6 %12 = load float, ptr %2, align 4 %13 = call float @baby(float noundef %12) store float %13, ptr %3, align 4 %14 = call i32 @puts(ptr noundef @.str.2) %15 = call i32 @puts(ptr noundef @.str.3) %16 = load float, ptr %3, align 4 %17 = call i32 @printf(ptr noundef @.str.4, float noundef %16) %18 = call signext i8 (...) @getchar() ret i32 0 } declare i32 @printf(ptr noundef, float noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare signext i8 @getchar(...) #1 declare float @baby(float noundef) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpymrtjuuz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [48 x i8] c"Enter quantity you plan on feeding the baby %c \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [63 x i8] c"\0A\0A\09Based on many, many calculations made by this awesome pc.. \00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"based on this diet..\00", align 1 @.str.4 = private unnamed_addr constant [47 x i8] c"\09the baby will produce %.2f waste materials!\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @printf(ptr noundef @.str, float noundef 1.600000e+01) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) br label %6 6: ; preds = %6, %0 %7 = call signext i8 (...) @getchar() %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 10 br i1 %9, label %6, label %10, !llvm.loop !6 10: ; preds = %6 %11 = load float, ptr %2, align 4 %12 = call float @baby(float noundef %11) store float %12, ptr %3, align 4 %13 = call i32 @puts(ptr noundef @.str.2) %14 = call i32 @puts(ptr noundef @.str.3) %15 = load float, ptr %3, align 4 %16 = call i32 @printf(ptr noundef @.str.4, float noundef %15) %17 = call signext i8 (...) @getchar() ret i32 0 } declare i32 @printf(ptr noundef, float noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare signext i8 @getchar(...) #1 declare float @baby(float noundef) #1 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpuy15e8ca.c' source_filename = "/tmp/tmpuy15e8ca.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i64 0, ptr %2, align 8 store i64 0, ptr %3, align 8 store i32 1, ptr %4, align 4 br label %5 5: ; preds = %18, %0 %6 = load i32, ptr %4, align 4 %7 = icmp sle i32 %6, 100 br i1 %7, label %8, label %21 8: ; preds = %5 %9 = load i32, ptr %4, align 4 %10 = sext i32 %9 to i64 %11 = call i64 @pow(i64 noundef %10, i32 noundef 2) %12 = load i64, ptr %2, align 8 %13 = add nsw i64 %12, %11 store i64 %13, ptr %2, align 8 %14 = load i32, ptr %4, align 4 %15 = sext i32 %14 to i64 %16 = load i64, ptr %3, align 8 %17 = add nsw i64 %16, %15 store i64 %17, ptr %3, align 8 br label %18 18: ; preds = %8 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %4, align 4 br label %5, !llvm.loop !6 21: ; preds = %5 %22 = load i64, ptr %3, align 8 %23 = call i64 @pow(i64 noundef %22, i32 noundef 2) store i64 %23, ptr %3, align 8 %24 = load i64, ptr %3, align 8 %25 = load i64, ptr %2, align 8 %26 = sub nsw i64 %24, %25 %27 = call i32 @printf(ptr noundef @.str, i64 noundef %26) %28 = load i32, ptr %1, align 4 ret i32 %28 } declare i64 @pow(i64 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuy15e8ca.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i64 0, ptr %2, align 8 store i64 0, ptr %3, align 8 store i32 1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp sle i32 %5, 100 br i1 %6, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %17 %8 = load i32, ptr %4, align 4 %9 = sext i32 %8 to i64 %10 = call i64 @pow(i64 noundef %9, i32 noundef 2) %11 = load i64, ptr %2, align 8 %12 = add nsw i64 %11, %10 store i64 %12, ptr %2, align 8 %13 = load i32, ptr %4, align 4 %14 = sext i32 %13 to i64 %15 = load i64, ptr %3, align 8 %16 = add nsw i64 %15, %14 store i64 %16, ptr %3, align 8 br label %17 17: ; preds = %7 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp sle i32 %20, 100 br i1 %21, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %0 %23 = load i64, ptr %3, align 8 %24 = call i64 @pow(i64 noundef %23, i32 noundef 2) store i64 %24, ptr %3, align 8 %25 = load i64, ptr %3, align 8 %26 = load i64, ptr %2, align 8 %27 = sub nsw i64 %25, %26 %28 = call i32 @printf(ptr noundef @.str, i64 noundef %27) %29 = load i32, ptr %1, align 4 ret i32 %29 } declare i64 @pow(i64 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpalwb1y1n.c' source_filename = "/tmp/tmpalwb1y1n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"Sum: %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 2, ptr %6, align 8 store i64 0, ptr %7, align 8 store i64 0, ptr %8, align 8 store i64 2, ptr %9, align 8 br label %10 10: ; preds = %13, %2 %11 = load i64, ptr %9, align 8 %12 = icmp slt i64 %11, 4000000 br i1 %12, label %13, label %23 13: ; preds = %10 %14 = load i64, ptr %9, align 8 %15 = load i64, ptr %8, align 8 %16 = add nsw i64 %15, %14 store i64 %16, ptr %8, align 8 %17 = load i64, ptr %6, align 8 %18 = mul nsw i64 4, %17 %19 = load i64, ptr %7, align 8 %20 = add nsw i64 %18, %19 store i64 %20, ptr %9, align 8 %21 = load i64, ptr %6, align 8 store i64 %21, ptr %7, align 8 %22 = load i64, ptr %9, align 8 store i64 %22, ptr %6, align 8 br label %10, !llvm.loop !6 23: ; preds = %10 %24 = load i64, ptr %8, align 8 %25 = call i32 @printf(ptr noundef @.str, i64 noundef %24) ret i32 0 } declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpalwb1y1n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"Sum: %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 2, ptr %6, align 8 store i64 0, ptr %7, align 8 store i64 0, ptr %8, align 8 store i64 2, ptr %9, align 8 %10 = load i64, ptr %9, align 8 %11 = icmp slt i64 %10, 4000000 br i1 %11, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %12 %13 = load i64, ptr %9, align 8 %14 = load i64, ptr %8, align 8 %15 = add nsw i64 %14, %13 store i64 %15, ptr %8, align 8 %16 = load i64, ptr %6, align 8 %17 = mul nsw i64 4, %16 %18 = load i64, ptr %7, align 8 %19 = add nsw i64 %17, %18 store i64 %19, ptr %9, align 8 %20 = load i64, ptr %6, align 8 store i64 %20, ptr %7, align 8 %21 = load i64, ptr %9, align 8 store i64 %21, ptr %6, align 8 %22 = load i64, ptr %9, align 8 %23 = icmp slt i64 %22, 4000000 br i1 %23, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %24 24: ; preds = %._crit_edge, %2 %25 = load i64, ptr %8, align 8 %26 = call i32 @printf(ptr noundef @.str, i64 noundef %25) ret i32 0 } declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpszyapyiu.c' source_filename = "/tmp/tmpszyapyiu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = 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 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %7 = load i32, ptr %2, align 4 %8 = srem i32 %7, 2 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %0 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %2, align 4 br label %13 13: ; preds = %10, %0 %14 = load i32, ptr %3, align 4 %15 = srem i32 %14, 2 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %22 17: ; preds = %13 %18 = load i32, ptr %3, align 4 %19 = load i32, ptr %3, align 4 %20 = srem i32 %19, 2 %21 = sub nsw i32 %18, %20 store i32 %21, ptr %3, align 4 br label %22 22: ; preds = %17, %13 %23 = load i32, ptr %2, align 4 store i32 %23, ptr %5, align 4 br label %24 24: ; preds = %36, %22 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr %3, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %39 28: ; preds = %24 %29 = load i32, ptr %5, align 4 %30 = load i32, ptr %5, align 4 %31 = mul nsw i32 %29, %30 %32 = load i32, ptr %5, align 4 %33 = mul nsw i32 %31, %32 store i32 %33, ptr %4, align 4 %34 = load i32, ptr %4, align 4 %35 = call i32 @printf(ptr noundef @.str.1, i32 noundef %34) br label %36 36: ; preds = %28 %37 = load i32, ptr %5, align 4 %38 = add nsw i32 %37, 2 store i32 %38, ptr %5, align 4 br label %24, !llvm.loop !6 39: ; preds = %24 %40 = load i32, ptr %3, align 4 %41 = load i32, ptr %3, align 4 %42 = mul nsw i32 %40, %41 %43 = load i32, ptr %3, align 4 %44 = mul nsw i32 %43, %42 store i32 %44, ptr %3, align 4 %45 = load i32, ptr %3, align 4 %46 = call i32 @printf(ptr noundef @.str.2, i32 noundef %45) ret i32 0 } declare i32 @scanf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpszyapyiu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = 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 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %7 = load i32, ptr %2, align 4 %8 = srem i32 %7, 2 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %0 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %2, align 4 br label %13 13: ; preds = %10, %0 %14 = load i32, ptr %3, align 4 %15 = srem i32 %14, 2 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %22 17: ; preds = %13 %18 = load i32, ptr %3, align 4 %19 = load i32, ptr %3, align 4 %20 = srem i32 %19, 2 %21 = sub nsw i32 %18, %20 store i32 %21, ptr %3, align 4 br label %22 22: ; preds = %17, %13 %23 = load i32, ptr %2, align 4 store i32 %23, ptr %5, align 4 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %3, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %.lr.ph, label %41 .lr.ph: ; preds = %22 br label %27 27: ; preds = %.lr.ph, %35 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %5, align 4 %30 = mul nsw i32 %28, %29 %31 = load i32, ptr %5, align 4 %32 = mul nsw i32 %30, %31 store i32 %32, ptr %4, align 4 %33 = load i32, ptr %4, align 4 %34 = call i32 @printf(ptr noundef @.str.1, i32 noundef %33) br label %35 35: ; preds = %27 %36 = load i32, ptr %5, align 4 %37 = add nsw i32 %36, 2 store i32 %37, ptr %5, align 4 %38 = load i32, ptr %5, align 4 %39 = load i32, ptr %3, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %41 41: ; preds = %._crit_edge, %22 %42 = load i32, ptr %3, align 4 %43 = load i32, ptr %3, align 4 %44 = mul nsw i32 %42, %43 %45 = load i32, ptr %3, align 4 %46 = mul nsw i32 %45, %44 store i32 %46, ptr %3, align 4 %47 = load i32, ptr %3, align 4 %48 = call i32 @printf(ptr noundef @.str.2, i32 noundef %47) ret i32 0 } declare i32 @scanf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmppdsghc20.c' source_filename = "/tmp/tmppdsghc20.c" target datalayout = "e-m:e-p270: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 [45 x i8] c"%s:%d ERROR Failed to allocate nbytes=%llu.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @c_memory_alloc_zero(i64 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load i64, ptr %4, align 8 %9 = icmp sgt i64 %8, 0 %10 = zext i1 %9 to i32 %11 = call i32 @assert(i32 noundef %10) %12 = load i64, ptr %4, align 8 %13 = call ptr @calloc(i64 noundef %12, i32 noundef 1) store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %7, align 8 %15 = icmp eq ptr null, %14 br i1 %15, label %16, label %22 16: ; preds = %3 %17 = load i32, ptr @stderr, align 4 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %6, align 4 %20 = load i64, ptr %4, align 8 %21 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str, ptr noundef %18, i32 noundef %19, i64 noundef %20) br label %22 22: ; preds = %16, %3 %23 = load ptr, ptr %7, align 8 ret ptr %23 } declare i32 @assert(i32 noundef) #1 declare ptr @calloc(i64 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, 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/tmppdsghc20.c" target datalayout = "e-m:e-p270: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 [45 x i8] c"%s:%d ERROR Failed to allocate nbytes=%llu.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @c_memory_alloc_zero(i64 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %8 = load i64, ptr %4, align 8 %9 = icmp sgt i64 %8, 0 %10 = zext i1 %9 to i32 %11 = call i32 @assert(i32 noundef %10) %12 = load i64, ptr %4, align 8 %13 = call ptr @calloc(i64 noundef %12, i32 noundef 1) store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %7, align 8 %15 = icmp eq ptr null, %14 br i1 %15, label %16, label %22 16: ; preds = %3 %17 = load i32, ptr @stderr, align 4 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %6, align 4 %20 = load i64, ptr %4, align 8 %21 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str, ptr noundef %18, i32 noundef %19, i64 noundef %20) br label %22 22: ; preds = %16, %3 %23 = load ptr, ptr %7, align 8 ret ptr %23 } declare i32 @assert(i32 noundef) #1 declare ptr @calloc(i64 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, 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/tmp942w093y.c' source_filename = "/tmp/tmp942w093y.c" target datalayout = "e-m:e-p270: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.string = private unnamed_addr constant [36 x i8] c"Lorem ipsum bli blabb und so weiter\00", align 16 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @__const.main.string2 = private unnamed_addr constant [25 x i8] c"Let's see if this works!\00", align 16 @__const.main.numbers = private unnamed_addr constant [10 x i32] [i32 4, i32 16, i32 256, i32 2, i32 64, i32 128, i32 2, i32 32, i32 512, i32 8], align 16 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [36 x i8], align 16 %4 = alloca [25 x i8], align 16 %5 = alloca [10 x i32], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.string, i64 36, i1 false) %8 = getelementptr inbounds [36 x i8], ptr %3, i64 0, i64 0 %9 = call i32 @string_length(ptr noundef %8) store i32 %9, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %10) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.string2, i64 25, i1 false) %12 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 0 %13 = call i32 @string_length_short(ptr noundef %12) store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.numbers, i64 40, i1 false) store i32 10, ptr %6, align 4 %16 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 0 %17 = load i32, ptr %6, align 4 %18 = call i32 @sum_array(ptr noundef %16, i32 noundef %17) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %18) %20 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 0 %21 = load i32, ptr %6, align 4 %22 = call i32 @max_value(ptr noundef %20, i32 noundef %21) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %22) %24 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 0 %25 = load i32, ptr %6, align 4 %26 = call i32 @sort_array(ptr noundef %24, i32 noundef %25) store i32 0, ptr %7, align 4 br label %27 27: ; preds = %37, %0 %28 = load i32, ptr %7, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %40 31: ; preds = %27 %32 = load i32, ptr %7, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %33 %35 = load i32, ptr %34, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %35) br label %37 37: ; preds = %31 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 br label %27, !llvm.loop !6 40: ; preds = %27 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %42 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %42 } ; 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 @string_length(ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @string_length_short(ptr noundef) #2 declare i32 @sum_array(ptr noundef, i32 noundef) #2 declare i32 @max_value(ptr noundef, i32 noundef) #2 declare i32 @sort_array(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: 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp942w093y.c" target datalayout = "e-m:e-p270: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.string = private unnamed_addr constant [36 x i8] c"Lorem ipsum bli blabb und so weiter\00", align 16 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @__const.main.string2 = private unnamed_addr constant [25 x i8] c"Let's see if this works!\00", align 16 @__const.main.numbers = private unnamed_addr constant [10 x i32] [i32 4, i32 16, i32 256, i32 2, i32 64, i32 128, i32 2, i32 32, i32 512, i32 8], align 16 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [36 x i8], align 16 %4 = alloca [25 x i8], align 16 %5 = alloca [10 x i32], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.string, i64 36, i1 false) %8 = getelementptr inbounds [36 x i8], ptr %3, i64 0, i64 0 %9 = call i32 @string_length(ptr noundef %8) store i32 %9, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %10) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.string2, i64 25, i1 false) %12 = getelementptr inbounds [25 x i8], ptr %4, i64 0, i64 0 %13 = call i32 @string_length_short(ptr noundef %12) store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.numbers, i64 40, i1 false) store i32 10, ptr %6, align 4 %16 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 0 %17 = load i32, ptr %6, align 4 %18 = call i32 @sum_array(ptr noundef %16, i32 noundef %17) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %18) %20 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 0 %21 = load i32, ptr %6, align 4 %22 = call i32 @max_value(ptr noundef %20, i32 noundef %21) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %22) %24 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 0 %25 = load i32, ptr %6, align 4 %26 = call i32 @sort_array(ptr noundef %24, i32 noundef %25) store i32 0, ptr %7, align 4 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %.lr.ph, label %42 .lr.ph: ; preds = %0 br label %30 30: ; preds = %.lr.ph, %36 %31 = load i32, ptr %7, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [10 x i32], ptr %5, i64 0, i64 %32 %34 = load i32, ptr %33, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %34) br label %36 36: ; preds = %30 %37 = load i32, ptr %7, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %7, align 4 %39 = load i32, ptr %7, align 4 %40 = load i32, ptr %6, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %42 42: ; preds = %._crit_edge, %0 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %44 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %44 } ; 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 @string_length(ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @string_length_short(ptr noundef) #2 declare i32 @sum_array(ptr noundef, i32 noundef) #2 declare i32 @max_value(ptr noundef, i32 noundef) #2 declare i32 @sort_array(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: 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"}
; ModuleID = '/tmp/tmp6euwk5cu.c' source_filename = "/tmp/tmp6euwk5cu.c" target datalayout = "e-m:e-p270: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/tmp6euwk5cu.c" target datalayout = "e-m:e-p270: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/tmphh5av9td.c' source_filename = "/tmp/tmphh5av9td.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vsubr_arithimm_65281_int8_t(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %21, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %24 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i64, ptr %11, i64 %13 %15 = load i64, ptr %14, align 8 %16 = sub nsw i64 65281, %15 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i64, ptr %17, i64 %19 store i64 %16, ptr %20, align 8 br label %21 21: ; preds = %10 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 br label %6, !llvm.loop !6 24: ; preds = %6 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphh5av9td.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vsubr_arithimm_65281_int8_t(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %26 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %20 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i64, ptr %10, i64 %12 %14 = load i64, ptr %13, align 8 %15 = sub nsw i64 65281, %14 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i64, ptr %16, i64 %18 store i64 %15, ptr %19, align 8 br label %20 20: ; preds = %9 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %26 26: ; preds = %._crit_edge, %2 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp16dg8cpc.c' source_filename = "/tmp/tmp16dg8cpc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_sbrk.current_heap_end = internal global ptr null, align 8 @__heap_start__ = external global i8, align 1 @__heap_end__ = external global i8, align 1 @ENOMEM = 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 @_sbrk(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 %5 = load ptr, ptr @_sbrk.current_heap_end, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %8 7: ; preds = %1 store ptr @__heap_start__, ptr @_sbrk.current_heap_end, align 8 br label %8 8: ; preds = %7, %1 %9 = load ptr, ptr @_sbrk.current_heap_end, align 8 store ptr %9, ptr %4, align 8 %10 = load i32, ptr %3, align 4 %11 = add nsw i32 %10, 3 %12 = and i32 %11, -4 store i32 %12, ptr %3, align 4 %13 = load ptr, ptr @_sbrk.current_heap_end, align 8 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = icmp ugt ptr %16, @__heap_end__ br i1 %17, label %18, label %20 18: ; preds = %8 %19 = load i32, ptr @ENOMEM, align 4 store i32 %19, ptr @errno, align 4 store i32 -1, ptr %2, align 4 br label %27 20: ; preds = %8 %21 = load i32, ptr %3, align 4 %22 = load ptr, ptr @_sbrk.current_heap_end, align 8 %23 = sext i32 %21 to i64 %24 = getelementptr inbounds i8, ptr %22, i64 %23 store ptr %24, ptr @_sbrk.current_heap_end, align 8 %25 = load ptr, ptr %4, align 8 %26 = ptrtoint ptr %25 to i32 store i32 %26, ptr %2, align 4 br label %27 27: ; preds = %20, %18 %28 = load i32, ptr %2, align 4 ret i32 %28 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp16dg8cpc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_sbrk.current_heap_end = internal global ptr null, align 8 @__heap_start__ = external global i8, align 1 @__heap_end__ = external global i8, align 1 @ENOMEM = 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 @_sbrk(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 %5 = load ptr, ptr @_sbrk.current_heap_end, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %8 7: ; preds = %1 store ptr @__heap_start__, ptr @_sbrk.current_heap_end, align 8 br label %8 8: ; preds = %7, %1 %9 = load ptr, ptr @_sbrk.current_heap_end, align 8 store ptr %9, ptr %4, align 8 %10 = load i32, ptr %3, align 4 %11 = add nsw i32 %10, 3 %12 = and i32 %11, -4 store i32 %12, ptr %3, align 4 %13 = load ptr, ptr @_sbrk.current_heap_end, align 8 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = icmp ugt ptr %16, @__heap_end__ br i1 %17, label %18, label %20 18: ; preds = %8 %19 = load i32, ptr @ENOMEM, align 4 store i32 %19, ptr @errno, align 4 store i32 -1, ptr %2, align 4 br label %27 20: ; preds = %8 %21 = load i32, ptr %3, align 4 %22 = load ptr, ptr @_sbrk.current_heap_end, align 8 %23 = sext i32 %21 to i64 %24 = getelementptr inbounds i8, ptr %22, i64 %23 store ptr %24, ptr @_sbrk.current_heap_end, align 8 %25 = load ptr, ptr %4, align 8 %26 = ptrtoint ptr %25 to i32 store i32 %26, ptr %2, align 4 br label %27 27: ; preds = %20, %18 %28 = load i32, ptr %2, align 4 ret i32 %28 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwbf8fjsl.c' source_filename = "/tmp/tmpwbf8fjsl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Plugin filling fdset for blocking\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @plugin_fillFDSET(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @debug(i32 noundef 3, ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 @active_plugin_fillFDSET(ptr noundef %4) ret i32 0 } declare i32 @debug(i32 noundef, ptr noundef) #1 declare i32 @active_plugin_fillFDSET(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwbf8fjsl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Plugin filling fdset for blocking\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @plugin_fillFDSET(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @debug(i32 noundef 3, ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 @active_plugin_fillFDSET(ptr noundef %4) ret i32 0 } declare i32 @debug(i32 noundef, ptr noundef) #1 declare i32 @active_plugin_fillFDSET(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptlzlrttf.c' source_filename = "/tmp/tmptlzlrttf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"PRIVMSG d8Gbot\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"quit\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"ping\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"PRIVMSG %s :pong\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"snprintf\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c":op \00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"op\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"MODE #%s +o %s\0A\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c"test\00", align 1 @.str.9 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.10 = private unnamed_addr constant [7 x i8] c"PING :\00", align 1 @.str.11 = private unnamed_addr constant [10 x i8] c"PONG :%s\0A\00", align 1 @.str.12 = private unnamed_addr constant [3 x i8] c" :\00", align 1 @.str.13 = private unnamed_addr constant [8 x i8] c"QUIT :\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main_loop(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [8192 x i8], align 16 store i32 %0, ptr %2, align 4 br label %6 6: ; preds = %102, %1 %7 = load i32, ptr %2, align 4 %8 = call ptr @next_message(i32 noundef %7) store ptr %8, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %15 11: ; preds = %6 %12 = load i32, ptr %2, align 4 %13 = call i32 @disconnect(i32 noundef %12) %14 = call i32 (...) @abort() #3 unreachable 15: ; preds = %6 %16 = load ptr, ptr %3, align 8 %17 = call ptr @strstr(ptr noundef %16, ptr noundef @.str) %18 = icmp ne ptr %17, null br i1 %18, label %19, label %83 19: ; preds = %15 %20 = load ptr, ptr %3, align 8 %21 = call ptr @strstr(ptr noundef %20, ptr noundef @.str.1) %22 = icmp ne ptr %21, null br i1 %22, label %23, label %33 23: ; preds = %19 %24 = load ptr, ptr %3, align 8 %25 = call ptr @strstr(ptr noundef %24, ptr noundef @.str.1) %26 = getelementptr inbounds i8, ptr %25, i64 5 %27 = call i32 @authorized(ptr noundef %26) %28 = icmp eq i32 %27, 1 br i1 %28, label %29, label %32 29: ; preds = %23 %30 = load ptr, ptr %3, align 8 %31 = call i32 @free(ptr noundef %30) store ptr null, ptr %3, align 8 br label %105 32: ; preds = %23 br label %82 33: ; preds = %19 %34 = load ptr, ptr %3, align 8 %35 = call ptr @strstr(ptr noundef %34, ptr noundef @.str.2) %36 = icmp ne ptr %35, null br i1 %36, label %37, label %53 37: ; preds = %33 %38 = load ptr, ptr %3, align 8 %39 = call ptr @get_nick(ptr noundef %38) store ptr %39, ptr %4, align 8 %40 = getelementptr inbounds [8192 x i8], ptr %5, i64 0, i64 0 %41 = load ptr, ptr %4, align 8 %42 = call i64 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %40, i32 noundef 8192, ptr noundef @.str.3, ptr noundef %41) %43 = icmp slt i64 %42, 0 br i1 %43, label %44, label %47 44: ; preds = %37 %45 = call i32 @perror(ptr noundef @.str.4) %46 = call i32 (...) @abort() #3 unreachable 47: ; preds = %37 %48 = load i32, ptr %2, align 4 %49 = getelementptr inbounds [8192 x i8], ptr %5, i64 0, i64 0 %50 = call i32 @send_raw_msg(i32 noundef %48, ptr noundef %49) %51 = load ptr, ptr %4, align 8 %52 = call i32 @free(ptr noundef %51) br label %81 53: ; preds = %33 %54 = load ptr, ptr %3, align 8 %55 = call ptr @strstr(ptr noundef %54, ptr noundef @.str.5) %56 = icmp ne ptr %55, null br i1 %56, label %57, label %80 57: ; preds = %53 %58 = load ptr, ptr %3, align 8 %59 = call ptr @strstr(ptr noundef %58, ptr noundef @.str.6) %60 = getelementptr inbounds i8, ptr %59, i64 3 %61 = call i32 @authorized(ptr noundef %60) %62 = icmp ne i32 %61, 0 br i1 %62, label %63, label %79 63: ; preds = %57 %64 = load ptr, ptr %3, align 8 %65 = call ptr @get_nick(ptr noundef %64) store ptr %65, ptr %4, align 8 %66 = getelementptr inbounds [8192 x i8], ptr %5, i64 0, i64 0 %67 = load ptr, ptr %4, align 8 %68 = call i64 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %66, i32 noundef 8192, ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef %67) %69 = icmp slt i64 %68, 0 br i1 %69, label %70, label %73 70: ; preds = %63 %71 = call i32 @perror(ptr noundef @.str.9) %72 = call i32 (...) @abort() #3 unreachable 73: ; preds = %63 %74 = load i32, ptr %2, align 4 %75 = getelementptr inbounds [8192 x i8], ptr %5, i64 0, i64 0 %76 = call i32 @send_raw_msg(i32 noundef %74, ptr noundef %75) %77 = load ptr, ptr %4, align 8 %78 = call i32 @free(ptr noundef %77) br label %79 79: ; preds = %73, %57 br label %80 80: ; preds = %79, %53 br label %81 81: ; preds = %80, %47 br label %82 82: ; preds = %81, %32 br label %102 83: ; preds = %15 %84 = load ptr, ptr %3, align 8 %85 = call ptr @strstr(ptr noundef %84, ptr noundef @.str.10) %86 = icmp ne ptr %85, null br i1 %86, label %87, label %101 87: ; preds = %83 %88 = getelementptr inbounds [8192 x i8], ptr %5, i64 0, i64 0 %89 = load ptr, ptr %3, align 8 %90 = call ptr @strstr(ptr noundef %89, ptr noundef @.str.12) %91 = getelementptr inbounds i8, ptr %90, i64 2 %92 = call i64 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %88, i32 noundef 8192, ptr noundef @.str.11, ptr noundef %91) %93 = icmp slt i64 %92, 0 br i1 %93, label %94, label %97 94: ; preds = %87 %95 = call i32 @perror(ptr noundef @.str.4) %96 = call i32 (...) @abort() #3 unreachable 97: ; preds = %87 %98 = load i32, ptr %2, align 4 %99 = getelementptr inbounds [8192 x i8], ptr %5, i64 0, i64 0 %100 = call i32 @send_raw_msg(i32 noundef %98, ptr noundef %99) br label %101 101: ; preds = %97, %83 br label %102 102: ; preds = %101, %82 %103 = load ptr, ptr %3, align 8 %104 = call i32 @free(ptr noundef %103) store ptr null, ptr %3, align 8 br label %6 105: ; preds = %29 %106 = load i32, ptr %2, align 4 %107 = call i32 @send_raw_msg(i32 noundef %106, ptr noundef @.str.13) ret void } declare ptr @next_message(i32 noundef) #1 declare i32 @disconnect(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @authorized(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare ptr @get_nick(ptr noundef) #1 declare i64 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @perror(ptr noundef) #1 declare i32 @send_raw_msg(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptlzlrttf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"PRIVMSG d8Gbot\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"quit\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"ping\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"PRIVMSG %s :pong\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"snprintf\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c":op \00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"op\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"MODE #%s +o %s\0A\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c"test\00", align 1 @.str.9 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.10 = private unnamed_addr constant [7 x i8] c"PING :\00", align 1 @.str.11 = private unnamed_addr constant [10 x i8] c"PONG :%s\0A\00", align 1 @.str.12 = private unnamed_addr constant [3 x i8] c" :\00", align 1 @.str.13 = private unnamed_addr constant [8 x i8] c"QUIT :\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main_loop(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [8192 x i8], align 16 store i32 %0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = call ptr @next_message(i32 noundef %6) store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %.lr.ph .lr.ph: ; preds = %1 br label %14 ._crit_edge: ; preds = %101 br label %10 10: ; preds = %._crit_edge, %1 %11 = load i32, ptr %2, align 4 %12 = call i32 @disconnect(i32 noundef %11) %13 = call i32 (...) @abort() #3 unreachable 14: ; preds = %.lr.ph, %101 %15 = load ptr, ptr %3, align 8 %16 = call ptr @strstr(ptr noundef %15, ptr noundef @.str) %17 = icmp ne ptr %16, null br i1 %17, label %18, label %82 18: ; preds = %14 %19 = load ptr, ptr %3, align 8 %20 = call ptr @strstr(ptr noundef %19, ptr noundef @.str.1) %21 = icmp ne ptr %20, null br i1 %21, label %22, label %32 22: ; preds = %18 %23 = load ptr, ptr %3, align 8 %24 = call ptr @strstr(ptr noundef %23, ptr noundef @.str.1) %25 = getelementptr inbounds i8, ptr %24, i64 5 %26 = call i32 @authorized(ptr noundef %25) %27 = icmp eq i32 %26, 1 br i1 %27, label %28, label %31 28: ; preds = %22 %29 = load ptr, ptr %3, align 8 %30 = call i32 @free(ptr noundef %29) store ptr null, ptr %3, align 8 br label %108 31: ; preds = %22 br label %81 32: ; preds = %18 %33 = load ptr, ptr %3, align 8 %34 = call ptr @strstr(ptr noundef %33, ptr noundef @.str.2) %35 = icmp ne ptr %34, null br i1 %35, label %36, label %52 36: ; preds = %32 %37 = load ptr, ptr %3, align 8 %38 = call ptr @get_nick(ptr noundef %37) store ptr %38, ptr %4, align 8 %39 = getelementptr inbounds [8192 x i8], ptr %5, i64 0, i64 0 %40 = load ptr, ptr %4, align 8 %41 = call i64 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %39, i32 noundef 8192, ptr noundef @.str.3, ptr noundef %40) %42 = icmp slt i64 %41, 0 br i1 %42, label %43, label %46 43: ; preds = %36 %44 = call i32 @perror(ptr noundef @.str.4) %45 = call i32 (...) @abort() #3 unreachable 46: ; preds = %36 %47 = load i32, ptr %2, align 4 %48 = getelementptr inbounds [8192 x i8], ptr %5, i64 0, i64 0 %49 = call i32 @send_raw_msg(i32 noundef %47, ptr noundef %48) %50 = load ptr, ptr %4, align 8 %51 = call i32 @free(ptr noundef %50) br label %80 52: ; preds = %32 %53 = load ptr, ptr %3, align 8 %54 = call ptr @strstr(ptr noundef %53, ptr noundef @.str.5) %55 = icmp ne ptr %54, null br i1 %55, label %56, label %79 56: ; preds = %52 %57 = load ptr, ptr %3, align 8 %58 = call ptr @strstr(ptr noundef %57, ptr noundef @.str.6) %59 = getelementptr inbounds i8, ptr %58, i64 3 %60 = call i32 @authorized(ptr noundef %59) %61 = icmp ne i32 %60, 0 br i1 %61, label %62, label %78 62: ; preds = %56 %63 = load ptr, ptr %3, align 8 %64 = call ptr @get_nick(ptr noundef %63) store ptr %64, ptr %4, align 8 %65 = getelementptr inbounds [8192 x i8], ptr %5, i64 0, i64 0 %66 = load ptr, ptr %4, align 8 %67 = call i64 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %65, i32 noundef 8192, ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef %66) %68 = icmp slt i64 %67, 0 br i1 %68, label %69, label %72 69: ; preds = %62 %70 = call i32 @perror(ptr noundef @.str.9) %71 = call i32 (...) @abort() #3 unreachable 72: ; preds = %62 %73 = load i32, ptr %2, align 4 %74 = getelementptr inbounds [8192 x i8], ptr %5, i64 0, i64 0 %75 = call i32 @send_raw_msg(i32 noundef %73, ptr noundef %74) %76 = load ptr, ptr %4, align 8 %77 = call i32 @free(ptr noundef %76) br label %78 78: ; preds = %72, %56 br label %79 79: ; preds = %78, %52 br label %80 80: ; preds = %79, %46 br label %81 81: ; preds = %80, %31 br label %101 82: ; preds = %14 %83 = load ptr, ptr %3, align 8 %84 = call ptr @strstr(ptr noundef %83, ptr noundef @.str.10) %85 = icmp ne ptr %84, null br i1 %85, label %86, label %100 86: ; preds = %82 %87 = getelementptr inbounds [8192 x i8], ptr %5, i64 0, i64 0 %88 = load ptr, ptr %3, align 8 %89 = call ptr @strstr(ptr noundef %88, ptr noundef @.str.12) %90 = getelementptr inbounds i8, ptr %89, i64 2 %91 = call i64 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %87, i32 noundef 8192, ptr noundef @.str.11, ptr noundef %90) %92 = icmp slt i64 %91, 0 br i1 %92, label %93, label %96 93: ; preds = %86 %94 = call i32 @perror(ptr noundef @.str.4) %95 = call i32 (...) @abort() #3 unreachable 96: ; preds = %86 %97 = load i32, ptr %2, align 4 %98 = getelementptr inbounds [8192 x i8], ptr %5, i64 0, i64 0 %99 = call i32 @send_raw_msg(i32 noundef %97, ptr noundef %98) br label %100 100: ; preds = %96, %82 br label %101 101: ; preds = %100, %81 %102 = load ptr, ptr %3, align 8 %103 = call i32 @free(ptr noundef %102) store ptr null, ptr %3, align 8 %104 = load i32, ptr %2, align 4 %105 = call ptr @next_message(i32 noundef %104) store ptr %105, ptr %3, align 8 %106 = load ptr, ptr %3, align 8 %107 = icmp eq ptr %106, null br i1 %107, label %._crit_edge, label %14 108: ; preds = %28 %109 = load i32, ptr %2, align 4 %110 = call i32 @send_raw_msg(i32 noundef %109, ptr noundef @.str.13) ret void } declare ptr @next_message(i32 noundef) #1 declare i32 @disconnect(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @authorized(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare ptr @get_nick(ptr noundef) #1 declare i64 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) #1 declare i32 @perror(ptr noundef) #1 declare i32 @send_raw_msg(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcv23at4y.c' source_filename = "/tmp/tmpcv23at4y.c" target datalayout = "e-m:e-p270: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 [24 x i8] c"Out of memory (bignum)\0A\00", align 1 @ENOMEM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [26 x i8] c"Bignum operations failed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rsa_get_params(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %23 = call ptr (...) @BN_CTX_new() store ptr %23, ptr %21, align 8 store i32 0, ptr %22, align 4 %24 = call ptr (...) @BN_new() store ptr %24, ptr %12, align 8 %25 = call ptr (...) @BN_new() store ptr %25, ptr %13, align 8 %26 = call ptr (...) @BN_new() store ptr %26, ptr %14, align 8 %27 = call ptr (...) @BN_new() store ptr %27, ptr %17, align 8 %28 = call ptr (...) @BN_new() store ptr %28, ptr %18, align 8 %29 = call ptr (...) @BN_new() store ptr %29, ptr %19, align 8 %30 = call ptr (...) @BN_new() store ptr %30, ptr %15, align 8 %31 = call ptr (...) @BN_new() store ptr %31, ptr %16, align 8 %32 = load ptr, ptr %12, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %34, label %55 34: ; preds = %5 %35 = load ptr, ptr %13, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %37, label %55 37: ; preds = %34 %38 = load ptr, ptr %14, align 8 %39 = icmp ne ptr %38, null br i1 %39, label %40, label %55 40: ; preds = %37 %41 = load ptr, ptr %17, align 8 %42 = icmp ne ptr %41, null br i1 %42, label %43, label %55 43: ; preds = %40 %44 = load ptr, ptr %18, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %46, label %55 46: ; preds = %43 %47 = load ptr, ptr %19, align 8 %48 = icmp ne ptr %47, null br i1 %48, label %49, label %55 49: ; preds = %46 %50 = load ptr, ptr %15, align 8 %51 = icmp ne ptr %50, null br i1 %51, label %52, label %55 52: ; preds = %49 %53 = load ptr, ptr %16, align 8 %54 = icmp ne ptr %53, null br i1 %54, label %60, label %55 55: ; preds = %52, %49, %46, %43, %40, %37, %34, %5 %56 = load i32, ptr @stderr, align 4 %57 = call i32 @fprintf(i32 noundef %56, ptr noundef @.str) %58 = load i32, ptr @ENOMEM, align 4 %59 = sub nsw i32 0, %58 store i32 %59, ptr %6, align 4 br label %171 60: ; preds = %52 %61 = load ptr, ptr %7, align 8 %62 = load ptr, ptr %8, align 8 %63 = call i64 @rsa_get_exponent(ptr noundef %61, ptr noundef %62) %64 = icmp ne i64 0, %63 br i1 %64, label %65, label %66 65: ; preds = %60 store i32 -1, ptr %22, align 4 br label %66 66: ; preds = %65, %60 %67 = load ptr, ptr %7, align 8 %68 = call i32 @RSA_get0_key(ptr noundef %67, ptr noundef %20, ptr noundef null, ptr noundef null) %69 = load ptr, ptr %16, align 8 %70 = load ptr, ptr %20, align 8 %71 = call i32 @BN_copy(ptr noundef %69, ptr noundef %70) %72 = icmp ne i32 %71, 0 br i1 %72, label %73, label %85 73: ; preds = %66 %74 = load ptr, ptr %12, align 8 %75 = call i32 @BN_set_word(ptr noundef %74, i64 noundef 1) %76 = icmp ne i32 %75, 0 br i1 %76, label %77, label %85 77: ; preds = %73 %78 = load ptr, ptr %13, align 8 %79 = call i32 @BN_set_word(ptr noundef %78, i64 noundef 2) %80 = icmp ne i32 %79, 0 br i1 %80, label %81, label %85 81: ; preds = %77 %82 = load ptr, ptr %14, align 8 %83 = call i32 @BN_set_word(ptr noundef %82, i64 noundef 32) %84 = icmp ne i32 %83, 0 br i1 %84, label %86, label %85 85: ; preds = %81, %77, %73, %66 store i32 -1, ptr %22, align 4 br label %86 86: ; preds = %85, %81 %87 = load ptr, ptr %15, align 8 %88 = load ptr, ptr %13, align 8 %89 = load ptr, ptr %14, align 8 %90 = load ptr, ptr %21, align 8 %91 = call i32 @BN_exp(ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90) %92 = icmp ne i32 %91, 0 br i1 %92, label %94, label %93 93: ; preds = %86 store i32 -1, ptr %22, align 4 br label %94 94: ; preds = %93, %86 %95 = load ptr, ptr %19, align 8 %96 = load ptr, ptr %16, align 8 %97 = load ptr, ptr %15, align 8 %98 = load ptr, ptr %21, align 8 %99 = call i32 @BN_mod_inverse(ptr noundef %95, ptr noundef %96, ptr noundef %97, ptr noundef %98) %100 = icmp ne i32 %99, 0 br i1 %100, label %101, label %107 101: ; preds = %94 %102 = load ptr, ptr %19, align 8 %103 = load ptr, ptr %15, align 8 %104 = load ptr, ptr %19, align 8 %105 = call i32 @BN_sub(ptr noundef %102, ptr noundef %103, ptr noundef %104) %106 = icmp ne i32 %105, 0 br i1 %106, label %108, label %107 107: ; preds = %101, %94 store i32 -1, ptr %22, align 4 br label %108 108: ; preds = %107, %101 %109 = load ptr, ptr %19, align 8 %110 = call i32 @BN_get_word(ptr noundef %109) %111 = load ptr, ptr %9, align 8 store i32 %110, ptr %111, align 4 %112 = load ptr, ptr %19, align 8 %113 = load ptr, ptr %16, align 8 %114 = call i64 @BN_num_bits(ptr noundef %113) %115 = call i32 @BN_set_word(ptr noundef %112, i64 noundef %114) %116 = icmp ne i32 %115, 0 br i1 %116, label %117, label %124 117: ; preds = %108 %118 = load ptr, ptr %17, align 8 %119 = load ptr, ptr %13, align 8 %120 = load ptr, ptr %19, align 8 %121 = load ptr, ptr %21, align 8 %122 = call i32 @BN_exp(ptr noundef %118, ptr noundef %119, ptr noundef %120, ptr noundef %121) %123 = icmp ne i32 %122, 0 br i1 %123, label %125, label %124 124: ; preds = %117, %108 store i32 -1, ptr %22, align 4 br label %125 125: ; preds = %124, %117 %126 = load ptr, ptr %18, align 8 %127 = load ptr, ptr %17, align 8 %128 = call i32 @BN_copy(ptr noundef %126, ptr noundef %127) %129 = icmp ne i32 %128, 0 br i1 %129, label %130, label %144 130: ; preds = %125 %131 = load ptr, ptr %19, align 8 %132 = load ptr, ptr %18, align 8 %133 = load ptr, ptr %17, align 8 %134 = load ptr, ptr %21, align 8 %135 = call i32 @BN_mul(ptr noundef %131, ptr noundef %132, ptr noundef %133, ptr noundef %134) %136 = icmp ne i32 %135, 0 br i1 %136, label %137, label %144 137: ; preds = %130 %138 = load ptr, ptr %18, align 8 %139 = load ptr, ptr %19, align 8 %140 = load ptr, ptr %16, align 8 %141 = load ptr, ptr %21, align 8 %142 = call i32 @BN_mod(ptr noundef %138, ptr noundef %139, ptr noundef %140, ptr noundef %141) %143 = icmp ne i32 %142, 0 br i1 %143, label %145, label %144 144: ; preds = %137, %130, %125 store i32 -1, ptr %22, align 4 br label %145 145: ; preds = %144, %137 %146 = load ptr, ptr %16, align 8 %147 = load ptr, ptr %10, align 8 store ptr %146, ptr %147, align 8 %148 = load ptr, ptr %18, align 8 %149 = load ptr, ptr %11, align 8 store ptr %148, ptr %149, align 8 %150 = load ptr, ptr %12, align 8 %151 = call i32 @BN_free(ptr noundef %150) %152 = load ptr, ptr %13, align 8 %153 = call i32 @BN_free(ptr noundef %152) %154 = load ptr, ptr %14, align 8 %155 = call i32 @BN_free(ptr noundef %154) %156 = load ptr, ptr %17, align 8 %157 = call i32 @BN_free(ptr noundef %156) %158 = load ptr, ptr %19, align 8 %159 = call i32 @BN_free(ptr noundef %158) %160 = load ptr, ptr %15, align 8 %161 = call i32 @BN_free(ptr noundef %160) %162 = load i32, ptr %22, align 4 %163 = icmp ne i32 %162, 0 br i1 %163, label %164, label %169 164: ; preds = %145 %165 = load i32, ptr @stderr, align 4 %166 = call i32 @fprintf(i32 noundef %165, ptr noundef @.str.1) %167 = load i32, ptr @ENOMEM, align 4 %168 = sub nsw i32 0, %167 store i32 %168, ptr %6, align 4 br label %171 169: ; preds = %145 %170 = load i32, ptr %22, align 4 store i32 %170, ptr %6, align 4 br label %171 171: ; preds = %169, %164, %55 %172 = load i32, ptr %6, align 4 ret i32 %172 } declare ptr @BN_CTX_new(...) #1 declare ptr @BN_new(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i64 @rsa_get_exponent(ptr noundef, ptr noundef) #1 declare i32 @RSA_get0_key(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @BN_copy(ptr noundef, ptr noundef) #1 declare i32 @BN_set_word(ptr noundef, i64 noundef) #1 declare i32 @BN_exp(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @BN_mod_inverse(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @BN_sub(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @BN_get_word(ptr noundef) #1 declare i64 @BN_num_bits(ptr noundef) #1 declare i32 @BN_mul(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @BN_mod(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @BN_free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcv23at4y.c" target datalayout = "e-m:e-p270: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 [24 x i8] c"Out of memory (bignum)\0A\00", align 1 @ENOMEM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [26 x i8] c"Bignum operations failed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rsa_get_params(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %23 = call ptr (...) @BN_CTX_new() store ptr %23, ptr %21, align 8 store i32 0, ptr %22, align 4 %24 = call ptr (...) @BN_new() store ptr %24, ptr %12, align 8 %25 = call ptr (...) @BN_new() store ptr %25, ptr %13, align 8 %26 = call ptr (...) @BN_new() store ptr %26, ptr %14, align 8 %27 = call ptr (...) @BN_new() store ptr %27, ptr %17, align 8 %28 = call ptr (...) @BN_new() store ptr %28, ptr %18, align 8 %29 = call ptr (...) @BN_new() store ptr %29, ptr %19, align 8 %30 = call ptr (...) @BN_new() store ptr %30, ptr %15, align 8 %31 = call ptr (...) @BN_new() store ptr %31, ptr %16, align 8 %32 = load ptr, ptr %12, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %34, label %55 34: ; preds = %5 %35 = load ptr, ptr %13, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %37, label %55 37: ; preds = %34 %38 = load ptr, ptr %14, align 8 %39 = icmp ne ptr %38, null br i1 %39, label %40, label %55 40: ; preds = %37 %41 = load ptr, ptr %17, align 8 %42 = icmp ne ptr %41, null br i1 %42, label %43, label %55 43: ; preds = %40 %44 = load ptr, ptr %18, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %46, label %55 46: ; preds = %43 %47 = load ptr, ptr %19, align 8 %48 = icmp ne ptr %47, null br i1 %48, label %49, label %55 49: ; preds = %46 %50 = load ptr, ptr %15, align 8 %51 = icmp ne ptr %50, null br i1 %51, label %52, label %55 52: ; preds = %49 %53 = load ptr, ptr %16, align 8 %54 = icmp ne ptr %53, null br i1 %54, label %60, label %55 55: ; preds = %52, %49, %46, %43, %40, %37, %34, %5 %56 = load i32, ptr @stderr, align 4 %57 = call i32 @fprintf(i32 noundef %56, ptr noundef @.str) %58 = load i32, ptr @ENOMEM, align 4 %59 = sub nsw i32 0, %58 store i32 %59, ptr %6, align 4 br label %171 60: ; preds = %52 %61 = load ptr, ptr %7, align 8 %62 = load ptr, ptr %8, align 8 %63 = call i64 @rsa_get_exponent(ptr noundef %61, ptr noundef %62) %64 = icmp ne i64 0, %63 br i1 %64, label %65, label %66 65: ; preds = %60 store i32 -1, ptr %22, align 4 br label %66 66: ; preds = %65, %60 %67 = load ptr, ptr %7, align 8 %68 = call i32 @RSA_get0_key(ptr noundef %67, ptr noundef %20, ptr noundef null, ptr noundef null) %69 = load ptr, ptr %16, align 8 %70 = load ptr, ptr %20, align 8 %71 = call i32 @BN_copy(ptr noundef %69, ptr noundef %70) %72 = icmp ne i32 %71, 0 br i1 %72, label %73, label %85 73: ; preds = %66 %74 = load ptr, ptr %12, align 8 %75 = call i32 @BN_set_word(ptr noundef %74, i64 noundef 1) %76 = icmp ne i32 %75, 0 br i1 %76, label %77, label %85 77: ; preds = %73 %78 = load ptr, ptr %13, align 8 %79 = call i32 @BN_set_word(ptr noundef %78, i64 noundef 2) %80 = icmp ne i32 %79, 0 br i1 %80, label %81, label %85 81: ; preds = %77 %82 = load ptr, ptr %14, align 8 %83 = call i32 @BN_set_word(ptr noundef %82, i64 noundef 32) %84 = icmp ne i32 %83, 0 br i1 %84, label %86, label %85 85: ; preds = %81, %77, %73, %66 store i32 -1, ptr %22, align 4 br label %86 86: ; preds = %85, %81 %87 = load ptr, ptr %15, align 8 %88 = load ptr, ptr %13, align 8 %89 = load ptr, ptr %14, align 8 %90 = load ptr, ptr %21, align 8 %91 = call i32 @BN_exp(ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90) %92 = icmp ne i32 %91, 0 br i1 %92, label %94, label %93 93: ; preds = %86 store i32 -1, ptr %22, align 4 br label %94 94: ; preds = %93, %86 %95 = load ptr, ptr %19, align 8 %96 = load ptr, ptr %16, align 8 %97 = load ptr, ptr %15, align 8 %98 = load ptr, ptr %21, align 8 %99 = call i32 @BN_mod_inverse(ptr noundef %95, ptr noundef %96, ptr noundef %97, ptr noundef %98) %100 = icmp ne i32 %99, 0 br i1 %100, label %101, label %107 101: ; preds = %94 %102 = load ptr, ptr %19, align 8 %103 = load ptr, ptr %15, align 8 %104 = load ptr, ptr %19, align 8 %105 = call i32 @BN_sub(ptr noundef %102, ptr noundef %103, ptr noundef %104) %106 = icmp ne i32 %105, 0 br i1 %106, label %108, label %107 107: ; preds = %101, %94 store i32 -1, ptr %22, align 4 br label %108 108: ; preds = %107, %101 %109 = load ptr, ptr %19, align 8 %110 = call i32 @BN_get_word(ptr noundef %109) %111 = load ptr, ptr %9, align 8 store i32 %110, ptr %111, align 4 %112 = load ptr, ptr %19, align 8 %113 = load ptr, ptr %16, align 8 %114 = call i64 @BN_num_bits(ptr noundef %113) %115 = call i32 @BN_set_word(ptr noundef %112, i64 noundef %114) %116 = icmp ne i32 %115, 0 br i1 %116, label %117, label %124 117: ; preds = %108 %118 = load ptr, ptr %17, align 8 %119 = load ptr, ptr %13, align 8 %120 = load ptr, ptr %19, align 8 %121 = load ptr, ptr %21, align 8 %122 = call i32 @BN_exp(ptr noundef %118, ptr noundef %119, ptr noundef %120, ptr noundef %121) %123 = icmp ne i32 %122, 0 br i1 %123, label %125, label %124 124: ; preds = %117, %108 store i32 -1, ptr %22, align 4 br label %125 125: ; preds = %124, %117 %126 = load ptr, ptr %18, align 8 %127 = load ptr, ptr %17, align 8 %128 = call i32 @BN_copy(ptr noundef %126, ptr noundef %127) %129 = icmp ne i32 %128, 0 br i1 %129, label %130, label %144 130: ; preds = %125 %131 = load ptr, ptr %19, align 8 %132 = load ptr, ptr %18, align 8 %133 = load ptr, ptr %17, align 8 %134 = load ptr, ptr %21, align 8 %135 = call i32 @BN_mul(ptr noundef %131, ptr noundef %132, ptr noundef %133, ptr noundef %134) %136 = icmp ne i32 %135, 0 br i1 %136, label %137, label %144 137: ; preds = %130 %138 = load ptr, ptr %18, align 8 %139 = load ptr, ptr %19, align 8 %140 = load ptr, ptr %16, align 8 %141 = load ptr, ptr %21, align 8 %142 = call i32 @BN_mod(ptr noundef %138, ptr noundef %139, ptr noundef %140, ptr noundef %141) %143 = icmp ne i32 %142, 0 br i1 %143, label %145, label %144 144: ; preds = %137, %130, %125 store i32 -1, ptr %22, align 4 br label %145 145: ; preds = %144, %137 %146 = load ptr, ptr %16, align 8 %147 = load ptr, ptr %10, align 8 store ptr %146, ptr %147, align 8 %148 = load ptr, ptr %18, align 8 %149 = load ptr, ptr %11, align 8 store ptr %148, ptr %149, align 8 %150 = load ptr, ptr %12, align 8 %151 = call i32 @BN_free(ptr noundef %150) %152 = load ptr, ptr %13, align 8 %153 = call i32 @BN_free(ptr noundef %152) %154 = load ptr, ptr %14, align 8 %155 = call i32 @BN_free(ptr noundef %154) %156 = load ptr, ptr %17, align 8 %157 = call i32 @BN_free(ptr noundef %156) %158 = load ptr, ptr %19, align 8 %159 = call i32 @BN_free(ptr noundef %158) %160 = load ptr, ptr %15, align 8 %161 = call i32 @BN_free(ptr noundef %160) %162 = load i32, ptr %22, align 4 %163 = icmp ne i32 %162, 0 br i1 %163, label %164, label %169 164: ; preds = %145 %165 = load i32, ptr @stderr, align 4 %166 = call i32 @fprintf(i32 noundef %165, ptr noundef @.str.1) %167 = load i32, ptr @ENOMEM, align 4 %168 = sub nsw i32 0, %167 store i32 %168, ptr %6, align 4 br label %171 169: ; preds = %145 %170 = load i32, ptr %22, align 4 store i32 %170, ptr %6, align 4 br label %171 171: ; preds = %169, %164, %55 %172 = load i32, ptr %6, align 4 ret i32 %172 } declare ptr @BN_CTX_new(...) #1 declare ptr @BN_new(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i64 @rsa_get_exponent(ptr noundef, ptr noundef) #1 declare i32 @RSA_get0_key(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @BN_copy(ptr noundef, ptr noundef) #1 declare i32 @BN_set_word(ptr noundef, i64 noundef) #1 declare i32 @BN_exp(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @BN_mod_inverse(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @BN_sub(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @BN_get_word(ptr noundef) #1 declare i64 @BN_num_bits(ptr noundef) #1 declare i32 @BN_mul(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @BN_mod(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @BN_free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdexr7b18.c' source_filename = "/tmp/tmpdexr7b18.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__DSVERIFIER_assume(i1 noundef zeroext %0) #0 { %2 = alloca i8, align 1 %3 = zext i1 %0 to i8 store i8 %3, ptr %2, align 1 %4 = load i8, ptr %2, align 1 %5 = trunc i8 %4 to i1 %6 = call i32 @__ESBMC_assume(i1 noundef zeroext %5) ret void } declare i32 @__ESBMC_assume(i1 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdexr7b18.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__DSVERIFIER_assume(i1 noundef zeroext %0) #0 { %2 = alloca i8, align 1 %3 = zext i1 %0 to i8 store i8 %3, ptr %2, align 1 %4 = load i8, ptr %2, align 1 %5 = trunc i8 %4 to i1 %6 = call i32 @__ESBMC_assume(i1 noundef zeroext %5) ret void } declare i32 @__ESBMC_assume(i1 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9f_f6_0e.c' source_filename = "/tmp/tmp9f_f6_0e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [20 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @gets(ptr noundef %6) %8 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %3, align 4 store i32 -1, ptr %4, align 4 br label %10 10: ; preds = %22, %0 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %3, align 4 %13 = sub nsw i32 %12, 1 %14 = icmp sle i32 %11, %13 br i1 %14, label %15, label %25 15: ; preds = %10 %16 = load i32, ptr %3, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20) br label %22 22: ; preds = %15 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, -1 store i32 %24, ptr %3, align 4 br label %10, !llvm.loop !6 25: ; preds = %10 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @gets(ptr 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/tmp9f_f6_0e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [20 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @gets(ptr noundef %6) %8 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %3, align 4 store i32 -1, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %3, align 4 %12 = sub nsw i32 %11, 1 %13 = icmp sle i32 %10, %12 br i1 %13, label %.lr.ph, label %28 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %21 %15 = load i32, ptr %3, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %19) br label %21 21: ; preds = %14 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, -1 store i32 %23, ptr %3, align 4 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %3, align 4 %26 = sub nsw i32 %25, 1 %27 = icmp sle i32 %24, %26 br i1 %27, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %28 28: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @gets(ptr 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/tmp1mc5r9bn.c' source_filename = "/tmp/tmp1mc5r9bn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"YO\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"=\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"= \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"+\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"+ \00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"- \00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"* \00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"/ \00", align 1 @.str.11 = private unnamed_addr constant [2 x i8] c"%\00", align 1 @.str.12 = private unnamed_addr constant [3 x i8] c"% \00", align 1 @.str.13 = private unnamed_addr constant [2 x i8] c"&\00", align 1 @.str.14 = private unnamed_addr constant [3 x i8] c"& \00", align 1 @.str.15 = private unnamed_addr constant [2 x i8] c"|\00", align 1 @.str.16 = private unnamed_addr constant [3 x i8] c"| \00", align 1 @.str.17 = private unnamed_addr constant [2 x i8] c"^\00", align 1 @.str.18 = private unnamed_addr constant [3 x i8] c"^ \00", align 1 @.str.19 = private unnamed_addr constant [2 x i8] c">\00", align 1 @.str.20 = private unnamed_addr constant [3 x i8] c"> \00", align 1 @.str.21 = private unnamed_addr constant [2 x i8] c"<\00", align 1 @.str.22 = private unnamed_addr constant [3 x i8] c"< \00", align 1 @.str.23 = private unnamed_addr constant [3 x i8] c"!=\00", align 1 @.str.24 = private unnamed_addr constant [4 x i8] c"!= \00", align 1 @.str.25 = private unnamed_addr constant [3 x i8] c"==\00", align 1 @.str.26 = private unnamed_addr constant [4 x i8] c"== \00", align 1 @.str.27 = private unnamed_addr constant [3 x i8] c">=\00", align 1 @.str.28 = private unnamed_addr constant [4 x i8] c">= \00", align 1 @.str.29 = private unnamed_addr constant [3 x i8] c"<=\00", align 1 @.str.30 = private unnamed_addr constant [4 x i8] c"<= \00", align 1 @.str.31 = private unnamed_addr constant [4 x i8] c"JMP\00", align 1 @.str.32 = private unnamed_addr constant [5 x i8] c"JMP \00", align 1 @.str.33 = private unnamed_addr constant [3 x i8] c"JZ\00", align 1 @.str.34 = private unnamed_addr constant [4 x i8] c"JZ \00", align 1 @.str.35 = private unnamed_addr constant [4 x i8] c"JNZ\00", align 1 @.str.36 = private unnamed_addr constant [5 x i8] c"JNZ \00", align 1 @.str.37 = private unnamed_addr constant [3 x i8] c"LB\00", align 1 @.str.38 = private unnamed_addr constant [4 x i8] c"LB \00", align 1 @.str.39 = private unnamed_addr constant [6 x i8] c"CONST\00", align 1 @.str.40 = private unnamed_addr constant [4 x i8] c"VAR\00", align 1 @.str.41 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.42 = private unnamed_addr constant [5 x i8] c"VAR \00", align 1 @.str.43 = private unnamed_addr constant [4 x i8] c"ARR\00", align 1 @.str.44 = private unnamed_addr constant [5 x i8] c"ARR \00", align 1 @.str.45 = private unnamed_addr constant [4 x i8] c"FUN\00", align 1 @.str.46 = private unnamed_addr constant [5 x i8] c"FUN \00", align 1 @.str.47 = private unnamed_addr constant [4 x i8] c"END\00", align 1 @.str.48 = private unnamed_addr constant [5 x i8] c"END \00", align 1 @.str.49 = private unnamed_addr constant [4 x i8] c"ARG\00", align 1 @.str.50 = private unnamed_addr constant [5 x i8] c"ARG \00", align 1 @.str.51 = private unnamed_addr constant [4 x i8] c"RET\00", align 1 @.str.52 = private unnamed_addr constant [5 x i8] c"RET \00", align 1 @.str.53 = private unnamed_addr constant [5 x i8] c"CALL\00", align 1 @.str.54 = private unnamed_addr constant [6 x i8] c"CALL \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @HandleCodeGenerator(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %10 = call i32 @printf(ptr noundef @.str) %11 = load ptr, ptr %5, align 8 %12 = call i64 @strcmp(ptr noundef %11, ptr noundef @.str.1) %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %4 %15 = load ptr, ptr %6, align 8 %16 = load ptr, ptr %7, align 8 %17 = call ptr @Concat3Strings(ptr noundef @.str.2, ptr noundef %15, ptr noundef %16) store ptr %17, ptr %9, align 8 br label %295 18: ; preds = %4 %19 = load ptr, ptr %5, align 8 %20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str.3) %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %27 22: ; preds = %18 %23 = load ptr, ptr %6, align 8 %24 = load ptr, ptr %7, align 8 %25 = load ptr, ptr %8, align 8 %26 = call ptr @Concat4Strings(ptr noundef @.str.4, ptr noundef %23, ptr noundef %24, ptr noundef %25) store ptr %26, ptr %9, align 8 br label %294 27: ; preds = %18 %28 = load ptr, ptr %5, align 8 %29 = call i64 @strcmp(ptr noundef %28, ptr noundef @.str.5) %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %36 31: ; preds = %27 %32 = load ptr, ptr %6, align 8 %33 = load ptr, ptr %7, align 8 %34 = load ptr, ptr %8, align 8 %35 = call ptr @Concat4Strings(ptr noundef @.str.6, ptr noundef %32, ptr noundef %33, ptr noundef %34) store ptr %35, ptr %9, align 8 br label %293 36: ; preds = %27 %37 = load ptr, ptr %5, align 8 %38 = call i64 @strcmp(ptr noundef %37, ptr noundef @.str.7) %39 = icmp eq i64 %38, 0 br i1 %39, label %40, label %45 40: ; preds = %36 %41 = load ptr, ptr %6, align 8 %42 = load ptr, ptr %7, align 8 %43 = load ptr, ptr %8, align 8 %44 = call ptr @Concat4Strings(ptr noundef @.str.8, ptr noundef %41, ptr noundef %42, ptr noundef %43) store ptr %44, ptr %9, align 8 br label %292 45: ; preds = %36 %46 = load ptr, ptr %5, align 8 %47 = call i64 @strcmp(ptr noundef %46, ptr noundef @.str.9) %48 = icmp eq i64 %47, 0 br i1 %48, label %49, label %54 49: ; preds = %45 %50 = load ptr, ptr %6, align 8 %51 = load ptr, ptr %7, align 8 %52 = load ptr, ptr %8, align 8 %53 = call ptr @Concat4Strings(ptr noundef @.str.10, ptr noundef %50, ptr noundef %51, ptr noundef %52) store ptr %53, ptr %9, align 8 br label %291 54: ; preds = %45 %55 = load ptr, ptr %5, align 8 %56 = call i64 @strcmp(ptr noundef %55, ptr noundef @.str.11) %57 = icmp eq i64 %56, 0 br i1 %57, label %58, label %63 58: ; preds = %54 %59 = load ptr, ptr %6, align 8 %60 = load ptr, ptr %7, align 8 %61 = load ptr, ptr %8, align 8 %62 = call ptr @Concat4Strings(ptr noundef @.str.12, ptr noundef %59, ptr noundef %60, ptr noundef %61) store ptr %62, ptr %9, align 8 br label %290 63: ; preds = %54 %64 = load ptr, ptr %5, align 8 %65 = call i64 @strcmp(ptr noundef %64, ptr noundef @.str.13) %66 = icmp eq i64 %65, 0 br i1 %66, label %67, label %72 67: ; preds = %63 %68 = load ptr, ptr %6, align 8 %69 = load ptr, ptr %7, align 8 %70 = load ptr, ptr %8, align 8 %71 = call ptr @Concat4Strings(ptr noundef @.str.14, ptr noundef %68, ptr noundef %69, ptr noundef %70) store ptr %71, ptr %9, align 8 br label %289 72: ; preds = %63 %73 = load ptr, ptr %5, align 8 %74 = call i64 @strcmp(ptr noundef %73, ptr noundef @.str.15) %75 = icmp eq i64 %74, 0 br i1 %75, label %76, label %81 76: ; preds = %72 %77 = load ptr, ptr %6, align 8 %78 = load ptr, ptr %7, align 8 %79 = load ptr, ptr %8, align 8 %80 = call ptr @Concat4Strings(ptr noundef @.str.16, ptr noundef %77, ptr noundef %78, ptr noundef %79) store ptr %80, ptr %9, align 8 br label %288 81: ; preds = %72 %82 = load ptr, ptr %5, align 8 %83 = call i64 @strcmp(ptr noundef %82, ptr noundef @.str.17) %84 = icmp eq i64 %83, 0 br i1 %84, label %85, label %90 85: ; preds = %81 %86 = load ptr, ptr %6, align 8 %87 = load ptr, ptr %7, align 8 %88 = load ptr, ptr %8, align 8 %89 = call ptr @Concat4Strings(ptr noundef @.str.18, ptr noundef %86, ptr noundef %87, ptr noundef %88) store ptr %89, ptr %9, align 8 br label %287 90: ; preds = %81 %91 = load ptr, ptr %5, align 8 %92 = call i64 @strcmp(ptr noundef %91, ptr noundef @.str.19) %93 = icmp eq i64 %92, 0 br i1 %93, label %94, label %99 94: ; preds = %90 %95 = load ptr, ptr %6, align 8 %96 = load ptr, ptr %7, align 8 %97 = load ptr, ptr %8, align 8 %98 = call ptr @Concat4Strings(ptr noundef @.str.20, ptr noundef %95, ptr noundef %96, ptr noundef %97) store ptr %98, ptr %9, align 8 br label %286 99: ; preds = %90 %100 = load ptr, ptr %5, align 8 %101 = call i64 @strcmp(ptr noundef %100, ptr noundef @.str.21) %102 = icmp eq i64 %101, 0 br i1 %102, label %103, label %108 103: ; preds = %99 %104 = load ptr, ptr %6, align 8 %105 = load ptr, ptr %7, align 8 %106 = load ptr, ptr %8, align 8 %107 = call ptr @Concat4Strings(ptr noundef @.str.22, ptr noundef %104, ptr noundef %105, ptr noundef %106) store ptr %107, ptr %9, align 8 br label %285 108: ; preds = %99 %109 = load ptr, ptr %5, align 8 %110 = call i64 @strcmp(ptr noundef %109, ptr noundef @.str.23) %111 = icmp eq i64 %110, 0 br i1 %111, label %112, label %117 112: ; preds = %108 %113 = load ptr, ptr %6, align 8 %114 = load ptr, ptr %7, align 8 %115 = load ptr, ptr %8, align 8 %116 = call ptr @Concat4Strings(ptr noundef @.str.24, ptr noundef %113, ptr noundef %114, ptr noundef %115) store ptr %116, ptr %9, align 8 br label %284 117: ; preds = %108 %118 = load ptr, ptr %5, align 8 %119 = call i64 @strcmp(ptr noundef %118, ptr noundef @.str.25) %120 = icmp eq i64 %119, 0 br i1 %120, label %121, label %126 121: ; preds = %117 %122 = load ptr, ptr %6, align 8 %123 = load ptr, ptr %7, align 8 %124 = load ptr, ptr %8, align 8 %125 = call ptr @Concat4Strings(ptr noundef @.str.26, ptr noundef %122, ptr noundef %123, ptr noundef %124) store ptr %125, ptr %9, align 8 br label %283 126: ; preds = %117 %127 = load ptr, ptr %5, align 8 %128 = call i64 @strcmp(ptr noundef %127, ptr noundef @.str.27) %129 = icmp eq i64 %128, 0 br i1 %129, label %130, label %135 130: ; preds = %126 %131 = load ptr, ptr %6, align 8 %132 = load ptr, ptr %7, align 8 %133 = load ptr, ptr %8, align 8 %134 = call ptr @Concat4Strings(ptr noundef @.str.28, ptr noundef %131, ptr noundef %132, ptr noundef %133) store ptr %134, ptr %9, align 8 br label %282 135: ; preds = %126 %136 = load ptr, ptr %5, align 8 %137 = call i64 @strcmp(ptr noundef %136, ptr noundef @.str.29) %138 = icmp eq i64 %137, 0 br i1 %138, label %139, label %144 139: ; preds = %135 %140 = load ptr, ptr %6, align 8 %141 = load ptr, ptr %7, align 8 %142 = load ptr, ptr %8, align 8 %143 = call ptr @Concat4Strings(ptr noundef @.str.30, ptr noundef %140, ptr noundef %141, ptr noundef %142) store ptr %143, ptr %9, align 8 br label %281 144: ; preds = %135 %145 = load ptr, ptr %5, align 8 %146 = call i64 @strcmp(ptr noundef %145, ptr noundef @.str.31) %147 = icmp eq i64 %146, 0 br i1 %147, label %148, label %151 148: ; preds = %144 %149 = load ptr, ptr %6, align 8 %150 = call ptr @Concat2Strings(ptr noundef @.str.32, ptr noundef %149) store ptr %150, ptr %9, align 8 br label %280 151: ; preds = %144 %152 = load ptr, ptr %5, align 8 %153 = call i64 @strcmp(ptr noundef %152, ptr noundef @.str.33) %154 = icmp eq i64 %153, 0 br i1 %154, label %155, label %159 155: ; preds = %151 %156 = load ptr, ptr %6, align 8 %157 = load ptr, ptr %7, align 8 %158 = call ptr @Concat3Strings(ptr noundef @.str.34, ptr noundef %156, ptr noundef %157) store ptr %158, ptr %9, align 8 br label %279 159: ; preds = %151 %160 = load ptr, ptr %5, align 8 %161 = call i64 @strcmp(ptr noundef %160, ptr noundef @.str.35) %162 = icmp eq i64 %161, 0 br i1 %162, label %163, label %167 163: ; preds = %159 %164 = load ptr, ptr %6, align 8 %165 = load ptr, ptr %7, align 8 %166 = call ptr @Concat3Strings(ptr noundef @.str.36, ptr noundef %164, ptr noundef %165) store ptr %166, ptr %9, align 8 br label %278 167: ; preds = %159 %168 = load ptr, ptr %5, align 8 %169 = call i64 @strcmp(ptr noundef %168, ptr noundef @.str.37) %170 = icmp eq i64 %169, 0 br i1 %170, label %171, label %174 171: ; preds = %167 %172 = load ptr, ptr %6, align 8 %173 = call ptr @Concat2Strings(ptr noundef @.str.38, ptr noundef %172) store ptr %173, ptr %9, align 8 br label %277 174: ; preds = %167 %175 = load ptr, ptr %5, align 8 %176 = call i64 @strcmp(ptr noundef %175, ptr noundef @.str.39) %177 = icmp eq i64 %176, 0 br i1 %177, label %178, label %179 178: ; preds = %174 br label %276 179: ; preds = %174 %180 = load ptr, ptr %5, align 8 %181 = call i64 @strcmp(ptr noundef %180, ptr noundef @.str.40) %182 = icmp eq i64 %181, 0 br i1 %182, label %183, label %197 183: ; preds = %179 %184 = load ptr, ptr %8, align 8 %185 = call i64 @strcmp(ptr noundef %184, ptr noundef @.str.41) %186 = icmp eq i64 %185, 0 br i1 %186, label %187, label %191 187: ; preds = %183 %188 = load ptr, ptr %6, align 8 %189 = load ptr, ptr %7, align 8 %190 = call ptr @Concat3Strings(ptr noundef @.str.42, ptr noundef %188, ptr noundef %189) store ptr %190, ptr %9, align 8 br label %196 191: ; preds = %183 %192 = load ptr, ptr %6, align 8 %193 = load ptr, ptr %7, align 8 %194 = load ptr, ptr %8, align 8 %195 = call ptr @Concat4Strings(ptr noundef @.str.42, ptr noundef %192, ptr noundef %193, ptr noundef %194) store ptr %195, ptr %9, align 8 br label %196 196: ; preds = %191, %187 br label %275 197: ; preds = %179 %198 = load ptr, ptr %5, align 8 %199 = call i64 @strcmp(ptr noundef %198, ptr noundef @.str.43) %200 = icmp eq i64 %199, 0 br i1 %200, label %201, label %206 201: ; preds = %197 %202 = load ptr, ptr %6, align 8 %203 = load ptr, ptr %7, align 8 %204 = load ptr, ptr %8, align 8 %205 = call ptr @Concat4Strings(ptr noundef @.str.44, ptr noundef %202, ptr noundef %203, ptr noundef %204) store ptr %205, ptr %9, align 8 br label %274 206: ; preds = %197 %207 = load ptr, ptr %5, align 8 %208 = call i64 @strcmp(ptr noundef %207, ptr noundef @.str.45) %209 = icmp eq i64 %208, 0 br i1 %209, label %210, label %214 210: ; preds = %206 %211 = load ptr, ptr %6, align 8 %212 = load ptr, ptr %7, align 8 %213 = call ptr @Concat3Strings(ptr noundef @.str.46, ptr noundef %211, ptr noundef %212) store ptr %213, ptr %9, align 8 br label %273 214: ; preds = %206 %215 = load ptr, ptr %5, align 8 %216 = call i64 @strcmp(ptr noundef %215, ptr noundef @.str.47) %217 = icmp eq i64 %216, 0 br i1 %217, label %218, label %221 218: ; preds = %214 %219 = load ptr, ptr %6, align 8 %220 = call ptr @Concat2Strings(ptr noundef @.str.48, ptr noundef %219) store ptr %220, ptr %9, align 8 br label %272 221: ; preds = %214 %222 = load ptr, ptr %5, align 8 %223 = call i64 @strcmp(ptr noundef %222, ptr noundef @.str.49) %224 = icmp eq i64 %223, 0 br i1 %224, label %225, label %239 225: ; preds = %221 %226 = load ptr, ptr %8, align 8 %227 = call i64 @strcmp(ptr noundef %226, ptr noundef @.str.41) %228 = icmp eq i64 %227, 0 br i1 %228, label %229, label %233 229: ; preds = %225 %230 = load ptr, ptr %6, align 8 %231 = load ptr, ptr %7, align 8 %232 = call ptr @Concat3Strings(ptr noundef @.str.50, ptr noundef %230, ptr noundef %231) store ptr %232, ptr %9, align 8 br label %238 233: ; preds = %225 %234 = load ptr, ptr %6, align 8 %235 = load ptr, ptr %7, align 8 %236 = load ptr, ptr %8, align 8 %237 = call ptr @Concat4Strings(ptr noundef @.str.50, ptr noundef %234, ptr noundef %235, ptr noundef %236) store ptr %237, ptr %9, align 8 br label %238 238: ; preds = %233, %229 br label %271 239: ; preds = %221 %240 = load ptr, ptr %5, align 8 %241 = call i64 @strcmp(ptr noundef %240, ptr noundef @.str.51) %242 = icmp eq i64 %241, 0 br i1 %242, label %243, label %252 243: ; preds = %239 %244 = load ptr, ptr %6, align 8 %245 = call i64 @strcmp(ptr noundef %244, ptr noundef @.str.41) %246 = icmp eq i64 %245, 0 br i1 %246, label %247, label %248 247: ; preds = %243 store ptr @.str.51, ptr %9, align 8 br label %251 248: ; preds = %243 %249 = load ptr, ptr %6, align 8 %250 = call ptr @Concat2Strings(ptr noundef @.str.52, ptr noundef %249) store ptr %250, ptr %9, align 8 br label %251 251: ; preds = %248, %247 br label %270 252: ; preds = %239 %253 = load ptr, ptr %5, align 8 %254 = call i64 @strcmp(ptr noundef %253, ptr noundef @.str.53) %255 = icmp eq i64 %254, 0 br i1 %255, label %256, label %268 256: ; preds = %252 %257 = load ptr, ptr %7, align 8 %258 = call i64 @strcmp(ptr noundef %257, ptr noundef @.str.41) %259 = icmp eq i64 %258, 0 br i1 %259, label %260, label %263 260: ; preds = %256 %261 = load ptr, ptr %6, align 8 %262 = call ptr @Concat2Strings(ptr noundef @.str.54, ptr noundef %261) store ptr %262, ptr %9, align 8 br label %267 263: ; preds = %256 %264 = load ptr, ptr %6, align 8 %265 = load ptr, ptr %7, align 8 %266 = call ptr @Concat3Strings(ptr noundef @.str.54, ptr noundef %264, ptr noundef %265) store ptr %266, ptr %9, align 8 br label %267 267: ; preds = %263, %260 br label %269 268: ; preds = %252 br label %269 269: ; preds = %268, %267 br label %270 270: ; preds = %269, %251 br label %271 271: ; preds = %270, %238 br label %272 272: ; preds = %271, %218 br label %273 273: ; preds = %272, %210 br label %274 274: ; preds = %273, %201 br label %275 275: ; preds = %274, %196 br label %276 276: ; preds = %275, %178 br label %277 277: ; preds = %276, %171 br label %278 278: ; preds = %277, %163 br label %279 279: ; preds = %278, %155 br label %280 280: ; preds = %279, %148 br label %281 281: ; preds = %280, %139 br label %282 282: ; preds = %281, %130 br label %283 283: ; preds = %282, %121 br label %284 284: ; preds = %283, %112 br label %285 285: ; preds = %284, %103 br label %286 286: ; preds = %285, %94 br label %287 287: ; preds = %286, %85 br label %288 288: ; preds = %287, %76 br label %289 289: ; preds = %288, %67 br label %290 290: ; preds = %289, %58 br label %291 291: ; preds = %290, %49 br label %292 292: ; preds = %291, %40 br label %293 293: ; preds = %292, %31 br label %294 294: ; preds = %293, %22 br label %295 295: ; preds = %294, %14 %296 = load ptr, ptr %9, align 8 %297 = call i32 @WriteOutput(ptr noundef %296) ret void } declare i32 @printf(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @Concat3Strings(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @Concat4Strings(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @Concat2Strings(ptr noundef, ptr noundef) #1 declare i32 @WriteOutput(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1mc5r9bn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"YO\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"=\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"= \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"+\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"+ \00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"- \00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"* \00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.10 = private unnamed_addr constant [3 x i8] c"/ \00", align 1 @.str.11 = private unnamed_addr constant [2 x i8] c"%\00", align 1 @.str.12 = private unnamed_addr constant [3 x i8] c"% \00", align 1 @.str.13 = private unnamed_addr constant [2 x i8] c"&\00", align 1 @.str.14 = private unnamed_addr constant [3 x i8] c"& \00", align 1 @.str.15 = private unnamed_addr constant [2 x i8] c"|\00", align 1 @.str.16 = private unnamed_addr constant [3 x i8] c"| \00", align 1 @.str.17 = private unnamed_addr constant [2 x i8] c"^\00", align 1 @.str.18 = private unnamed_addr constant [3 x i8] c"^ \00", align 1 @.str.19 = private unnamed_addr constant [2 x i8] c">\00", align 1 @.str.20 = private unnamed_addr constant [3 x i8] c"> \00", align 1 @.str.21 = private unnamed_addr constant [2 x i8] c"<\00", align 1 @.str.22 = private unnamed_addr constant [3 x i8] c"< \00", align 1 @.str.23 = private unnamed_addr constant [3 x i8] c"!=\00", align 1 @.str.24 = private unnamed_addr constant [4 x i8] c"!= \00", align 1 @.str.25 = private unnamed_addr constant [3 x i8] c"==\00", align 1 @.str.26 = private unnamed_addr constant [4 x i8] c"== \00", align 1 @.str.27 = private unnamed_addr constant [3 x i8] c">=\00", align 1 @.str.28 = private unnamed_addr constant [4 x i8] c">= \00", align 1 @.str.29 = private unnamed_addr constant [3 x i8] c"<=\00", align 1 @.str.30 = private unnamed_addr constant [4 x i8] c"<= \00", align 1 @.str.31 = private unnamed_addr constant [4 x i8] c"JMP\00", align 1 @.str.32 = private unnamed_addr constant [5 x i8] c"JMP \00", align 1 @.str.33 = private unnamed_addr constant [3 x i8] c"JZ\00", align 1 @.str.34 = private unnamed_addr constant [4 x i8] c"JZ \00", align 1 @.str.35 = private unnamed_addr constant [4 x i8] c"JNZ\00", align 1 @.str.36 = private unnamed_addr constant [5 x i8] c"JNZ \00", align 1 @.str.37 = private unnamed_addr constant [3 x i8] c"LB\00", align 1 @.str.38 = private unnamed_addr constant [4 x i8] c"LB \00", align 1 @.str.39 = private unnamed_addr constant [6 x i8] c"CONST\00", align 1 @.str.40 = private unnamed_addr constant [4 x i8] c"VAR\00", align 1 @.str.41 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.42 = private unnamed_addr constant [5 x i8] c"VAR \00", align 1 @.str.43 = private unnamed_addr constant [4 x i8] c"ARR\00", align 1 @.str.44 = private unnamed_addr constant [5 x i8] c"ARR \00", align 1 @.str.45 = private unnamed_addr constant [4 x i8] c"FUN\00", align 1 @.str.46 = private unnamed_addr constant [5 x i8] c"FUN \00", align 1 @.str.47 = private unnamed_addr constant [4 x i8] c"END\00", align 1 @.str.48 = private unnamed_addr constant [5 x i8] c"END \00", align 1 @.str.49 = private unnamed_addr constant [4 x i8] c"ARG\00", align 1 @.str.50 = private unnamed_addr constant [5 x i8] c"ARG \00", align 1 @.str.51 = private unnamed_addr constant [4 x i8] c"RET\00", align 1 @.str.52 = private unnamed_addr constant [5 x i8] c"RET \00", align 1 @.str.53 = private unnamed_addr constant [5 x i8] c"CALL\00", align 1 @.str.54 = private unnamed_addr constant [6 x i8] c"CALL \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @HandleCodeGenerator(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %10 = call i32 @printf(ptr noundef @.str) %11 = load ptr, ptr %5, align 8 %12 = call i64 @strcmp(ptr noundef %11, ptr noundef @.str.1) %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %4 %15 = load ptr, ptr %6, align 8 %16 = load ptr, ptr %7, align 8 %17 = call ptr @Concat3Strings(ptr noundef @.str.2, ptr noundef %15, ptr noundef %16) store ptr %17, ptr %9, align 8 br label %295 18: ; preds = %4 %19 = load ptr, ptr %5, align 8 %20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str.3) %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %27 22: ; preds = %18 %23 = load ptr, ptr %6, align 8 %24 = load ptr, ptr %7, align 8 %25 = load ptr, ptr %8, align 8 %26 = call ptr @Concat4Strings(ptr noundef @.str.4, ptr noundef %23, ptr noundef %24, ptr noundef %25) store ptr %26, ptr %9, align 8 br label %294 27: ; preds = %18 %28 = load ptr, ptr %5, align 8 %29 = call i64 @strcmp(ptr noundef %28, ptr noundef @.str.5) %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %36 31: ; preds = %27 %32 = load ptr, ptr %6, align 8 %33 = load ptr, ptr %7, align 8 %34 = load ptr, ptr %8, align 8 %35 = call ptr @Concat4Strings(ptr noundef @.str.6, ptr noundef %32, ptr noundef %33, ptr noundef %34) store ptr %35, ptr %9, align 8 br label %293 36: ; preds = %27 %37 = load ptr, ptr %5, align 8 %38 = call i64 @strcmp(ptr noundef %37, ptr noundef @.str.7) %39 = icmp eq i64 %38, 0 br i1 %39, label %40, label %45 40: ; preds = %36 %41 = load ptr, ptr %6, align 8 %42 = load ptr, ptr %7, align 8 %43 = load ptr, ptr %8, align 8 %44 = call ptr @Concat4Strings(ptr noundef @.str.8, ptr noundef %41, ptr noundef %42, ptr noundef %43) store ptr %44, ptr %9, align 8 br label %292 45: ; preds = %36 %46 = load ptr, ptr %5, align 8 %47 = call i64 @strcmp(ptr noundef %46, ptr noundef @.str.9) %48 = icmp eq i64 %47, 0 br i1 %48, label %49, label %54 49: ; preds = %45 %50 = load ptr, ptr %6, align 8 %51 = load ptr, ptr %7, align 8 %52 = load ptr, ptr %8, align 8 %53 = call ptr @Concat4Strings(ptr noundef @.str.10, ptr noundef %50, ptr noundef %51, ptr noundef %52) store ptr %53, ptr %9, align 8 br label %291 54: ; preds = %45 %55 = load ptr, ptr %5, align 8 %56 = call i64 @strcmp(ptr noundef %55, ptr noundef @.str.11) %57 = icmp eq i64 %56, 0 br i1 %57, label %58, label %63 58: ; preds = %54 %59 = load ptr, ptr %6, align 8 %60 = load ptr, ptr %7, align 8 %61 = load ptr, ptr %8, align 8 %62 = call ptr @Concat4Strings(ptr noundef @.str.12, ptr noundef %59, ptr noundef %60, ptr noundef %61) store ptr %62, ptr %9, align 8 br label %290 63: ; preds = %54 %64 = load ptr, ptr %5, align 8 %65 = call i64 @strcmp(ptr noundef %64, ptr noundef @.str.13) %66 = icmp eq i64 %65, 0 br i1 %66, label %67, label %72 67: ; preds = %63 %68 = load ptr, ptr %6, align 8 %69 = load ptr, ptr %7, align 8 %70 = load ptr, ptr %8, align 8 %71 = call ptr @Concat4Strings(ptr noundef @.str.14, ptr noundef %68, ptr noundef %69, ptr noundef %70) store ptr %71, ptr %9, align 8 br label %289 72: ; preds = %63 %73 = load ptr, ptr %5, align 8 %74 = call i64 @strcmp(ptr noundef %73, ptr noundef @.str.15) %75 = icmp eq i64 %74, 0 br i1 %75, label %76, label %81 76: ; preds = %72 %77 = load ptr, ptr %6, align 8 %78 = load ptr, ptr %7, align 8 %79 = load ptr, ptr %8, align 8 %80 = call ptr @Concat4Strings(ptr noundef @.str.16, ptr noundef %77, ptr noundef %78, ptr noundef %79) store ptr %80, ptr %9, align 8 br label %288 81: ; preds = %72 %82 = load ptr, ptr %5, align 8 %83 = call i64 @strcmp(ptr noundef %82, ptr noundef @.str.17) %84 = icmp eq i64 %83, 0 br i1 %84, label %85, label %90 85: ; preds = %81 %86 = load ptr, ptr %6, align 8 %87 = load ptr, ptr %7, align 8 %88 = load ptr, ptr %8, align 8 %89 = call ptr @Concat4Strings(ptr noundef @.str.18, ptr noundef %86, ptr noundef %87, ptr noundef %88) store ptr %89, ptr %9, align 8 br label %287 90: ; preds = %81 %91 = load ptr, ptr %5, align 8 %92 = call i64 @strcmp(ptr noundef %91, ptr noundef @.str.19) %93 = icmp eq i64 %92, 0 br i1 %93, label %94, label %99 94: ; preds = %90 %95 = load ptr, ptr %6, align 8 %96 = load ptr, ptr %7, align 8 %97 = load ptr, ptr %8, align 8 %98 = call ptr @Concat4Strings(ptr noundef @.str.20, ptr noundef %95, ptr noundef %96, ptr noundef %97) store ptr %98, ptr %9, align 8 br label %286 99: ; preds = %90 %100 = load ptr, ptr %5, align 8 %101 = call i64 @strcmp(ptr noundef %100, ptr noundef @.str.21) %102 = icmp eq i64 %101, 0 br i1 %102, label %103, label %108 103: ; preds = %99 %104 = load ptr, ptr %6, align 8 %105 = load ptr, ptr %7, align 8 %106 = load ptr, ptr %8, align 8 %107 = call ptr @Concat4Strings(ptr noundef @.str.22, ptr noundef %104, ptr noundef %105, ptr noundef %106) store ptr %107, ptr %9, align 8 br label %285 108: ; preds = %99 %109 = load ptr, ptr %5, align 8 %110 = call i64 @strcmp(ptr noundef %109, ptr noundef @.str.23) %111 = icmp eq i64 %110, 0 br i1 %111, label %112, label %117 112: ; preds = %108 %113 = load ptr, ptr %6, align 8 %114 = load ptr, ptr %7, align 8 %115 = load ptr, ptr %8, align 8 %116 = call ptr @Concat4Strings(ptr noundef @.str.24, ptr noundef %113, ptr noundef %114, ptr noundef %115) store ptr %116, ptr %9, align 8 br label %284 117: ; preds = %108 %118 = load ptr, ptr %5, align 8 %119 = call i64 @strcmp(ptr noundef %118, ptr noundef @.str.25) %120 = icmp eq i64 %119, 0 br i1 %120, label %121, label %126 121: ; preds = %117 %122 = load ptr, ptr %6, align 8 %123 = load ptr, ptr %7, align 8 %124 = load ptr, ptr %8, align 8 %125 = call ptr @Concat4Strings(ptr noundef @.str.26, ptr noundef %122, ptr noundef %123, ptr noundef %124) store ptr %125, ptr %9, align 8 br label %283 126: ; preds = %117 %127 = load ptr, ptr %5, align 8 %128 = call i64 @strcmp(ptr noundef %127, ptr noundef @.str.27) %129 = icmp eq i64 %128, 0 br i1 %129, label %130, label %135 130: ; preds = %126 %131 = load ptr, ptr %6, align 8 %132 = load ptr, ptr %7, align 8 %133 = load ptr, ptr %8, align 8 %134 = call ptr @Concat4Strings(ptr noundef @.str.28, ptr noundef %131, ptr noundef %132, ptr noundef %133) store ptr %134, ptr %9, align 8 br label %282 135: ; preds = %126 %136 = load ptr, ptr %5, align 8 %137 = call i64 @strcmp(ptr noundef %136, ptr noundef @.str.29) %138 = icmp eq i64 %137, 0 br i1 %138, label %139, label %144 139: ; preds = %135 %140 = load ptr, ptr %6, align 8 %141 = load ptr, ptr %7, align 8 %142 = load ptr, ptr %8, align 8 %143 = call ptr @Concat4Strings(ptr noundef @.str.30, ptr noundef %140, ptr noundef %141, ptr noundef %142) store ptr %143, ptr %9, align 8 br label %281 144: ; preds = %135 %145 = load ptr, ptr %5, align 8 %146 = call i64 @strcmp(ptr noundef %145, ptr noundef @.str.31) %147 = icmp eq i64 %146, 0 br i1 %147, label %148, label %151 148: ; preds = %144 %149 = load ptr, ptr %6, align 8 %150 = call ptr @Concat2Strings(ptr noundef @.str.32, ptr noundef %149) store ptr %150, ptr %9, align 8 br label %280 151: ; preds = %144 %152 = load ptr, ptr %5, align 8 %153 = call i64 @strcmp(ptr noundef %152, ptr noundef @.str.33) %154 = icmp eq i64 %153, 0 br i1 %154, label %155, label %159 155: ; preds = %151 %156 = load ptr, ptr %6, align 8 %157 = load ptr, ptr %7, align 8 %158 = call ptr @Concat3Strings(ptr noundef @.str.34, ptr noundef %156, ptr noundef %157) store ptr %158, ptr %9, align 8 br label %279 159: ; preds = %151 %160 = load ptr, ptr %5, align 8 %161 = call i64 @strcmp(ptr noundef %160, ptr noundef @.str.35) %162 = icmp eq i64 %161, 0 br i1 %162, label %163, label %167 163: ; preds = %159 %164 = load ptr, ptr %6, align 8 %165 = load ptr, ptr %7, align 8 %166 = call ptr @Concat3Strings(ptr noundef @.str.36, ptr noundef %164, ptr noundef %165) store ptr %166, ptr %9, align 8 br label %278 167: ; preds = %159 %168 = load ptr, ptr %5, align 8 %169 = call i64 @strcmp(ptr noundef %168, ptr noundef @.str.37) %170 = icmp eq i64 %169, 0 br i1 %170, label %171, label %174 171: ; preds = %167 %172 = load ptr, ptr %6, align 8 %173 = call ptr @Concat2Strings(ptr noundef @.str.38, ptr noundef %172) store ptr %173, ptr %9, align 8 br label %277 174: ; preds = %167 %175 = load ptr, ptr %5, align 8 %176 = call i64 @strcmp(ptr noundef %175, ptr noundef @.str.39) %177 = icmp eq i64 %176, 0 br i1 %177, label %178, label %179 178: ; preds = %174 br label %276 179: ; preds = %174 %180 = load ptr, ptr %5, align 8 %181 = call i64 @strcmp(ptr noundef %180, ptr noundef @.str.40) %182 = icmp eq i64 %181, 0 br i1 %182, label %183, label %197 183: ; preds = %179 %184 = load ptr, ptr %8, align 8 %185 = call i64 @strcmp(ptr noundef %184, ptr noundef @.str.41) %186 = icmp eq i64 %185, 0 br i1 %186, label %187, label %191 187: ; preds = %183 %188 = load ptr, ptr %6, align 8 %189 = load ptr, ptr %7, align 8 %190 = call ptr @Concat3Strings(ptr noundef @.str.42, ptr noundef %188, ptr noundef %189) store ptr %190, ptr %9, align 8 br label %196 191: ; preds = %183 %192 = load ptr, ptr %6, align 8 %193 = load ptr, ptr %7, align 8 %194 = load ptr, ptr %8, align 8 %195 = call ptr @Concat4Strings(ptr noundef @.str.42, ptr noundef %192, ptr noundef %193, ptr noundef %194) store ptr %195, ptr %9, align 8 br label %196 196: ; preds = %191, %187 br label %275 197: ; preds = %179 %198 = load ptr, ptr %5, align 8 %199 = call i64 @strcmp(ptr noundef %198, ptr noundef @.str.43) %200 = icmp eq i64 %199, 0 br i1 %200, label %201, label %206 201: ; preds = %197 %202 = load ptr, ptr %6, align 8 %203 = load ptr, ptr %7, align 8 %204 = load ptr, ptr %8, align 8 %205 = call ptr @Concat4Strings(ptr noundef @.str.44, ptr noundef %202, ptr noundef %203, ptr noundef %204) store ptr %205, ptr %9, align 8 br label %274 206: ; preds = %197 %207 = load ptr, ptr %5, align 8 %208 = call i64 @strcmp(ptr noundef %207, ptr noundef @.str.45) %209 = icmp eq i64 %208, 0 br i1 %209, label %210, label %214 210: ; preds = %206 %211 = load ptr, ptr %6, align 8 %212 = load ptr, ptr %7, align 8 %213 = call ptr @Concat3Strings(ptr noundef @.str.46, ptr noundef %211, ptr noundef %212) store ptr %213, ptr %9, align 8 br label %273 214: ; preds = %206 %215 = load ptr, ptr %5, align 8 %216 = call i64 @strcmp(ptr noundef %215, ptr noundef @.str.47) %217 = icmp eq i64 %216, 0 br i1 %217, label %218, label %221 218: ; preds = %214 %219 = load ptr, ptr %6, align 8 %220 = call ptr @Concat2Strings(ptr noundef @.str.48, ptr noundef %219) store ptr %220, ptr %9, align 8 br label %272 221: ; preds = %214 %222 = load ptr, ptr %5, align 8 %223 = call i64 @strcmp(ptr noundef %222, ptr noundef @.str.49) %224 = icmp eq i64 %223, 0 br i1 %224, label %225, label %239 225: ; preds = %221 %226 = load ptr, ptr %8, align 8 %227 = call i64 @strcmp(ptr noundef %226, ptr noundef @.str.41) %228 = icmp eq i64 %227, 0 br i1 %228, label %229, label %233 229: ; preds = %225 %230 = load ptr, ptr %6, align 8 %231 = load ptr, ptr %7, align 8 %232 = call ptr @Concat3Strings(ptr noundef @.str.50, ptr noundef %230, ptr noundef %231) store ptr %232, ptr %9, align 8 br label %238 233: ; preds = %225 %234 = load ptr, ptr %6, align 8 %235 = load ptr, ptr %7, align 8 %236 = load ptr, ptr %8, align 8 %237 = call ptr @Concat4Strings(ptr noundef @.str.50, ptr noundef %234, ptr noundef %235, ptr noundef %236) store ptr %237, ptr %9, align 8 br label %238 238: ; preds = %233, %229 br label %271 239: ; preds = %221 %240 = load ptr, ptr %5, align 8 %241 = call i64 @strcmp(ptr noundef %240, ptr noundef @.str.51) %242 = icmp eq i64 %241, 0 br i1 %242, label %243, label %252 243: ; preds = %239 %244 = load ptr, ptr %6, align 8 %245 = call i64 @strcmp(ptr noundef %244, ptr noundef @.str.41) %246 = icmp eq i64 %245, 0 br i1 %246, label %247, label %248 247: ; preds = %243 store ptr @.str.51, ptr %9, align 8 br label %251 248: ; preds = %243 %249 = load ptr, ptr %6, align 8 %250 = call ptr @Concat2Strings(ptr noundef @.str.52, ptr noundef %249) store ptr %250, ptr %9, align 8 br label %251 251: ; preds = %248, %247 br label %270 252: ; preds = %239 %253 = load ptr, ptr %5, align 8 %254 = call i64 @strcmp(ptr noundef %253, ptr noundef @.str.53) %255 = icmp eq i64 %254, 0 br i1 %255, label %256, label %268 256: ; preds = %252 %257 = load ptr, ptr %7, align 8 %258 = call i64 @strcmp(ptr noundef %257, ptr noundef @.str.41) %259 = icmp eq i64 %258, 0 br i1 %259, label %260, label %263 260: ; preds = %256 %261 = load ptr, ptr %6, align 8 %262 = call ptr @Concat2Strings(ptr noundef @.str.54, ptr noundef %261) store ptr %262, ptr %9, align 8 br label %267 263: ; preds = %256 %264 = load ptr, ptr %6, align 8 %265 = load ptr, ptr %7, align 8 %266 = call ptr @Concat3Strings(ptr noundef @.str.54, ptr noundef %264, ptr noundef %265) store ptr %266, ptr %9, align 8 br label %267 267: ; preds = %263, %260 br label %269 268: ; preds = %252 br label %269 269: ; preds = %268, %267 br label %270 270: ; preds = %269, %251 br label %271 271: ; preds = %270, %238 br label %272 272: ; preds = %271, %218 br label %273 273: ; preds = %272, %210 br label %274 274: ; preds = %273, %201 br label %275 275: ; preds = %274, %196 br label %276 276: ; preds = %275, %178 br label %277 277: ; preds = %276, %171 br label %278 278: ; preds = %277, %163 br label %279 279: ; preds = %278, %155 br label %280 280: ; preds = %279, %148 br label %281 281: ; preds = %280, %139 br label %282 282: ; preds = %281, %130 br label %283 283: ; preds = %282, %121 br label %284 284: ; preds = %283, %112 br label %285 285: ; preds = %284, %103 br label %286 286: ; preds = %285, %94 br label %287 287: ; preds = %286, %85 br label %288 288: ; preds = %287, %76 br label %289 289: ; preds = %288, %67 br label %290 290: ; preds = %289, %58 br label %291 291: ; preds = %290, %49 br label %292 292: ; preds = %291, %40 br label %293 293: ; preds = %292, %31 br label %294 294: ; preds = %293, %22 br label %295 295: ; preds = %294, %14 %296 = load ptr, ptr %9, align 8 %297 = call i32 @WriteOutput(ptr noundef %296) ret void } declare i32 @printf(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @Concat3Strings(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @Concat4Strings(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @Concat2Strings(ptr noundef, ptr noundef) #1 declare i32 @WriteOutput(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzk78nbx_.c' source_filename = "/tmp/tmpzk78nbx_.c" target datalayout = "e-m:e-p270: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.array_extra_comma.array = private unnamed_addr constant [6 x i32] [i32 3, i32 4, i32 5, i32 8, i32 9, i32 10], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @array_extra_comma() #0 { %1 = alloca [6 x i32], align 16 %2 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.array_extra_comma.array, i64 24, i1 false) store i32 0, ptr %2, align 4 br label %3 3: ; preds = %13, %0 %4 = load i32, ptr %2, align 4 %5 = sext i32 %4 to i64 %6 = icmp ult i64 %5, 6 br i1 %6, label %7, label %16 7: ; preds = %3 %8 = load i32, ptr %2, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds [6 x i32], ptr %1, i64 0, i64 %9 %11 = load i32, ptr %10, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %11) br label %13 13: ; preds = %7 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %2, align 4 br label %3, !llvm.loop !6 16: ; preds = %3 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, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzk78nbx_.c" target datalayout = "e-m:e-p270: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.array_extra_comma.array = private unnamed_addr constant [6 x i32] [i32 3, i32 4, i32 5, i32 8, i32 9, i32 10], align 16 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @array_extra_comma() #0 { %1 = alloca [6 x i32], align 16 %2 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.array_extra_comma.array, i64 24, i1 false) store i32 0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = sext i32 %3 to i64 %5 = icmp ult i64 %4, 6 br i1 %5, label %.lr.ph, label %18 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %12 %7 = load i32, ptr %2, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds [6 x i32], ptr %1, i64 0, i64 %8 %10 = load i32, ptr %9, align 4 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) br label %12 12: ; preds = %6 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = sext i32 %15 to i64 %17 = icmp ult i64 %16, 6 br i1 %17, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %18 18: ; preds = %._crit_edge, %0 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, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpni9w3ghj.c' source_filename = "/tmp/tmpni9w3ghj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @unset_environ.i = internal global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @unset_environ(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @strto_wordtab(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %6, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %15, label %13 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 store ptr %14, ptr %3, align 8 br label %31 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i32 @find_inenv(ptr noundef %16, ptr noundef %19) store i32 %20, ptr @unset_environ.i, align 4 %21 = load i32, ptr @unset_environ.i, align 4 %22 = icmp ne i32 %21, 0 br i1 %22, label %25, label %23 23: ; preds = %15 %24 = load ptr, ptr %5, align 8 store ptr %24, ptr %3, align 8 br label %31 25: ; preds = %15 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr @unset_environ.i, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds ptr, ptr %26, i64 %28 store ptr null, ptr %29, align 8 %30 = load ptr, ptr %5, align 8 store ptr %30, ptr %3, align 8 br label %31 31: ; preds = %25, %23, %13 %32 = load ptr, ptr %3, align 8 ret ptr %32 } declare ptr @strto_wordtab(ptr noundef, ptr noundef) #1 declare i32 @find_inenv(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/tmpni9w3ghj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @unset_environ.i = internal global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @unset_environ(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @strto_wordtab(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %6, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %15, label %13 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 store ptr %14, ptr %3, align 8 br label %31 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i32 @find_inenv(ptr noundef %16, ptr noundef %19) store i32 %20, ptr @unset_environ.i, align 4 %21 = load i32, ptr @unset_environ.i, align 4 %22 = icmp ne i32 %21, 0 br i1 %22, label %25, label %23 23: ; preds = %15 %24 = load ptr, ptr %5, align 8 store ptr %24, ptr %3, align 8 br label %31 25: ; preds = %15 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr @unset_environ.i, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds ptr, ptr %26, i64 %28 store ptr null, ptr %29, align 8 %30 = load ptr, ptr %5, align 8 store ptr %30, ptr %3, align 8 br label %31 31: ; preds = %25, %23, %13 %32 = load ptr, ptr %3, align 8 ret ptr %32 } declare ptr @strto_wordtab(ptr noundef, ptr noundef) #1 declare i32 @find_inenv(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/tmp5f5_hjk2.c' source_filename = "/tmp/tmp5f5_hjk2.c" target datalayout = "e-m:e-p270: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/tmp5f5_hjk2.c" target datalayout = "e-m:e-p270: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/tmph5mxdolr.c' source_filename = "/tmp/tmph5mxdolr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"%lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printDouble(ptr noundef %0, double noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca double, align 8 store ptr %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %5) %7 = load double, ptr %4, align 8 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %7) 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/tmph5mxdolr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"%lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printDouble(ptr noundef %0, double noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca double, align 8 store ptr %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %5) %7 = load double, ptr %4, align 8 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %7) 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/tmp6kj3coui.c' source_filename = "/tmp/tmp6kj3coui.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fd2str(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store i32 %0, ptr %2, align 4 store ptr null, ptr %3, align 8 store i64 0, ptr %4, align 8 br label %6 6: ; preds = %25, %1 %7 = load ptr, ptr %3, align 8 %8 = load i64, ptr %4, align 8 %9 = add i64 %8, 512 %10 = call ptr @realloc(ptr noundef %7, i64 noundef %9) store ptr %10, ptr %3, align 8 %11 = load i32, ptr %2, align 4 %12 = load ptr, ptr %3, align 8 %13 = load i64, ptr %4, align 8 %14 = getelementptr inbounds i8, ptr %12, i64 %13 %15 = call i64 @read(i32 noundef %11, ptr noundef %14, i32 noundef 512) store i64 %15, ptr %5, align 8 %16 = load i64, ptr %5, align 8 %17 = icmp ult i64 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %6 %19 = load ptr, ptr %3, align 8 %20 = call i32 @free(ptr noundef %19) store ptr null, ptr %3, align 8 br label %21 21: ; preds = %18, %6 %22 = load i64, ptr %5, align 8 %23 = load i64, ptr %4, align 8 %24 = add i64 %23, %22 store i64 %24, ptr %4, align 8 br label %25 25: ; preds = %21 %26 = load i64, ptr %5, align 8 %27 = icmp eq i64 %26, 512 br i1 %27, label %6, label %28, !llvm.loop !6 28: ; preds = %25 %29 = load i32, ptr %2, align 4 %30 = call i32 @close(i32 noundef %29) %31 = load ptr, ptr %3, align 8 %32 = icmp ne ptr %31, null br i1 %32, label %33, label %37 33: ; preds = %28 %34 = load ptr, ptr %3, align 8 %35 = load i64, ptr %4, align 8 %36 = getelementptr inbounds i8, ptr %34, i64 %35 store i8 0, ptr %36, align 1 br label %37 37: ; preds = %33, %28 %38 = load ptr, ptr %3, align 8 ret ptr %38 } declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6kj3coui.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fd2str(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store i32 %0, ptr %2, align 4 store ptr null, ptr %3, align 8 store i64 0, ptr %4, align 8 br label %6 6: ; preds = %25, %1 %7 = load ptr, ptr %3, align 8 %8 = load i64, ptr %4, align 8 %9 = add i64 %8, 512 %10 = call ptr @realloc(ptr noundef %7, i64 noundef %9) store ptr %10, ptr %3, align 8 %11 = load i32, ptr %2, align 4 %12 = load ptr, ptr %3, align 8 %13 = load i64, ptr %4, align 8 %14 = getelementptr inbounds i8, ptr %12, i64 %13 %15 = call i64 @read(i32 noundef %11, ptr noundef %14, i32 noundef 512) store i64 %15, ptr %5, align 8 %16 = load i64, ptr %5, align 8 %17 = icmp ult i64 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %6 %19 = load ptr, ptr %3, align 8 %20 = call i32 @free(ptr noundef %19) store ptr null, ptr %3, align 8 br label %21 21: ; preds = %18, %6 %22 = load i64, ptr %5, align 8 %23 = load i64, ptr %4, align 8 %24 = add i64 %23, %22 store i64 %24, ptr %4, align 8 br label %25 25: ; preds = %21 %26 = load i64, ptr %5, align 8 %27 = icmp eq i64 %26, 512 br i1 %27, label %6, label %28, !llvm.loop !6 28: ; preds = %25 %29 = load i32, ptr %2, align 4 %30 = call i32 @close(i32 noundef %29) %31 = load ptr, ptr %3, align 8 %32 = icmp ne ptr %31, null br i1 %32, label %33, label %37 33: ; preds = %28 %34 = load ptr, ptr %3, align 8 %35 = load i64, ptr %4, align 8 %36 = getelementptr inbounds i8, ptr %34, i64 %35 store i8 0, ptr %36, align 1 br label %37 37: ; preds = %33, %28 %38 = load ptr, ptr %3, align 8 ret ptr %38 } declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqtyex0ux.c' source_filename = "/tmp/tmpqtyex0ux.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cdecl_GetStdINCHIKeyFromStdINCHI(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @GetStdINCHIKeyFromStdINCHI(ptr noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @GetStdINCHIKeyFromStdINCHI(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/tmpqtyex0ux.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cdecl_GetStdINCHIKeyFromStdINCHI(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @GetStdINCHIKeyFromStdINCHI(ptr noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @GetStdINCHIKeyFromStdINCHI(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/tmp1y_70v47.c' source_filename = "/tmp/tmp1y_70v47.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [29 x i8] c"CPU %d System Load\090\09100\09%%\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printCPUxSysInfo(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds i8, ptr %4, i64 7 %6 = call i32 @sscanf(ptr noundef %5, ptr noundef @.str, ptr noundef %3) %7 = load i32, ptr %3, align 4 %8 = add nsw i32 %7, 1 %9 = call i32 @output(ptr noundef @.str.1, i32 noundef %8) ret void } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @output(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/tmp1y_70v47.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [29 x i8] c"CPU %d System Load\090\09100\09%%\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printCPUxSysInfo(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds i8, ptr %4, i64 7 %6 = call i32 @sscanf(ptr noundef %5, ptr noundef @.str, ptr noundef %3) %7 = load i32, ptr %3, align 4 %8 = add nsw i32 %7, 1 %9 = call i32 @output(ptr noundef @.str.1, i32 noundef %8) ret void } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @output(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/tmpc71ybde5.c' source_filename = "/tmp/tmpc71ybde5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"\0A*****************************\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"Help Screen:\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [86 x i8] c"\09IMPORTANT: To merge channels in sndchan, sound files MUST have the same samplerate.\0A\00", align 1 @.str.3 = private unnamed_addr constant [98 x i8] c"\09ALSO IMPORTANT: ALL FILES PASSED AS ARGUMENTS MUST HAVE PROPER EXTENSIONS (i.e. .wav or .cs229)\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"\09Supported Switches:\00", align 1 @.str.5 = private unnamed_addr constant [153 x i8] c"-h (help), -w (output wav file instead of cs229), \0A\09-o filename (output to specified filename, otherwise stdout)\0A\09-c n (n is only output that channel).\0A\00", align 1 @.str.6 = private unnamed_addr constant [199 x i8] c"\0A\09Supported Arguments: Inputfile1, Inputfile2...Inputfilen Will concat file1 -> file2...->filen\0A\09Switches must come before arguments!\0A\09If no arguments are listed, we will read from standard input.\0A\00", align 1 @.str.7 = private unnamed_addr constant [94 x i8] c"\09Ensure all files are in the same directory if using relative path, otherwise use absolute.\0A\0A\00", align 1 @.str.8 = private unnamed_addr constant [136 x i8] c"\09This program will exit after writing the new sound file containing all channels of the given argument sound files combined into one.\0A\0A\00", align 1 @.str.9 = private unnamed_addr constant [220 x i8] c"\09WARNING: If your output file only has 1 channel, most players will play that channel out of all channels. Also, if you use iTunes,\0A\09it doesn't seem to want to play files with more than 2 channels. Use another player.\0A\00", align 1 @.str.10 = private unnamed_addr constant [89 x i8] c"For more information please see the included README file.\0A\0AWritten by Michael Johnson.\0A\0A\00", align 1 @.str.11 = private unnamed_addr constant [33 x i8] c"\0A*****************************\0A\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) %6 = call i32 @printf(ptr noundef @.str.4) %7 = call i32 @printf(ptr noundef @.str.5) %8 = call i32 @printf(ptr noundef @.str.6) %9 = call i32 @printf(ptr noundef @.str.7) %10 = call i32 @printf(ptr noundef @.str.8) %11 = call i32 @printf(ptr noundef @.str.9) %12 = call i32 @printf(ptr noundef @.str.10) %13 = call i32 @printf(ptr noundef @.str.11) %14 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(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/tmpc71ybde5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"\0A*****************************\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"Help Screen:\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [86 x i8] c"\09IMPORTANT: To merge channels in sndchan, sound files MUST have the same samplerate.\0A\00", align 1 @.str.3 = private unnamed_addr constant [98 x i8] c"\09ALSO IMPORTANT: ALL FILES PASSED AS ARGUMENTS MUST HAVE PROPER EXTENSIONS (i.e. .wav or .cs229)\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"\09Supported Switches:\00", align 1 @.str.5 = private unnamed_addr constant [153 x i8] c"-h (help), -w (output wav file instead of cs229), \0A\09-o filename (output to specified filename, otherwise stdout)\0A\09-c n (n is only output that channel).\0A\00", align 1 @.str.6 = private unnamed_addr constant [199 x i8] c"\0A\09Supported Arguments: Inputfile1, Inputfile2...Inputfilen Will concat file1 -> file2...->filen\0A\09Switches must come before arguments!\0A\09If no arguments are listed, we will read from standard input.\0A\00", align 1 @.str.7 = private unnamed_addr constant [94 x i8] c"\09Ensure all files are in the same directory if using relative path, otherwise use absolute.\0A\0A\00", align 1 @.str.8 = private unnamed_addr constant [136 x i8] c"\09This program will exit after writing the new sound file containing all channels of the given argument sound files combined into one.\0A\0A\00", align 1 @.str.9 = private unnamed_addr constant [220 x i8] c"\09WARNING: If your output file only has 1 channel, most players will play that channel out of all channels. Also, if you use iTunes,\0A\09it doesn't seem to want to play files with more than 2 channels. Use another player.\0A\00", align 1 @.str.10 = private unnamed_addr constant [89 x i8] c"For more information please see the included README file.\0A\0AWritten by Michael Johnson.\0A\0A\00", align 1 @.str.11 = private unnamed_addr constant [33 x i8] c"\0A*****************************\0A\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) %6 = call i32 @printf(ptr noundef @.str.4) %7 = call i32 @printf(ptr noundef @.str.5) %8 = call i32 @printf(ptr noundef @.str.6) %9 = call i32 @printf(ptr noundef @.str.7) %10 = call i32 @printf(ptr noundef @.str.8) %11 = call i32 @printf(ptr noundef @.str.9) %12 = call i32 @printf(ptr noundef @.str.10) %13 = call i32 @printf(ptr noundef @.str.11) %14 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(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/tmprr71ek4y.c' source_filename = "/tmp/tmprr71ek4y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @partcode_path(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 ret ptr null } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprr71ek4y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @partcode_path(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 ret ptr null } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe4fas00w.c' source_filename = "/tmp/tmpe4fas00w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xfrm_addr_match(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 ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %14 = load ptr, ptr %5, align 8 store ptr %14, ptr %8, align 8 %15 = load ptr, ptr %6, align 8 store ptr %15, ptr %9, align 8 %16 = load i32, ptr %7, align 4 %17 = ashr i32 %16, 5 store i32 %17, ptr %10, align 4 %18 = load i32, ptr %7, align 4 %19 = and i32 %18, 31 store i32 %19, ptr %7, align 4 %20 = load i32, ptr %10, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %31 22: ; preds = %3 %23 = load ptr, ptr %8, align 8 %24 = load ptr, ptr %9, align 8 %25 = load i32, ptr %10, align 4 %26 = shl i32 %25, 2 %27 = call i64 @memcmp(ptr noundef %23, ptr noundef %24, i32 noundef %26) %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %22 store i32 -1, ptr %4, align 4 br label %58 30: ; preds = %22 br label %31 31: ; preds = %30, %3 %32 = load i32, ptr %7, align 4 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %57 34: ; preds = %31 %35 = load ptr, ptr %8, align 8 %36 = load i32, ptr %10, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %35, i64 %37 %39 = load i32, ptr %38, align 4 store i32 %39, ptr %11, align 4 %40 = load ptr, ptr %9, align 8 %41 = load i32, ptr %10, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %40, i64 %42 %44 = load i32, ptr %43, align 4 store i32 %44, ptr %12, align 4 %45 = load i32, ptr %7, align 4 %46 = sub nsw i32 32, %45 %47 = shl i32 -1, %46 %48 = call i32 @htonl(i32 noundef %47) store i32 %48, ptr %13, align 4 %49 = load i32, ptr %11, align 4 %50 = load i32, ptr %12, align 4 %51 = xor i32 %49, %50 %52 = load i32, ptr %13, align 4 %53 = and i32 %51, %52 %54 = icmp ne i32 %53, 0 br i1 %54, label %55, label %56 55: ; preds = %34 store i32 1, ptr %4, align 4 br label %58 56: ; preds = %34 br label %57 57: ; preds = %56, %31 store i32 0, ptr %4, align 4 br label %58 58: ; preds = %57, %55, %29 %59 = load i32, ptr %4, align 4 ret i32 %59 } declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe4fas00w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xfrm_addr_match(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 ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %14 = load ptr, ptr %5, align 8 store ptr %14, ptr %8, align 8 %15 = load ptr, ptr %6, align 8 store ptr %15, ptr %9, align 8 %16 = load i32, ptr %7, align 4 %17 = ashr i32 %16, 5 store i32 %17, ptr %10, align 4 %18 = load i32, ptr %7, align 4 %19 = and i32 %18, 31 store i32 %19, ptr %7, align 4 %20 = load i32, ptr %10, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %31 22: ; preds = %3 %23 = load ptr, ptr %8, align 8 %24 = load ptr, ptr %9, align 8 %25 = load i32, ptr %10, align 4 %26 = shl i32 %25, 2 %27 = call i64 @memcmp(ptr noundef %23, ptr noundef %24, i32 noundef %26) %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %22 store i32 -1, ptr %4, align 4 br label %58 30: ; preds = %22 br label %31 31: ; preds = %30, %3 %32 = load i32, ptr %7, align 4 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %57 34: ; preds = %31 %35 = load ptr, ptr %8, align 8 %36 = load i32, ptr %10, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %35, i64 %37 %39 = load i32, ptr %38, align 4 store i32 %39, ptr %11, align 4 %40 = load ptr, ptr %9, align 8 %41 = load i32, ptr %10, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %40, i64 %42 %44 = load i32, ptr %43, align 4 store i32 %44, ptr %12, align 4 %45 = load i32, ptr %7, align 4 %46 = sub nsw i32 32, %45 %47 = shl i32 -1, %46 %48 = call i32 @htonl(i32 noundef %47) store i32 %48, ptr %13, align 4 %49 = load i32, ptr %11, align 4 %50 = load i32, ptr %12, align 4 %51 = xor i32 %49, %50 %52 = load i32, ptr %13, align 4 %53 = and i32 %51, %52 %54 = icmp ne i32 %53, 0 br i1 %54, label %55, label %56 55: ; preds = %34 store i32 1, ptr %4, align 4 br label %58 56: ; preds = %34 br label %57 57: ; preds = %56, %31 store i32 0, ptr %4, align 4 br label %58 58: ; preds = %57, %55, %29 %59 = load i32, ptr %4, align 4 ret i32 %59 } declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0b9gccc2.c' source_filename = "/tmp/tmp0b9gccc2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xTimerCounterDisable(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = call i32 @TimerStop(i64 noundef %5) ret void } declare i32 @TimerStop(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/tmp0b9gccc2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xTimerCounterDisable(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = call i32 @TimerStop(i64 noundef %5) ret void } declare i32 @TimerStop(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/tmp_plbxgv7.c' source_filename = "/tmp/tmp_plbxgv7.c" target datalayout = "e-m:e-p270: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 [33 x i8] c"\0AJarrett Host-To-Host Connector\0A\00", align 1 @.str.1 = private unnamed_addr constant [59 x i8] c"Copyright(c) 2005 Angelo Dell'Aera <buffer@antifork.org>\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @banner() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_plbxgv7.c" target datalayout = "e-m:e-p270: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 [33 x i8] c"\0AJarrett Host-To-Host Connector\0A\00", align 1 @.str.1 = private unnamed_addr constant [59 x i8] c"Copyright(c) 2005 Angelo Dell'Aera <buffer@antifork.org>\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @banner() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1jycy8k_.c' source_filename = "/tmp/tmp1jycy8k_.c" target datalayout = "e-m:e-p270: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/tmp1jycy8k_.c" target datalayout = "e-m:e-p270: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/tmpdcnrmqd1.c' source_filename = "/tmp/tmpdcnrmqd1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @O_RDONLY = 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 @xsymlinkat(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %11 = load i32, ptr @O_RDONLY, align 4 %12 = call i32 @open(ptr noundef @.str, i32 noundef %11) store i32 %12, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = icmp eq i32 %13, -1 br i1 %14, label %15, label %16 15: ; preds = %3 store i32 -1, ptr %4, align 4 br label %36 16: ; preds = %3 %17 = load i32, ptr %6, align 4 %18 = call i32 @fchdir(i32 noundef %17) %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %25 20: ; preds = %16 %21 = load i32, ptr @errno, align 4 store i32 %21, ptr %10, align 4 %22 = load i32, ptr %8, align 4 %23 = call i32 @close(i32 noundef %22) %24 = load i32, ptr %10, align 4 store i32 %24, ptr @errno, align 4 store i32 -1, ptr %4, align 4 br label %36 25: ; preds = %16 %26 = load ptr, ptr %5, align 8 %27 = load ptr, ptr %7, align 8 %28 = call i32 @symlink(ptr noundef %26, ptr noundef %27) store i32 %28, ptr %9, align 4 %29 = load i32, ptr @errno, align 4 store i32 %29, ptr %10, align 4 %30 = load i32, ptr %8, align 4 %31 = call i32 @fchdir(i32 noundef %30) %32 = load i32, ptr %8, align 4 %33 = call i32 @close(i32 noundef %32) %34 = load i32, ptr %10, align 4 store i32 %34, ptr @errno, align 4 %35 = load i32, ptr %9, align 4 store i32 %35, ptr %4, align 4 br label %36 36: ; preds = %25, %20, %15 %37 = load i32, ptr %4, align 4 ret i32 %37 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fchdir(i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @symlink(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/tmpdcnrmqd1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @O_RDONLY = 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 @xsymlinkat(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %11 = load i32, ptr @O_RDONLY, align 4 %12 = call i32 @open(ptr noundef @.str, i32 noundef %11) store i32 %12, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = icmp eq i32 %13, -1 br i1 %14, label %15, label %16 15: ; preds = %3 store i32 -1, ptr %4, align 4 br label %36 16: ; preds = %3 %17 = load i32, ptr %6, align 4 %18 = call i32 @fchdir(i32 noundef %17) %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %25 20: ; preds = %16 %21 = load i32, ptr @errno, align 4 store i32 %21, ptr %10, align 4 %22 = load i32, ptr %8, align 4 %23 = call i32 @close(i32 noundef %22) %24 = load i32, ptr %10, align 4 store i32 %24, ptr @errno, align 4 store i32 -1, ptr %4, align 4 br label %36 25: ; preds = %16 %26 = load ptr, ptr %5, align 8 %27 = load ptr, ptr %7, align 8 %28 = call i32 @symlink(ptr noundef %26, ptr noundef %27) store i32 %28, ptr %9, align 4 %29 = load i32, ptr @errno, align 4 store i32 %29, ptr %10, align 4 %30 = load i32, ptr %8, align 4 %31 = call i32 @fchdir(i32 noundef %30) %32 = load i32, ptr %8, align 4 %33 = call i32 @close(i32 noundef %32) %34 = load i32, ptr %10, align 4 store i32 %34, ptr @errno, align 4 %35 = load i32, ptr %9, align 4 store i32 %35, ptr %4, align 4 br label %36 36: ; preds = %25, %20, %15 %37 = load i32, ptr %4, align 4 ret i32 %37 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fchdir(i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @symlink(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/tmpjnxmc5_v.c' source_filename = "/tmp/tmpjnxmc5_v.c" target datalayout = "e-m:e-p270: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/tmpjnxmc5_v.c" target datalayout = "e-m:e-p270: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/tmptjjpixew.c' source_filename = "/tmp/tmptjjpixew.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_significandl(x86_fp80 noundef %0) #0 { %2 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %2, align 16 %3 = load x86_fp80, ptr %2, align 16 %4 = call i64 @significandl(x86_fp80 noundef %3) %5 = load x86_fp80, ptr %2, align 16 %6 = call i64 @significandl(x86_fp80 noundef %5) %7 = icmp ne i64 %4, %6 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 (...) @link_failure_significandl() br label %10 10: ; preds = %8, %1 ret void } declare i64 @significandl(x86_fp80 noundef) #1 declare i32 @link_failure_significandl(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptjjpixew.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_significandl(x86_fp80 noundef %0) #0 { %2 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %2, align 16 %3 = load x86_fp80, ptr %2, align 16 %4 = call i64 @significandl(x86_fp80 noundef %3) %5 = load x86_fp80, ptr %2, align 16 %6 = call i64 @significandl(x86_fp80 noundef %5) %7 = icmp ne i64 %4, %6 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 (...) @link_failure_significandl() br label %10 10: ; preds = %8, %1 ret void } declare i64 @significandl(x86_fp80 noundef) #1 declare i32 @link_failure_significandl(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp908ztz7q.c' source_filename = "/tmp/tmp908ztz7q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mp_lshift(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i16, align 2 %14 = alloca i16, align 2 %15 = alloca i64, align 8 %16 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %17 = load i64, ptr %8, align 8 %18 = sdiv i64 %17, 16 store i64 %18, ptr %11, align 8 %19 = load i64, ptr %8, align 8 %20 = srem i64 %19, 16 store i64 %20, ptr %12, align 8 %21 = load i64, ptr %7, align 8 %22 = load i64, ptr %11, align 8 %23 = add i64 %21, %22 store i64 %23, ptr %10, align 8 %24 = load i64, ptr %12, align 8 %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %117 26: ; preds = %4 store i64 1, ptr %9, align 8 store i64 32768, ptr %15, align 8 br label %27 27: ; preds = %42, %26 %28 = load i64, ptr %15, align 8 %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %47 30: ; preds = %27 %31 = load ptr, ptr %6, align 8 %32 = load i64, ptr %7, align 8 %33 = sub i64 %32, 1 %34 = getelementptr inbounds i16, ptr %31, i64 %33 %35 = load i16, ptr %34, align 2 %36 = zext i16 %35 to i64 %37 = load i64, ptr %15, align 8 %38 = and i64 %36, %37 %39 = icmp ne i64 %38, 0 br i1 %39, label %40, label %41 40: ; preds = %30 br label %47 41: ; preds = %30 br label %42 42: ; preds = %41 %43 = load i64, ptr %9, align 8 %44 = add nsw i64 %43, 1 store i64 %44, ptr %9, align 8 %45 = load i64, ptr %15, align 8 %46 = lshr i64 %45, 1 store i64 %46, ptr %15, align 8 br label %27, !llvm.loop !6 47: ; preds = %40, %27 %48 = load i64, ptr %12, align 8 %49 = load i64, ptr %9, align 8 %50 = sub nsw i64 16, %49 %51 = add i64 %48, %50 %52 = udiv i64 %51, 16 %53 = trunc i64 %52 to i32 store i32 %53, ptr %16, align 4 %54 = load i32, ptr %16, align 4 %55 = sext i32 %54 to i64 %56 = load i64, ptr %10, align 8 %57 = add nsw i64 %56, %55 store i64 %57, ptr %10, align 8 %58 = load ptr, ptr %6, align 8 %59 = getelementptr inbounds i16, ptr %58, i64 0 %60 = load i16, ptr %59, align 2 store i16 %60, ptr %13, align 2 store i16 %60, ptr %14, align 2 %61 = load i16, ptr %14, align 2 %62 = zext i16 %61 to i32 %63 = load i64, ptr %12, align 8 %64 = trunc i64 %63 to i32 %65 = shl i32 %62, %64 %66 = trunc i32 %65 to i16 %67 = load ptr, ptr %5, align 8 %68 = load i64, ptr %11, align 8 %69 = getelementptr inbounds i16, ptr %67, i64 %68 store i16 %66, ptr %69, align 2 store i64 1, ptr %9, align 8 br label %70 70: ; preds = %98, %47 %71 = load i64, ptr %9, align 8 %72 = load i64, ptr %7, align 8 %73 = icmp ult i64 %71, %72 br i1 %73, label %74, label %101 74: ; preds = %70 %75 = load ptr, ptr %6, align 8 %76 = load i64, ptr %9, align 8 %77 = getelementptr inbounds i16, ptr %75, i64 %76 %78 = load i16, ptr %77, align 2 store i16 %78, ptr %13, align 2 %79 = load i16, ptr %13, align 2 %80 = zext i16 %79 to i32 %81 = load i64, ptr %12, align 8 %82 = trunc i64 %81 to i32 %83 = shl i32 %80, %82 %84 = load i16, ptr %14, align 2 %85 = zext i16 %84 to i32 %86 = load i64, ptr %12, align 8 %87 = sub i64 16, %86 %88 = trunc i64 %87 to i32 %89 = ashr i32 %85, %88 %90 = or i32 %83, %89 %91 = trunc i32 %90 to i16 %92 = load ptr, ptr %5, align 8 %93 = load i64, ptr %11, align 8 %94 = load i64, ptr %9, align 8 %95 = add i64 %93, %94 %96 = getelementptr inbounds i16, ptr %92, i64 %95 store i16 %91, ptr %96, align 2 %97 = load i16, ptr %13, align 2 store i16 %97, ptr %14, align 2 br label %98 98: ; preds = %74 %99 = load i64, ptr %9, align 8 %100 = add nsw i64 %99, 1 store i64 %100, ptr %9, align 8 br label %70, !llvm.loop !8 101: ; preds = %70 %102 = load i32, ptr %16, align 4 %103 = icmp ne i32 %102, 0 br i1 %103, label %104, label %116 104: ; preds = %101 %105 = load i16, ptr %13, align 2 %106 = zext i16 %105 to i32 %107 = load i64, ptr %12, align 8 %108 = sub i64 16, %107 %109 = trunc i64 %108 to i32 %110 = ashr i32 %106, %109 %111 = trunc i32 %110 to i16 %112 = load ptr, ptr %5, align 8 %113 = load i64, ptr %10, align 8 %114 = sub nsw i64 %113, 1 %115 = getelementptr inbounds i16, ptr %112, i64 %114 store i16 %111, ptr %115, align 2 br label %116 116: ; preds = %104, %101 br label %129 117: ; preds = %4 %118 = load ptr, ptr %5, align 8 %119 = load i64, ptr %10, align 8 %120 = getelementptr inbounds i16, ptr %118, i64 %119 %121 = load i64, ptr %7, align 8 %122 = sub i64 0, %121 %123 = getelementptr inbounds i16, ptr %120, i64 %122 %124 = load ptr, ptr %6, align 8 %125 = load i64, ptr %7, align 8 %126 = mul i64 2, %125 %127 = trunc i64 %126 to i32 %128 = call i32 @memmove(ptr noundef %123, ptr noundef %124, i32 noundef %127) br label %129 129: ; preds = %117, %116 %130 = load i64, ptr %11, align 8 %131 = icmp ne i64 %130, 0 br i1 %131, label %132, label %138 132: ; preds = %129 %133 = load ptr, ptr %5, align 8 %134 = load i64, ptr %11, align 8 %135 = mul i64 2, %134 %136 = trunc i64 %135 to i32 %137 = call i32 @memset(ptr noundef %133, i8 noundef signext 0, i32 noundef %136) br label %138 138: ; preds = %132, %129 %139 = load i64, ptr %10, align 8 ret i64 %139 } declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp908ztz7q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mp_lshift(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i16, align 2 %14 = alloca i16, align 2 %15 = alloca i64, align 8 %16 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %17 = load i64, ptr %8, align 8 %18 = sdiv i64 %17, 16 store i64 %18, ptr %11, align 8 %19 = load i64, ptr %8, align 8 %20 = srem i64 %19, 16 store i64 %20, ptr %12, align 8 %21 = load i64, ptr %7, align 8 %22 = load i64, ptr %11, align 8 %23 = add i64 %21, %22 store i64 %23, ptr %10, align 8 %24 = load i64, ptr %12, align 8 %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %120 26: ; preds = %4 store i64 1, ptr %9, align 8 store i64 32768, ptr %15, align 8 %27 = load i64, ptr %15, align 8 %28 = icmp ne i64 %27, 0 br i1 %28, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %26 br label %29 29: ; preds = %.lr.ph, %41 %30 = load ptr, ptr %6, align 8 %31 = load i64, ptr %7, align 8 %32 = sub i64 %31, 1 %33 = getelementptr inbounds i16, ptr %30, i64 %32 %34 = load i16, ptr %33, align 2 %35 = zext i16 %34 to i64 %36 = load i64, ptr %15, align 8 %37 = and i64 %35, %36 %38 = icmp ne i64 %37, 0 br i1 %38, label %39, label %40 39: ; preds = %29 br label %48 40: ; preds = %29 br label %41 41: ; preds = %40 %42 = load i64, ptr %9, align 8 %43 = add nsw i64 %42, 1 store i64 %43, ptr %9, align 8 %44 = load i64, ptr %15, align 8 %45 = lshr i64 %44, 1 store i64 %45, ptr %15, align 8 %46 = load i64, ptr %15, align 8 %47 = icmp ne i64 %46, 0 br i1 %47, label %29, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %41 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %26 br label %48 48: ; preds = %.loopexit, %39 %49 = load i64, ptr %12, align 8 %50 = load i64, ptr %9, align 8 %51 = sub nsw i64 16, %50 %52 = add i64 %49, %51 %53 = udiv i64 %52, 16 %54 = trunc i64 %53 to i32 store i32 %54, ptr %16, align 4 %55 = load i32, ptr %16, align 4 %56 = sext i32 %55 to i64 %57 = load i64, ptr %10, align 8 %58 = add nsw i64 %57, %56 store i64 %58, ptr %10, align 8 %59 = load ptr, ptr %6, align 8 %60 = getelementptr inbounds i16, ptr %59, i64 0 %61 = load i16, ptr %60, align 2 store i16 %61, ptr %13, align 2 store i16 %61, ptr %14, align 2 %62 = load i16, ptr %14, align 2 %63 = zext i16 %62 to i32 %64 = load i64, ptr %12, align 8 %65 = trunc i64 %64 to i32 %66 = shl i32 %63, %65 %67 = trunc i32 %66 to i16 %68 = load ptr, ptr %5, align 8 %69 = load i64, ptr %11, align 8 %70 = getelementptr inbounds i16, ptr %68, i64 %69 store i16 %67, ptr %70, align 2 store i64 1, ptr %9, align 8 %71 = load i64, ptr %9, align 8 %72 = load i64, ptr %7, align 8 %73 = icmp ult i64 %71, %72 br i1 %73, label %.lr.ph1, label %104 .lr.ph1: ; preds = %48 br label %74 74: ; preds = %.lr.ph1, %98 %75 = load ptr, ptr %6, align 8 %76 = load i64, ptr %9, align 8 %77 = getelementptr inbounds i16, ptr %75, i64 %76 %78 = load i16, ptr %77, align 2 store i16 %78, ptr %13, align 2 %79 = load i16, ptr %13, align 2 %80 = zext i16 %79 to i32 %81 = load i64, ptr %12, align 8 %82 = trunc i64 %81 to i32 %83 = shl i32 %80, %82 %84 = load i16, ptr %14, align 2 %85 = zext i16 %84 to i32 %86 = load i64, ptr %12, align 8 %87 = sub i64 16, %86 %88 = trunc i64 %87 to i32 %89 = ashr i32 %85, %88 %90 = or i32 %83, %89 %91 = trunc i32 %90 to i16 %92 = load ptr, ptr %5, align 8 %93 = load i64, ptr %11, align 8 %94 = load i64, ptr %9, align 8 %95 = add i64 %93, %94 %96 = getelementptr inbounds i16, ptr %92, i64 %95 store i16 %91, ptr %96, align 2 %97 = load i16, ptr %13, align 2 store i16 %97, ptr %14, align 2 br label %98 98: ; preds = %74 %99 = load i64, ptr %9, align 8 %100 = add nsw i64 %99, 1 store i64 %100, ptr %9, align 8 %101 = load i64, ptr %9, align 8 %102 = load i64, ptr %7, align 8 %103 = icmp ult i64 %101, %102 br i1 %103, label %74, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %98 br label %104 104: ; preds = %._crit_edge, %48 %105 = load i32, ptr %16, align 4 %106 = icmp ne i32 %105, 0 br i1 %106, label %107, label %119 107: ; preds = %104 %108 = load i16, ptr %13, align 2 %109 = zext i16 %108 to i32 %110 = load i64, ptr %12, align 8 %111 = sub i64 16, %110 %112 = trunc i64 %111 to i32 %113 = ashr i32 %109, %112 %114 = trunc i32 %113 to i16 %115 = load ptr, ptr %5, align 8 %116 = load i64, ptr %10, align 8 %117 = sub nsw i64 %116, 1 %118 = getelementptr inbounds i16, ptr %115, i64 %117 store i16 %114, ptr %118, align 2 br label %119 119: ; preds = %107, %104 br label %132 120: ; preds = %4 %121 = load ptr, ptr %5, align 8 %122 = load i64, ptr %10, align 8 %123 = getelementptr inbounds i16, ptr %121, i64 %122 %124 = load i64, ptr %7, align 8 %125 = sub i64 0, %124 %126 = getelementptr inbounds i16, ptr %123, i64 %125 %127 = load ptr, ptr %6, align 8 %128 = load i64, ptr %7, align 8 %129 = mul i64 2, %128 %130 = trunc i64 %129 to i32 %131 = call i32 @memmove(ptr noundef %126, ptr noundef %127, i32 noundef %130) br label %132 132: ; preds = %120, %119 %133 = load i64, ptr %11, align 8 %134 = icmp ne i64 %133, 0 br i1 %134, label %135, label %141 135: ; preds = %132 %136 = load ptr, ptr %5, align 8 %137 = load i64, ptr %11, align 8 %138 = mul i64 2, %137 %139 = trunc i64 %138 to i32 %140 = call i32 @memset(ptr noundef %136, i8 noundef signext 0, i32 noundef %139) br label %141 141: ; preds = %135, %132 %142 = load i64, ptr %10, align 8 ret i64 %142 } declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpxyfg04fr.c' source_filename = "/tmp/tmpxyfg04fr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @joystick_update() #0 { %1 = call i32 (...) @joystick_update_hal() ret void } declare i32 @joystick_update_hal(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxyfg04fr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @joystick_update() #0 { %1 = call i32 (...) @joystick_update_hal() ret void } declare i32 @joystick_update_hal(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa9h0r10l.c' source_filename = "/tmp/tmpa9h0r10l.c" target datalayout = "e-m:e-p270: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 [11 x i8] c"ERROR: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printerr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa9h0r10l.c" target datalayout = "e-m:e-p270: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 [11 x i8] c"ERROR: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printerr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4vxwcagf.c' source_filename = "/tmp/tmp4vxwcagf.c" target datalayout = "e-m:e-p270: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/tmp4vxwcagf.c" target datalayout = "e-m:e-p270: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/tmp10xwwiy_.c' source_filename = "/tmp/tmp10xwwiy_.c" target datalayout = "e-m:e-p270: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/tmp10xwwiy_.c" target datalayout = "e-m:e-p270: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/tmpkd3l6lvg.c' source_filename = "/tmp/tmpkd3l6lvg.c" target datalayout = "e-m:e-p270: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/tmpkd3l6lvg.c" target datalayout = "e-m:e-p270: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/tmplqw9chhr.c' source_filename = "/tmp/tmplqw9chhr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"initial_data.csv\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"\0A file opening failed \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c",\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"item: %8.3f \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4096 x i8], align 16 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %9, ptr %8, align 8 %10 = load ptr, ptr %8, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %14 12: ; preds = %0 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 -1, ptr %1, align 4 br label %32 14: ; preds = %0 br label %15 15: ; preds = %30, %14 %16 = getelementptr inbounds [4096 x i8], ptr %2, i64 0, i64 0 %17 = load ptr, ptr %8, align 8 %18 = call ptr @fgets(ptr noundef %16, i32 noundef 4096, ptr noundef %17) store ptr %18, ptr %4, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %20, label %31 20: ; preds = %15 %21 = load ptr, ptr %4, align 8 %22 = call ptr @strtok(ptr noundef %21, ptr noundef @.str.3) store ptr %22, ptr %3, align 8 br label %23 23: ; preds = %26, %20 %24 = call ptr @strtok(ptr noundef null, ptr noundef @.str.3) store ptr %24, ptr %3, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %30 26: ; preds = %23 %27 = load ptr, ptr %3, align 8 %28 = call double @atof(ptr noundef %27) %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %28) br label %23, !llvm.loop !6 30: ; preds = %23 br label %15, !llvm.loop !8 31: ; preds = %15 store i32 0, ptr %1, align 4 br label %32 32: ; preds = %31, %12 %33 = load i32, ptr %1, align 4 ret i32 %33 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare double @atof(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmplqw9chhr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"initial_data.csv\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"\0A file opening failed \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c",\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"item: %8.3f \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4096 x i8], align 16 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %9, ptr %8, align 8 %10 = load ptr, ptr %8, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %14 12: ; preds = %0 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 -1, ptr %1, align 4 br label %35 14: ; preds = %0 %15 = getelementptr inbounds [4096 x i8], ptr %2, i64 0, i64 0 %16 = load ptr, ptr %8, align 8 %17 = call ptr @fgets(ptr noundef %15, i32 noundef 4096, ptr noundef %16) store ptr %17, ptr %4, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %.lr.ph2, label %34 .lr.ph2: ; preds = %14 br label %19 19: ; preds = %.lr.ph2, %30 %20 = load ptr, ptr %4, align 8 %21 = call ptr @strtok(ptr noundef %20, ptr noundef @.str.3) store ptr %21, ptr %3, align 8 %22 = call ptr @strtok(ptr noundef null, ptr noundef @.str.3) store ptr %22, ptr %3, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %.lr.ph, label %30 .lr.ph: ; preds = %19 br label %24 24: ; preds = %.lr.ph, %24 %25 = load ptr, ptr %3, align 8 %26 = call double @atof(ptr noundef %25) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %26) %28 = call ptr @strtok(ptr noundef null, ptr noundef @.str.3) store ptr %28, ptr %3, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %30 30: ; preds = %._crit_edge, %19 %31 = load ptr, ptr %8, align 8 %32 = call ptr @fgets(ptr noundef %15, i32 noundef 4096, ptr noundef %31) store ptr %32, ptr %4, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %19, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %30 br label %34 34: ; preds = %._crit_edge3, %14 store i32 0, ptr %1, align 4 br label %35 35: ; preds = %34, %12 %36 = load i32, ptr %1, align 4 ret i32 %36 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare double @atof(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpzi5l1kn9.c' source_filename = "/tmp/tmpzi5l1kn9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello\00", align 1 @stdout = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = load i32, ptr @stdout, align 4 %3 = call i32 @fputs(ptr noundef @.str, i32 noundef %2) %4 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %4 } declare i32 @fputs(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzi5l1kn9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello\00", align 1 @stdout = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = load i32, ptr @stdout, align 4 %3 = call i32 @fputs(ptr noundef @.str, i32 noundef %2) %4 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %4 } declare i32 @fputs(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0dlfr9gt.c' source_filename = "/tmp/tmp0dlfr9gt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @postorder(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @postorderBST(ptr noundef %5, ptr noundef %6, i32 noundef 1) ret void } declare i32 @postorderBST(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/tmp0dlfr9gt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @postorder(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @postorderBST(ptr noundef %5, ptr noundef %6, i32 noundef 1) ret void } declare i32 @postorderBST(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/tmpf1arlex4.c' source_filename = "/tmp/tmpf1arlex4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"\0A the infix expression entered is :%s\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"\0A The prefix rxpression is :%s\00", align 1 @.str.2 = private unnamed_addr constant [45 x i8] c"\0A The prefix rxpression after valuing is :%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @topre(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [100 x i8], align 16 %4 = alloca [100 x i8], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %9 = load ptr, ptr %2, align 8 %10 = call i32 @printf(ptr noundef @.str, ptr noundef %9) store i32 -1, ptr %5, align 4 store i32 -1, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %11 11: ; preds = %228, %1 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %7, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %229 19: ; preds = %11 %20 = load ptr, ptr %2, align 8 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 41 br i1 %26, label %27, label %40 27: ; preds = %19 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %6, align 4 %30 = load ptr, ptr %2, align 8 %31 = load i32, ptr %7, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 %34 = load i8, ptr %33, align 1 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %36 store i8 %34, ptr %37, align 1 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 br label %228 40: ; preds = %19 %41 = load ptr, ptr %2, align 8 %42 = load i32, ptr %7, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp eq i32 %46, 40 br i1 %47, label %48, label %82 48: ; preds = %40 %49 = load i32, ptr %7, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %7, align 4 br label %51 51: ; preds = %67, %48 %52 = load i32, ptr %6, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %53 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp ne i32 %56, 40 br i1 %57, label %58, label %65 58: ; preds = %51 %59 = load i32, ptr %6, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %60 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = icmp ne i32 %63, 41 br label %65 65: ; preds = %58, %51 %66 = phi i1 [ false, %51 ], [ %64, %58 ] br i1 %66, label %67, label %79 67: ; preds = %65 %68 = load i32, ptr %5, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %5, align 4 %70 = load i32, ptr %6, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %71 %73 = load i8, ptr %72, align 1 %74 = load i32, ptr %5, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %75 store i8 %73, ptr %76, align 1 %77 = load i32, ptr %6, align 4 %78 = add nsw i32 %77, -1 store i32 %78, ptr %6, align 4 br label %51, !llvm.loop !6 79: ; preds = %65 %80 = load i32, ptr %6, align 4 %81 = add nsw i32 %80, -1 store i32 %81, ptr %6, align 4 br label %227 82: ; preds = %40 %83 = load ptr, ptr %2, align 8 %84 = load i32, ptr %7, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i8, ptr %83, i64 %85 %87 = load i8, ptr %86, align 1 %88 = call signext i8 @prec(i8 noundef signext %87) %89 = sext i8 %88 to i32 %90 = icmp eq i32 %89, 0 br i1 %90, label %91, label %104 91: ; preds = %82 %92 = load i32, ptr %5, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %5, align 4 %94 = load ptr, ptr %2, align 8 %95 = load i32, ptr %7, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i8, ptr %94, i64 %96 %98 = load i8, ptr %97, align 1 %99 = load i32, ptr %5, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %100 store i8 %98, ptr %101, align 1 %102 = load i32, ptr %7, align 4 %103 = add nsw i32 %102, 1 store i32 %103, ptr %7, align 4 br label %226 104: ; preds = %82 %105 = load i32, ptr %6, align 4 %106 = icmp ne i32 %105, -1 br i1 %106, label %107, label %212 107: ; preds = %104 %108 = load ptr, ptr %2, align 8 %109 = load i32, ptr %7, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i8, ptr %108, i64 %110 %112 = load i8, ptr %111, align 1 %113 = call signext i8 @prec(i8 noundef signext %112) %114 = sext i8 %113 to i32 %115 = load i32, ptr %6, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %116 %118 = load i8, ptr %117, align 1 %119 = call signext i8 @prec(i8 noundef signext %118) %120 = sext i8 %119 to i32 %121 = icmp sge i32 %114, %120 br i1 %121, label %122, label %135 122: ; preds = %107 %123 = load i32, ptr %6, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %6, align 4 %125 = load ptr, ptr %2, align 8 %126 = load i32, ptr %7, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds i8, ptr %125, i64 %127 %129 = load i8, ptr %128, align 1 %130 = load i32, ptr %6, align 4 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %131 store i8 %129, ptr %132, align 1 %133 = load i32, ptr %7, align 4 %134 = add nsw i32 %133, 1 store i32 %134, ptr %7, align 4 br label %211 135: ; preds = %107 %136 = load ptr, ptr %2, align 8 %137 = load i32, ptr %7, align 4 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds i8, ptr %136, i64 %138 %140 = load i8, ptr %139, align 1 %141 = call signext i8 @prec(i8 noundef signext %140) %142 = sext i8 %141 to i32 %143 = load i32, ptr %6, align 4 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %144 %146 = load i8, ptr %145, align 1 %147 = sext i8 %146 to i32 %148 = icmp slt i32 %142, %147 br i1 %148, label %149, label %210 149: ; preds = %135 %150 = load i32, ptr %6, align 4 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %151 %153 = load i8, ptr %152, align 1 %154 = sext i8 %153 to i32 %155 = icmp ne i32 %154, 41 br i1 %155, label %156, label %210 156: ; preds = %149 store i32 0, ptr %8, align 4 br label %157 157: ; preds = %183, %156 %158 = load ptr, ptr %2, align 8 %159 = load i32, ptr %7, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds i8, ptr %158, i64 %160 %162 = load i8, ptr %161, align 1 %163 = call signext i8 @prec(i8 noundef signext %162) %164 = sext i8 %163 to i32 %165 = load i32, ptr %6, align 4 %166 = sext i32 %165 to i64 %167 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %166 %168 = load i8, ptr %167, align 1 %169 = sext i8 %168 to i32 %170 = icmp sle i32 %164, %169 br i1 %170, label %171, label %181 171: ; preds = %157 %172 = load i32, ptr %6, align 4 %173 = icmp ne i32 %172, -1 br i1 %173, label %174, label %181 174: ; preds = %171 %175 = load i32, ptr %6, align 4 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %176 %178 = load i8, ptr %177, align 1 %179 = sext i8 %178 to i32 %180 = icmp ne i32 %179, 41 br label %181 181: ; preds = %174, %171, %157 %182 = phi i1 [ false, %171 ], [ false, %157 ], [ %180, %174 ] br i1 %182, label %183, label %197 183: ; preds = %181 %184 = load i32, ptr %5, align 4 %185 = add nsw i32 %184, 1 store i32 %185, ptr %5, align 4 %186 = load i32, ptr %8, align 4 %187 = add nsw i32 %186, 1 store i32 %187, ptr %8, align 4 %188 = load i32, ptr %6, align 4 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %189 %191 = load i8, ptr %190, align 1 %192 = load i32, ptr %5, align 4 %193 = sext i32 %192 to i64 %194 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %193 store i8 %191, ptr %194, align 1 %195 = load i32, ptr %6, align 4 %196 = add nsw i32 %195, -1 store i32 %196, ptr %6, align 4 br label %157, !llvm.loop !8 197: ; preds = %181 %198 = load i32, ptr %6, align 4 %199 = add nsw i32 %198, 1 store i32 %199, ptr %6, align 4 %200 = load ptr, ptr %2, align 8 %201 = load i32, ptr %7, align 4 %202 = sext i32 %201 to i64 %203 = getelementptr inbounds i8, ptr %200, i64 %202 %204 = load i8, ptr %203, align 1 %205 = load i32, ptr %6, align 4 %206 = sext i32 %205 to i64 %207 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %206 store i8 %204, ptr %207, align 1 %208 = load i32, ptr %7, align 4 %209 = add nsw i32 %208, 1 store i32 %209, ptr %7, align 4 br label %210 210: ; preds = %197, %149, %135 br label %211 211: ; preds = %210, %122 br label %225 212: ; preds = %104 %213 = load i32, ptr %6, align 4 %214 = add nsw i32 %213, 1 store i32 %214, ptr %6, align 4 %215 = load ptr, ptr %2, align 8 %216 = load i32, ptr %7, align 4 %217 = sext i32 %216 to i64 %218 = getelementptr inbounds i8, ptr %215, i64 %217 %219 = load i8, ptr %218, align 1 %220 = load i32, ptr %6, align 4 %221 = sext i32 %220 to i64 %222 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %221 store i8 %219, ptr %222, align 1 %223 = load i32, ptr %7, align 4 %224 = add nsw i32 %223, 1 store i32 %224, ptr %7, align 4 br label %225 225: ; preds = %212, %211 br label %226 226: ; preds = %225, %91 br label %227 227: ; preds = %226, %79 br label %228 228: ; preds = %227, %27 br label %11, !llvm.loop !9 229: ; preds = %11 br label %230 230: ; preds = %233, %229 %231 = load i32, ptr %6, align 4 %232 = icmp sge i32 %231, 0 br i1 %232, label %233, label %245 233: ; preds = %230 %234 = load i32, ptr %5, align 4 %235 = add nsw i32 %234, 1 store i32 %235, ptr %5, align 4 %236 = load i32, ptr %6, align 4 %237 = sext i32 %236 to i64 %238 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %237 %239 = load i8, ptr %238, align 1 %240 = load i32, ptr %5, align 4 %241 = sext i32 %240 to i64 %242 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %241 store i8 %239, ptr %242, align 1 %243 = load i32, ptr %6, align 4 %244 = add nsw i32 %243, -1 store i32 %244, ptr %6, align 4 br label %230, !llvm.loop !10 245: ; preds = %230 %246 = load i32, ptr %5, align 4 %247 = add nsw i32 %246, 1 store i32 %247, ptr %5, align 4 %248 = load i32, ptr %5, align 4 %249 = sext i32 %248 to i64 %250 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %249 store i8 0, ptr %250, align 1 %251 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %252 = call ptr @strrev(ptr noundef %251) %253 = call i32 @printf(ptr noundef @.str.1, ptr noundef %252) %254 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %255 = call i32 @values(ptr noundef %254) %256 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %257 = call i32 @printf(ptr noundef @.str.2, ptr noundef %256) %258 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %259 = call i32 @evapo(ptr noundef %258) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 declare signext i8 @prec(i8 noundef signext) #1 declare ptr @strrev(ptr noundef) #1 declare i32 @values(ptr noundef) #1 declare i32 @evapo(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpf1arlex4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"\0A the infix expression entered is :%s\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"\0A The prefix rxpression is :%s\00", align 1 @.str.2 = private unnamed_addr constant [45 x i8] c"\0A The prefix rxpression after valuing is :%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @topre(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [100 x i8], align 16 %4 = alloca [100 x i8], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %9 = load ptr, ptr %2, align 8 %10 = call i32 @printf(ptr noundef @.str, ptr noundef %9) store i32 -1, ptr %5, align 4 store i32 -1, ptr %6, align 4 store i32 0, ptr %7, align 4 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %7, 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 %.lr.ph, label %235 .lr.ph: ; preds = %1 br label %18 18: ; preds = %.lr.ph, %227 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr %7, 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 eq i32 %24, 41 br i1 %25, label %26, label %39 26: ; preds = %18 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %6, align 4 %29 = load ptr, ptr %2, align 8 %30 = load i32, ptr %7, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = load i32, ptr %6, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %35 store i8 %33, ptr %36, align 1 %37 = load i32, ptr %7, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %7, align 4 br label %227 39: ; preds = %18 %40 = load ptr, ptr %2, align 8 %41 = load i32, ptr %7, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 40 br i1 %46, label %47, label %81 47: ; preds = %39 %48 = load i32, ptr %7, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %7, align 4 br label %50 50: ; preds = %66, %47 %51 = load i32, ptr %6, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %52 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp ne i32 %55, 40 br i1 %56, label %57, label %64 57: ; preds = %50 %58 = load i32, ptr %6, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %59 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = icmp ne i32 %62, 41 br label %64 64: ; preds = %57, %50 %65 = phi i1 [ false, %50 ], [ %63, %57 ] br i1 %65, label %66, label %78 66: ; preds = %64 %67 = load i32, ptr %5, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %5, align 4 %69 = load i32, ptr %6, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %70 %72 = load i8, ptr %71, align 1 %73 = load i32, ptr %5, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %74 store i8 %72, ptr %75, align 1 %76 = load i32, ptr %6, align 4 %77 = add nsw i32 %76, -1 store i32 %77, ptr %6, align 4 br label %50, !llvm.loop !6 78: ; preds = %64 %79 = load i32, ptr %6, align 4 %80 = add nsw i32 %79, -1 store i32 %80, ptr %6, align 4 br label %226 81: ; preds = %39 %82 = load ptr, ptr %2, align 8 %83 = load i32, ptr %7, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i8, ptr %82, i64 %84 %86 = load i8, ptr %85, align 1 %87 = call signext i8 @prec(i8 noundef signext %86) %88 = sext i8 %87 to i32 %89 = icmp eq i32 %88, 0 br i1 %89, label %90, label %103 90: ; preds = %81 %91 = load i32, ptr %5, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %5, align 4 %93 = load ptr, ptr %2, align 8 %94 = load i32, ptr %7, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i8, ptr %93, i64 %95 %97 = load i8, ptr %96, align 1 %98 = load i32, ptr %5, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %99 store i8 %97, ptr %100, align 1 %101 = load i32, ptr %7, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %7, align 4 br label %225 103: ; preds = %81 %104 = load i32, ptr %6, align 4 %105 = icmp ne i32 %104, -1 br i1 %105, label %106, label %211 106: ; preds = %103 %107 = load ptr, ptr %2, align 8 %108 = load i32, ptr %7, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i8, ptr %107, i64 %109 %111 = load i8, ptr %110, align 1 %112 = call signext i8 @prec(i8 noundef signext %111) %113 = sext i8 %112 to i32 %114 = load i32, ptr %6, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %115 %117 = load i8, ptr %116, align 1 %118 = call signext i8 @prec(i8 noundef signext %117) %119 = sext i8 %118 to i32 %120 = icmp sge i32 %113, %119 br i1 %120, label %121, label %134 121: ; preds = %106 %122 = load i32, ptr %6, align 4 %123 = add nsw i32 %122, 1 store i32 %123, ptr %6, align 4 %124 = load ptr, ptr %2, align 8 %125 = load i32, ptr %7, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds i8, ptr %124, i64 %126 %128 = load i8, ptr %127, align 1 %129 = load i32, ptr %6, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %130 store i8 %128, ptr %131, align 1 %132 = load i32, ptr %7, align 4 %133 = add nsw i32 %132, 1 store i32 %133, ptr %7, align 4 br label %210 134: ; preds = %106 %135 = load ptr, ptr %2, align 8 %136 = load i32, ptr %7, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds i8, ptr %135, i64 %137 %139 = load i8, ptr %138, align 1 %140 = call signext i8 @prec(i8 noundef signext %139) %141 = sext i8 %140 to i32 %142 = load i32, ptr %6, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %143 %145 = load i8, ptr %144, align 1 %146 = sext i8 %145 to i32 %147 = icmp slt i32 %141, %146 br i1 %147, label %148, label %209 148: ; preds = %134 %149 = load i32, ptr %6, align 4 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %150 %152 = load i8, ptr %151, align 1 %153 = sext i8 %152 to i32 %154 = icmp ne i32 %153, 41 br i1 %154, label %155, label %209 155: ; preds = %148 store i32 0, ptr %8, align 4 br label %156 156: ; preds = %182, %155 %157 = load ptr, ptr %2, align 8 %158 = load i32, ptr %7, align 4 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds i8, ptr %157, i64 %159 %161 = load i8, ptr %160, align 1 %162 = call signext i8 @prec(i8 noundef signext %161) %163 = sext i8 %162 to i32 %164 = load i32, ptr %6, align 4 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %165 %167 = load i8, ptr %166, align 1 %168 = sext i8 %167 to i32 %169 = icmp sle i32 %163, %168 br i1 %169, label %170, label %180 170: ; preds = %156 %171 = load i32, ptr %6, align 4 %172 = icmp ne i32 %171, -1 br i1 %172, label %173, label %180 173: ; preds = %170 %174 = load i32, ptr %6, align 4 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %175 %177 = load i8, ptr %176, align 1 %178 = sext i8 %177 to i32 %179 = icmp ne i32 %178, 41 br label %180 180: ; preds = %173, %170, %156 %181 = phi i1 [ false, %170 ], [ false, %156 ], [ %179, %173 ] br i1 %181, label %182, label %196 182: ; preds = %180 %183 = load i32, ptr %5, align 4 %184 = add nsw i32 %183, 1 store i32 %184, ptr %5, align 4 %185 = load i32, ptr %8, align 4 %186 = add nsw i32 %185, 1 store i32 %186, ptr %8, align 4 %187 = load i32, ptr %6, align 4 %188 = sext i32 %187 to i64 %189 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %188 %190 = load i8, ptr %189, align 1 %191 = load i32, ptr %5, align 4 %192 = sext i32 %191 to i64 %193 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %192 store i8 %190, ptr %193, align 1 %194 = load i32, ptr %6, align 4 %195 = add nsw i32 %194, -1 store i32 %195, ptr %6, align 4 br label %156, !llvm.loop !8 196: ; preds = %180 %197 = load i32, ptr %6, align 4 %198 = add nsw i32 %197, 1 store i32 %198, ptr %6, align 4 %199 = load ptr, ptr %2, align 8 %200 = load i32, ptr %7, align 4 %201 = sext i32 %200 to i64 %202 = getelementptr inbounds i8, ptr %199, i64 %201 %203 = load i8, ptr %202, align 1 %204 = load i32, ptr %6, align 4 %205 = sext i32 %204 to i64 %206 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %205 store i8 %203, ptr %206, align 1 %207 = load i32, ptr %7, align 4 %208 = add nsw i32 %207, 1 store i32 %208, ptr %7, align 4 br label %209 209: ; preds = %196, %148, %134 br label %210 210: ; preds = %209, %121 br label %224 211: ; preds = %103 %212 = load i32, ptr %6, align 4 %213 = add nsw i32 %212, 1 store i32 %213, ptr %6, align 4 %214 = load ptr, ptr %2, align 8 %215 = load i32, ptr %7, align 4 %216 = sext i32 %215 to i64 %217 = getelementptr inbounds i8, ptr %214, i64 %216 %218 = load i8, ptr %217, align 1 %219 = load i32, ptr %6, align 4 %220 = sext i32 %219 to i64 %221 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %220 store i8 %218, ptr %221, align 1 %222 = load i32, ptr %7, align 4 %223 = add nsw i32 %222, 1 store i32 %223, ptr %7, align 4 br label %224 224: ; preds = %211, %210 br label %225 225: ; preds = %224, %90 br label %226 226: ; preds = %225, %78 br label %227 227: ; preds = %226, %26 %228 = load ptr, ptr %2, align 8 %229 = load i32, ptr %7, align 4 %230 = sext i32 %229 to i64 %231 = getelementptr inbounds i8, ptr %228, i64 %230 %232 = load i8, ptr %231, align 1 %233 = sext i8 %232 to i32 %234 = icmp ne i32 %233, 0 br i1 %234, label %18, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %227 br label %235 235: ; preds = %._crit_edge, %1 %236 = load i32, ptr %6, align 4 %237 = icmp sge i32 %236, 0 br i1 %237, label %.lr.ph2, label %252 .lr.ph2: ; preds = %235 br label %238 238: ; preds = %.lr.ph2, %238 %239 = load i32, ptr %5, align 4 %240 = add nsw i32 %239, 1 store i32 %240, ptr %5, align 4 %241 = load i32, ptr %6, align 4 %242 = sext i32 %241 to i64 %243 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %242 %244 = load i8, ptr %243, align 1 %245 = load i32, ptr %5, align 4 %246 = sext i32 %245 to i64 %247 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %246 store i8 %244, ptr %247, align 1 %248 = load i32, ptr %6, align 4 %249 = add nsw i32 %248, -1 store i32 %249, ptr %6, align 4 %250 = load i32, ptr %6, align 4 %251 = icmp sge i32 %250, 0 br i1 %251, label %238, label %._crit_edge3, !llvm.loop !10 ._crit_edge3: ; preds = %238 br label %252 252: ; preds = %._crit_edge3, %235 %253 = load i32, ptr %5, align 4 %254 = add nsw i32 %253, 1 store i32 %254, ptr %5, align 4 %255 = load i32, ptr %5, align 4 %256 = sext i32 %255 to i64 %257 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 %256 store i8 0, ptr %257, align 1 %258 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %259 = call ptr @strrev(ptr noundef %258) %260 = call i32 @printf(ptr noundef @.str.1, ptr noundef %259) %261 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %262 = call i32 @values(ptr noundef %261) %263 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %264 = call i32 @printf(ptr noundef @.str.2, ptr noundef %263) %265 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %266 = call i32 @evapo(ptr noundef %265) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 declare signext i8 @prec(i8 noundef signext) #1 declare ptr @strrev(ptr noundef) #1 declare i32 @values(ptr noundef) #1 declare i32 @evapo(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmptca6w_45.c' source_filename = "/tmp/tmptca6w_45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 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 store i32 %7, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = call i32 @foo(i32 noundef %8, i32 noundef %9) store i32 %10, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = call i32 @bar(i32 noundef %11, i32 noundef %12) store i32 %13, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = call i32 @foo(i32 noundef %14, i32 noundef %15) store i32 %16, ptr %6, align 4 %17 = load i32, ptr %6, align 4 ret i32 %17 } declare i32 @foo(i32 noundef, i32 noundef) #1 declare i32 @bar(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/tmptca6w_45.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 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 store i32 %7, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = call i32 @foo(i32 noundef %8, i32 noundef %9) store i32 %10, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = call i32 @bar(i32 noundef %11, i32 noundef %12) store i32 %13, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = call i32 @foo(i32 noundef %14, i32 noundef %15) store i32 %16, ptr %6, align 4 %17 = load i32, ptr %6, align 4 ret i32 %17 } declare i32 @foo(i32 noundef, i32 noundef) #1 declare i32 @bar(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/tmp2uaihy69.c' source_filename = "/tmp/tmp2uaihy69.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"/etc/passwd\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [10 x i8] c"saida.txt\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [10 x i8] c"erros.txt\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [100 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr @O_RDONLY, align 4 %11 = call i32 (ptr, i32, ...) @open(ptr noundef @.str, i32 noundef %10) store i32 %11, ptr %6, align 4 %12 = load i32, ptr @O_WRONLY, align 4 %13 = load i32, ptr @O_CREAT, align 4 %14 = or i32 %12, %13 %15 = load i32, ptr @O_TRUNC, align 4 %16 = or i32 %14, %15 %17 = call i32 (ptr, i32, ...) @open(ptr noundef @.str.1, i32 noundef %16, i32 noundef 438) store i32 %17, ptr %7, align 4 %18 = load i32, ptr @O_WRONLY, align 4 %19 = load i32, ptr @O_CREAT, align 4 %20 = or i32 %18, %19 %21 = load i32, ptr @O_TRUNC, align 4 %22 = or i32 %20, %21 %23 = call i32 (ptr, i32, ...) @open(ptr noundef @.str.2, i32 noundef %22, i32 noundef 438) store i32 %23, ptr %8, align 4 %24 = load i32, ptr %6, align 4 %25 = call i32 @dup2(i32 noundef %24, i32 noundef 0) %26 = load i32, ptr %7, align 4 %27 = call i32 @dup2(i32 noundef %26, i32 noundef 1) %28 = load i32, ptr %8, align 4 %29 = call i32 @dup2(i32 noundef %28, i32 noundef 2) br label %30 30: ; preds = %33, %2 %31 = call i64 @read(i32 noundef 0, ptr noundef %9, i32 noundef 100) %32 = icmp ne i64 %31, 0 br i1 %32, label %33, label %35 33: ; preds = %30 %34 = call i32 @write(i32 noundef 1, ptr noundef %9, i32 noundef 100) br label %30, !llvm.loop !6 35: ; preds = %30 ret i32 1 } declare i32 @open(ptr noundef, i32 noundef, ...) #1 declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2uaihy69.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"/etc/passwd\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [10 x i8] c"saida.txt\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [10 x i8] c"erros.txt\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [100 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr @O_RDONLY, align 4 %11 = call i32 (ptr, i32, ...) @open(ptr noundef @.str, i32 noundef %10) store i32 %11, ptr %6, align 4 %12 = load i32, ptr @O_WRONLY, align 4 %13 = load i32, ptr @O_CREAT, align 4 %14 = or i32 %12, %13 %15 = load i32, ptr @O_TRUNC, align 4 %16 = or i32 %14, %15 %17 = call i32 (ptr, i32, ...) @open(ptr noundef @.str.1, i32 noundef %16, i32 noundef 438) store i32 %17, ptr %7, align 4 %18 = load i32, ptr @O_WRONLY, align 4 %19 = load i32, ptr @O_CREAT, align 4 %20 = or i32 %18, %19 %21 = load i32, ptr @O_TRUNC, align 4 %22 = or i32 %20, %21 %23 = call i32 (ptr, i32, ...) @open(ptr noundef @.str.2, i32 noundef %22, i32 noundef 438) store i32 %23, ptr %8, align 4 %24 = load i32, ptr %6, align 4 %25 = call i32 @dup2(i32 noundef %24, i32 noundef 0) %26 = load i32, ptr %7, align 4 %27 = call i32 @dup2(i32 noundef %26, i32 noundef 1) %28 = load i32, ptr %8, align 4 %29 = call i32 @dup2(i32 noundef %28, i32 noundef 2) %30 = call i64 @read(i32 noundef 0, ptr noundef %9, i32 noundef 100) %31 = icmp ne i64 %30, 0 br i1 %31, label %.lr.ph, label %36 .lr.ph: ; preds = %2 br label %32 32: ; preds = %.lr.ph, %32 %33 = call i32 @write(i32 noundef 1, ptr noundef %9, i32 noundef 100) %34 = call i64 @read(i32 noundef 0, ptr noundef %9, i32 noundef 100) %35 = icmp ne i64 %34, 0 br i1 %35, label %32, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %36 36: ; preds = %._crit_edge, %2 ret i32 1 } declare i32 @open(ptr noundef, i32 noundef, ...) #1 declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmptlua4sj5.c' source_filename = "/tmp/tmptlua4sj5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init_extensions6() #0 { %1 = call i32 (...) @libip6t_DNAT_init() %2 = call i32 (...) @libip6t_LOG_init() %3 = call i32 (...) @libip6t_MASQUERADE_init() %4 = call i32 (...) @libip6t_REDIRECT_init() %5 = call i32 (...) @libip6t_REJECT_init() %6 = call i32 (...) @libip6t_SNAT_init() %7 = call i32 (...) @libip6t_ah_init() %8 = call i32 (...) @libip6t_eui64_init() %9 = call i32 (...) @libip6t_frag_init() %10 = call i32 (...) @libip6t_hbh_init() %11 = call i32 (...) @libip6t_icmp6_init() %12 = call i32 (...) @libip6t_ipv6header_init() %13 = call i32 (...) @libip6t_mh_init() %14 = call i32 (...) @libip6t_rt_init() ret void } declare i32 @libip6t_DNAT_init(...) #1 declare i32 @libip6t_LOG_init(...) #1 declare i32 @libip6t_MASQUERADE_init(...) #1 declare i32 @libip6t_REDIRECT_init(...) #1 declare i32 @libip6t_REJECT_init(...) #1 declare i32 @libip6t_SNAT_init(...) #1 declare i32 @libip6t_ah_init(...) #1 declare i32 @libip6t_eui64_init(...) #1 declare i32 @libip6t_frag_init(...) #1 declare i32 @libip6t_hbh_init(...) #1 declare i32 @libip6t_icmp6_init(...) #1 declare i32 @libip6t_ipv6header_init(...) #1 declare i32 @libip6t_mh_init(...) #1 declare i32 @libip6t_rt_init(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptlua4sj5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init_extensions6() #0 { %1 = call i32 (...) @libip6t_DNAT_init() %2 = call i32 (...) @libip6t_LOG_init() %3 = call i32 (...) @libip6t_MASQUERADE_init() %4 = call i32 (...) @libip6t_REDIRECT_init() %5 = call i32 (...) @libip6t_REJECT_init() %6 = call i32 (...) @libip6t_SNAT_init() %7 = call i32 (...) @libip6t_ah_init() %8 = call i32 (...) @libip6t_eui64_init() %9 = call i32 (...) @libip6t_frag_init() %10 = call i32 (...) @libip6t_hbh_init() %11 = call i32 (...) @libip6t_icmp6_init() %12 = call i32 (...) @libip6t_ipv6header_init() %13 = call i32 (...) @libip6t_mh_init() %14 = call i32 (...) @libip6t_rt_init() ret void } declare i32 @libip6t_DNAT_init(...) #1 declare i32 @libip6t_LOG_init(...) #1 declare i32 @libip6t_MASQUERADE_init(...) #1 declare i32 @libip6t_REDIRECT_init(...) #1 declare i32 @libip6t_REJECT_init(...) #1 declare i32 @libip6t_SNAT_init(...) #1 declare i32 @libip6t_ah_init(...) #1 declare i32 @libip6t_eui64_init(...) #1 declare i32 @libip6t_frag_init(...) #1 declare i32 @libip6t_hbh_init(...) #1 declare i32 @libip6t_icmp6_init(...) #1 declare i32 @libip6t_ipv6header_init(...) #1 declare i32 @libip6t_mh_init(...) #1 declare i32 @libip6t_rt_init(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptvqh5etl.c' source_filename = "/tmp/tmptvqh5etl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOTSUP = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptvqh5etl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOTSUP = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvvjoz0ic.c' source_filename = "/tmp/tmpvvjoz0ic.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cfgDbDataSet(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca [32 x i8], align 16 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %11 = load i32, ptr %6, align 4 %12 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 0 %13 = call i32 @cfgDbName(i32 noundef %11, ptr noundef %12) %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %4 store i64 -1, ptr %5, align 8 br label %22 16: ; preds = %4 %17 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 0 %18 = load ptr, ptr %7, align 8 %19 = load ptr, ptr %8, align 8 %20 = load ptr, ptr %9, align 8 %21 = call i64 @cfgDataSet(ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20) store i64 %21, ptr %5, align 8 br label %22 22: ; preds = %16, %15 %23 = load i64, ptr %5, align 8 ret i64 %23 } declare i32 @cfgDbName(i32 noundef, ptr noundef) #1 declare i64 @cfgDataSet(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvvjoz0ic.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cfgDbDataSet(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca [32 x i8], align 16 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %11 = load i32, ptr %6, align 4 %12 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 0 %13 = call i32 @cfgDbName(i32 noundef %11, ptr noundef %12) %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %4 store i64 -1, ptr %5, align 8 br label %22 16: ; preds = %4 %17 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 0 %18 = load ptr, ptr %7, align 8 %19 = load ptr, ptr %8, align 8 %20 = load ptr, ptr %9, align 8 %21 = call i64 @cfgDataSet(ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20) store i64 %21, ptr %5, align 8 br label %22 22: ; preds = %16, %15 %23 = load i64, ptr %5, align 8 ret i64 %23 } declare i32 @cfgDbName(i32 noundef, ptr noundef) #1 declare i64 @cfgDataSet(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplssiyhzh.c' source_filename = "/tmp/tmplssiyhzh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prmb() #0 { %1 = call i32 @constdata(i32 noundef 1) ret void } declare i32 @constdata(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplssiyhzh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prmb() #0 { %1 = call i32 @constdata(i32 noundef 1) ret void } declare i32 @constdata(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzngr669f.c' source_filename = "/tmp/tmpzngr669f.c" target datalayout = "e-m:e-p270: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/tmpzngr669f.c" target datalayout = "e-m:e-p270: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/tmpipci4raz.c' source_filename = "/tmp/tmpipci4raz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @testStaticImplicit() #0 { %1 = call i32 @foobar(i32 noundef 3) ret i32 %1 } declare i32 @foobar(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpipci4raz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @testStaticImplicit() #0 { %1 = call i32 @foobar(i32 noundef 3) ret i32 %1 } declare i32 @foobar(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp69rvxeta.c' source_filename = "/tmp/tmp69rvxeta.c" target datalayout = "e-m:e-p270: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 [19 x i8] c"Usage: ./test xxxx\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"true\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"false\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 2 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str) %11 = call i32 @exit(i32 noundef -1) #3 unreachable 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = call i64 @isValid(ptr noundef %15) %17 = icmp ne i64 %16, 0 %18 = zext i1 %17 to i64 %19 = select i1 %17, ptr @.str.2, ptr @.str.3 %20 = call i32 @printf(ptr noundef @.str.1, ptr noundef %19) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i64 @isValid(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp69rvxeta.c" target datalayout = "e-m:e-p270: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 [19 x i8] c"Usage: ./test xxxx\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"true\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"false\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 2 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str) %11 = call i32 @exit(i32 noundef -1) #3 unreachable 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = call i64 @isValid(ptr noundef %15) %17 = icmp ne i64 %16, 0 %18 = zext i1 %17 to i64 %19 = select i1 %17, ptr @.str.2, ptr @.str.3 %20 = call i32 @printf(ptr noundef @.str.1, ptr noundef %19) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i64 @isValid(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp2d9tx_7x.c' source_filename = "/tmp/tmp2d9tx_7x.c" target datalayout = "e-m:e-p270: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/tmp2d9tx_7x.c" target datalayout = "e-m:e-p270: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/tmpxpmgmcew.c' source_filename = "/tmp/tmpxpmgmcew.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_request_5(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 ptr, ptr %4, align 8 %7 = call i64 @blk_oversized_queue_5(ptr noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %17 9: ; preds = %2 %10 = load i32, ptr %5, align 4 %11 = icmp eq i32 %10, 1 br i1 %11, label %15, label %12 12: ; preds = %9 %13 = load i32, ptr %5, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %12, %9 store i32 -33, ptr %3, align 4 br label %18 16: ; preds = %12 store i32 0, ptr %3, align 4 br label %18 17: ; preds = %2 store i32 -100, ptr %3, align 4 br label %18 18: ; preds = %17, %16, %15 %19 = load i32, ptr %3, align 4 ret i32 %19 } declare i64 @blk_oversized_queue_5(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxpmgmcew.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_request_5(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 ptr, ptr %4, align 8 %7 = call i64 @blk_oversized_queue_5(ptr noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %17 9: ; preds = %2 %10 = load i32, ptr %5, align 4 %11 = icmp eq i32 %10, 1 br i1 %11, label %15, label %12 12: ; preds = %9 %13 = load i32, ptr %5, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %12, %9 store i32 -33, ptr %3, align 4 br label %18 16: ; preds = %12 store i32 0, ptr %3, align 4 br label %18 17: ; preds = %2 store i32 -100, ptr %3, align 4 br label %18 18: ; preds = %17, %16, %15 %19 = load i32, ptr %3, align 4 ret i32 %19 } declare i64 @blk_oversized_queue_5(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp78x61_s3.c' source_filename = "/tmp/tmp78x61_s3.c" target datalayout = "e-m:e-p270: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.tm = type { i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [38 x i8] c"pgtime:%s:%d: couldn't get UTC time.\0A\00", align 1 @.str.1 = private unnamed_addr constant [138 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/paulgriffiths/pgtime/refs/heads/master/pgtime.c\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_utc_timestamp(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca %struct.tm, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %10 = call ptr @gmtime(ptr noundef %4) store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %7, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %18 13: ; preds = %3 %14 = load i32, ptr @stderr, align 4 %15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 71) %16 = load i32, ptr @EXIT_FAILURE, align 4 %17 = call i32 @exit(i32 noundef %16) #4 unreachable 18: ; preds = %3 %19 = load ptr, ptr %7, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %19, i64 4, i1 false) %20 = load ptr, ptr %6, align 8 %21 = call i64 @tm_compare(ptr noundef %20, ptr noundef %8) %22 = icmp ne i64 %21, 0 %23 = zext i1 %22 to i64 %24 = select i1 %22, i32 0, i32 1 store i32 %24, ptr %9, align 4 %25 = load i32, ptr %9, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %18 %28 = load ptr, ptr %5, align 8 store i32 0, ptr %28, align 4 br label %33 29: ; preds = %18 %30 = load ptr, ptr %6, align 8 %31 = call i32 @tm_intraday_secs_diff(ptr noundef %30, ptr noundef %8) %32 = load ptr, ptr %5, align 8 store i32 %31, ptr %32, align 4 br label %33 33: ; preds = %29, %27 %34 = load i32, ptr %9, align 4 ret i32 %34 } declare ptr @gmtime(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 declare i64 @tm_compare(ptr noundef, ptr noundef) #1 declare i32 @tm_intraday_secs_diff(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } 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/tmp78x61_s3.c" target datalayout = "e-m:e-p270: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.tm = type { i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [38 x i8] c"pgtime:%s:%d: couldn't get UTC time.\0A\00", align 1 @.str.1 = private unnamed_addr constant [138 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/paulgriffiths/pgtime/refs/heads/master/pgtime.c\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_utc_timestamp(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca %struct.tm, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %10 = call ptr @gmtime(ptr noundef %4) store ptr %10, ptr %7, align 8 %11 = load ptr, ptr %7, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %18 13: ; preds = %3 %14 = load i32, ptr @stderr, align 4 %15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 71) %16 = load i32, ptr @EXIT_FAILURE, align 4 %17 = call i32 @exit(i32 noundef %16) #4 unreachable 18: ; preds = %3 %19 = load ptr, ptr %7, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %19, i64 4, i1 false) %20 = load ptr, ptr %6, align 8 %21 = call i64 @tm_compare(ptr noundef %20, ptr noundef %8) %22 = icmp ne i64 %21, 0 %23 = zext i1 %22 to i64 %24 = select i1 %22, i32 0, i32 1 store i32 %24, ptr %9, align 4 %25 = load i32, ptr %9, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %18 %28 = load ptr, ptr %5, align 8 store i32 0, ptr %28, align 4 br label %33 29: ; preds = %18 %30 = load ptr, ptr %6, align 8 %31 = call i32 @tm_intraday_secs_diff(ptr noundef %30, ptr noundef %8) %32 = load ptr, ptr %5, align 8 store i32 %31, ptr %32, align 4 br label %33 33: ; preds = %29, %27 %34 = load i32, ptr %9, align 4 ret i32 %34 } declare ptr @gmtime(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 declare i64 @tm_compare(ptr noundef, ptr noundef) #1 declare i32 @tm_intraday_secs_diff(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } 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"}