llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp52yomsju.c' source_filename = "/tmp/tmp52yomsju.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strrchr(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i8, ptr %6, i64 %9 store ptr %10, ptr %5, align 8 br label %11 11: ; preds = %24, %2 %12 = load ptr, ptr %3, align 8 %13 = load i8, ptr %12, align 1 %14 = icmp ne i8 %13, 0 br i1 %14, label %15, label %27 15: ; preds = %11 %16 = load ptr, ptr %3, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = load i8, ptr %4, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %18, %20 br i1 %21, label %22, label %24 22: ; preds = %15 %23 = load ptr, ptr %3, align 8 store ptr %23, ptr %5, align 8 br label %24 24: ; preds = %22, %15 %25 = load ptr, ptr %3, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %3, align 8 br label %11, !llvm.loop !6 27: ; preds = %11 %28 = load ptr, ptr %5, align 8 ret ptr %28 } 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/tmp52yomsju.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strrchr(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i8, ptr %6, i64 %9 store ptr %10, ptr %5, align 8 %11 = load ptr, ptr %3, align 8 %12 = load i8, ptr %11, align 1 %13 = icmp ne i8 %12, 0 br i1 %13, label %.lr.ph, label %29 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %23 %15 = load ptr, ptr %3, align 8 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = load i8, ptr %4, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %17, %19 br i1 %20, label %21, label %23 21: ; preds = %14 %22 = load ptr, ptr %3, align 8 store ptr %22, ptr %5, align 8 br label %23 23: ; preds = %21, %14 %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %3, align 8 %26 = load ptr, ptr %3, align 8 %27 = load i8, ptr %26, align 1 %28 = icmp ne i8 %27, 0 br i1 %28, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %29 29: ; preds = %._crit_edge, %2 %30 = load ptr, ptr %5, align 8 ret ptr %30 } 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/tmp_uxtezdm.c' source_filename = "/tmp/tmp_uxtezdm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uo_close(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 @uo_flush(ptr noundef %3) ret void } declare i32 @uo_flush(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_uxtezdm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uo_close(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 @uo_flush(ptr noundef %3) ret void } declare i32 @uo_flush(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp55h6do1f.c' source_filename = "/tmp/tmp55h6do1f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"Success\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [40 x [40 x i32]], align 16 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [40 x [40 x i32]], ptr %2, i64 0, i64 0 %4 = call i32 @foo(i32 noundef 40, ptr noundef %3) %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @foo(i32 noundef, ptr noundef) #1 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/tmp55h6do1f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"Success\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [40 x [40 x i32]], align 16 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [40 x [40 x i32]], ptr %2, i64 0, i64 0 %4 = call i32 @foo(i32 noundef 40, ptr noundef %3) %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @foo(i32 noundef, ptr noundef) #1 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/tmp9i8tin1s.c' source_filename = "/tmp/tmp9i8tin1s.c" target datalayout = "e-m:e-p270: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/tmp9i8tin1s.c" target datalayout = "e-m:e-p270: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/tmpeiip7zeq.c' source_filename = "/tmp/tmpeiip7zeq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @waitForConnection(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.sockaddr_in, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 10, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = call i32 @listen(i32 noundef %7, i32 noundef 10) store i32 4, ptr %5, align 4 %9 = load i32, ptr %2, align 4 %10 = call i32 @accept(i32 noundef %9, ptr noundef %4, ptr noundef %5) store i32 %10, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp sge i32 %11, 0 %13 = zext i1 %12 to i32 %14 = call i32 @assert(i32 noundef %13) %15 = load i32, ptr %6, align 4 ret i32 %15 } declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeiip7zeq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @waitForConnection(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.sockaddr_in, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 10, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = call i32 @listen(i32 noundef %7, i32 noundef 10) store i32 4, ptr %5, align 4 %9 = load i32, ptr %2, align 4 %10 = call i32 @accept(i32 noundef %9, ptr noundef %4, ptr noundef %5) store i32 %10, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp sge i32 %11, 0 %13 = zext i1 %12 to i32 %14 = call i32 @assert(i32 noundef %13) %15 = load i32, ptr %6, align 4 ret i32 %15 } declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp8p19822.c' source_filename = "/tmp/tmpp8p19822.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Memory allocation failed\0A\00", align 1 @ENOMEM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"Could not open %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.6 = private unnamed_addr constant [31 x i8] c"could not open file to verify\0A\00", align 1 @.str.7 = private unnamed_addr constant [69 x i8] c"Possible failure in string write of %s Should be %s written to %s%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_write_sysfs_string(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store i32 0, ptr %10, align 4 %13 = load ptr, ptr %7, align 8 %14 = call i64 @strlen(ptr noundef %13) %15 = load ptr, ptr %6, align 8 %16 = call i64 @strlen(ptr noundef %15) %17 = add nsw i64 %14, %16 %18 = add nsw i64 %17, 2 %19 = call ptr @malloc(i64 noundef %18) store ptr %19, ptr %12, align 8 %20 = load ptr, ptr %12, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %26 22: ; preds = %4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str) %24 = load i32, ptr @ENOMEM, align 4 %25 = sub nsw i32 0, %24 store i32 %25, ptr %5, align 4 br label %79 26: ; preds = %4 %27 = load ptr, ptr %12, align 8 %28 = load ptr, ptr %7, align 8 %29 = load ptr, ptr %6, align 8 %30 = call i32 @sprintf(ptr noundef %27, ptr noundef @.str.1, ptr noundef %28, ptr noundef %29) %31 = load ptr, ptr %12, align 8 %32 = call ptr @fopen(ptr noundef %31, ptr noundef @.str.2) store ptr %32, ptr %11, align 8 %33 = load ptr, ptr %11, align 8 %34 = icmp eq ptr %33, null br i1 %34, label %35, label %40 35: ; preds = %26 %36 = load ptr, ptr %12, align 8 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %36) %38 = load i32, ptr @errno, align 4 %39 = sub nsw i32 0, %38 store i32 %39, ptr %10, align 4 br label %75 40: ; preds = %26 %41 = load ptr, ptr %11, align 8 %42 = load ptr, ptr %8, align 8 %43 = call i32 @fprintf(ptr noundef %41, ptr noundef @.str.4, ptr noundef %42) %44 = load ptr, ptr %11, align 8 %45 = call i32 @fclose(ptr noundef %44) %46 = load i32, ptr %9, align 4 %47 = icmp ne i32 %46, 0 br i1 %47, label %48, label %74 48: ; preds = %40 %49 = load ptr, ptr %12, align 8 %50 = call ptr @fopen(ptr noundef %49, ptr noundef @.str.5) store ptr %50, ptr %11, align 8 %51 = load ptr, ptr %11, align 8 %52 = icmp eq ptr %51, null br i1 %52, label %53, label %57 53: ; preds = %48 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %55 = load i32, ptr @errno, align 4 %56 = sub nsw i32 0, %55 store i32 %56, ptr %10, align 4 br label %75 57: ; preds = %48 %58 = load ptr, ptr %11, align 8 %59 = load ptr, ptr %12, align 8 %60 = call i32 @fscanf(ptr noundef %58, ptr noundef @.str.4, ptr noundef %59) %61 = load ptr, ptr %11, align 8 %62 = call i32 @fclose(ptr noundef %61) %63 = load ptr, ptr %12, align 8 %64 = load ptr, ptr %8, align 8 %65 = call i64 @strcmp(ptr noundef %63, ptr noundef %64) %66 = icmp ne i64 %65, 0 br i1 %66, label %67, label %73 67: ; preds = %57 %68 = load ptr, ptr %12, align 8 %69 = load ptr, ptr %8, align 8 %70 = load ptr, ptr %7, align 8 %71 = load ptr, ptr %6, align 8 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71) store i32 -1, ptr %10, align 4 br label %73 73: ; preds = %67, %57 br label %74 74: ; preds = %73, %40 br label %75 75: ; preds = %74, %53, %35 %76 = load ptr, ptr %12, align 8 %77 = call i32 @free(ptr noundef %76) %78 = load i32, ptr %10, align 4 store i32 %78, ptr %5, align 4 br label %79 79: ; preds = %75, %22 %80 = load i32, ptr %5, align 4 ret i32 %80 } declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp8p19822.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Memory allocation failed\0A\00", align 1 @ENOMEM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"Could not open %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.6 = private unnamed_addr constant [31 x i8] c"could not open file to verify\0A\00", align 1 @.str.7 = private unnamed_addr constant [69 x i8] c"Possible failure in string write of %s Should be %s written to %s%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_write_sysfs_string(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store i32 0, ptr %10, align 4 %13 = load ptr, ptr %7, align 8 %14 = call i64 @strlen(ptr noundef %13) %15 = load ptr, ptr %6, align 8 %16 = call i64 @strlen(ptr noundef %15) %17 = add nsw i64 %14, %16 %18 = add nsw i64 %17, 2 %19 = call ptr @malloc(i64 noundef %18) store ptr %19, ptr %12, align 8 %20 = load ptr, ptr %12, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %26 22: ; preds = %4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str) %24 = load i32, ptr @ENOMEM, align 4 %25 = sub nsw i32 0, %24 store i32 %25, ptr %5, align 4 br label %79 26: ; preds = %4 %27 = load ptr, ptr %12, align 8 %28 = load ptr, ptr %7, align 8 %29 = load ptr, ptr %6, align 8 %30 = call i32 @sprintf(ptr noundef %27, ptr noundef @.str.1, ptr noundef %28, ptr noundef %29) %31 = load ptr, ptr %12, align 8 %32 = call ptr @fopen(ptr noundef %31, ptr noundef @.str.2) store ptr %32, ptr %11, align 8 %33 = load ptr, ptr %11, align 8 %34 = icmp eq ptr %33, null br i1 %34, label %35, label %40 35: ; preds = %26 %36 = load ptr, ptr %12, align 8 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %36) %38 = load i32, ptr @errno, align 4 %39 = sub nsw i32 0, %38 store i32 %39, ptr %10, align 4 br label %75 40: ; preds = %26 %41 = load ptr, ptr %11, align 8 %42 = load ptr, ptr %8, align 8 %43 = call i32 @fprintf(ptr noundef %41, ptr noundef @.str.4, ptr noundef %42) %44 = load ptr, ptr %11, align 8 %45 = call i32 @fclose(ptr noundef %44) %46 = load i32, ptr %9, align 4 %47 = icmp ne i32 %46, 0 br i1 %47, label %48, label %74 48: ; preds = %40 %49 = load ptr, ptr %12, align 8 %50 = call ptr @fopen(ptr noundef %49, ptr noundef @.str.5) store ptr %50, ptr %11, align 8 %51 = load ptr, ptr %11, align 8 %52 = icmp eq ptr %51, null br i1 %52, label %53, label %57 53: ; preds = %48 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %55 = load i32, ptr @errno, align 4 %56 = sub nsw i32 0, %55 store i32 %56, ptr %10, align 4 br label %75 57: ; preds = %48 %58 = load ptr, ptr %11, align 8 %59 = load ptr, ptr %12, align 8 %60 = call i32 @fscanf(ptr noundef %58, ptr noundef @.str.4, ptr noundef %59) %61 = load ptr, ptr %11, align 8 %62 = call i32 @fclose(ptr noundef %61) %63 = load ptr, ptr %12, align 8 %64 = load ptr, ptr %8, align 8 %65 = call i64 @strcmp(ptr noundef %63, ptr noundef %64) %66 = icmp ne i64 %65, 0 br i1 %66, label %67, label %73 67: ; preds = %57 %68 = load ptr, ptr %12, align 8 %69 = load ptr, ptr %8, align 8 %70 = load ptr, ptr %7, align 8 %71 = load ptr, ptr %6, align 8 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71) store i32 -1, ptr %10, align 4 br label %73 73: ; preds = %67, %57 br label %74 74: ; preds = %73, %40 br label %75 75: ; preds = %74, %53, %35 %76 = load ptr, ptr %12, align 8 %77 = call i32 @free(ptr noundef %76) %78 = load i32, ptr %10, align 4 store i32 %78, ptr %5, align 4 br label %79 79: ; preds = %75, %22 %80 = load i32, ptr %5, align 4 ret i32 %80 } declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq213a8wx.c' source_filename = "/tmp/tmpq213a8wx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @add_char(i8 noundef signext %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = alloca i8, align 1 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 store i8 %0, ptr %7, align 1 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 store ptr %5, ptr %12, align 8 %14 = load ptr, ptr %9, align 8 %15 = load ptr, ptr %14, align 8 %16 = call i32 @strlen(ptr noundef %15) %17 = add nsw i32 %16, 1 %18 = load i32, ptr %11, align 4 %19 = icmp sge i32 %17, %18 br i1 %19, label %20, label %34 20: ; preds = %6 %21 = load i32, ptr %11, align 4 %22 = load i32, ptr %11, align 4 %23 = add nsw i32 %22, %21 store i32 %23, ptr %11, align 4 %24 = load ptr, ptr %9, align 8 %25 = load ptr, ptr %24, align 8 %26 = load i32, ptr %11, align 4 %27 = call ptr @realloc(ptr noundef %25, i32 noundef %26) store ptr %27, ptr %13, align 8 %28 = load ptr, ptr %9, align 8 store ptr %27, ptr %28, align 8 %29 = load ptr, ptr %10, align 8 %30 = load ptr, ptr %29, align 8 %31 = load i32, ptr %11, align 4 %32 = call ptr @realloc(ptr noundef %30, i32 noundef %31) store ptr %32, ptr %13, align 8 %33 = load ptr, ptr %10, align 8 store ptr %32, ptr %33, align 8 br label %34 34: ; preds = %20, %6 %35 = load ptr, ptr %9, align 8 %36 = load ptr, ptr %35, align 8 %37 = icmp ne ptr %36, null br i1 %37, label %38, label %82 38: ; preds = %34 %39 = load ptr, ptr %10, align 8 %40 = load ptr, ptr %39, align 8 %41 = icmp ne ptr %40, null br i1 %41, label %42, label %82 42: ; preds = %38 %43 = load ptr, ptr %10, align 8 %44 = load ptr, ptr %43, align 8 %45 = load ptr, ptr %9, align 8 %46 = load ptr, ptr %45, align 8 %47 = load i32, ptr %8, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %46, i64 %48 %50 = call i32 @strcpy(ptr noundef %44, ptr noundef %49) %51 = load ptr, ptr %10, align 8 %52 = load ptr, ptr %51, align 8 %53 = load ptr, ptr %9, align 8 %54 = load ptr, ptr %53, align 8 %55 = load i32, ptr %8, align 4 %56 = call i32 @strncat(ptr noundef %52, ptr noundef %54, i32 noundef %55) %57 = load ptr, ptr %9, align 8 %58 = load ptr, ptr %57, align 8 %59 = load ptr, ptr %10, align 8 %60 = load ptr, ptr %59, align 8 %61 = load ptr, ptr %10, align 8 %62 = load ptr, ptr %61, align 8 %63 = call i32 @strlen(ptr noundef %62) %64 = load i32, ptr %8, align 4 %65 = sub nsw i32 %63, %64 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i8, ptr %60, i64 %66 %68 = call i32 @strcpy(ptr noundef %58, ptr noundef %67) %69 = load ptr, ptr %9, align 8 %70 = load ptr, ptr %69, align 8 %71 = call i32 @strncat(ptr noundef %70, ptr noundef %7, i32 noundef 1) %72 = load ptr, ptr %9, align 8 %73 = load ptr, ptr %72, align 8 %74 = load ptr, ptr %10, align 8 %75 = load ptr, ptr %74, align 8 %76 = load ptr, ptr %10, align 8 %77 = load ptr, ptr %76, align 8 %78 = call i32 @strlen(ptr noundef %77) %79 = load i32, ptr %8, align 4 %80 = sub nsw i32 %78, %79 %81 = call i32 @strncat(ptr noundef %73, ptr noundef %75, i32 noundef %80) br label %83 82: ; preds = %38, %34 store ptr null, ptr %12, align 8 br label %83 83: ; preds = %82, %42 %84 = load i32, ptr %11, align 4 ret i32 %84 } declare i32 @strlen(ptr noundef) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strncat(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/tmpq213a8wx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @add_char(i8 noundef signext %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = alloca i8, align 1 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 store i8 %0, ptr %7, align 1 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 store ptr %5, ptr %12, align 8 %14 = load ptr, ptr %9, align 8 %15 = load ptr, ptr %14, align 8 %16 = call i32 @strlen(ptr noundef %15) %17 = add nsw i32 %16, 1 %18 = load i32, ptr %11, align 4 %19 = icmp sge i32 %17, %18 br i1 %19, label %20, label %34 20: ; preds = %6 %21 = load i32, ptr %11, align 4 %22 = load i32, ptr %11, align 4 %23 = add nsw i32 %22, %21 store i32 %23, ptr %11, align 4 %24 = load ptr, ptr %9, align 8 %25 = load ptr, ptr %24, align 8 %26 = load i32, ptr %11, align 4 %27 = call ptr @realloc(ptr noundef %25, i32 noundef %26) store ptr %27, ptr %13, align 8 %28 = load ptr, ptr %9, align 8 store ptr %27, ptr %28, align 8 %29 = load ptr, ptr %10, align 8 %30 = load ptr, ptr %29, align 8 %31 = load i32, ptr %11, align 4 %32 = call ptr @realloc(ptr noundef %30, i32 noundef %31) store ptr %32, ptr %13, align 8 %33 = load ptr, ptr %10, align 8 store ptr %32, ptr %33, align 8 br label %34 34: ; preds = %20, %6 %35 = load ptr, ptr %9, align 8 %36 = load ptr, ptr %35, align 8 %37 = icmp ne ptr %36, null br i1 %37, label %38, label %82 38: ; preds = %34 %39 = load ptr, ptr %10, align 8 %40 = load ptr, ptr %39, align 8 %41 = icmp ne ptr %40, null br i1 %41, label %42, label %82 42: ; preds = %38 %43 = load ptr, ptr %10, align 8 %44 = load ptr, ptr %43, align 8 %45 = load ptr, ptr %9, align 8 %46 = load ptr, ptr %45, align 8 %47 = load i32, ptr %8, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %46, i64 %48 %50 = call i32 @strcpy(ptr noundef %44, ptr noundef %49) %51 = load ptr, ptr %10, align 8 %52 = load ptr, ptr %51, align 8 %53 = load ptr, ptr %9, align 8 %54 = load ptr, ptr %53, align 8 %55 = load i32, ptr %8, align 4 %56 = call i32 @strncat(ptr noundef %52, ptr noundef %54, i32 noundef %55) %57 = load ptr, ptr %9, align 8 %58 = load ptr, ptr %57, align 8 %59 = load ptr, ptr %10, align 8 %60 = load ptr, ptr %59, align 8 %61 = load ptr, ptr %10, align 8 %62 = load ptr, ptr %61, align 8 %63 = call i32 @strlen(ptr noundef %62) %64 = load i32, ptr %8, align 4 %65 = sub nsw i32 %63, %64 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i8, ptr %60, i64 %66 %68 = call i32 @strcpy(ptr noundef %58, ptr noundef %67) %69 = load ptr, ptr %9, align 8 %70 = load ptr, ptr %69, align 8 %71 = call i32 @strncat(ptr noundef %70, ptr noundef %7, i32 noundef 1) %72 = load ptr, ptr %9, align 8 %73 = load ptr, ptr %72, align 8 %74 = load ptr, ptr %10, align 8 %75 = load ptr, ptr %74, align 8 %76 = load ptr, ptr %10, align 8 %77 = load ptr, ptr %76, align 8 %78 = call i32 @strlen(ptr noundef %77) %79 = load i32, ptr %8, align 4 %80 = sub nsw i32 %78, %79 %81 = call i32 @strncat(ptr noundef %73, ptr noundef %75, i32 noundef %80) br label %83 82: ; preds = %38, %34 store ptr null, ptr %12, align 8 br label %83 83: ; preds = %82, %42 %84 = load i32, ptr %11, align 4 ret i32 %84 } declare i32 @strlen(ptr noundef) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strncat(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/tmpzoieeegy.c' source_filename = "/tmp/tmpzoieeegy.c" target datalayout = "e-m:e-p270: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/tmpzoieeegy.c" target datalayout = "e-m:e-p270: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/tmpzysqe9sh.c' source_filename = "/tmp/tmpzysqe9sh.c" target datalayout = "e-m:e-p270: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 } @.str = private unnamed_addr constant [7 x i8] c"fd > 0\00", align 1 @.str.1 = private unnamed_addr constant [141 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/yuyuyu101/wheatserver/refs/heads/master/src/util.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getFileSizeAndMtime(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca %struct.stat, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 br label %10 10: ; preds = %3 %11 = load i32, ptr %5, align 4 %12 = icmp sgt i32 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %10 %14 = call i32 @wheat_assert(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 270, i32 noundef 1) br label %15 15: ; preds = %13, %10 br label %16 16: ; preds = %15 %17 = load i32, ptr %5, align 4 %18 = call i32 @fstat(i32 noundef %17, ptr noundef %8) store i32 %18, ptr %9, align 4 %19 = load i32, ptr %9, align 4 %20 = icmp eq i32 %19, -1 br i1 %20, label %21, label %22 21: ; preds = %16 store i32 -1, ptr %4, align 4 br label %37 22: ; preds = %16 %23 = load ptr, ptr %6, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %25, label %29 25: ; preds = %22 %26 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 1 %27 = load i32, ptr %26, align 4 %28 = load ptr, ptr %6, align 8 store i32 %27, ptr %28, align 4 br label %29 29: ; preds = %25, %22 %30 = load ptr, ptr %7, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %32, label %36 32: ; preds = %29 %33 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0 %34 = load i32, ptr %33, align 4 %35 = load ptr, ptr %7, align 8 store i32 %34, ptr %35, align 4 br label %36 36: ; preds = %32, %29 store i32 0, ptr %4, align 4 br label %37 37: ; preds = %36, %21 %38 = load i32, ptr %4, align 4 ret i32 %38 } declare i32 @wheat_assert(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fstat(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/tmpzysqe9sh.c" target datalayout = "e-m:e-p270: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 } @.str = private unnamed_addr constant [7 x i8] c"fd > 0\00", align 1 @.str.1 = private unnamed_addr constant [141 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/yuyuyu101/wheatserver/refs/heads/master/src/util.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getFileSizeAndMtime(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca %struct.stat, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 br label %10 10: ; preds = %3 %11 = load i32, ptr %5, align 4 %12 = icmp sgt i32 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %10 %14 = call i32 @wheat_assert(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 270, i32 noundef 1) br label %15 15: ; preds = %13, %10 br label %16 16: ; preds = %15 %17 = load i32, ptr %5, align 4 %18 = call i32 @fstat(i32 noundef %17, ptr noundef %8) store i32 %18, ptr %9, align 4 %19 = load i32, ptr %9, align 4 %20 = icmp eq i32 %19, -1 br i1 %20, label %21, label %22 21: ; preds = %16 store i32 -1, ptr %4, align 4 br label %37 22: ; preds = %16 %23 = load ptr, ptr %6, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %25, label %29 25: ; preds = %22 %26 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 1 %27 = load i32, ptr %26, align 4 %28 = load ptr, ptr %6, align 8 store i32 %27, ptr %28, align 4 br label %29 29: ; preds = %25, %22 %30 = load ptr, ptr %7, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %32, label %36 32: ; preds = %29 %33 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0 %34 = load i32, ptr %33, align 4 %35 = load ptr, ptr %7, align 8 store i32 %34, ptr %35, align 4 br label %36 36: ; preds = %32, %29 store i32 0, ptr %4, align 4 br label %37 37: ; preds = %36, %21 %38 = load i32, ptr %4, align 4 ret i32 %38 } declare i32 @wheat_assert(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fstat(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/tmpnhmdio1w.c' source_filename = "/tmp/tmpnhmdio1w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_CREAT = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"%s%d\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"/tmp/Semaphore\00", align 1 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @S_IRGRP = dso_local global i32 0, align 4 @S_IROTH = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [22 x i8] c"semaphore_create fail\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @spinlock_init(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [32 x i8], align 16 store i32 %0, ptr %3, align 4 %7 = load i32, ptr @O_CREAT, align 4 %8 = load i32, ptr @O_RDWR, align 4 %9 = or i32 %7, %8 store i32 %9, ptr %4, align 4 store i32 1, ptr %5, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %1 %13 = load i32, ptr %3, align 4 %14 = icmp sge i32 %13, 5 br i1 %14, label %15, label %16 15: ; preds = %12, %1 store i32 -1, ptr %2, align 4 br label %38 16: ; preds = %12 %17 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0 %18 = load i32, ptr %3, align 4 %19 = call i32 @sprintf(ptr noundef %17, ptr noundef @.str, ptr noundef @.str.1, i32 noundef %18) %20 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0 %21 = call i32 @semaphore_unlink(ptr noundef %20) %22 = load i32, ptr %3, align 4 %23 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr @S_IRUSR, align 4 %26 = load i32, ptr @S_IWUSR, align 4 %27 = or i32 %25, %26 %28 = load i32, ptr @S_IRGRP, align 4 %29 = or i32 %27, %28 %30 = load i32, ptr @S_IROTH, align 4 %31 = or i32 %29, %30 %32 = load i32, ptr %5, align 4 %33 = call i32 @spinlock_open(i32 noundef %22, ptr noundef %23, i32 noundef %24, i32 noundef %31, i32 noundef %32) %34 = icmp eq i32 %33, -1 br i1 %34, label %35, label %37 35: ; preds = %16 %36 = call i32 @perror(ptr noundef @.str.2) store i32 -1, ptr %2, align 4 br label %38 37: ; preds = %16 store i32 0, ptr %2, align 4 br label %38 38: ; preds = %37, %35, %15 %39 = load i32, ptr %2, align 4 ret i32 %39 } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @semaphore_unlink(ptr noundef) #1 declare i32 @spinlock_open(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnhmdio1w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_CREAT = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"%s%d\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"/tmp/Semaphore\00", align 1 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @S_IRGRP = dso_local global i32 0, align 4 @S_IROTH = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [22 x i8] c"semaphore_create fail\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @spinlock_init(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [32 x i8], align 16 store i32 %0, ptr %3, align 4 %7 = load i32, ptr @O_CREAT, align 4 %8 = load i32, ptr @O_RDWR, align 4 %9 = or i32 %7, %8 store i32 %9, ptr %4, align 4 store i32 1, ptr %5, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %1 %13 = load i32, ptr %3, align 4 %14 = icmp sge i32 %13, 5 br i1 %14, label %15, label %16 15: ; preds = %12, %1 store i32 -1, ptr %2, align 4 br label %38 16: ; preds = %12 %17 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0 %18 = load i32, ptr %3, align 4 %19 = call i32 @sprintf(ptr noundef %17, ptr noundef @.str, ptr noundef @.str.1, i32 noundef %18) %20 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0 %21 = call i32 @semaphore_unlink(ptr noundef %20) %22 = load i32, ptr %3, align 4 %23 = getelementptr inbounds [32 x i8], ptr %6, i64 0, i64 0 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr @S_IRUSR, align 4 %26 = load i32, ptr @S_IWUSR, align 4 %27 = or i32 %25, %26 %28 = load i32, ptr @S_IRGRP, align 4 %29 = or i32 %27, %28 %30 = load i32, ptr @S_IROTH, align 4 %31 = or i32 %29, %30 %32 = load i32, ptr %5, align 4 %33 = call i32 @spinlock_open(i32 noundef %22, ptr noundef %23, i32 noundef %24, i32 noundef %31, i32 noundef %32) %34 = icmp eq i32 %33, -1 br i1 %34, label %35, label %37 35: ; preds = %16 %36 = call i32 @perror(ptr noundef @.str.2) store i32 -1, ptr %2, align 4 br label %38 37: ; preds = %16 store i32 0, ptr %2, align 4 br label %38 38: ; preds = %37, %35, %15 %39 = load i32, ptr %2, align 4 ret i32 %39 } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @semaphore_unlink(ptr noundef) #1 declare i32 @spinlock_open(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1q5bczj0.c' source_filename = "/tmp/tmp1q5bczj0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %21, %2 %7 = load i32, ptr %5, align 4 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strlen(ptr noundef %8) %10 = icmp slt i32 %7, %9 br i1 %10, label %11, label %24 11: ; preds = %6 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 store i8 %16, ptr %20, align 1 br label %21 21: ; preds = %11 %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 } 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/tmp1q5bczj0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = icmp slt i32 %6, %8 br i1 %9, label %.lr.ph, label %27 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %20 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 store i8 %15, ptr %19, align 1 br label %20 20: ; preds = %10 %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 ptr, ptr %3, align 8 %25 = call i32 @strlen(ptr noundef %24) %26 = icmp slt i32 %23, %25 br i1 %26, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %27 27: ; preds = %._crit_edge, %2 ret void } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp3zv7cv0m.c' source_filename = "/tmp/tmp3zv7cv0m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dogsled.in\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"Whoa!\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"Haw!\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"Gee!\00", align 1 @.str.7 = private unnamed_addr constant [26 x i8] c"Simulation #%d: Made it!\0A\00", align 1 @.str.8 = private unnamed_addr constant [33 x i8] c"Simulation #%d: We're lost, eh?\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca [10 x i8], align 1 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca double, align 8 store i32 0, ptr %1, align 4 store double 0.000000e+00, ptr %2, align 8 store double 0.000000e+00, ptr %3, align 8 store double 0.000000e+00, ptr %4, align 8 store i32 0, ptr %6, align 4 %10 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %8, align 8 %12 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %11, ptr noundef @.str.2, ptr noundef %6) store i32 1, ptr %7, align 4 br label %13 13: ; preds = %98, %0 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %6, align 4 %16 = icmp sle i32 %14, %15 br i1 %16, label %17, label %101 17: ; preds = %13 %18 = load ptr, ptr %8, align 8 %19 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %20 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %18, ptr noundef @.str.3, ptr noundef %19) br label %21 21: ; preds = %67, %17 %22 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %23 = call i64 @strcmp(ptr noundef %22, ptr noundef @.str.4) %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %71 25: ; preds = %21 %26 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %27 = call i64 @strcmp(ptr noundef %26, ptr noundef @.str.5) %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %37 29: ; preds = %25 %30 = load double, ptr %2, align 8 %31 = fcmp oeq double %30, 3.500000e+02 br i1 %31, label %32, label %33 32: ; preds = %29 store double 0.000000e+00, ptr %2, align 8 br label %36 33: ; preds = %29 %34 = load double, ptr %2, align 8 %35 = fadd double %34, 1.000000e+01 store double %35, ptr %2, align 8 br label %36 36: ; preds = %33, %32 br label %67 37: ; preds = %25 %38 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %39 = call i64 @strcmp(ptr noundef %38, ptr noundef @.str.6) %40 = icmp eq i64 %39, 0 br i1 %40, label %41, label %49 41: ; preds = %37 %42 = load double, ptr %2, align 8 %43 = fcmp oeq double %42, 0.000000e+00 br i1 %43, label %44, label %45 44: ; preds = %41 store double 3.500000e+02, ptr %2, align 8 br label %48 45: ; preds = %41 %46 = load double, ptr %2, align 8 %47 = fsub double %46, 1.000000e+01 store double %47, ptr %2, align 8 br label %48 48: ; preds = %45, %44 br label %66 49: ; preds = %37 %50 = load double, ptr %2, align 8 %51 = fdiv double %50, 1.800000e+02 %52 = fmul double %51, 0x400921FB54411744 %53 = call i32 @cos(double noundef %52) %54 = mul nsw i32 50, %53 %55 = sitofp i32 %54 to double %56 = load double, ptr %3, align 8 %57 = fadd double %56, %55 store double %57, ptr %3, align 8 %58 = load double, ptr %2, align 8 %59 = fdiv double %58, 1.800000e+02 %60 = fmul double %59, 0x400921FB54411744 %61 = call i32 @sin(double noundef %60) %62 = mul nsw i32 50, %61 %63 = sitofp i32 %62 to double %64 = load double, ptr %4, align 8 %65 = fadd double %64, %63 store double %65, ptr %4, align 8 br label %66 66: ; preds = %49, %48 br label %67 67: ; preds = %66, %36 %68 = load ptr, ptr %8, align 8 %69 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %70 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %68, ptr noundef @.str.3, ptr noundef %69) br label %21, !llvm.loop !6 71: ; preds = %21 store double 1.000000e-05, ptr %9, align 8 %72 = load double, ptr %3, align 8 %73 = load double, ptr %9, align 8 %74 = fadd double %72, %73 %75 = fcmp oge double %74, 4.850000e+02 br i1 %75, label %76, label %94 76: ; preds = %71 %77 = load double, ptr %3, align 8 %78 = load double, ptr %9, align 8 %79 = fadd double 5.150000e+02, %78 %80 = fcmp ole double %77, %79 br i1 %80, label %81, label %94 81: ; preds = %76 %82 = load double, ptr %4, align 8 %83 = load double, ptr %9, align 8 %84 = fadd double %82, %83 %85 = fcmp oge double %84, -1.500000e+01 br i1 %85, label %86, label %94 86: ; preds = %81 %87 = load double, ptr %4, align 8 %88 = load double, ptr %9, align 8 %89 = fadd double 1.500000e+01, %88 %90 = fcmp ole double %87, %89 br i1 %90, label %91, label %94 91: ; preds = %86 %92 = load i32, ptr %7, align 4 %93 = call i32 @printf(ptr noundef @.str.7, i32 noundef %92) br label %97 94: ; preds = %86, %81, %76, %71 %95 = load i32, ptr %7, align 4 %96 = call i32 @printf(ptr noundef @.str.8, i32 noundef %95) br label %97 97: ; preds = %94, %91 store double 0.000000e+00, ptr %3, align 8 store double 0.000000e+00, ptr %4, align 8 store double 0.000000e+00, ptr %2, align 8 br label %98 98: ; preds = %97 %99 = load i32, ptr %7, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %7, align 4 br label %13, !llvm.loop !8 101: ; preds = %13 %102 = load ptr, ptr %8, align 8 %103 = call i32 @fclose(ptr noundef %102) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @cos(double noundef) #1 declare i32 @sin(double noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3zv7cv0m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dogsled.in\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"Whoa!\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"Haw!\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"Gee!\00", align 1 @.str.7 = private unnamed_addr constant [26 x i8] c"Simulation #%d: Made it!\0A\00", align 1 @.str.8 = private unnamed_addr constant [33 x i8] c"Simulation #%d: We're lost, eh?\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca [10 x i8], align 1 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca double, align 8 store i32 0, ptr %1, align 4 store double 0.000000e+00, ptr %2, align 8 store double 0.000000e+00, ptr %3, align 8 store double 0.000000e+00, ptr %4, align 8 store i32 0, ptr %6, align 4 %10 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %8, align 8 %12 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %11, ptr noundef @.str.2, ptr noundef %6) store i32 1, ptr %7, align 4 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp sle i32 %13, %14 br i1 %15, label %.lr.ph2, label %104 .lr.ph2: ; preds = %0 br label %16 16: ; preds = %.lr.ph2, %98 %17 = load ptr, ptr %8, align 8 %18 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %19 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %17, ptr noundef @.str.3, ptr noundef %18) %20 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.4) %22 = icmp ne i64 %21, 0 br i1 %22, label %.lr.ph, label %71 .lr.ph: ; preds = %16 br label %23 23: ; preds = %.lr.ph, %65 %24 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.5) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %35 27: ; preds = %23 %28 = load double, ptr %2, align 8 %29 = fcmp oeq double %28, 3.500000e+02 br i1 %29, label %30, label %31 30: ; preds = %27 store double 0.000000e+00, ptr %2, align 8 br label %34 31: ; preds = %27 %32 = load double, ptr %2, align 8 %33 = fadd double %32, 1.000000e+01 store double %33, ptr %2, align 8 br label %34 34: ; preds = %31, %30 br label %65 35: ; preds = %23 %36 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %37 = call i64 @strcmp(ptr noundef %36, ptr noundef @.str.6) %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %47 39: ; preds = %35 %40 = load double, ptr %2, align 8 %41 = fcmp oeq double %40, 0.000000e+00 br i1 %41, label %42, label %43 42: ; preds = %39 store double 3.500000e+02, ptr %2, align 8 br label %46 43: ; preds = %39 %44 = load double, ptr %2, align 8 %45 = fsub double %44, 1.000000e+01 store double %45, ptr %2, align 8 br label %46 46: ; preds = %43, %42 br label %64 47: ; preds = %35 %48 = load double, ptr %2, align 8 %49 = fdiv double %48, 1.800000e+02 %50 = fmul double %49, 0x400921FB54411744 %51 = call i32 @cos(double noundef %50) %52 = mul nsw i32 50, %51 %53 = sitofp i32 %52 to double %54 = load double, ptr %3, align 8 %55 = fadd double %54, %53 store double %55, ptr %3, align 8 %56 = load double, ptr %2, align 8 %57 = fdiv double %56, 1.800000e+02 %58 = fmul double %57, 0x400921FB54411744 %59 = call i32 @sin(double noundef %58) %60 = mul nsw i32 50, %59 %61 = sitofp i32 %60 to double %62 = load double, ptr %4, align 8 %63 = fadd double %62, %61 store double %63, ptr %4, align 8 br label %64 64: ; preds = %47, %46 br label %65 65: ; preds = %64, %34 %66 = load ptr, ptr %8, align 8 %67 = getelementptr inbounds [10 x i8], ptr %5, i64 0, i64 0 %68 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %66, ptr noundef @.str.3, ptr noundef %67) %69 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.4) %70 = icmp ne i64 %69, 0 br i1 %70, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %65 br label %71 71: ; preds = %._crit_edge, %16 store double 1.000000e-05, ptr %9, align 8 %72 = load double, ptr %3, align 8 %73 = load double, ptr %9, align 8 %74 = fadd double %72, %73 %75 = fcmp oge double %74, 4.850000e+02 br i1 %75, label %76, label %94 76: ; preds = %71 %77 = load double, ptr %3, align 8 %78 = load double, ptr %9, align 8 %79 = fadd double 5.150000e+02, %78 %80 = fcmp ole double %77, %79 br i1 %80, label %81, label %94 81: ; preds = %76 %82 = load double, ptr %4, align 8 %83 = load double, ptr %9, align 8 %84 = fadd double %82, %83 %85 = fcmp oge double %84, -1.500000e+01 br i1 %85, label %86, label %94 86: ; preds = %81 %87 = load double, ptr %4, align 8 %88 = load double, ptr %9, align 8 %89 = fadd double 1.500000e+01, %88 %90 = fcmp ole double %87, %89 br i1 %90, label %91, label %94 91: ; preds = %86 %92 = load i32, ptr %7, align 4 %93 = call i32 @printf(ptr noundef @.str.7, i32 noundef %92) br label %97 94: ; preds = %86, %81, %76, %71 %95 = load i32, ptr %7, align 4 %96 = call i32 @printf(ptr noundef @.str.8, i32 noundef %95) br label %97 97: ; preds = %94, %91 store double 0.000000e+00, ptr %3, align 8 store double 0.000000e+00, ptr %4, align 8 store double 0.000000e+00, ptr %2, align 8 br label %98 98: ; preds = %97 %99 = load i32, ptr %7, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %7, align 4 %101 = load i32, ptr %7, align 4 %102 = load i32, ptr %6, align 4 %103 = icmp sle i32 %101, %102 br i1 %103, label %16, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %98 br label %104 104: ; preds = %._crit_edge3, %0 %105 = load ptr, ptr %8, align 8 %106 = call i32 @fclose(ptr noundef %105) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @cos(double noundef) #1 declare i32 @sin(double noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp8ory4bom.c' source_filename = "/tmp/tmp8ory4bom.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NOT IMPLEMENTED:pa_getgrnam_free\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_getgrnam_free() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } 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/tmp8ory4bom.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NOT IMPLEMENTED:pa_getgrnam_free\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_getgrnam_free() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } 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/tmppryuwpcd.c' source_filename = "/tmp/tmppryuwpcd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Our process id is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @getpid() %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppryuwpcd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Our process id is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @getpid() %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp606ogv4b.c' source_filename = "/tmp/tmp606ogv4b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Please enter X value: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call ptr (...) @makeList() store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @printList(ptr noundef %5) %7 = call i32 @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %3, align 4 %11 = call ptr @partition(ptr noundef %9, i32 noundef %10) store ptr %11, ptr %2, align 8 %12 = load ptr, ptr %2, align 8 %13 = call i32 @printList(ptr noundef %12) ret i32 0 } declare ptr @makeList(...) #1 declare i32 @printList(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @partition(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/tmp606ogv4b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Please enter X value: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call ptr (...) @makeList() store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @printList(ptr noundef %5) %7 = call i32 @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %3, align 4 %11 = call ptr @partition(ptr noundef %9, i32 noundef %10) store ptr %11, ptr %2, align 8 %12 = load ptr, ptr %2, align 8 %13 = call i32 @printList(ptr noundef %12) ret i32 0 } declare ptr @makeList(...) #1 declare i32 @printList(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @partition(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/tmp6lrz7zg2.c' source_filename = "/tmp/tmp6lrz7zg2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"+vhcs:\00", align 1 @optarg = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stdin = dso_local global ptr null, align 8 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [39 x i8] c"Reading from stdin, press ^D to quit.\0A\00", align 1 @optind = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [21 x i8] c"Writing to file: %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 ptr, align 8 %7 = alloca i8, align 1 %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 store ptr null, ptr %6, align 8 store i8 0, ptr %7, align 1 br label %11 11: ; preds = %32, %2 %12 = load i32, ptr %4, align 4 %13 = load ptr, ptr %5, align 8 %14 = call i32 @getopt(i32 noundef %12, ptr noundef %13, ptr noundef @.str) store i32 %14, ptr %8, align 4 %15 = icmp ne i32 %14, -1 br i1 %15, label %16, label %33 16: ; preds = %11 %17 = load i32, ptr %8, align 4 switch i32 %17, label %30 [ i32 115, label %18 i32 118, label %28 i32 104, label %29 ] 18: ; preds = %16 %19 = load i32, ptr @optarg, align 4 %20 = call ptr @fopen(i32 noundef %19, ptr noundef @.str.1) store ptr %20, ptr %6, align 8 %21 = load ptr, ptr %6, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %27, label %23 23: ; preds = %18 %24 = load i32, ptr @optarg, align 4 %25 = call i32 @perror(i32 noundef %24) %26 = call i32 @exit(i32 noundef 2) #3 unreachable 27: ; preds = %18 br label %32 28: ; preds = %16 store i8 1, ptr %7, align 1 br label %32 29: ; preds = %16 br label %30 30: ; preds = %16, %29 %31 = call i32 (...) @usage() br label %32 32: ; preds = %30, %28, %27 br label %11, !llvm.loop !6 33: ; preds = %11 %34 = load ptr, ptr %6, align 8 %35 = icmp ne ptr %34, null br i1 %35, label %40, label %36 36: ; preds = %33 %37 = load ptr, ptr @stdin, align 8 store ptr %37, ptr %6, align 8 %38 = load i32, ptr @stderr, align 4 %39 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %38, ptr noundef @.str.2) br label %40 40: ; preds = %36, %33 store ptr null, ptr %9, align 8 store i32 0, ptr %10, align 4 %41 = load ptr, ptr %6, align 8 %42 = call i64 @in_source(ptr noundef %41, ptr noundef %9, ptr noundef %10) %43 = icmp ne i64 %42, 0 br i1 %43, label %50, label %44 44: ; preds = %40 %45 = load ptr, ptr %9, align 8 %46 = icmp ne ptr %45, null br i1 %46, label %47, label %50 47: ; preds = %44 %48 = load i32, ptr %10, align 4 %49 = icmp sle i32 %48, 0 br i1 %49, label %50, label %51 50: ; preds = %47, %44, %40 store i32 1, ptr %3, align 4 br label %87 51: ; preds = %47 br label %52 52: ; preds = %67, %51 %53 = load i32, ptr @optind, align 4 %54 = load i32, ptr %4, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %56, label %84 56: ; preds = %52 %57 = load i8, ptr %7, align 1 %58 = icmp ne i8 %57, 0 br i1 %58, label %59, label %67 59: ; preds = %56 %60 = load i32, ptr @stderr, align 4 %61 = load ptr, ptr %5, align 8 %62 = load i32, ptr @optind, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds ptr, ptr %61, i64 %63 %65 = load ptr, ptr %64, align 8 %66 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %60, ptr noundef @.str.3, ptr noundef %65) br label %67 67: ; preds = %59, %56 %68 = load ptr, ptr %9, align 8 %69 = load i32, ptr %10, align 4 %70 = load ptr, ptr %5, align 8 %71 = load i32, ptr @optind, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds ptr, ptr %70, i64 %72 %74 = load ptr, ptr %73, align 8 %75 = load ptr, ptr %5, align 8 %76 = load i32, ptr @optind, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds ptr, ptr %75, i64 %77 %79 = load ptr, ptr %78, align 8 %80 = call i32 @strlen(ptr noundef %79) %81 = call i32 @append(ptr noundef %68, i32 noundef %69, ptr noundef %74, i32 noundef %80) %82 = load i32, ptr @optind, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr @optind, align 4 br label %52, !llvm.loop !8 84: ; preds = %52 %85 = load ptr, ptr %9, align 8 %86 = call i32 @free(ptr noundef %85) store i32 0, ptr %3, align 4 br label %87 87: ; preds = %84, %50 %88 = load i32, ptr %3, align 4 ret i32 %88 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(i32 noundef, ptr noundef) #1 declare i32 @perror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @usage(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i64 @in_source(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @append(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp6lrz7zg2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"+vhcs:\00", align 1 @optarg = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stdin = dso_local global ptr null, align 8 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [39 x i8] c"Reading from stdin, press ^D to quit.\0A\00", align 1 @optind = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [21 x i8] c"Writing to file: %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 ptr, align 8 %7 = alloca i8, align 1 %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 store ptr null, ptr %6, align 8 store i8 0, ptr %7, align 1 %11 = load i32, ptr %4, align 4 %12 = load ptr, ptr %5, align 8 %13 = call i32 @getopt(i32 noundef %11, ptr noundef %12, ptr noundef @.str) store i32 %13, ptr %8, align 4 %14 = icmp ne i32 %13, -1 br i1 %14, label %.lr.ph, label %36 .lr.ph: ; preds = %2 br label %15 15: ; preds = %.lr.ph, %31 %16 = load i32, ptr %8, align 4 switch i32 %16, label %29 [ i32 115, label %17 i32 118, label %27 i32 104, label %28 ] 17: ; preds = %15 %18 = load i32, ptr @optarg, align 4 %19 = call ptr @fopen(i32 noundef %18, ptr noundef @.str.1) store ptr %19, ptr %6, align 8 %20 = load ptr, ptr %6, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %26, label %22 22: ; preds = %17 %23 = load i32, ptr @optarg, align 4 %24 = call i32 @perror(i32 noundef %23) %25 = call i32 @exit(i32 noundef 2) #3 unreachable 26: ; preds = %17 br label %31 27: ; preds = %15 store i8 1, ptr %7, align 1 br label %31 28: ; preds = %15 br label %29 29: ; preds = %28, %15 %30 = call i32 (...) @usage() br label %31 31: ; preds = %29, %27, %26 %32 = load i32, ptr %4, align 4 %33 = load ptr, ptr %5, align 8 %34 = call i32 @getopt(i32 noundef %32, ptr noundef %33, ptr noundef @.str) store i32 %34, ptr %8, align 4 %35 = icmp ne i32 %34, -1 br i1 %35, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %36 36: ; preds = %._crit_edge, %2 %37 = load ptr, ptr %6, align 8 %38 = icmp ne ptr %37, null br i1 %38, label %43, label %39 39: ; preds = %36 %40 = load ptr, ptr @stdin, align 8 store ptr %40, ptr %6, align 8 %41 = load i32, ptr @stderr, align 4 %42 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %41, ptr noundef @.str.2) br label %43 43: ; preds = %39, %36 store ptr null, ptr %9, align 8 store i32 0, ptr %10, align 4 %44 = load ptr, ptr %6, align 8 %45 = call i64 @in_source(ptr noundef %44, ptr noundef %9, ptr noundef %10) %46 = icmp ne i64 %45, 0 br i1 %46, label %53, label %47 47: ; preds = %43 %48 = load ptr, ptr %9, align 8 %49 = icmp ne ptr %48, null br i1 %49, label %50, label %53 50: ; preds = %47 %51 = load i32, ptr %10, align 4 %52 = icmp sle i32 %51, 0 br i1 %52, label %53, label %54 53: ; preds = %50, %47, %43 store i32 1, ptr %3, align 4 br label %92 54: ; preds = %50 %55 = load i32, ptr @optind, align 4 %56 = load i32, ptr %4, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %.lr.ph2, label %89 .lr.ph2: ; preds = %54 br label %58 58: ; preds = %.lr.ph2, %69 %59 = load i8, ptr %7, align 1 %60 = icmp ne i8 %59, 0 br i1 %60, label %61, label %69 61: ; preds = %58 %62 = load i32, ptr @stderr, align 4 %63 = load ptr, ptr %5, align 8 %64 = load i32, ptr @optind, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds ptr, ptr %63, i64 %65 %67 = load ptr, ptr %66, align 8 %68 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %62, ptr noundef @.str.3, ptr noundef %67) br label %69 69: ; preds = %61, %58 %70 = load ptr, ptr %9, align 8 %71 = load i32, ptr %10, align 4 %72 = load ptr, ptr %5, align 8 %73 = load i32, ptr @optind, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds ptr, ptr %72, i64 %74 %76 = load ptr, ptr %75, align 8 %77 = load ptr, ptr %5, align 8 %78 = load i32, ptr @optind, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds ptr, ptr %77, i64 %79 %81 = load ptr, ptr %80, align 8 %82 = call i32 @strlen(ptr noundef %81) %83 = call i32 @append(ptr noundef %70, i32 noundef %71, ptr noundef %76, i32 noundef %82) %84 = load i32, ptr @optind, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr @optind, align 4 %86 = load i32, ptr @optind, align 4 %87 = load i32, ptr %4, align 4 %88 = icmp slt i32 %86, %87 br i1 %88, label %58, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %69 br label %89 89: ; preds = %._crit_edge3, %54 %90 = load ptr, ptr %9, align 8 %91 = call i32 @free(ptr noundef %90) store i32 0, ptr %3, align 4 br label %92 92: ; preds = %89, %53 %93 = load i32, ptr %3, align 4 ret i32 %93 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(i32 noundef, ptr noundef) #1 declare i32 @perror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @usage(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i64 @in_source(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @append(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpts3w4j5l.c' source_filename = "/tmp/tmpts3w4j5l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%.1f\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 %4 = alloca float, align 4 %5 = alloca float, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %9 = load float, ptr %2, align 4 %10 = load float, ptr %3, align 4 %11 = fcmp olt float %9, %10 br i1 %11, label %12, label %14 12: ; preds = %0 %13 = load float, ptr %3, align 4 store float %13, ptr %5, align 4 br label %16 14: ; preds = %0 %15 = load float, ptr %2, align 4 store float %15, ptr %5, align 4 br label %16 16: ; preds = %14, %12 %17 = load float, ptr %5, align 4 %18 = load float, ptr %4, align 4 %19 = fcmp olt float %17, %18 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = load float, ptr %4, align 4 store float %21, ptr %5, align 4 br label %22 22: ; preds = %20, %16 %23 = load float, ptr %5, align 4 %24 = call i32 @printf(ptr noundef @.str.1, float noundef %23) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpts3w4j5l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%.1f\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 %4 = alloca float, align 4 %5 = alloca float, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %9 = load float, ptr %2, align 4 %10 = load float, ptr %3, align 4 %11 = fcmp olt float %9, %10 br i1 %11, label %12, label %14 12: ; preds = %0 %13 = load float, ptr %3, align 4 store float %13, ptr %5, align 4 br label %16 14: ; preds = %0 %15 = load float, ptr %2, align 4 store float %15, ptr %5, align 4 br label %16 16: ; preds = %14, %12 %17 = load float, ptr %5, align 4 %18 = load float, ptr %4, align 4 %19 = fcmp olt float %17, %18 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = load float, ptr %4, align 4 store float %21, ptr %5, align 4 br label %22 22: ; preds = %20, %16 %23 = load float, ptr %5, align 4 %24 = call i32 @printf(ptr noundef @.str.1, float noundef %23) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi1cgl72n.c' source_filename = "/tmp/tmpi1cgl72n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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":=\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%lld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_swift_value(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 0, ptr %8, align 4 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %6, align 8 %12 = call ptr @strstr(ptr noundef %10, ptr noundef %11) store ptr %12, ptr %9, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %24 14: ; preds = %3 %15 = load ptr, ptr %9, align 8 %16 = call i32 @strcspn(ptr noundef %15, ptr noundef @.str) store i32 %16, ptr %8, align 4 %17 = load ptr, ptr %9, align 8 %18 = load i32, ptr %8, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = getelementptr inbounds i8, ptr %20, i64 1 %22 = load ptr, ptr %7, align 8 %23 = call i32 @sscanf(ptr noundef %21, ptr noundef @.str.1, ptr noundef %22) store i32 1, ptr %4, align 4 br label %25 24: ; preds = %3 store i32 0, ptr %4, align 4 br label %25 25: ; preds = %24, %14 %26 = load i32, ptr %4, align 4 ret i32 %26 } declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @strcspn(ptr noundef, ptr noundef) #1 declare i32 @sscanf(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/tmpi1cgl72n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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":=\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%lld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_swift_value(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 0, ptr %8, align 4 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %6, align 8 %12 = call ptr @strstr(ptr noundef %10, ptr noundef %11) store ptr %12, ptr %9, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %24 14: ; preds = %3 %15 = load ptr, ptr %9, align 8 %16 = call i32 @strcspn(ptr noundef %15, ptr noundef @.str) store i32 %16, ptr %8, align 4 %17 = load ptr, ptr %9, align 8 %18 = load i32, ptr %8, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = getelementptr inbounds i8, ptr %20, i64 1 %22 = load ptr, ptr %7, align 8 %23 = call i32 @sscanf(ptr noundef %21, ptr noundef @.str.1, ptr noundef %22) store i32 1, ptr %4, align 4 br label %25 24: ; preds = %3 store i32 0, ptr %4, align 4 br label %25 25: ; preds = %24, %14 %26 = load i32, ptr %4, align 4 ret i32 %26 } declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @strcspn(ptr noundef, ptr noundef) #1 declare i32 @sscanf(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/tmp19tlnawh.c' source_filename = "/tmp/tmp19tlnawh.c" target datalayout = "e-m:e-p270: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/tmp19tlnawh.c" target datalayout = "e-m:e-p270: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/tmpwzavnckd.c' source_filename = "/tmp/tmpwzavnckd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.1e %.1e %.1e %.1e\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%ld %ld\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"%ld %ld %ld %ld\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"%.1f %.1e %ld %ld\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 double, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store i32 0, ptr %1, align 4 store float 3.000000e+00, ptr %2, align 4 store double 3.000000e+00, ptr %3, align 8 store i64 2000000000, ptr %4, align 8 store i64 1234567890, ptr %5, align 8 %6 = load float, ptr %2, align 4 %7 = load double, ptr %3, align 8 %8 = load i64, ptr %4, align 8 %9 = load i64, ptr %5, align 8 %10 = call i32 (ptr, float, double, ...) @printf(ptr noundef @.str, float noundef %6, double noundef %7, i64 noundef %8, i64 noundef %9) %11 = load i64, ptr %4, align 8 %12 = sitofp i64 %11 to float %13 = load i64, ptr %5, align 8 %14 = sitofp i64 %13 to double %15 = call i32 (ptr, float, double, ...) @printf(ptr noundef @.str.1, float noundef %12, double noundef %14) %16 = load float, ptr %2, align 4 %17 = load double, ptr %3, align 8 %18 = load i64, ptr %4, align 8 %19 = load i64, ptr %5, align 8 %20 = call i32 (ptr, float, double, ...) @printf(ptr noundef @.str.2, float noundef %16, double noundef %17, i64 noundef %18, i64 noundef %19) %21 = load float, ptr %2, align 4 %22 = load double, ptr %3, align 8 %23 = load i64, ptr %4, align 8 %24 = load i64, ptr %5, align 8 %25 = call i32 (ptr, float, double, ...) @printf(ptr noundef @.str.3, float noundef %21, double noundef %22, i64 noundef %23, i64 noundef %24) ret i32 0 } declare i32 @printf(ptr noundef, float noundef, double noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwzavnckd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%.1e %.1e %.1e %.1e\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%ld %ld\0A\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"%ld %ld %ld %ld\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"%.1f %.1e %ld %ld\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 double, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store i32 0, ptr %1, align 4 store float 3.000000e+00, ptr %2, align 4 store double 3.000000e+00, ptr %3, align 8 store i64 2000000000, ptr %4, align 8 store i64 1234567890, ptr %5, align 8 %6 = load float, ptr %2, align 4 %7 = load double, ptr %3, align 8 %8 = load i64, ptr %4, align 8 %9 = load i64, ptr %5, align 8 %10 = call i32 (ptr, float, double, ...) @printf(ptr noundef @.str, float noundef %6, double noundef %7, i64 noundef %8, i64 noundef %9) %11 = load i64, ptr %4, align 8 %12 = sitofp i64 %11 to float %13 = load i64, ptr %5, align 8 %14 = sitofp i64 %13 to double %15 = call i32 (ptr, float, double, ...) @printf(ptr noundef @.str.1, float noundef %12, double noundef %14) %16 = load float, ptr %2, align 4 %17 = load double, ptr %3, align 8 %18 = load i64, ptr %4, align 8 %19 = load i64, ptr %5, align 8 %20 = call i32 (ptr, float, double, ...) @printf(ptr noundef @.str.2, float noundef %16, double noundef %17, i64 noundef %18, i64 noundef %19) %21 = load float, ptr %2, align 4 %22 = load double, ptr %3, align 8 %23 = load i64, ptr %4, align 8 %24 = load i64, ptr %5, align 8 %25 = call i32 (ptr, float, double, ...) @printf(ptr noundef @.str.3, float noundef %21, double noundef %22, i64 noundef %23, i64 noundef %24) ret i32 0 } declare i32 @printf(ptr noundef, float noundef, double noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp713xwlo3.c' source_filename = "/tmp/tmp713xwlo3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @day_astronomical_twilight_length(i32 noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3, double noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca double, align 8 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store double %3, ptr %9, align 8 store double %4, ptr %10, align 8 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %8, align 4 %14 = load double, ptr %9, align 8 %15 = load double, ptr %10, align 8 %16 = call double @__daylen__(i32 noundef %11, i32 noundef %12, i32 noundef %13, double noundef %14, double noundef %15, double noundef -1.800000e+01, i32 noundef 0) ret double %16 } declare double @__daylen__(i32 noundef, i32 noundef, i32 noundef, double noundef, double noundef, double noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp713xwlo3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @day_astronomical_twilight_length(i32 noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3, double noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca double, align 8 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store double %3, ptr %9, align 8 store double %4, ptr %10, align 8 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %8, align 4 %14 = load double, ptr %9, align 8 %15 = load double, ptr %10, align 8 %16 = call double @__daylen__(i32 noundef %11, i32 noundef %12, i32 noundef %13, double noundef %14, double noundef %15, double noundef -1.800000e+01, i32 noundef 0) ret double %16 } declare double @__daylen__(i32 noundef, i32 noundef, i32 noundef, double noundef, double noundef, double noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2ibffvog.c' source_filename = "/tmp/tmp2ibffvog.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBULPIDisable(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = add nsw i32 %3, 4036 %5 = sext i32 %4 to i64 %6 = inttoptr i64 %5 to ptr %7 = load volatile i32, ptr %6, align 4 %8 = and i32 %7, -65537 store volatile i32 %8, ptr %6, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2ibffvog.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBULPIDisable(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = add nsw i32 %3, 4036 %5 = sext i32 %4 to i64 %6 = inttoptr i64 %5 to ptr %7 = load volatile i32, ptr %6, align 4 %8 = and i32 %7, -65537 store volatile i32 %8, ptr %6, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpneiaxdi1.c' source_filename = "/tmp/tmpneiaxdi1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8vec_ones_new(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = sext i32 %5 to i64 %7 = mul i64 %6, 8 %8 = trunc i64 %7 to i32 %9 = call i64 @malloc(i32 noundef %8) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %11 11: ; preds = %20, %1 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %23 15: ; preds = %11 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds double, ptr %16, i64 %18 store double 1.000000e+00, ptr %19, align 8 br label %20 20: ; preds = %15 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 br label %11, !llvm.loop !6 23: ; preds = %11 %24 = load ptr, ptr %3, align 8 ret ptr %24 } declare i64 @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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpneiaxdi1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8vec_ones_new(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = sext i32 %5 to i64 %7 = mul i64 %6, 8 %8 = trunc i64 %7 to i32 %9 = call i64 @malloc(i32 noundef %8) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %3, align 8 store i32 0, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %25 .lr.ph: ; preds = %1 br label %14 14: ; preds = %.lr.ph, %19 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds double, ptr %15, i64 %17 store double 1.000000e+00, ptr %18, align 8 br label %19 19: ; preds = %14 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %2, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %25 25: ; preds = %._crit_edge, %1 %26 = load ptr, ptr %3, align 8 ret ptr %26 } declare i64 @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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqgb4ndv6.c' source_filename = "/tmp/tmpqgb4ndv6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @validate_int(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 1, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %24, %1 %6 = load i32, ptr %4, align 4 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = icmp slt i32 %6, %8 br i1 %9, label %10, label %27 10: ; preds = %5 %11 = load i32, ptr %3, align 4 %12 = icmp eq i32 %11, 1 br i1 %12, label %13, label %23 13: ; preds = %10 %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = call i32 @isdigit(i8 noundef signext %18) %20 = icmp ne i32 %19, 0 br i1 %20, label %22, label %21 21: ; preds = %13 store i32 0, ptr %3, align 4 br label %22 22: ; preds = %21, %13 br label %23 23: ; preds = %22, %10 br label %24 24: ; preds = %23 %25 = load i32, ptr %4, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %4, align 4 br label %5, !llvm.loop !6 27: ; preds = %5 %28 = load i32, ptr %3, align 4 ret i32 %28 } declare i32 @strlen(ptr noundef) #1 declare i32 @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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqgb4ndv6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @validate_int(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 1, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = icmp slt i32 %5, %7 br i1 %8, label %.lr.ph, label %30 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %23 %10 = load i32, ptr %3, align 4 %11 = icmp eq i32 %10, 1 br i1 %11, label %12, label %22 12: ; preds = %9 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %4, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = call i32 @isdigit(i8 noundef signext %17) %19 = icmp ne i32 %18, 0 br i1 %19, label %21, label %20 20: ; preds = %12 store i32 0, ptr %3, align 4 br label %21 21: ; preds = %20, %12 br label %22 22: ; preds = %21, %9 br label %23 23: ; preds = %22 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %4, align 4 %26 = load i32, ptr %4, align 4 %27 = load ptr, ptr %2, align 8 %28 = call i32 @strlen(ptr noundef %27) %29 = icmp slt i32 %26, %28 br i1 %29, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %30 30: ; preds = %._crit_edge, %1 %31 = load i32, ptr %3, align 4 ret i32 %31 } declare i32 @strlen(ptr noundef) #1 declare i32 @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"}
; ModuleID = '/tmp/tmp8tz5fktu.c' source_filename = "/tmp/tmp8tz5fktu.c" target datalayout = "e-m:e-p270: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/tmp8tz5fktu.c" target datalayout = "e-m:e-p270: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/tmp7mk3s1dn.c' source_filename = "/tmp/tmp7mk3s1dn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sha3_256(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %10 = load i64, ptr %7, align 8 %11 = icmp ugt i64 %10, 32 br i1 %11, label %12, label %13 12: ; preds = %4 store i32 -1, ptr %5, align 4 br label %19 13: ; preds = %4 %14 = load ptr, ptr %6, align 8 %15 = load i64, ptr %7, align 8 %16 = load ptr, ptr %8, align 8 %17 = load i64, ptr %9, align 8 %18 = call i32 @hash(ptr noundef %14, i64 noundef %15, ptr noundef %16, i64 noundef %17, i32 noundef 136, i32 noundef 1) store i32 %18, ptr %5, align 4 br label %19 19: ; preds = %13, %12 %20 = load i32, ptr %5, align 4 ret i32 %20 } declare i32 @hash(ptr noundef, i64 noundef, ptr noundef, i64 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/tmp7mk3s1dn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sha3_256(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %10 = load i64, ptr %7, align 8 %11 = icmp ugt i64 %10, 32 br i1 %11, label %12, label %13 12: ; preds = %4 store i32 -1, ptr %5, align 4 br label %19 13: ; preds = %4 %14 = load ptr, ptr %6, align 8 %15 = load i64, ptr %7, align 8 %16 = load ptr, ptr %8, align 8 %17 = load i64, ptr %9, align 8 %18 = call i32 @hash(ptr noundef %14, i64 noundef %15, ptr noundef %16, i64 noundef %17, i32 noundef 136, i32 noundef 1) store i32 %18, ptr %5, align 4 br label %19 19: ; preds = %13, %12 %20 = load i32, ptr %5, align 4 ret i32 %20 } declare i32 @hash(ptr noundef, i64 noundef, ptr noundef, i64 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/tmpgdb87cf_.c' source_filename = "/tmp/tmpgdb87cf_.c" target datalayout = "e-m:e-p270: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 } @stdin = dso_local global i32 0, align 4 @ICANON = dso_local global i32 0, align 4 @_IONBF = dso_local global i32 0, align 4 @TCSANOW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @BarTermSetBuffer(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 %3 = alloca %struct.termios, align 4 store i8 %0, ptr %2, align 1 %4 = load i32, ptr @stdin, align 4 %5 = call i32 @fileno(i32 noundef %4) %6 = call i32 @tcgetattr(i32 noundef %5, ptr noundef %3) %7 = load i8, ptr %2, align 1 %8 = sext i8 %7 to i32 %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %17 10: ; preds = %1 %11 = load i32, ptr @ICANON, align 4 %12 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %13 = load i32, ptr %12, align 4 %14 = or i32 %13, %11 store i32 %14, ptr %12, align 4 %15 = load i32, ptr @stdin, align 4 %16 = call i32 @setlinebuf(i32 noundef %15) br label %26 17: ; preds = %1 %18 = load i32, ptr @ICANON, align 4 %19 = xor i32 %18, -1 %20 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %21 = load i32, ptr %20, align 4 %22 = and i32 %21, %19 store i32 %22, ptr %20, align 4 %23 = load i32, ptr @stdin, align 4 %24 = load i32, ptr @_IONBF, align 4 %25 = call i32 @setvbuf(i32 noundef %23, ptr noundef null, i32 noundef %24, i32 noundef 1) br label %26 26: ; preds = %17, %10 %27 = load i32, ptr @stdin, align 4 %28 = call i32 @fileno(i32 noundef %27) %29 = load i32, ptr @TCSANOW, align 4 %30 = call i32 @tcsetattr(i32 noundef %28, i32 noundef %29, ptr noundef %3) ret void } declare i32 @tcgetattr(i32 noundef, ptr noundef) #1 declare i32 @fileno(i32 noundef) #1 declare i32 @setlinebuf(i32 noundef) #1 declare i32 @setvbuf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgdb87cf_.c" target datalayout = "e-m:e-p270: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 } @stdin = dso_local global i32 0, align 4 @ICANON = dso_local global i32 0, align 4 @_IONBF = dso_local global i32 0, align 4 @TCSANOW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @BarTermSetBuffer(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 %3 = alloca %struct.termios, align 4 store i8 %0, ptr %2, align 1 %4 = load i32, ptr @stdin, align 4 %5 = call i32 @fileno(i32 noundef %4) %6 = call i32 @tcgetattr(i32 noundef %5, ptr noundef %3) %7 = load i8, ptr %2, align 1 %8 = sext i8 %7 to i32 %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %17 10: ; preds = %1 %11 = load i32, ptr @ICANON, align 4 %12 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %13 = load i32, ptr %12, align 4 %14 = or i32 %13, %11 store i32 %14, ptr %12, align 4 %15 = load i32, ptr @stdin, align 4 %16 = call i32 @setlinebuf(i32 noundef %15) br label %26 17: ; preds = %1 %18 = load i32, ptr @ICANON, align 4 %19 = xor i32 %18, -1 %20 = getelementptr inbounds %struct.termios, ptr %3, i32 0, i32 0 %21 = load i32, ptr %20, align 4 %22 = and i32 %21, %19 store i32 %22, ptr %20, align 4 %23 = load i32, ptr @stdin, align 4 %24 = load i32, ptr @_IONBF, align 4 %25 = call i32 @setvbuf(i32 noundef %23, ptr noundef null, i32 noundef %24, i32 noundef 1) br label %26 26: ; preds = %17, %10 %27 = load i32, ptr @stdin, align 4 %28 = call i32 @fileno(i32 noundef %27) %29 = load i32, ptr @TCSANOW, align 4 %30 = call i32 @tcsetattr(i32 noundef %28, i32 noundef %29, ptr noundef %3) ret void } declare i32 @tcgetattr(i32 noundef, ptr noundef) #1 declare i32 @fileno(i32 noundef) #1 declare i32 @setlinebuf(i32 noundef) #1 declare i32 @setvbuf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbt6blvgd.c' source_filename = "/tmp/tmpbt6blvgd.c" target datalayout = "e-m:e-p270: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: chmod <MODE> <FILE>\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"Bad mode\0A\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"Unable to chmod %s: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @chmod_main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 3 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str) store i32 10, ptr %3, align 4 br label %75 14: ; preds = %2 store i32 0, ptr %7, align 4 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 store ptr %17, ptr %8, align 8 br label %18 18: ; preds = %43, %14 %19 = load ptr, ptr %8, align 8 %20 = load i8, ptr %19, align 1 %21 = icmp ne i8 %20, 0 br i1 %21, label %22, label %46 22: ; preds = %18 %23 = load ptr, ptr %8, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp sge i32 %25, 48 br i1 %26, label %27, label %40 27: ; preds = %22 %28 = load ptr, ptr %8, align 8 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp sle i32 %30, 55 br i1 %31, label %32, label %40 32: ; preds = %27 %33 = load i32, ptr %7, align 4 %34 = shl i32 %33, 3 %35 = load ptr, ptr %8, align 8 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = sub nsw i32 %37, 48 %39 = or i32 %34, %38 store i32 %39, ptr %7, align 4 br label %43 40: ; preds = %27, %22 %41 = load i32, ptr @stderr, align 4 %42 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %41, ptr noundef @.str.1) store i32 10, ptr %3, align 4 br label %75 43: ; preds = %32 %44 = load ptr, ptr %8, align 8 %45 = getelementptr inbounds i8, ptr %44, i32 1 store ptr %45, ptr %8, align 8 br label %18, !llvm.loop !6 46: ; preds = %18 store i32 2, ptr %6, align 4 br label %47 47: ; preds = %71, %46 %48 = load i32, ptr %6, align 4 %49 = load i32, ptr %4, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %51, label %74 51: ; preds = %47 %52 = load ptr, ptr %5, align 8 %53 = load i32, ptr %6, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds ptr, ptr %52, i64 %54 %56 = load ptr, ptr %55, align 8 %57 = load i32, ptr %7, align 4 %58 = call i64 @chmod(ptr noundef %56, i32 noundef %57) %59 = icmp slt i64 %58, 0 br i1 %59, label %60, label %70 60: ; preds = %51 %61 = load i32, ptr @stderr, align 4 %62 = load ptr, ptr %5, align 8 %63 = load i32, ptr %6, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds ptr, ptr %62, i64 %64 %66 = load ptr, ptr %65, align 8 %67 = load i32, ptr @errno, align 4 %68 = call ptr @strerror(i32 noundef %67) %69 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %61, ptr noundef @.str.2, ptr noundef %66, ptr noundef %68) store i32 10, ptr %3, align 4 br label %75 70: ; preds = %51 br label %71 71: ; preds = %70 %72 = load i32, ptr %6, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %6, align 4 br label %47, !llvm.loop !8 74: ; preds = %47 store i32 0, ptr %3, align 4 br label %75 75: ; preds = %74, %60, %40, %11 %76 = load i32, ptr %3, align 4 ret i32 %76 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i64 @chmod(ptr noundef, i32 noundef) #1 declare ptr @strerror(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbt6blvgd.c" target datalayout = "e-m:e-p270: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: chmod <MODE> <FILE>\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"Bad mode\0A\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"Unable to chmod %s: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @chmod_main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 3 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str) store i32 10, ptr %3, align 4 br label %79 14: ; preds = %2 store i32 0, ptr %7, align 4 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 store ptr %17, ptr %8, align 8 %18 = load ptr, ptr %8, align 8 %19 = load i8, ptr %18, align 1 %20 = icmp ne i8 %19, 0 br i1 %20, label %.lr.ph, label %48 .lr.ph: ; preds = %14 br label %21 21: ; preds = %.lr.ph, %42 %22 = load ptr, ptr %8, align 8 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp sge i32 %24, 48 br i1 %25, label %26, label %39 26: ; preds = %21 %27 = load ptr, ptr %8, align 8 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp sle i32 %29, 55 br i1 %30, label %31, label %39 31: ; preds = %26 %32 = load i32, ptr %7, align 4 %33 = shl i32 %32, 3 %34 = load ptr, ptr %8, align 8 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = sub nsw i32 %36, 48 %38 = or i32 %33, %37 store i32 %38, ptr %7, align 4 br label %42 39: ; preds = %26, %21 %40 = load i32, ptr @stderr, align 4 %41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %40, ptr noundef @.str.1) store i32 10, ptr %3, align 4 br label %79 42: ; preds = %31 %43 = load ptr, ptr %8, align 8 %44 = getelementptr inbounds i8, ptr %43, i32 1 store ptr %44, ptr %8, align 8 %45 = load ptr, ptr %8, align 8 %46 = load i8, ptr %45, align 1 %47 = icmp ne i8 %46, 0 br i1 %47, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %48 48: ; preds = %._crit_edge, %14 store i32 2, ptr %6, align 4 %49 = load i32, ptr %6, align 4 %50 = load i32, ptr %4, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %.lr.ph2, label %78 .lr.ph2: ; preds = %48 br label %52 52: ; preds = %.lr.ph2, %72 %53 = load ptr, ptr %5, align 8 %54 = load i32, ptr %6, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds ptr, ptr %53, i64 %55 %57 = load ptr, ptr %56, align 8 %58 = load i32, ptr %7, align 4 %59 = call i64 @chmod(ptr noundef %57, i32 noundef %58) %60 = icmp slt i64 %59, 0 br i1 %60, label %61, label %71 61: ; preds = %52 %62 = load i32, ptr @stderr, align 4 %63 = load ptr, ptr %5, align 8 %64 = load i32, ptr %6, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds ptr, ptr %63, i64 %65 %67 = load ptr, ptr %66, align 8 %68 = load i32, ptr @errno, align 4 %69 = call ptr @strerror(i32 noundef %68) %70 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %62, ptr noundef @.str.2, ptr noundef %67, ptr noundef %69) store i32 10, ptr %3, align 4 br label %79 71: ; preds = %52 br label %72 72: ; preds = %71 %73 = load i32, ptr %6, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %6, align 4 %75 = load i32, ptr %6, align 4 %76 = load i32, ptr %4, align 4 %77 = icmp slt i32 %75, %76 br i1 %77, label %52, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %72 br label %78 78: ; preds = %._crit_edge3, %48 store i32 0, ptr %3, align 4 br label %79 79: ; preds = %78, %61, %39, %11 %80 = load i32, ptr %3, align 4 ret i32 %80 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i64 @chmod(ptr noundef, i32 noundef) #1 declare ptr @strerror(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmphpmf4s4l.c' source_filename = "/tmp/tmphpmf4s4l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tagger_tag(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @TaggerTag(ptr noundef %3) ret ptr %4 } declare ptr @TaggerTag(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphpmf4s4l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tagger_tag(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @TaggerTag(ptr noundef %3) ret ptr %4 } declare ptr @TaggerTag(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyv8e4f58.c' source_filename = "/tmp/tmpyv8e4f58.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @load_assembly_instructions(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 i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 br label %13 13: ; preds = %17, %4 %14 = load ptr, ptr %5, align 8 %15 = call i64 @fscanf(ptr noundef %14, ptr noundef @.str, ptr noundef %10, ptr noundef %11, ptr noundef %12) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %35 17: ; preds = %13 %18 = load i32, ptr %10, align 4 %19 = load ptr, ptr %6, align 8 %20 = load i32, ptr %9, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 store i32 %18, ptr %22, align 4 %23 = load i32, ptr %11, align 4 %24 = load ptr, ptr %7, align 8 %25 = load i32, ptr %9, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 store i32 %23, ptr %27, align 4 %28 = load i32, ptr %12, align 4 %29 = load ptr, ptr %8, align 8 %30 = load i32, ptr %9, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 store i32 %28, ptr %32, align 4 %33 = load i32, ptr %9, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %9, align 4 br label %13, !llvm.loop !6 35: ; preds = %13 ret void } declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyv8e4f58.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @load_assembly_instructions(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 i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 %13 = load ptr, ptr %5, align 8 %14 = call i64 @fscanf(ptr noundef %13, ptr noundef @.str, ptr noundef %10, ptr noundef %11, ptr noundef %12) %15 = icmp ne i64 %14, 0 br i1 %15, label %.lr.ph, label %37 .lr.ph: ; preds = %4 br label %16 16: ; preds = %.lr.ph, %16 %17 = load i32, ptr %10, align 4 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %9, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 store i32 %17, ptr %21, align 4 %22 = load i32, ptr %11, align 4 %23 = load ptr, ptr %7, align 8 %24 = load i32, ptr %9, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 store i32 %22, ptr %26, align 4 %27 = load i32, ptr %12, align 4 %28 = load ptr, ptr %8, align 8 %29 = load i32, ptr %9, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 store i32 %27, ptr %31, align 4 %32 = load i32, ptr %9, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %9, align 4 %34 = load ptr, ptr %5, align 8 %35 = call i64 @fscanf(ptr noundef %34, ptr noundef @.str, ptr noundef %10, ptr noundef %11, ptr noundef %12) %36 = icmp ne i64 %35, 0 br i1 %36, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %37 37: ; preds = %._crit_edge, %4 ret void } declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp4gy5teg2.c' source_filename = "/tmp/tmp4gy5teg2.c" target datalayout = "e-m:e-p270: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/tmp4gy5teg2.c" target datalayout = "e-m:e-p270: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/tmpg0c9r54t.c' source_filename = "/tmp/tmpg0c9r54t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GLOB_FTL_Wear_Leveling() #0 { %1 = call i32 (...) @FTL_Static_Wear_Leveling() %2 = call i32 (...) @GLOB_FTL_Garbage_Collection() ret i32 0 } declare i32 @FTL_Static_Wear_Leveling(...) #1 declare i32 @GLOB_FTL_Garbage_Collection(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg0c9r54t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GLOB_FTL_Wear_Leveling() #0 { %1 = call i32 (...) @FTL_Static_Wear_Leveling() %2 = call i32 (...) @GLOB_FTL_Garbage_Collection() ret i32 0 } declare i32 @FTL_Static_Wear_Leveling(...) #1 declare i32 @GLOB_FTL_Garbage_Collection(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd171yzqr.c' source_filename = "/tmp/tmpd171yzqr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @Expander_Read_Byte(i8 noundef signext %0, i8 noundef signext %1) #0 { %3 = alloca i8, align 1 %4 = alloca i8, align 1 %5 = alloca i8, align 1 store i8 %0, ptr %3, align 1 store i8 %1, ptr %4, align 1 %6 = call i32 (...) @TWIE_Start() %7 = load i8, ptr %3, align 1 %8 = sext i8 %7 to i32 %9 = shl i32 %8, 1 %10 = trunc i32 %9 to i8 %11 = call i32 @TWIE_Write(i8 noundef signext %10) %12 = load i8, ptr %4, align 1 %13 = call i32 @TWIE_Write(i8 noundef signext %12) %14 = call i32 (...) @TWIE_Start() %15 = load i8, ptr %3, align 1 %16 = sext i8 %15 to i32 %17 = shl i32 %16, 1 %18 = add nsw i32 %17, 1 %19 = trunc i32 %18 to i8 %20 = call i32 @TWIE_Write(i8 noundef signext %19) %21 = call zeroext i8 @TWIE_Read(i32 noundef 0) store i8 %21, ptr %5, align 1 %22 = call i32 (...) @TWIE_Stop() %23 = load i8, ptr %5, align 1 ret i8 %23 } declare i32 @TWIE_Start(...) #1 declare i32 @TWIE_Write(i8 noundef signext) #1 declare zeroext i8 @TWIE_Read(i32 noundef) #1 declare i32 @TWIE_Stop(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd171yzqr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @Expander_Read_Byte(i8 noundef signext %0, i8 noundef signext %1) #0 { %3 = alloca i8, align 1 %4 = alloca i8, align 1 %5 = alloca i8, align 1 store i8 %0, ptr %3, align 1 store i8 %1, ptr %4, align 1 %6 = call i32 (...) @TWIE_Start() %7 = load i8, ptr %3, align 1 %8 = sext i8 %7 to i32 %9 = shl i32 %8, 1 %10 = trunc i32 %9 to i8 %11 = call i32 @TWIE_Write(i8 noundef signext %10) %12 = load i8, ptr %4, align 1 %13 = call i32 @TWIE_Write(i8 noundef signext %12) %14 = call i32 (...) @TWIE_Start() %15 = load i8, ptr %3, align 1 %16 = sext i8 %15 to i32 %17 = shl i32 %16, 1 %18 = add nsw i32 %17, 1 %19 = trunc i32 %18 to i8 %20 = call i32 @TWIE_Write(i8 noundef signext %19) %21 = call zeroext i8 @TWIE_Read(i32 noundef 0) store i8 %21, ptr %5, align 1 %22 = call i32 (...) @TWIE_Stop() %23 = load i8, ptr %5, align 1 ret i8 %23 } declare i32 @TWIE_Start(...) #1 declare i32 @TWIE_Write(i8 noundef signext) #1 declare zeroext i8 @TWIE_Read(i32 noundef) #1 declare i32 @TWIE_Stop(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpioxtdz76.c' source_filename = "/tmp/tmpioxtdz76.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 48879, ptr %6, align 4 %7 = call i32 @helper(ptr noundef %6) ret i32 0 } declare i32 @helper(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpioxtdz76.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 48879, ptr %6, align 4 %7 = call i32 @helper(ptr noundef %6) ret i32 0 } declare i32 @helper(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn0aqr105.c' source_filename = "/tmp/tmpn0aqr105.c" target datalayout = "e-m:e-p270: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/tmpn0aqr105.c" target datalayout = "e-m:e-p270: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/tmpqj1aynx8.c' source_filename = "/tmp/tmpqj1aynx8.c" target datalayout = "e-m:e-p270: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/tmpqj1aynx8.c" target datalayout = "e-m:e-p270: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/tmp3xhkp5mm.c' source_filename = "/tmp/tmp3xhkp5mm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"[search failed]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fisearch(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = call i32 @isearch(i32 noundef 0) store i32 %6, ptr %5, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 (...) @mlerase() br label %12 10: ; preds = %2 %11 = call i32 @mlwrite(ptr noundef @.str) br label %12 12: ; preds = %10, %8 %13 = load i32, ptr %5, align 4 ret i32 %13 } declare i32 @isearch(i32 noundef) #1 declare i32 @mlerase(...) #1 declare i32 @mlwrite(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3xhkp5mm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"[search failed]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fisearch(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = call i32 @isearch(i32 noundef 0) store i32 %6, ptr %5, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 (...) @mlerase() br label %12 10: ; preds = %2 %11 = call i32 @mlwrite(ptr noundef @.str) br label %12 12: ; preds = %10, %8 %13 = load i32, ptr %5, align 4 ret i32 %13 } declare i32 @isearch(i32 noundef) #1 declare i32 @mlerase(...) #1 declare i32 @mlwrite(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp321arsl_.c' source_filename = "/tmp/tmp321arsl_.c" target datalayout = "e-m:e-p270: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/tmp321arsl_.c" target datalayout = "e-m:e-p270: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/tmpy407fyce.c' source_filename = "/tmp/tmpy407fyce.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @add(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 32, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %7, align 4 br label %12 12: ; preds = %53, %2 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %56 16: ; preds = %12 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr %7, align 4 %19 = call i32 @getbitat(i32 noundef %17, i32 noundef %18) store i32 %19, ptr %9, align 4 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %7, align 4 %22 = call i32 @getbitat(i32 noundef %20, i32 noundef %21) store i32 %22, ptr %10, align 4 %23 = load i32, ptr %8, align 4 %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %37 25: ; preds = %16 store i32 0, ptr %8, align 4 store i32 0, ptr %11, align 4 %26 = load i32, ptr %9, align 4 %27 = load i32, ptr %10, align 4 %28 = or i32 %26, %27 %29 = icmp ne i32 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %25 store i32 1, ptr %8, align 4 br label %31 31: ; preds = %30, %25 %32 = load i32, ptr %9, align 4 %33 = load i32, ptr %10, align 4 %34 = icmp eq i32 %32, %33 br i1 %34, label %35, label %36 35: ; preds = %31 store i32 1, ptr %11, align 4 br label %36 36: ; preds = %35, %31 br label %48 37: ; preds = %16 store i32 0, ptr %8, align 4 %38 = load i32, ptr %9, align 4 %39 = load i32, ptr %10, align 4 %40 = or i32 %38, %39 store i32 %40, ptr %11, align 4 %41 = load i32, ptr %9, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %43, label %47 43: ; preds = %37 %44 = load i32, ptr %10, align 4 %45 = icmp ne i32 %44, 0 br i1 %45, label %46, label %47 46: ; preds = %43 store i32 1, ptr %8, align 4 store i32 0, ptr %11, align 4 br label %47 47: ; preds = %46, %43, %37 br label %48 48: ; preds = %47, %36 %49 = load i32, ptr %5, align 4 %50 = load i32, ptr %7, align 4 %51 = load i32, ptr %11, align 4 %52 = call i32 @setbitat(i32 noundef %49, i32 noundef %50, i32 noundef %51) store i32 %52, ptr %5, align 4 br label %53 53: ; preds = %48 %54 = load i32, ptr %7, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %7, align 4 br label %12, !llvm.loop !6 56: ; preds = %12 %57 = load i32, ptr %5, align 4 ret i32 %57 } declare i32 @getbitat(i32 noundef, i32 noundef) #1 declare i32 @setbitat(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy407fyce.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @add(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 32, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 store i32 0, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %58 .lr.ph: ; preds = %2 br label %15 15: ; preds = %.lr.ph, %52 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %7, align 4 %18 = call i32 @getbitat(i32 noundef %16, i32 noundef %17) store i32 %18, ptr %9, align 4 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr %7, align 4 %21 = call i32 @getbitat(i32 noundef %19, i32 noundef %20) store i32 %21, ptr %10, align 4 %22 = load i32, ptr %8, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %36 24: ; preds = %15 store i32 0, ptr %8, align 4 store i32 0, ptr %11, align 4 %25 = load i32, ptr %9, align 4 %26 = load i32, ptr %10, align 4 %27 = or i32 %25, %26 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %24 store i32 1, ptr %8, align 4 br label %30 30: ; preds = %29, %24 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr %10, align 4 %33 = icmp eq i32 %31, %32 br i1 %33, label %34, label %35 34: ; preds = %30 store i32 1, ptr %11, align 4 br label %35 35: ; preds = %34, %30 br label %47 36: ; preds = %15 store i32 0, ptr %8, align 4 %37 = load i32, ptr %9, align 4 %38 = load i32, ptr %10, align 4 %39 = or i32 %37, %38 store i32 %39, ptr %11, align 4 %40 = load i32, ptr %9, align 4 %41 = icmp ne i32 %40, 0 br i1 %41, label %42, label %46 42: ; preds = %36 %43 = load i32, ptr %10, align 4 %44 = icmp ne i32 %43, 0 br i1 %44, label %45, label %46 45: ; preds = %42 store i32 1, ptr %8, align 4 store i32 0, ptr %11, align 4 br label %46 46: ; preds = %45, %42, %36 br label %47 47: ; preds = %46, %35 %48 = load i32, ptr %5, align 4 %49 = load i32, ptr %7, align 4 %50 = load i32, ptr %11, align 4 %51 = call i32 @setbitat(i32 noundef %48, i32 noundef %49, i32 noundef %50) store i32 %51, ptr %5, align 4 br label %52 52: ; preds = %47 %53 = load i32, ptr %7, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %7, align 4 %55 = load i32, ptr %7, align 4 %56 = load i32, ptr %6, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %52 br label %58 58: ; preds = %._crit_edge, %2 %59 = load i32, ptr %5, align 4 ret i32 %59 } declare i32 @getbitat(i32 noundef, i32 noundef) #1 declare i32 @setbitat(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpb5_9bzg0.c' source_filename = "/tmp/tmpb5_9bzg0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sca_sleep(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 store i32 %4, ptr %3, align 4 br label %5 5: ; preds = %8, %1 %6 = load i32, ptr %3, align 4 %7 = call i32 @sleep(i32 noundef %6) store i32 %7, ptr %3, align 4 br label %8 8: ; preds = %5 %9 = load i32, ptr %3, align 4 %10 = icmp ugt i32 %9, 0 br i1 %10, label %5, label %11, !llvm.loop !6 11: ; preds = %8 %12 = load i32, ptr %3, align 4 ret i32 %12 } declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb5_9bzg0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sca_sleep(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 store i32 %4, ptr %3, align 4 br label %5 5: ; preds = %8, %1 %6 = load i32, ptr %3, align 4 %7 = call i32 @sleep(i32 noundef %6) store i32 %7, ptr %3, align 4 br label %8 8: ; preds = %5 %9 = load i32, ptr %3, align 4 %10 = icmp ugt i32 %9, 0 br i1 %10, label %5, label %11, !llvm.loop !6 11: ; preds = %8 %12 = load i32, ptr %3, align 4 ret i32 %12 } declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6cvzinr2.c' source_filename = "/tmp/tmp6cvzinr2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [50 x i8], align 16 %6 = alloca [50 x i8], align 16 store i32 0, ptr %1, align 4 %7 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %7) %9 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %10 = call i32 @strl(ptr noundef %9) store i32 %10, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = srem i32 %11, 2 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %55 14: ; preds = %0 store i32 0, ptr %3, align 4 br label %15 15: ; preds = %28, %14 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %4, align 4 %18 = sdiv i32 %17, 2 %19 = icmp slt i32 %16, %18 br i1 %19, label %20, label %31 20: ; preds = %15 %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %22 %24 = load i8, ptr %23, align 1 %25 = load i32, ptr %3, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 %26 store i8 %24, ptr %27, align 1 br label %28 28: ; preds = %20 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %3, align 4 br label %15, !llvm.loop !6 31: ; preds = %15 store i32 0, ptr %3, align 4 br label %32 32: ; preds = %51, %31 %33 = load i32, ptr %3, align 4 %34 = load i32, ptr %4, align 4 %35 = sdiv i32 %34, 2 %36 = icmp slt i32 %33, %35 br i1 %36, label %37, label %54 37: ; preds = %32 %38 = load i32, ptr %4, align 4 %39 = sdiv i32 %38, 2 %40 = load i32, ptr %4, align 4 %41 = srem i32 %40, 2 %42 = add nsw i32 %39, %41 %43 = load i32, ptr %3, align 4 %44 = add nsw i32 %42, %43 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %45 %47 = load i8, ptr %46, align 1 %48 = load i32, ptr %3, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 %49 store i8 %47, ptr %50, align 1 br label %51 51: ; preds = %37 %52 = load i32, ptr %3, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %3, align 4 br label %32, !llvm.loop !8 54: ; preds = %32 br label %111 55: ; preds = %0 store i32 0, ptr %3, align 4 br label %56 56: ; preds = %69, %55 %57 = load i32, ptr %3, align 4 %58 = load i32, ptr %4, align 4 %59 = sdiv i32 %58, 2 %60 = icmp slt i32 %57, %59 br i1 %60, label %61, label %72 61: ; preds = %56 %62 = load i32, ptr %3, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %63 %65 = load i8, ptr %64, align 1 %66 = load i32, ptr %3, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 %67 store i8 %65, ptr %68, align 1 br label %69 69: ; preds = %61 %70 = load i32, ptr %3, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %3, align 4 br label %56, !llvm.loop !9 72: ; preds = %56 %73 = load i32, ptr %3, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 %74 store i8 0, ptr %75, align 1 store i32 0, ptr %3, align 4 br label %76 76: ; preds = %102, %72 %77 = load i32, ptr %3, align 4 %78 = load i32, ptr %4, align 4 %79 = sdiv i32 %78, 2 %80 = icmp sle i32 %77, %79 br i1 %80, label %81, label %105 81: ; preds = %76 %82 = load i32, ptr %4, align 4 %83 = sdiv i32 %82, 2 %84 = add nsw i32 %83, 1 %85 = load i32, ptr %3, align 4 %86 = add nsw i32 %84, %85 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %87 %89 = load i8, ptr %88, align 1 %90 = load i32, ptr %3, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 %91 store i8 %89, ptr %92, align 1 %93 = load i32, ptr %4, align 4 %94 = sdiv i32 %93, 2 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %95 %97 = load i8, ptr %96, align 1 %98 = load i32, ptr %4, align 4 %99 = sdiv i32 %98, 2 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 %100 store i8 %97, ptr %101, align 1 br label %102 102: ; preds = %81 %103 = load i32, ptr %3, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %3, align 4 br label %76, !llvm.loop !10 105: ; preds = %76 %106 = load i32, ptr %4, align 4 %107 = sdiv i32 %106, 2 %108 = add nsw i32 %107, 1 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 %109 store i8 0, ptr %110, align 1 br label %111 111: ; preds = %105, %54 %112 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0 %113 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %114 = call i32 @printf(ptr noundef @.str.1, ptr noundef %112, ptr noundef %113) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @strl(ptr noundef) #1 declare i32 @printf(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"} !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/tmp6cvzinr2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [50 x i8], align 16 %6 = alloca [50 x i8], align 16 store i32 0, ptr %1, align 4 %7 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %7) %9 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %10 = call i32 @strl(ptr noundef %9) store i32 %10, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = srem i32 %11, 2 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %61 14: ; preds = %0 store i32 0, ptr %3, align 4 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %4, align 4 %17 = sdiv i32 %16, 2 %18 = icmp slt i32 %15, %17 br i1 %18, label %.lr.ph5, label %34 .lr.ph5: ; preds = %14 br label %19 19: ; preds = %.lr.ph5, %27 %20 = load i32, ptr %3, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %21 %23 = load i8, ptr %22, align 1 %24 = load i32, ptr %3, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 %25 store i8 %23, ptr %26, align 1 br label %27 27: ; preds = %19 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = load i32, ptr %4, align 4 %32 = sdiv i32 %31, 2 %33 = icmp slt i32 %30, %32 br i1 %33, label %19, label %._crit_edge6, !llvm.loop !6 ._crit_edge6: ; preds = %27 br label %34 34: ; preds = %._crit_edge6, %14 store i32 0, ptr %3, align 4 %35 = load i32, ptr %3, align 4 %36 = load i32, ptr %4, align 4 %37 = sdiv i32 %36, 2 %38 = icmp slt i32 %35, %37 br i1 %38, label %.lr.ph8, label %60 .lr.ph8: ; preds = %34 br label %39 39: ; preds = %.lr.ph8, %53 %40 = load i32, ptr %4, align 4 %41 = sdiv i32 %40, 2 %42 = load i32, ptr %4, align 4 %43 = srem i32 %42, 2 %44 = add nsw i32 %41, %43 %45 = load i32, ptr %3, align 4 %46 = add nsw i32 %44, %45 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %47 %49 = load i8, ptr %48, align 1 %50 = load i32, ptr %3, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 %51 store i8 %49, ptr %52, align 1 br label %53 53: ; preds = %39 %54 = load i32, ptr %3, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %3, align 4 %56 = load i32, ptr %3, align 4 %57 = load i32, ptr %4, align 4 %58 = sdiv i32 %57, 2 %59 = icmp slt i32 %56, %58 br i1 %59, label %39, label %._crit_edge9, !llvm.loop !8 ._crit_edge9: ; preds = %53 br label %60 60: ; preds = %._crit_edge9, %34 br label %123 61: ; preds = %0 store i32 0, ptr %3, align 4 %62 = load i32, ptr %3, align 4 %63 = load i32, ptr %4, align 4 %64 = sdiv i32 %63, 2 %65 = icmp slt i32 %62, %64 br i1 %65, label %.lr.ph, label %81 .lr.ph: ; preds = %61 br label %66 66: ; preds = %.lr.ph, %74 %67 = load i32, ptr %3, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %68 %70 = load i8, ptr %69, align 1 %71 = load i32, ptr %3, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 %72 store i8 %70, ptr %73, align 1 br label %74 74: ; preds = %66 %75 = load i32, ptr %3, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %3, align 4 %77 = load i32, ptr %3, align 4 %78 = load i32, ptr %4, align 4 %79 = sdiv i32 %78, 2 %80 = icmp slt i32 %77, %79 br i1 %80, label %66, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %74 br label %81 81: ; preds = %._crit_edge, %61 %82 = load i32, ptr %3, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 %83 store i8 0, ptr %84, align 1 store i32 0, ptr %3, align 4 %85 = load i32, ptr %3, align 4 %86 = load i32, ptr %4, align 4 %87 = sdiv i32 %86, 2 %88 = icmp sle i32 %85, %87 br i1 %88, label %.lr.ph2, label %117 .lr.ph2: ; preds = %81 br label %89 89: ; preds = %.lr.ph2, %110 %90 = load i32, ptr %4, align 4 %91 = sdiv i32 %90, 2 %92 = add nsw i32 %91, 1 %93 = load i32, ptr %3, align 4 %94 = add nsw i32 %92, %93 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %95 %97 = load i8, ptr %96, align 1 %98 = load i32, ptr %3, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 %99 store i8 %97, ptr %100, align 1 %101 = load i32, ptr %4, align 4 %102 = sdiv i32 %101, 2 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %103 %105 = load i8, ptr %104, align 1 %106 = load i32, ptr %4, align 4 %107 = sdiv i32 %106, 2 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 %108 store i8 %105, ptr %109, align 1 br label %110 110: ; preds = %89 %111 = load i32, ptr %3, align 4 %112 = add nsw i32 %111, 1 store i32 %112, ptr %3, align 4 %113 = load i32, ptr %3, align 4 %114 = load i32, ptr %4, align 4 %115 = sdiv i32 %114, 2 %116 = icmp sle i32 %113, %115 br i1 %116, label %89, label %._crit_edge3, !llvm.loop !10 ._crit_edge3: ; preds = %110 br label %117 117: ; preds = %._crit_edge3, %81 %118 = load i32, ptr %4, align 4 %119 = sdiv i32 %118, 2 %120 = add nsw i32 %119, 1 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 %121 store i8 0, ptr %122, align 1 br label %123 123: ; preds = %117, %60 %124 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0 %125 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %126 = call i32 @printf(ptr noundef @.str.1, ptr noundef %124, ptr noundef %125) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @strl(ptr noundef) #1 declare i32 @printf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpjnlh_v0h.c' source_filename = "/tmp/tmpjnlh_v0h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"This program only works with X11.\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) ret i32 -1 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjnlh_v0h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"This program only works with X11.\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) ret i32 -1 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx3ct3qr9.c' source_filename = "/tmp/tmpx3ct3qr9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 br label %11 11: ; preds = %14, %3 %12 = load i64, ptr %6, align 8 %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %22 14: ; preds = %11 %15 = load ptr, ptr %8, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %8, align 8 %17 = load i8, ptr %15, align 1 %18 = load ptr, ptr %7, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %7, align 8 store i8 %17, ptr %18, align 1 %20 = load i64, ptr %6, align 8 %21 = add i64 %20, -1 store i64 %21, ptr %6, align 8 br label %11, !llvm.loop !6 22: ; preds = %11 %23 = load ptr, ptr %4, align 8 ret ptr %23 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpx3ct3qr9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 %11 = load i64, ptr %6, align 8 %12 = icmp ne i64 %11, 0 br i1 %12, label %.lr.ph, label %23 .lr.ph: ; preds = %3 br label %13 13: ; preds = %.lr.ph, %13 %14 = load ptr, ptr %8, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %8, align 8 %16 = load i8, ptr %14, align 1 %17 = load ptr, ptr %7, align 8 %18 = getelementptr inbounds i8, ptr %17, i32 1 store ptr %18, ptr %7, align 8 store i8 %16, ptr %17, align 1 %19 = load i64, ptr %6, align 8 %20 = add i64 %19, -1 store i64 %20, ptr %6, align 8 %21 = load i64, ptr %6, align 8 %22 = icmp ne i64 %21, 0 br i1 %22, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %23 23: ; preds = %._crit_edge, %3 %24 = load ptr, ptr %4, align 8 ret ptr %24 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpa8lfmaid.c' source_filename = "/tmp/tmpa8lfmaid.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @celcon_copy_into_dobldobl_systems_container() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = load ptr, ptr %1, align 8 %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @_ada_use_c2phc4c(i32 noundef 463, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa8lfmaid.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @celcon_copy_into_dobldobl_systems_container() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = load ptr, ptr %1, align 8 %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @_ada_use_c2phc4c(i32 noundef 463, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpphpfvp0d.c' source_filename = "/tmp/tmpphpfvp0d.c" target datalayout = "e-m:e-p270: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_FILENO = dso_local global i64 0, align 8 @STDIN_FILENO = dso_local global i64 0, align 8 @errno = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @stdin = 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/tmpphpfvp0d.c" target datalayout = "e-m:e-p270: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_FILENO = dso_local global i64 0, align 8 @STDIN_FILENO = dso_local global i64 0, align 8 @errno = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @stdin = 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/tmpaotjbz9x.c' source_filename = "/tmp/tmpaotjbz9x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nvram_ioctl(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i64 %3, ptr %9, align 8 %10 = load i32, ptr %8, align 4 switch i32 %10, label %13 [ i32 28739, label %11 ] 11: ; preds = %4 %12 = call i32 (...) @nvram_sync() br label %14 13: ; preds = %4 store i32 -22, ptr %5, align 4 br label %15 14: ; preds = %11 store i32 0, ptr %5, align 4 br label %15 15: ; preds = %14, %13 %16 = load i32, ptr %5, align 4 ret i32 %16 } declare i32 @nvram_sync(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaotjbz9x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nvram_ioctl(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i64 %3, ptr %9, align 8 %10 = load i32, ptr %8, align 4 switch i32 %10, label %13 [ i32 28739, label %11 ] 11: ; preds = %4 %12 = call i32 (...) @nvram_sync() br label %14 13: ; preds = %4 store i32 -22, ptr %5, align 4 br label %15 14: ; preds = %11 store i32 0, ptr %5, align 4 br label %15 15: ; preds = %14, %13 %16 = load i32, ptr %5, align 4 ret i32 %16 } declare i32 @nvram_sync(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpji9t1z35.c' source_filename = "/tmp/tmpji9t1z35.c" target datalayout = "e-m:e-p270: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/tmpji9t1z35.c" target datalayout = "e-m:e-p270: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/tmpr065uziq.c' source_filename = "/tmp/tmpr065uziq.c" target datalayout = "e-m:e-p270: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/tmpr065uziq.c" target datalayout = "e-m:e-p270: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/tmp8m7udhz4.c' source_filename = "/tmp/tmp8m7udhz4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"got here A\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"c.20\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"filename=%s\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"win=%ld\0A\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"got here B\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @macro_debug(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %7, ptr noundef @.str) %9 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2) store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %10, ptr noundef @.str.3, ptr noundef %11) %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %3, align 8 %15 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef @.str.4, ptr noundef %14) %16 = load ptr, ptr %5, align 8 %17 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef @.str.5) %18 = load ptr, ptr %5, align 8 %19 = call i32 @fflush(ptr noundef %18) %20 = load ptr, ptr %5, align 8 %21 = call i32 @fclose(ptr noundef %20) %22 = load i32, ptr %6, align 4 ret i32 %22 } declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fflush(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/tmp8m7udhz4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"got here A\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"c.20\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"filename=%s\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"win=%ld\0A\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"got here B\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @macro_debug(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %7, ptr noundef @.str) %9 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2) store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %10, ptr noundef @.str.3, ptr noundef %11) %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %3, align 8 %15 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef @.str.4, ptr noundef %14) %16 = load ptr, ptr %5, align 8 %17 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef @.str.5) %18 = load ptr, ptr %5, align 8 %19 = call i32 @fflush(ptr noundef %18) %20 = load ptr, ptr %5, align 8 %21 = call i32 @fclose(ptr noundef %20) %22 = load i32, ptr %6, align 4 ret i32 %22 } declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fflush(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/tmp8ocpnatx.c' source_filename = "/tmp/tmp8ocpnatx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @list_iterator_end(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp eq ptr %3, null %5 = zext i1 %4 to i32 ret i32 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8ocpnatx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @list_iterator_end(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp eq ptr %3, null %5 = zext i1 %4 to i32 ret i32 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpma3rjscl.c' source_filename = "/tmp/tmpma3rjscl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"Usage: tpt [-s] [-m MHz] [filename]\0A\00", align 1 @.str.1 = private unnamed_addr constant [58 x i8] c" -s : produce output compatible with sort(1)\0A\00", align 1 @.str.2 = private unnamed_addr constant [88 x i8] c" -m MHz : specify target machine's CPU rate (default from local /proc/cpuinfo)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1) %5 = load i32, ptr @stderr, align 4 %6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2) %7 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpma3rjscl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"Usage: tpt [-s] [-m MHz] [filename]\0A\00", align 1 @.str.1 = private unnamed_addr constant [58 x i8] c" -s : produce output compatible with sort(1)\0A\00", align 1 @.str.2 = private unnamed_addr constant [88 x i8] c" -m MHz : specify target machine's CPU rate (default from local /proc/cpuinfo)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1) %5 = load i32, ptr @stderr, align 4 %6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2) %7 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcdhc9gyu.c' source_filename = "/tmp/tmpcdhc9gyu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"%U\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%O\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 store i32 1, ptr %1, align 4 store i64 2, ptr %2, align 8 %3 = load i32, ptr %1, align 4 %4 = sext i32 %3 to i64 %5 = call i32 @printf(ptr noundef @.str, i64 noundef %4) %6 = load i64, ptr %2, align 8 %7 = call i32 @printf(ptr noundef @.str, i64 noundef %6) %8 = load i32, ptr %1, align 4 %9 = sext i32 %8 to i64 %10 = call i32 @printf(ptr noundef @.str.1, i64 noundef %9) %11 = load i64, ptr %2, align 8 %12 = call i32 @printf(ptr noundef @.str.1, i64 noundef %11) %13 = load i32, ptr %1, align 4 %14 = sext i32 %13 to i64 %15 = call i32 @printf(ptr noundef @.str.2, i64 noundef %14) %16 = load i64, ptr %2, align 8 %17 = call i32 @printf(ptr noundef @.str.2, i64 noundef %16) ret void } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcdhc9gyu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"%U\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%O\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 store i32 1, ptr %1, align 4 store i64 2, ptr %2, align 8 %3 = load i32, ptr %1, align 4 %4 = sext i32 %3 to i64 %5 = call i32 @printf(ptr noundef @.str, i64 noundef %4) %6 = load i64, ptr %2, align 8 %7 = call i32 @printf(ptr noundef @.str, i64 noundef %6) %8 = load i32, ptr %1, align 4 %9 = sext i32 %8 to i64 %10 = call i32 @printf(ptr noundef @.str.1, i64 noundef %9) %11 = load i64, ptr %2, align 8 %12 = call i32 @printf(ptr noundef @.str.1, i64 noundef %11) %13 = load i32, ptr %1, align 4 %14 = sext i32 %13 to i64 %15 = call i32 @printf(ptr noundef @.str.2, i64 noundef %14) %16 = load i64, ptr %2, align 8 %17 = call i32 @printf(ptr noundef @.str.2, i64 noundef %16) ret void } 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"}
; ModuleID = '/tmp/tmpq095zhb7.c' source_filename = "/tmp/tmpq095zhb7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"L0-->core:%d, sum:%d \0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"L1-->core:%d, sum:%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"L2-->core:%d, sum:%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"L3-->core:%d, sum:%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [8 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 32, i1 false) %5 = call i32 (...) @omp_get_thread_num() store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = mul nsw i32 %6, 1 store i32 %7, ptr %4, align 4 br label %8 8: ; preds = %21, %0 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %3, align 4 %11 = add nsw i32 %10, 1 %12 = mul nsw i32 %11, 1 %13 = icmp slt i32 %9, %12 br i1 %13, label %14, label %24 14: ; preds = %8 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %3, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 %17 %19 = load i32, ptr %18, align 4 %20 = add nsw i32 %19, %15 store i32 %20, ptr %18, align 4 br label %21 21: ; preds = %14 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 br label %8, !llvm.loop !6 24: ; preds = %8 %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %3, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 %27 %29 = load i32, ptr %28, align 4 %30 = call i32 @printf(ptr noundef @.str, i32 noundef %25, i32 noundef %29) %31 = load i32, ptr %3, align 4 %32 = srem i32 %31, 2 %33 = icmp ne i32 %32, 0 br i1 %33, label %51, label %34 34: ; preds = %24 %35 = load i32, ptr %3, align 4 %36 = add nsw i32 %35, 1 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 %37 %39 = load i32, ptr %38, align 4 %40 = load i32, ptr %3, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 %41 %43 = load i32, ptr %42, align 4 %44 = add nsw i32 %43, %39 store i32 %44, ptr %42, align 4 %45 = load i32, ptr %3, align 4 %46 = load i32, ptr %3, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 %47 %49 = load i32, ptr %48, align 4 %50 = call i32 @printf(ptr noundef @.str.1, i32 noundef %45, i32 noundef %49) br label %51 51: ; preds = %34, %24 %52 = load i32, ptr %3, align 4 %53 = srem i32 %52, 4 %54 = icmp ne i32 %53, 0 br i1 %54, label %72, label %55 55: ; preds = %51 %56 = load i32, ptr %3, align 4 %57 = add nsw i32 %56, 2 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 %58 %60 = load i32, ptr %59, align 4 %61 = load i32, ptr %3, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 %62 %64 = load i32, ptr %63, align 4 %65 = add nsw i32 %64, %60 store i32 %65, ptr %63, align 4 %66 = load i32, ptr %3, align 4 %67 = load i32, ptr %3, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 %68 %70 = load i32, ptr %69, align 4 %71 = call i32 @printf(ptr noundef @.str.2, i32 noundef %66, i32 noundef %70) br label %72 72: ; preds = %55, %51 %73 = load i32, ptr %3, align 4 %74 = srem i32 %73, 8 %75 = icmp ne i32 %74, 0 br i1 %75, label %93, label %76 76: ; preds = %72 %77 = load i32, ptr %3, align 4 %78 = add nsw i32 %77, 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 %79 %81 = load i32, ptr %80, align 4 %82 = load i32, ptr %3, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 %83 %85 = load i32, ptr %84, align 4 %86 = add nsw i32 %85, %81 store i32 %86, ptr %84, align 4 %87 = load i32, ptr %3, align 4 %88 = load i32, ptr %3, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 %89 %91 = load i32, ptr %90, align 4 %92 = call i32 @printf(ptr noundef @.str.3, i32 noundef %87, i32 noundef %91) br label %93 93: ; preds = %76, %72 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @omp_get_thread_num(...) #2 declare i32 @printf(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: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq095zhb7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"L0-->core:%d, sum:%d \0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"L1-->core:%d, sum:%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"L2-->core:%d, sum:%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"L3-->core:%d, sum:%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [8 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 32, i1 false) %5 = call i32 (...) @omp_get_thread_num() store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = mul nsw i32 %6, 1 store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %3, align 4 %10 = add nsw i32 %9, 1 %11 = icmp slt i32 %8, %10 br i1 %11, label %.lr.ph, label %27 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %19 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 %15 %17 = load i32, ptr %16, align 4 %18 = add nsw i32 %17, %13 store i32 %18, ptr %16, align 4 br label %19 19: ; preds = %12 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 %25 = mul nsw i32 %24, 1 %26 = icmp slt i32 %22, %25 br i1 %26, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %27 27: ; preds = %._crit_edge, %0 %28 = load i32, ptr %3, align 4 %29 = load i32, ptr %3, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 %30 %32 = load i32, ptr %31, align 4 %33 = call i32 @printf(ptr noundef @.str, i32 noundef %28, i32 noundef %32) %34 = load i32, ptr %3, align 4 %35 = srem i32 %34, 2 %36 = icmp ne i32 %35, 0 br i1 %36, label %54, label %37 37: ; preds = %27 %38 = load i32, ptr %3, align 4 %39 = add nsw i32 %38, 1 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 %40 %42 = load i32, ptr %41, align 4 %43 = load i32, ptr %3, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 %44 %46 = load i32, ptr %45, align 4 %47 = add nsw i32 %46, %42 store i32 %47, ptr %45, align 4 %48 = load i32, ptr %3, align 4 %49 = load i32, ptr %3, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 %50 %52 = load i32, ptr %51, align 4 %53 = call i32 @printf(ptr noundef @.str.1, i32 noundef %48, i32 noundef %52) br label %54 54: ; preds = %37, %27 %55 = load i32, ptr %3, align 4 %56 = srem i32 %55, 4 %57 = icmp ne i32 %56, 0 br i1 %57, label %75, label %58 58: ; preds = %54 %59 = load i32, ptr %3, align 4 %60 = add nsw i32 %59, 2 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 %61 %63 = load i32, ptr %62, align 4 %64 = load i32, ptr %3, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 %65 %67 = load i32, ptr %66, align 4 %68 = add nsw i32 %67, %63 store i32 %68, ptr %66, align 4 %69 = load i32, ptr %3, align 4 %70 = load i32, ptr %3, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 %71 %73 = load i32, ptr %72, align 4 %74 = call i32 @printf(ptr noundef @.str.2, i32 noundef %69, i32 noundef %73) br label %75 75: ; preds = %58, %54 %76 = load i32, ptr %3, align 4 %77 = srem i32 %76, 8 %78 = icmp ne i32 %77, 0 br i1 %78, label %96, label %79 79: ; preds = %75 %80 = load i32, ptr %3, align 4 %81 = add nsw i32 %80, 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 %82 %84 = load i32, ptr %83, align 4 %85 = load i32, ptr %3, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 %86 %88 = load i32, ptr %87, align 4 %89 = add nsw i32 %88, %84 store i32 %89, ptr %87, align 4 %90 = load i32, ptr %3, align 4 %91 = load i32, ptr %3, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 %92 %94 = load i32, ptr %93, align 4 %95 = call i32 @printf(ptr noundef @.str.3, i32 noundef %90, i32 noundef %94) br label %96 96: ; preds = %79, %75 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @omp_get_thread_num(...) #2 declare i32 @printf(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: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpfljhyl5q.c' source_filename = "/tmp/tmpfljhyl5q.c" target datalayout = "e-m:e-p270: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/tmpfljhyl5q.c" target datalayout = "e-m:e-p270: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/tmp1gldcdeg.c' source_filename = "/tmp/tmp1gldcdeg.c" target datalayout = "e-m:e-p270: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/tmp1gldcdeg.c" target datalayout = "e-m:e-p270: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/tmp3bb8pgxn.c' source_filename = "/tmp/tmp3bb8pgxn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"use: %s assemblyfile [objectfile]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @use(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 @printf(ptr noundef @.str, ptr noundef %3) ret i32 8 } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3bb8pgxn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"use: %s assemblyfile [objectfile]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @use(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 @printf(ptr noundef @.str, ptr noundef %3) ret i32 8 } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp93nh2pwr.c' source_filename = "/tmp/tmp93nh2pwr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBIntStatusControl(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = add nsw i32 %4, 10 %6 = sext i32 %5 to i64 %7 = inttoptr i64 %6 to ptr %8 = load volatile i8, ptr %7, align 1 %9 = zext i8 %8 to i32 store i32 %9, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 1036 %12 = sext i32 %11 to i64 %13 = inttoptr i64 %12 to ptr %14 = load volatile i64, ptr %13, align 8 %15 = and i64 %14, 1 %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %28 17: ; preds = %1 %18 = load i32, ptr %3, align 4 %19 = or i32 %18, 256 store i32 %19, ptr %3, align 4 %20 = load i32, ptr %2, align 4 %21 = add nsw i32 %20, 1036 %22 = sext i32 %21 to i64 %23 = inttoptr i64 %22 to ptr %24 = load volatile i8, ptr %23, align 1 %25 = zext i8 %24 to i32 %26 = or i32 %25, 1 %27 = trunc i32 %26 to i8 store volatile i8 %27, ptr %23, align 1 br label %28 28: ; preds = %17, %1 %29 = load volatile i64, ptr inttoptr (i64 1074070604 to ptr), align 8 %30 = and i64 %29, 1 %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %37 32: ; preds = %28 %33 = load i32, ptr %3, align 4 %34 = or i32 %33, 512 store i32 %34, ptr %3, align 4 %35 = load volatile i64, ptr inttoptr (i64 1074070604 to ptr), align 8 %36 = or i64 %35, 1 store volatile i64 %36, ptr inttoptr (i64 1074070604 to ptr), align 8 br label %37 37: ; preds = %32, %28 %38 = load i32, ptr %3, align 4 ret i32 %38 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp93nh2pwr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBIntStatusControl(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = add nsw i32 %4, 10 %6 = sext i32 %5 to i64 %7 = inttoptr i64 %6 to ptr %8 = load volatile i8, ptr %7, align 1 %9 = zext i8 %8 to i32 store i32 %9, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 1036 %12 = sext i32 %11 to i64 %13 = inttoptr i64 %12 to ptr %14 = load volatile i64, ptr %13, align 8 %15 = and i64 %14, 1 %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %28 17: ; preds = %1 %18 = load i32, ptr %3, align 4 %19 = or i32 %18, 256 store i32 %19, ptr %3, align 4 %20 = load i32, ptr %2, align 4 %21 = add nsw i32 %20, 1036 %22 = sext i32 %21 to i64 %23 = inttoptr i64 %22 to ptr %24 = load volatile i8, ptr %23, align 1 %25 = zext i8 %24 to i32 %26 = or i32 %25, 1 %27 = trunc i32 %26 to i8 store volatile i8 %27, ptr %23, align 1 br label %28 28: ; preds = %17, %1 %29 = load volatile i64, ptr inttoptr (i64 1074070604 to ptr), align 8 %30 = and i64 %29, 1 %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %37 32: ; preds = %28 %33 = load i32, ptr %3, align 4 %34 = or i32 %33, 512 store i32 %34, ptr %3, align 4 %35 = load volatile i64, ptr inttoptr (i64 1074070604 to ptr), align 8 %36 = or i64 %35, 1 store volatile i64 %36, ptr inttoptr (i64 1074070604 to ptr), align 8 br label %37 37: ; preds = %32, %28 %38 = load i32, ptr %3, align 4 ret i32 %38 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8lskir3i.c' source_filename = "/tmp/tmp8lskir3i.c" target datalayout = "e-m:e-p270: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/tmp8lskir3i.c" target datalayout = "e-m:e-p270: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/tmpyfhgn0jc.c' source_filename = "/tmp/tmpyfhgn0jc.c" target datalayout = "e-m:e-p270: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/tmpyfhgn0jc.c" target datalayout = "e-m:e-p270: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/tmp51jig6_h.c' source_filename = "/tmp/tmp51jig6_h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"{\\field{\\*\\fldinst TC \22\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"\22 \\\\f %c}{\\fldrslt }}\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @InsertContentMark(i8 noundef signext %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i8, align 1 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store i8 %0, ptr %5, align 1 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = call i32 (ptr, ...) @fprintRTF(ptr noundef @.str) %10 = load ptr, ptr %6, align 8 %11 = call i32 @ConvertString(ptr noundef %10) %12 = load ptr, ptr %7, align 8 %13 = call i32 @ConvertString(ptr noundef %12) %14 = load ptr, ptr %8, align 8 %15 = call i32 @ConvertString(ptr noundef %14) %16 = load i8, ptr %5, align 1 %17 = sext i8 %16 to i32 %18 = call i32 (ptr, ...) @fprintRTF(ptr noundef @.str.1, i32 noundef %17) ret void } declare i32 @fprintRTF(ptr noundef, ...) #1 declare i32 @ConvertString(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp51jig6_h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"{\\field{\\*\\fldinst TC \22\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"\22 \\\\f %c}{\\fldrslt }}\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @InsertContentMark(i8 noundef signext %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i8, align 1 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store i8 %0, ptr %5, align 1 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = call i32 (ptr, ...) @fprintRTF(ptr noundef @.str) %10 = load ptr, ptr %6, align 8 %11 = call i32 @ConvertString(ptr noundef %10) %12 = load ptr, ptr %7, align 8 %13 = call i32 @ConvertString(ptr noundef %12) %14 = load ptr, ptr %8, align 8 %15 = call i32 @ConvertString(ptr noundef %14) %16 = load i8, ptr %5, align 1 %17 = sext i8 %16 to i32 %18 = call i32 (ptr, ...) @fprintRTF(ptr noundef @.str.1, i32 noundef %17) ret void } declare i32 @fprintRTF(ptr noundef, ...) #1 declare i32 @ConvertString(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp9vh0d3a.c' source_filename = "/tmp/tmpp9vh0d3a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"/dev/dvb/adapter0/frontend0\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"13\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"18\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [291 x i8] c"usage: %s <13|18>\0A\0A\0ATest switching the voltage signal high and low on a SAT frontend.\0A(Note: DiSEqC equipment ignores this after it has once seen a diseqc\0A sequence; reload the driver or unplug/replug the SAT cable to reset.)\0A\0Ausage: FRONTEND=/dev/dvb/adapterX/frontendX setvoltage {13|18}\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"FRONTEND\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"setvoltage: using '%s'\0A\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [5 x i8] c"open\00", align 1 @FE_SET_VOLTAGE = dso_local global i32 0, align 4 @SEC_VOLTAGE_13 = dso_local global i32 0, align 4 @SEC_VOLTAGE_18 = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [21 x i8] c"ioctl FE_SET_VOLTAGE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %6, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp ne i32 %9, 2 br i1 %10, label %23, label %11 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.1) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %29 17: ; preds = %11 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.2) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %29 23: ; preds = %17, %2 %24 = load i32, ptr @stderr, align 4 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 0 %27 = load ptr, ptr %26, align 8 %28 = call i32 @fprintf(i32 noundef %24, ptr noundef @.str.3, ptr noundef %27) store i32 -1, ptr %3, align 4 br label %67 29: ; preds = %17, %11 %30 = call ptr @getenv(ptr noundef @.str.4) %31 = icmp ne ptr %30, null br i1 %31, label %32, label %34 32: ; preds = %29 %33 = call ptr @getenv(ptr noundef @.str.4) store ptr %33, ptr %6, align 8 br label %34 34: ; preds = %32, %29 %35 = load ptr, ptr %6, align 8 %36 = call i32 @printf(ptr noundef @.str.5, ptr noundef %35) %37 = load ptr, ptr %6, align 8 %38 = load i32, ptr @O_RDWR, align 4 %39 = call i32 @open(ptr noundef %37, i32 noundef %38) store i32 %39, ptr %7, align 4 %40 = icmp slt i32 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %34 %42 = call i32 @perror(ptr noundef @.str.6) br label %43 43: ; preds = %41, %34 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds ptr, ptr %44, i64 1 %46 = load ptr, ptr %45, align 8 %47 = call i64 @strcmp(ptr noundef %46, ptr noundef @.str.1) %48 = icmp eq i64 %47, 0 br i1 %48, label %49, label %54 49: ; preds = %43 %50 = load i32, ptr %7, align 4 %51 = load i32, ptr @FE_SET_VOLTAGE, align 4 %52 = load i32, ptr @SEC_VOLTAGE_13, align 4 %53 = call i32 @ioctl(i32 noundef %50, i32 noundef %51, i32 noundef %52) store i32 %53, ptr %8, align 4 br label %59 54: ; preds = %43 %55 = load i32, ptr %7, align 4 %56 = load i32, ptr @FE_SET_VOLTAGE, align 4 %57 = load i32, ptr @SEC_VOLTAGE_18, align 4 %58 = call i32 @ioctl(i32 noundef %55, i32 noundef %56, i32 noundef %57) store i32 %58, ptr %8, align 4 br label %59 59: ; preds = %54, %49 %60 = load i32, ptr %8, align 4 %61 = icmp eq i32 %60, -1 br i1 %61, label %62, label %64 62: ; preds = %59 %63 = call i32 @perror(ptr noundef @.str.7) br label %64 64: ; preds = %62, %59 %65 = load i32, ptr %7, align 4 %66 = call i32 @close(i32 noundef %65) store i32 0, ptr %3, align 4 br label %67 67: ; preds = %64, %23 %68 = load i32, ptr %3, align 4 ret i32 %68 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @getenv(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp9vh0d3a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"/dev/dvb/adapter0/frontend0\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"13\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"18\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [291 x i8] c"usage: %s <13|18>\0A\0A\0ATest switching the voltage signal high and low on a SAT frontend.\0A(Note: DiSEqC equipment ignores this after it has once seen a diseqc\0A sequence; reload the driver or unplug/replug the SAT cable to reset.)\0A\0Ausage: FRONTEND=/dev/dvb/adapterX/frontendX setvoltage {13|18}\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"FRONTEND\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"setvoltage: using '%s'\0A\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [5 x i8] c"open\00", align 1 @FE_SET_VOLTAGE = dso_local global i32 0, align 4 @SEC_VOLTAGE_13 = dso_local global i32 0, align 4 @SEC_VOLTAGE_18 = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [21 x i8] c"ioctl FE_SET_VOLTAGE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %6, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp ne i32 %9, 2 br i1 %10, label %23, label %11 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.1) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %29 17: ; preds = %11 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.2) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %29 23: ; preds = %17, %2 %24 = load i32, ptr @stderr, align 4 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 0 %27 = load ptr, ptr %26, align 8 %28 = call i32 @fprintf(i32 noundef %24, ptr noundef @.str.3, ptr noundef %27) store i32 -1, ptr %3, align 4 br label %67 29: ; preds = %17, %11 %30 = call ptr @getenv(ptr noundef @.str.4) %31 = icmp ne ptr %30, null br i1 %31, label %32, label %34 32: ; preds = %29 %33 = call ptr @getenv(ptr noundef @.str.4) store ptr %33, ptr %6, align 8 br label %34 34: ; preds = %32, %29 %35 = load ptr, ptr %6, align 8 %36 = call i32 @printf(ptr noundef @.str.5, ptr noundef %35) %37 = load ptr, ptr %6, align 8 %38 = load i32, ptr @O_RDWR, align 4 %39 = call i32 @open(ptr noundef %37, i32 noundef %38) store i32 %39, ptr %7, align 4 %40 = icmp slt i32 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %34 %42 = call i32 @perror(ptr noundef @.str.6) br label %43 43: ; preds = %41, %34 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds ptr, ptr %44, i64 1 %46 = load ptr, ptr %45, align 8 %47 = call i64 @strcmp(ptr noundef %46, ptr noundef @.str.1) %48 = icmp eq i64 %47, 0 br i1 %48, label %49, label %54 49: ; preds = %43 %50 = load i32, ptr %7, align 4 %51 = load i32, ptr @FE_SET_VOLTAGE, align 4 %52 = load i32, ptr @SEC_VOLTAGE_13, align 4 %53 = call i32 @ioctl(i32 noundef %50, i32 noundef %51, i32 noundef %52) store i32 %53, ptr %8, align 4 br label %59 54: ; preds = %43 %55 = load i32, ptr %7, align 4 %56 = load i32, ptr @FE_SET_VOLTAGE, align 4 %57 = load i32, ptr @SEC_VOLTAGE_18, align 4 %58 = call i32 @ioctl(i32 noundef %55, i32 noundef %56, i32 noundef %57) store i32 %58, ptr %8, align 4 br label %59 59: ; preds = %54, %49 %60 = load i32, ptr %8, align 4 %61 = icmp eq i32 %60, -1 br i1 %61, label %62, label %64 62: ; preds = %59 %63 = call i32 @perror(ptr noundef @.str.7) br label %64 64: ; preds = %62, %59 %65 = load i32, ptr %7, align 4 %66 = call i32 @close(i32 noundef %65) store i32 0, ptr %3, align 4 br label %67 67: ; preds = %64, %23 %68 = load i32, ptr %3, align 4 ret i32 %68 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @getenv(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp81jvne_x.c' source_filename = "/tmp/tmp81jvne_x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Cannot find id = %s\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"Cannot find an app named : %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_error_reponse(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 = call i64 @is_number(ptr noundef %5) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %3, align 8 %11 = call i32 @sprintf(ptr noundef %9, ptr noundef @.str, ptr noundef %10) br label %16 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %3, align 8 %15 = call i32 @sprintf(ptr noundef %13, ptr noundef @.str.1, ptr noundef %14) br label %16 16: ; preds = %12, %8 ret void } declare i64 @is_number(ptr noundef) #1 declare i32 @sprintf(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/tmp81jvne_x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Cannot find id = %s\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"Cannot find an app named : %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_error_reponse(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 = call i64 @is_number(ptr noundef %5) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %3, align 8 %11 = call i32 @sprintf(ptr noundef %9, ptr noundef @.str, ptr noundef %10) br label %16 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %3, align 8 %15 = call i32 @sprintf(ptr noundef %13, ptr noundef @.str.1, ptr noundef %14) br label %16 16: ; preds = %12, %8 ret void } declare i64 @is_number(ptr noundef) #1 declare i32 @sprintf(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/tmpufal5g9o.c' source_filename = "/tmp/tmpufal5g9o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__fsub_ru(float noundef %0, float noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 store float %0, ptr %3, align 4 store float %1, ptr %4, align 4 %5 = load float, ptr %3, align 4 %6 = load float, ptr %4, align 4 %7 = call float @__ocml_sub_rtn_f32(float noundef %5, float noundef %6) ret float %7 } declare float @__ocml_sub_rtn_f32(float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpufal5g9o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__fsub_ru(float noundef %0, float noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 store float %0, ptr %3, align 4 store float %1, ptr %4, align 4 %5 = load float, ptr %3, align 4 %6 = load float, ptr %4, align 4 %7 = call float @__ocml_sub_rtn_f32(float noundef %5, float noundef %6) ret float %7 } declare float @__ocml_sub_rtn_f32(float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmytz4c7_.c' source_filename = "/tmp/tmpmytz4c7_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quicksort(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %59 10: ; preds = %2 %11 = load i32, ptr %3, align 4 store i32 %11, ptr %5, align 4 %12 = load i32, ptr %4, align 4 %13 = sub nsw i32 %12, 1 store i32 %13, ptr %6, align 4 br label %14 14: ; preds = %10, %45 br label %15 15: ; preds = %21, %14 %16 = load i32, ptr %5, align 4 %17 = call i64 @vmem_read(i32 noundef %16) %18 = load i32, ptr %4, align 4 %19 = call i64 @vmem_read(i32 noundef %18) %20 = icmp slt i64 %17, %19 br i1 %20, label %21, label %24 21: ; preds = %15 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 br label %15, !llvm.loop !6 24: ; preds = %15 br label %25 25: ; preds = %37, %24 %26 = load i32, ptr %6, align 4 %27 = call i64 @vmem_read(i32 noundef %26) %28 = load i32, ptr %4, align 4 %29 = call i64 @vmem_read(i32 noundef %28) %30 = icmp sge i64 %27, %29 br i1 %30, label %31, label %35 31: ; preds = %25 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr %3, align 4 %34 = icmp sgt i32 %32, %33 br label %35 35: ; preds = %31, %25 %36 = phi i1 [ false, %25 ], [ %34, %31 ] br i1 %36, label %37, label %40 37: ; preds = %35 %38 = load i32, ptr %6, align 4 %39 = add nsw i32 %38, -1 store i32 %39, ptr %6, align 4 br label %25, !llvm.loop !8 40: ; preds = %35 %41 = load i32, ptr %5, align 4 %42 = load i32, ptr %6, align 4 %43 = icmp sge i32 %41, %42 br i1 %43, label %44, label %45 44: ; preds = %40 br label %49 45: ; preds = %40 %46 = load i32, ptr %5, align 4 %47 = load i32, ptr %6, align 4 %48 = call i32 @swap(i32 noundef %46, i32 noundef %47) br label %14 49: ; preds = %44 %50 = load i32, ptr %5, align 4 %51 = load i32, ptr %4, align 4 %52 = call i32 @swap(i32 noundef %50, i32 noundef %51) %53 = load i32, ptr %3, align 4 %54 = load i32, ptr %5, align 4 %55 = sub nsw i32 %54, 1 call void @quicksort(i32 noundef %53, i32 noundef %55) %56 = load i32, ptr %5, align 4 %57 = add nsw i32 %56, 1 %58 = load i32, ptr %4, align 4 call void @quicksort(i32 noundef %57, i32 noundef %58) br label %59 59: ; preds = %49, %2 ret void } declare i64 @vmem_read(i32 noundef) #1 declare i32 @swap(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmytz4c7_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quicksort(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %63 10: ; preds = %2 %11 = load i32, ptr %3, align 4 store i32 %11, ptr %5, align 4 %12 = load i32, ptr %4, align 4 %13 = sub nsw i32 %12, 1 store i32 %13, ptr %6, align 4 br label %14 14: ; preds = %49, %10 %15 = load i32, ptr %5, align 4 %16 = call i64 @vmem_read(i32 noundef %15) %17 = load i32, ptr %4, align 4 %18 = call i64 @vmem_read(i32 noundef %17) %19 = icmp slt i64 %16, %18 br i1 %19, label %.lr.ph, label %28 .lr.ph: ; preds = %14 br label %20 20: ; preds = %.lr.ph, %20 %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 = call i64 @vmem_read(i32 noundef %23) %25 = load i32, ptr %4, align 4 %26 = call i64 @vmem_read(i32 noundef %25) %27 = icmp slt i64 %24, %26 br i1 %27, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %28 28: ; preds = %._crit_edge, %14 br label %29 29: ; preds = %41, %28 %30 = load i32, ptr %6, align 4 %31 = call i64 @vmem_read(i32 noundef %30) %32 = load i32, ptr %4, align 4 %33 = call i64 @vmem_read(i32 noundef %32) %34 = icmp sge i64 %31, %33 br i1 %34, label %35, label %39 35: ; preds = %29 %36 = load i32, ptr %6, align 4 %37 = load i32, ptr %3, align 4 %38 = icmp sgt i32 %36, %37 br label %39 39: ; preds = %35, %29 %40 = phi i1 [ false, %29 ], [ %38, %35 ] br i1 %40, label %41, label %44 41: ; preds = %39 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, -1 store i32 %43, ptr %6, align 4 br label %29, !llvm.loop !8 44: ; preds = %39 %45 = load i32, ptr %5, align 4 %46 = load i32, ptr %6, align 4 %47 = icmp sge i32 %45, %46 br i1 %47, label %48, label %49 48: ; preds = %44 br label %53 49: ; preds = %44 %50 = load i32, ptr %5, align 4 %51 = load i32, ptr %6, align 4 %52 = call i32 @swap(i32 noundef %50, i32 noundef %51) br label %14 53: ; preds = %48 %54 = load i32, ptr %5, align 4 %55 = load i32, ptr %4, align 4 %56 = call i32 @swap(i32 noundef %54, i32 noundef %55) %57 = load i32, ptr %3, align 4 %58 = load i32, ptr %5, align 4 %59 = sub nsw i32 %58, 1 call void @quicksort(i32 noundef %57, i32 noundef %59) %60 = load i32, ptr %5, align 4 %61 = add nsw i32 %60, 1 %62 = load i32, ptr %4, align 4 call void @quicksort(i32 noundef %61, i32 noundef %62) br label %63 63: ; preds = %53, %2 ret void } declare i64 @vmem_read(i32 noundef) #1 declare i32 @swap(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpq8wascej.c' source_filename = "/tmp/tmpq8wascej.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intr_wrap_165(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = call i32 @i_dim(ptr noundef %3, ptr noundef %4) ret i32 %5 } declare i32 @i_dim(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/tmpq8wascej.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @intr_wrap_165(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = call i32 @i_dim(ptr noundef %3, ptr noundef %4) ret i32 %5 } declare i32 @i_dim(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/tmpmn7_byep.c' source_filename = "/tmp/tmpmn7_byep.c" target datalayout = "e-m:e-p270: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/tmpmn7_byep.c" target datalayout = "e-m:e-p270: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/tmpmmk4w9f0.c' source_filename = "/tmp/tmpmmk4w9f0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @rand_rect_port() #0 { %1 = call i64 (...) @rand_port() %2 = sitofp i64 %1 to double %3 = fdiv double %2, 0x41DFFFFFFFC00000 ret double %3 } declare i64 @rand_port(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmmk4w9f0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @rand_rect_port() #0 { %1 = call i64 (...) @rand_port() %2 = sitofp i64 %1 to double %3 = fdiv double %2, 0x41DFFFFFFFC00000 ret double %3 } declare i64 @rand_port(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpci1du046.c' source_filename = "/tmp/tmpci1du046.c" target datalayout = "e-m:e-p270: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/tmpci1du046.c" target datalayout = "e-m:e-p270: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/tmppz_v7bf1.c' source_filename = "/tmp/tmppz_v7bf1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @substr(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %3 store ptr null, ptr %4, align 8 br label %70 12: ; preds = %3 %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %20 15: ; preds = %12 %16 = load ptr, ptr %5, align 8 %17 = call i32 @strlen(ptr noundef %16) %18 = load i32, ptr %6, align 4 %19 = add nsw i32 %17, %18 store i32 %19, ptr %6, align 4 br label %20 20: ; preds = %15, %12 %21 = load i32, ptr %6, align 4 %22 = icmp slt i32 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %20 store i32 0, ptr %6, align 4 br label %24 24: ; preds = %23, %20 %25 = load i32, ptr %7, align 4 %26 = icmp slt i32 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %24 store i32 0, ptr %7, align 4 br label %28 28: ; preds = %27, %24 %29 = load i32, ptr %6, align 4 %30 = load ptr, ptr %5, align 8 %31 = call i32 @strlen(ptr noundef %30) %32 = icmp sgt i32 %29, %31 br i1 %32, label %33, label %36 33: ; preds = %28 %34 = load ptr, ptr %5, align 8 %35 = call i32 @strlen(ptr noundef %34) store i32 %35, ptr %6, align 4 br label %36 36: ; preds = %33, %28 %37 = load i32, ptr %7, align 4 %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %6, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 %42 = call i32 @strlen(ptr noundef %41) %43 = icmp sgt i32 %37, %42 br i1 %43, label %44, label %50 44: ; preds = %36 %45 = load ptr, ptr %5, align 8 %46 = load i32, ptr %6, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %45, i64 %47 %49 = call i32 @strlen(ptr noundef %48) store i32 %49, ptr %7, align 4 br label %50 50: ; preds = %44, %36 %51 = load i32, ptr %7, align 4 %52 = add nsw i32 %51, 1 %53 = call i64 @malloc(i32 noundef %52) %54 = inttoptr i64 %53 to ptr store ptr %54, ptr %8, align 8 %55 = icmp eq ptr %54, null br i1 %55, label %56, label %57 56: ; preds = %50 store ptr null, ptr %4, align 8 br label %70 57: ; preds = %50 %58 = load ptr, ptr %8, align 8 %59 = load ptr, ptr %5, align 8 %60 = load i32, ptr %6, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 %63 = load i32, ptr %7, align 4 %64 = call i32 @memcpy(ptr noundef %58, ptr noundef %62, i32 noundef %63) %65 = load ptr, ptr %8, align 8 %66 = load i32, ptr %7, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i8, ptr %65, i64 %67 store i8 0, ptr %68, align 1 %69 = load ptr, ptr %8, align 8 store ptr %69, ptr %4, align 8 br label %70 70: ; preds = %57, %56, %11 %71 = load ptr, ptr %4, align 8 ret ptr %71 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memcpy(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/tmppz_v7bf1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @substr(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %3 store ptr null, ptr %4, align 8 br label %70 12: ; preds = %3 %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %20 15: ; preds = %12 %16 = load ptr, ptr %5, align 8 %17 = call i32 @strlen(ptr noundef %16) %18 = load i32, ptr %6, align 4 %19 = add nsw i32 %17, %18 store i32 %19, ptr %6, align 4 br label %20 20: ; preds = %15, %12 %21 = load i32, ptr %6, align 4 %22 = icmp slt i32 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %20 store i32 0, ptr %6, align 4 br label %24 24: ; preds = %23, %20 %25 = load i32, ptr %7, align 4 %26 = icmp slt i32 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %24 store i32 0, ptr %7, align 4 br label %28 28: ; preds = %27, %24 %29 = load i32, ptr %6, align 4 %30 = load ptr, ptr %5, align 8 %31 = call i32 @strlen(ptr noundef %30) %32 = icmp sgt i32 %29, %31 br i1 %32, label %33, label %36 33: ; preds = %28 %34 = load ptr, ptr %5, align 8 %35 = call i32 @strlen(ptr noundef %34) store i32 %35, ptr %6, align 4 br label %36 36: ; preds = %33, %28 %37 = load i32, ptr %7, align 4 %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %6, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 %42 = call i32 @strlen(ptr noundef %41) %43 = icmp sgt i32 %37, %42 br i1 %43, label %44, label %50 44: ; preds = %36 %45 = load ptr, ptr %5, align 8 %46 = load i32, ptr %6, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %45, i64 %47 %49 = call i32 @strlen(ptr noundef %48) store i32 %49, ptr %7, align 4 br label %50 50: ; preds = %44, %36 %51 = load i32, ptr %7, align 4 %52 = add nsw i32 %51, 1 %53 = call i64 @malloc(i32 noundef %52) %54 = inttoptr i64 %53 to ptr store ptr %54, ptr %8, align 8 %55 = icmp eq ptr %54, null br i1 %55, label %56, label %57 56: ; preds = %50 store ptr null, ptr %4, align 8 br label %70 57: ; preds = %50 %58 = load ptr, ptr %8, align 8 %59 = load ptr, ptr %5, align 8 %60 = load i32, ptr %6, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 %63 = load i32, ptr %7, align 4 %64 = call i32 @memcpy(ptr noundef %58, ptr noundef %62, i32 noundef %63) %65 = load ptr, ptr %8, align 8 %66 = load i32, ptr %7, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i8, ptr %65, i64 %67 store i8 0, ptr %68, align 1 %69 = load ptr, ptr %8, align 8 store ptr %69, ptr %4, align 8 br label %70 70: ; preds = %57, %56, %11 %71 = load ptr, ptr %4, align 8 ret ptr %71 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memcpy(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/tmpxxofj9sq.c' source_filename = "/tmp/tmpxxofj9sq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"0\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i64 0, ptr %3, align 8 br label %5 5: ; preds = %45, %20, %15, %0 %6 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %7 = load i64, ptr @EOF, align 8 %8 = icmp ne i64 %6, %7 br i1 %8, label %9, label %48 9: ; preds = %5 %10 = load i32, ptr %2, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %9 %13 = load i32, ptr %2, align 4 %14 = icmp eq i32 %13, 1 br i1 %14, label %15, label %17 15: ; preds = %12, %9 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %5, !llvm.loop !6 17: ; preds = %12 %18 = load i32, ptr %2, align 4 %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %5, !llvm.loop !6 22: ; preds = %17 %23 = load i32, ptr %2, align 4 %24 = icmp slt i32 %23, 0 %25 = zext i1 %24 to i32 store i32 %25, ptr %4, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %22 %29 = load i32, ptr %2, align 4 %30 = mul nsw i32 %29, -1 store i32 %30, ptr %2, align 4 br label %31 31: ; preds = %28, %22 %32 = load i32, ptr %2, align 4 %33 = load i32, ptr %2, align 4 %34 = add nsw i32 %33, 1 %35 = mul nsw i32 %32, %34 %36 = sdiv i32 %35, 2 %37 = sext i32 %36 to i64 store i64 %37, ptr %3, align 8 %38 = load i32, ptr %4, align 4 %39 = icmp ne i32 %38, 0 br i1 %39, label %40, label %45 40: ; preds = %31 %41 = load i64, ptr %3, align 8 %42 = add nsw i64 %41, -1 store i64 %42, ptr %3, align 8 %43 = load i64, ptr %3, align 8 %44 = mul nsw i64 %43, -1 store i64 %44, ptr %3, align 8 br label %45 45: ; preds = %40, %31 %46 = load i64, ptr %3, align 8 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %46) br label %5, !llvm.loop !6 48: ; preds = %5 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxxofj9sq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"0\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i64 0, ptr %3, align 8 %5 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %6 = load i64, ptr @EOF, align 8 %7 = icmp ne i64 %5, %6 br i1 %7, label %.lr.ph, label %50 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %.backedge %9 = load i32, ptr %2, align 4 %10 = icmp eq i32 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %8 %12 = load i32, ptr %2, align 4 %13 = icmp eq i32 %12, 1 br i1 %13, label %14, label %19 14: ; preds = %11, %8 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %.backedge .backedge: ; preds = %14, %22, %47 %16 = call i64 @scanf(ptr noundef @.str, ptr noundef %2) %17 = load i64, ptr @EOF, align 8 %18 = icmp ne i64 %16, %17 br i1 %18, label %8, label %._crit_edge, !llvm.loop !6 19: ; preds = %11 %20 = load i32, ptr %2, align 4 %21 = icmp eq i32 %20, -1 br i1 %21, label %22, label %24 22: ; preds = %19 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %.backedge 24: ; preds = %19 %25 = load i32, ptr %2, align 4 %26 = icmp slt i32 %25, 0 %27 = zext i1 %26 to i32 store i32 %27, ptr %4, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp ne i32 %28, 0 br i1 %29, label %30, label %33 30: ; preds = %24 %31 = load i32, ptr %2, align 4 %32 = mul nsw i32 %31, -1 store i32 %32, ptr %2, align 4 br label %33 33: ; preds = %30, %24 %34 = load i32, ptr %2, align 4 %35 = load i32, ptr %2, align 4 %36 = add nsw i32 %35, 1 %37 = mul nsw i32 %34, %36 %38 = sdiv i32 %37, 2 %39 = sext i32 %38 to i64 store i64 %39, ptr %3, align 8 %40 = load i32, ptr %4, align 4 %41 = icmp ne i32 %40, 0 br i1 %41, label %42, label %47 42: ; preds = %33 %43 = load i64, ptr %3, align 8 %44 = add nsw i64 %43, -1 store i64 %44, ptr %3, align 8 %45 = load i64, ptr %3, align 8 %46 = mul nsw i64 %45, -1 store i64 %46, ptr %3, align 8 br label %47 47: ; preds = %42, %33 %48 = load i64, ptr %3, align 8 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %48) br label %.backedge ._crit_edge: ; preds = %.backedge br label %50 50: ; preds = %._crit_edge, %0 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp97ppot02.c' source_filename = "/tmp/tmp97ppot02.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(read) uwtable define dso_local i32 @isupper(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @_isupper(i32 noundef %3) ret i32 %4 } declare i32 @_isupper(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp97ppot02.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(read) uwtable define dso_local i32 @isupper(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @_isupper(i32 noundef %3) ret i32 %4 } declare i32 @_isupper(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4ron1kpk.c' source_filename = "/tmp/tmp4ron1kpk.c" target datalayout = "e-m:e-p270: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/tmp4ron1kpk.c" target datalayout = "e-m:e-p270: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/tmpc0zaafis.c' source_filename = "/tmp/tmpc0zaafis.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [374 x i8] c"Usage: dasm09 [options] <filename>\0AAvailable options are:\0A -begin - start disassembly address [offset]\0A -end - end disassembly address [auto]\0A -offset - address to load program [0]\0A -out - output file [stdout]\0A -noaddr - no address dump\0A -nohex - no hex dump\0A -x - use 6309 opcodes\0A -os9 - patch swi2 (os9 call)\0AAll values should be entered in hexadecimal\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = 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/tmpc0zaafis.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [374 x i8] c"Usage: dasm09 [options] <filename>\0AAvailable options are:\0A -begin - start disassembly address [offset]\0A -end - end disassembly address [auto]\0A -offset - address to load program [0]\0A -out - output file [stdout]\0A -noaddr - no address dump\0A -nohex - no hex dump\0A -x - use 6309 opcodes\0A -os9 - patch swi2 (os9 call)\0AAll values should be entered in hexadecimal\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = 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/tmpzz1b4m8j.c' source_filename = "/tmp/tmpzz1b4m8j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = call i32 @nrand(i32 noundef 101) store i32 %4, ptr %3, align 4 br label %5 5: ; preds = %9, %0 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp ne i32 %6, %7 br i1 %8, label %9, label %13 9: ; preds = %5 %10 = load i32, ptr %2, align 4 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) %12 = call i32 @nrand(i32 noundef 101) store i32 %12, ptr %2, align 4 br label %5, !llvm.loop !6 13: ; preds = %5 %14 = load i32, ptr %1, align 4 ret i32 %14 } declare i32 @nrand(i32 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/tmpzz1b4m8j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 %4 = call i32 @nrand(i32 noundef 101) store i32 %4, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp ne i32 %5, %6 br i1 %7, label %.lr.ph, label %15 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %8 %9 = load i32, ptr %2, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %9) %11 = call i32 @nrand(i32 noundef 101) store i32 %11, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp ne i32 %12, %13 br i1 %14, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %15 15: ; preds = %._crit_edge, %0 %16 = load i32, ptr %1, align 4 ret i32 %16 } declare i32 @nrand(i32 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/tmpgeplz1r8.c' source_filename = "/tmp/tmpgeplz1r8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ZBUFF_recommendedDInSize() #0 { ret i64 131075 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgeplz1r8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ZBUFF_recommendedDInSize() #0 { ret i64 131075 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpffycycpd.c' source_filename = "/tmp/tmpffycycpd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" v Path 0->v\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"---- ---------\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%3d: \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"0 \00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Print_paths(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = mul i64 %11, 4 %13 = trunc i64 %12 to i32 %14 = call ptr @malloc(i32 noundef %13) store ptr %14, ptr %7, align 8 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %5, align 4 br label %17 17: ; preds = %60, %2 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %63 21: ; preds = %17 %22 = load i32, ptr %5, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %22) store i32 0, ptr %8, align 4 %24 = load i32, ptr %5, align 4 store i32 %24, ptr %6, align 4 br label %25 25: ; preds = %28, %21 %26 = load i32, ptr %6, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %41 28: ; preds = %25 %29 = load i32, ptr %6, align 4 %30 = load ptr, ptr %7, align 8 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %30, i64 %32 store i32 %29, ptr %33, align 4 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load ptr, ptr %3, align 8 %37 = load i32, ptr %6, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %36, i64 %38 %40 = load i32, ptr %39, align 4 store i32 %40, ptr %6, align 4 br label %25, !llvm.loop !6 41: ; preds = %25 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %43 = load i32, ptr %8, align 4 %44 = sub nsw i32 %43, 1 store i32 %44, ptr %9, align 4 br label %45 45: ; preds = %55, %41 %46 = load i32, ptr %9, align 4 %47 = icmp sge i32 %46, 0 br i1 %47, label %48, label %58 48: ; preds = %45 %49 = load ptr, ptr %7, align 8 %50 = load i32, ptr %9, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i32, ptr %49, i64 %51 %53 = load i32, ptr %52, align 4 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %53) br label %55 55: ; preds = %48 %56 = load i32, ptr %9, align 4 %57 = add nsw i32 %56, -1 store i32 %57, ptr %9, align 4 br label %45, !llvm.loop !8 58: ; preds = %45 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %60 60: ; preds = %58 %61 = load i32, ptr %5, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %5, align 4 br label %17, !llvm.loop !9 63: ; preds = %17 %64 = load ptr, ptr %7, align 8 %65 = call i32 @free(ptr noundef %64) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpffycycpd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" v Path 0->v\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"---- ---------\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%3d: \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"0 \00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Print_paths(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = sext i32 %10 to i64 %12 = mul i64 %11, 4 %13 = trunc i64 %12 to i32 %14 = call ptr @malloc(i32 noundef %13) store ptr %14, ptr %7, align 8 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %.lr.ph5, label %67 .lr.ph5: ; preds = %2 br label %20 20: ; preds = %.lr.ph5, %61 %21 = load i32, ptr %5, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %21) store i32 0, ptr %8, align 4 %23 = load i32, ptr %5, align 4 store i32 %23, ptr %6, align 4 %24 = load i32, ptr %6, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %.lr.ph, label %41 .lr.ph: ; preds = %20 br label %26 26: ; preds = %.lr.ph, %26 %27 = load i32, ptr %6, align 4 %28 = load ptr, ptr %7, align 8 %29 = load i32, ptr %8, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 store i32 %27, ptr %31, align 4 %32 = load i32, ptr %8, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %8, align 4 %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %34, i64 %36 %38 = load i32, ptr %37, align 4 store i32 %38, ptr %6, align 4 %39 = load i32, ptr %6, align 4 %40 = icmp ne i32 %39, 0 br i1 %40, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %41 41: ; preds = %._crit_edge, %20 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %43 = load i32, ptr %8, align 4 %44 = sub nsw i32 %43, 1 store i32 %44, ptr %9, align 4 %45 = load i32, ptr %9, align 4 %46 = icmp sge i32 %45, 0 br i1 %46, label %.lr.ph2, label %59 .lr.ph2: ; preds = %41 br label %47 47: ; preds = %.lr.ph2, %54 %48 = load ptr, ptr %7, align 8 %49 = load i32, ptr %9, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %48, i64 %50 %52 = load i32, ptr %51, align 4 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %52) br label %54 54: ; preds = %47 %55 = load i32, ptr %9, align 4 %56 = add nsw i32 %55, -1 store i32 %56, ptr %9, align 4 %57 = load i32, ptr %9, align 4 %58 = icmp sge i32 %57, 0 br i1 %58, label %47, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %54 br label %59 59: ; preds = %._crit_edge3, %41 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %61 61: ; preds = %59 %62 = load i32, ptr %5, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %5, align 4 %64 = load i32, ptr %5, align 4 %65 = load i32, ptr %4, align 4 %66 = icmp slt i32 %64, %65 br i1 %66, label %20, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %61 br label %67 67: ; preds = %._crit_edge6, %2 %68 = load ptr, ptr %7, align 8 %69 = call i32 @free(ptr noundef %68) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp8m8bwhao.c' source_filename = "/tmp/tmp8m8bwhao.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bufputs(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 = load ptr, ptr %4, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = call i32 @bufput(ptr noundef %5, ptr noundef %6, i32 noundef %8) ret void } declare i32 @bufput(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8m8bwhao.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bufputs(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 = load ptr, ptr %4, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = call i32 @bufput(ptr noundef %5, ptr noundef %6, i32 noundef %8) ret void } declare i32 @bufput(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpt4yxlf0v.c' source_filename = "/tmp/tmpt4yxlf0v.c" target datalayout = "e-m:e-p270: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/tmpt4yxlf0v.c" target datalayout = "e-m:e-p270: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/tmpfsoaotcq.c' source_filename = "/tmp/tmpfsoaotcq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"6b\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @phase_6(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @invalid_phase(ptr noundef @.str) ret void } declare i32 @invalid_phase(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfsoaotcq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"6b\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @phase_6(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @invalid_phase(ptr noundef @.str) ret void } declare i32 @invalid_phase(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpht5qho19.c' source_filename = "/tmp/tmpht5qho19.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hconv_bitlen(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = ashr i32 %4, 3 store i32 %5, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = and i32 %6, 7 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load i32, ptr %3, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %3, align 4 br label %12 12: ; preds = %9, %1 %13 = load i32, ptr %3, align 4 ret i32 %13 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpht5qho19.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hconv_bitlen(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = ashr i32 %4, 3 store i32 %5, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = and i32 %6, 7 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load i32, ptr %3, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %3, align 4 br label %12 12: ; preds = %9, %1 %13 = load i32, ptr %3, align 4 ret i32 %13 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpra9u4r24.c' source_filename = "/tmp/tmpra9u4r24.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter an integer: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"Fibonacci( %ld ) = %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 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 %3) %6 = load i64, ptr %3, align 8 %7 = call i64 @fibonacci(i64 noundef %6) store i64 %7, ptr %2, align 8 %8 = load i64, ptr %3, align 8 %9 = load i64, ptr %2, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %8, i64 noundef %9) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @fibonacci(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/tmpra9u4r24.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter an integer: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"Fibonacci( %ld ) = %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 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 %3) %6 = load i64, ptr %3, align 8 %7 = call i64 @fibonacci(i64 noundef %6) store i64 %7, ptr %2, align 8 %8 = load i64, ptr %3, align 8 %9 = load i64, ptr %2, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %8, i64 noundef %9) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @fibonacci(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/tmp8gzn10ws.c' source_filename = "/tmp/tmp8gzn10ws.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [81 x i8] c"%sApply a windowed sum; the signal is replaced by its sum over non-overlapping\0A\00", align 1 @.str.2 = private unnamed_addr constant [79 x i8] c"%swindows. The window's sum is written to the first entry in the window, with\0A\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"%sthe remaining entries set to zero.\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"%susage: %s [options]\0A\00", align 1 @.str.6 = private unnamed_addr constant [67 x i8] c"%s --window=chromosome entire chromosome is a single window\0A\00", align 1 @.str.7 = private unnamed_addr constant [50 x i8] c"%s --window=<length> (W=) size of window\0A\00", align 1 @.str.8 = private unnamed_addr constant [76 x i8] c"%s --denom=<value> (D=) denominator; \22window\22 or \22W\22 can be used\0A\00", align 1 @.str.9 = private unnamed_addr constant [80 x i8] c"%s as the value; the value \22actual\22 means to use the\0A\00", align 1 @.str.10 = private unnamed_addr constant [80 x i8] c"%s actual size of the window, in case it's truncated\0A\00", align 1 @.str.11 = private unnamed_addr constant [72 x i8] c"%s (by default, we do not use a denominator)\0A\00", align 1 @.str.12 = private unnamed_addr constant [66 x i8] c"%s --zero=<value> (Z=) zero value to fill window body\0A\00", align 1 @.str.13 = private unnamed_addr constant [47 x i8] c"%s (default is 0.0)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @op_window_sum_usage(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %6, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %3 store ptr @.str, ptr %6, align 8 br label %10 10: ; preds = %9, %3 %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %6, align 8 %13 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef @.str.1, ptr noundef %12) %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %6, align 8 %16 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef @.str.2, ptr noundef %15) %17 = load ptr, ptr %5, align 8 %18 = load ptr, ptr %6, align 8 %19 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef @.str.3, ptr noundef %18) %20 = load ptr, ptr %5, align 8 %21 = load ptr, ptr %6, align 8 %22 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef @.str.4, ptr noundef %21) %23 = load ptr, ptr %5, align 8 %24 = load ptr, ptr %6, align 8 %25 = load ptr, ptr %4, align 8 %26 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef @.str.5, ptr noundef %24, ptr noundef %25) %27 = load ptr, ptr %5, align 8 %28 = load ptr, ptr %6, align 8 %29 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %27, ptr noundef @.str.6, ptr noundef %28) %30 = load ptr, ptr %5, align 8 %31 = load ptr, ptr %6, align 8 %32 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef @.str.7, ptr noundef %31) %33 = load ptr, ptr %5, align 8 %34 = load ptr, ptr %6, align 8 %35 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef @.str.8, ptr noundef %34) %36 = load ptr, ptr %5, align 8 %37 = load ptr, ptr %6, align 8 %38 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef @.str.9, ptr noundef %37) %39 = load ptr, ptr %5, align 8 %40 = load ptr, ptr %6, align 8 %41 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %39, ptr noundef @.str.10, ptr noundef %40) %42 = load ptr, ptr %5, align 8 %43 = load ptr, ptr %6, align 8 %44 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %42, ptr noundef @.str.11, ptr noundef %43) %45 = load ptr, ptr %5, align 8 %46 = load ptr, ptr %6, align 8 %47 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef @.str.12, ptr noundef %46) %48 = load ptr, ptr %5, align 8 %49 = load ptr, ptr %6, align 8 %50 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef @.str.13, ptr noundef %49) ret void } declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8gzn10ws.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [81 x i8] c"%sApply a windowed sum; the signal is replaced by its sum over non-overlapping\0A\00", align 1 @.str.2 = private unnamed_addr constant [79 x i8] c"%swindows. The window's sum is written to the first entry in the window, with\0A\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"%sthe remaining entries set to zero.\0A\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"%susage: %s [options]\0A\00", align 1 @.str.6 = private unnamed_addr constant [67 x i8] c"%s --window=chromosome entire chromosome is a single window\0A\00", align 1 @.str.7 = private unnamed_addr constant [50 x i8] c"%s --window=<length> (W=) size of window\0A\00", align 1 @.str.8 = private unnamed_addr constant [76 x i8] c"%s --denom=<value> (D=) denominator; \22window\22 or \22W\22 can be used\0A\00", align 1 @.str.9 = private unnamed_addr constant [80 x i8] c"%s as the value; the value \22actual\22 means to use the\0A\00", align 1 @.str.10 = private unnamed_addr constant [80 x i8] c"%s actual size of the window, in case it's truncated\0A\00", align 1 @.str.11 = private unnamed_addr constant [72 x i8] c"%s (by default, we do not use a denominator)\0A\00", align 1 @.str.12 = private unnamed_addr constant [66 x i8] c"%s --zero=<value> (Z=) zero value to fill window body\0A\00", align 1 @.str.13 = private unnamed_addr constant [47 x i8] c"%s (default is 0.0)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @op_window_sum_usage(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %6, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %3 store ptr @.str, ptr %6, align 8 br label %10 10: ; preds = %9, %3 %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %6, align 8 %13 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef @.str.1, ptr noundef %12) %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %6, align 8 %16 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef @.str.2, ptr noundef %15) %17 = load ptr, ptr %5, align 8 %18 = load ptr, ptr %6, align 8 %19 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef @.str.3, ptr noundef %18) %20 = load ptr, ptr %5, align 8 %21 = load ptr, ptr %6, align 8 %22 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef @.str.4, ptr noundef %21) %23 = load ptr, ptr %5, align 8 %24 = load ptr, ptr %6, align 8 %25 = load ptr, ptr %4, align 8 %26 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef @.str.5, ptr noundef %24, ptr noundef %25) %27 = load ptr, ptr %5, align 8 %28 = load ptr, ptr %6, align 8 %29 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %27, ptr noundef @.str.6, ptr noundef %28) %30 = load ptr, ptr %5, align 8 %31 = load ptr, ptr %6, align 8 %32 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef @.str.7, ptr noundef %31) %33 = load ptr, ptr %5, align 8 %34 = load ptr, ptr %6, align 8 %35 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef @.str.8, ptr noundef %34) %36 = load ptr, ptr %5, align 8 %37 = load ptr, ptr %6, align 8 %38 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef @.str.9, ptr noundef %37) %39 = load ptr, ptr %5, align 8 %40 = load ptr, ptr %6, align 8 %41 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %39, ptr noundef @.str.10, ptr noundef %40) %42 = load ptr, ptr %5, align 8 %43 = load ptr, ptr %6, align 8 %44 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %42, ptr noundef @.str.11, ptr noundef %43) %45 = load ptr, ptr %5, align 8 %46 = load ptr, ptr %6, align 8 %47 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef @.str.12, ptr noundef %46) %48 = load ptr, ptr %5, align 8 %49 = load ptr, ptr %6, align 8 %50 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef @.str.13, ptr noundef %49) ret void } declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpagk7msfo.c' source_filename = "/tmp/tmpagk7msfo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @A_BLINK = dso_local global i32 0, align 4 @A_REVERSE = 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/tmpagk7msfo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @A_BLINK = dso_local global i32 0, align 4 @A_REVERSE = 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/tmph7upob3e.c' source_filename = "/tmp/tmph7upob3e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"arqtext.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"\0AO arquivo n\C3\A3o pode ser aberto\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"\0AO arquivo foi aberto para grava\C3\A7\C3\A3o\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"\0AFim do programa!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [80 x i8], align 16 store i32 0, ptr %1, align 4 %4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %4, ptr %2, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %0 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = call i32 @exit(i32 noundef 1) #3 unreachable 9: ; preds = %0 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %11 11: ; preds = %9 br label %12 12: ; preds = %17, %11 %13 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0 %14 = load ptr, ptr %2, align 8 %15 = call ptr @fgets(ptr noundef %13, i32 noundef 80, ptr noundef %14) %16 = icmp ne ptr %15, null br i1 %16, label %17, label %20 17: ; preds = %12 %18 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %18) br label %12, !llvm.loop !6 20: ; preds = %12 %21 = load ptr, ptr %2, align 8 %22 = call i32 @fclose(ptr noundef %21) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fgets(ptr noundef, i32 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" } 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/tmph7upob3e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"arqtext.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"\0AO arquivo n\C3\A3o pode ser aberto\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"\0AO arquivo foi aberto para grava\C3\A7\C3\A3o\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"\0AFim do programa!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [80 x i8], align 16 store i32 0, ptr %1, align 4 %4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %4, ptr %2, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %0 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %8 = call i32 @exit(i32 noundef 1) #3 unreachable 9: ; preds = %0 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %11 11: ; preds = %9 %12 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0 %13 = load ptr, ptr %2, align 8 %14 = call ptr @fgets(ptr noundef %12, i32 noundef 80, ptr noundef %13) %15 = icmp ne ptr %14, null br i1 %15, label %.lr.ph, label %22 .lr.ph: ; preds = %11 br label %16 16: ; preds = %.lr.ph, %16 %17 = getelementptr inbounds [80 x i8], ptr %3, i64 0, i64 0 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %17) %19 = load ptr, ptr %2, align 8 %20 = call ptr @fgets(ptr noundef %12, i32 noundef 80, ptr noundef %19) %21 = icmp ne ptr %20, null br i1 %21, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %11 %23 = load ptr, ptr %2, align 8 %24 = call i32 @fclose(ptr noundef %23) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fgets(ptr noundef, i32 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" } 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/tmp89uzrnki.c' source_filename = "/tmp/tmp89uzrnki.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @p_mul(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i8, align 1 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 store ptr %5, ptr %12, align 8 store i32 0, ptr %13, align 4 br label %16 16: ; preds = %28, %6 %17 = load i32, ptr %13, align 4 %18 = load i32, ptr %9, align 4 %19 = load i32, ptr %11, align 4 %20 = add nsw i32 %18, %19 %21 = sub nsw i32 %20, 1 %22 = icmp slt i32 %17, %21 br i1 %22, label %23, label %31 23: ; preds = %16 %24 = load ptr, ptr %8, align 8 %25 = load i32, ptr %13, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 store i8 0, ptr %27, align 1 br label %28 28: ; preds = %23 %29 = load i32, ptr %13, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %13, align 4 br label %16, !llvm.loop !6 31: ; preds = %16 store i32 0, ptr %13, align 4 br label %32 32: ; preds = %74, %31 %33 = load i32, ptr %13, align 4 %34 = load i32, ptr %9, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %36, label %77 36: ; preds = %32 store i32 0, ptr %14, align 4 br label %37 37: ; preds = %70, %36 %38 = load i32, ptr %14, align 4 %39 = load i32, ptr %11, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %41, label %73 41: ; preds = %37 %42 = load ptr, ptr %7, align 8 %43 = load ptr, ptr %10, align 8 %44 = load i32, ptr %13, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 %47 = load i8, ptr %46, align 1 %48 = load ptr, ptr %12, align 8 %49 = load i32, ptr %14, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %48, i64 %50 %52 = load i8, ptr %51, align 1 %53 = call zeroext i8 @gf_mult(ptr noundef %42, i8 noundef zeroext %47, i8 noundef zeroext %52) store i8 %53, ptr %15, align 1 %54 = load ptr, ptr %7, align 8 %55 = load ptr, ptr %8, align 8 %56 = load i32, ptr %13, align 4 %57 = load i32, ptr %14, align 4 %58 = add nsw i32 %56, %57 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %55, i64 %59 %61 = load i8, ptr %60, align 1 %62 = load i8, ptr %15, align 1 %63 = call zeroext i8 @gf_add(ptr noundef %54, i8 noundef zeroext %61, i8 noundef zeroext %62) %64 = load ptr, ptr %8, align 8 %65 = load i32, ptr %13, align 4 %66 = load i32, ptr %14, align 4 %67 = add nsw i32 %65, %66 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %64, i64 %68 store i8 %63, ptr %69, align 1 br label %70 70: ; preds = %41 %71 = load i32, ptr %14, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %14, align 4 br label %37, !llvm.loop !8 73: ; preds = %37 br label %74 74: ; preds = %73 %75 = load i32, ptr %13, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %13, align 4 br label %32, !llvm.loop !9 77: ; preds = %32 ret void } declare zeroext i8 @gf_mult(ptr noundef, i8 noundef zeroext, i8 noundef zeroext) #1 declare zeroext i8 @gf_add(ptr noundef, i8 noundef zeroext, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp89uzrnki.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @p_mul(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i8, align 1 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store ptr %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 store ptr %5, ptr %12, align 8 store i32 0, ptr %13, align 4 %16 = load i32, ptr %13, align 4 %17 = load i32, ptr %9, align 4 %18 = load i32, ptr %11, align 4 %19 = add nsw i32 %17, %18 %20 = sub nsw i32 %19, 1 %21 = icmp slt i32 %16, %20 br i1 %21, label %.lr.ph, label %36 .lr.ph: ; preds = %6 br label %22 22: ; preds = %.lr.ph, %27 %23 = load ptr, ptr %8, align 8 %24 = load i32, ptr %13, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 store i8 0, ptr %26, align 1 br label %27 27: ; preds = %22 %28 = load i32, ptr %13, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %13, align 4 %30 = load i32, ptr %13, align 4 %31 = load i32, ptr %9, align 4 %32 = load i32, ptr %11, align 4 %33 = add nsw i32 %31, %32 %34 = sub nsw i32 %33, 1 %35 = icmp slt i32 %30, %34 br i1 %35, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %36 36: ; preds = %._crit_edge, %6 store i32 0, ptr %13, align 4 %37 = load i32, ptr %13, align 4 %38 = load i32, ptr %9, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %.lr.ph5, label %86 .lr.ph5: ; preds = %36 br label %40 40: ; preds = %.lr.ph5, %80 store i32 0, ptr %14, align 4 %41 = load i32, ptr %14, align 4 %42 = load i32, ptr %11, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %.lr.ph2, label %79 .lr.ph2: ; preds = %40 br label %44 44: ; preds = %.lr.ph2, %73 %45 = load ptr, ptr %7, align 8 %46 = load ptr, ptr %10, align 8 %47 = load i32, ptr %13, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %46, i64 %48 %50 = load i8, ptr %49, align 1 %51 = load ptr, ptr %12, align 8 %52 = load i32, ptr %14, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 %55 = load i8, ptr %54, align 1 %56 = call zeroext i8 @gf_mult(ptr noundef %45, i8 noundef zeroext %50, i8 noundef zeroext %55) store i8 %56, ptr %15, align 1 %57 = load ptr, ptr %7, align 8 %58 = load ptr, ptr %8, align 8 %59 = load i32, ptr %13, align 4 %60 = load i32, ptr %14, align 4 %61 = add nsw i32 %59, %60 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i8, ptr %58, i64 %62 %64 = load i8, ptr %63, align 1 %65 = load i8, ptr %15, align 1 %66 = call zeroext i8 @gf_add(ptr noundef %57, i8 noundef zeroext %64, i8 noundef zeroext %65) %67 = load ptr, ptr %8, align 8 %68 = load i32, ptr %13, align 4 %69 = load i32, ptr %14, align 4 %70 = add nsw i32 %68, %69 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i8, ptr %67, i64 %71 store i8 %66, ptr %72, align 1 br label %73 73: ; preds = %44 %74 = load i32, ptr %14, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %14, align 4 %76 = load i32, ptr %14, align 4 %77 = load i32, ptr %11, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %44, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %73 br label %79 79: ; preds = %._crit_edge3, %40 br label %80 80: ; preds = %79 %81 = load i32, ptr %13, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %13, align 4 %83 = load i32, ptr %13, align 4 %84 = load i32, ptr %9, align 4 %85 = icmp slt i32 %83, %84 br i1 %85, label %40, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %80 br label %86 86: ; preds = %._crit_edge6, %36 ret void } declare zeroext i8 @gf_mult(ptr noundef, i8 noundef zeroext, i8 noundef zeroext) #1 declare zeroext i8 @gf_add(ptr noundef, i8 noundef zeroext, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpmeuoxyh0.c' source_filename = "/tmp/tmpmeuoxyh0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"\0AThe highest value is: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"\0AThe lowest value is: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @loHi(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %4, align 4 store i32 %10, ptr %8, align 4 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %8, align 4 %13 = icmp sgt i32 %11, %12 br i1 %13, label %14, label %16 14: ; preds = %3 %15 = load i32, ptr %5, align 4 store i32 %15, ptr %8, align 4 br label %23 16: ; preds = %3 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %8, align 4 %19 = icmp sgt i32 %17, %18 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = load i32, ptr %6, align 4 store i32 %21, ptr %8, align 4 br label %22 22: ; preds = %20, %16 br label %23 23: ; preds = %22, %14 %24 = load i32, ptr %4, align 4 store i32 %24, ptr %9, align 4 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr %9, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %30 28: ; preds = %23 %29 = load i32, ptr %5, align 4 store i32 %29, ptr %9, align 4 br label %37 30: ; preds = %23 %31 = load i32, ptr %6, align 4 %32 = load i32, ptr %9, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %36 34: ; preds = %30 %35 = load i32, ptr %6, align 4 store i32 %35, ptr %9, align 4 br label %36 36: ; preds = %34, %30 br label %37 37: ; preds = %36, %28 %38 = load i32, ptr %8, align 4 %39 = call i32 @printf(ptr noundef @.str, i32 noundef %38) %40 = load i32, ptr %9, align 4 %41 = call i32 @printf(ptr noundef @.str.1, i32 noundef %40) ret void } 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/tmpmeuoxyh0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"\0AThe highest value is: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"\0AThe lowest value is: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @loHi(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %10 = load i32, ptr %4, align 4 store i32 %10, ptr %8, align 4 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %8, align 4 %13 = icmp sgt i32 %11, %12 br i1 %13, label %14, label %16 14: ; preds = %3 %15 = load i32, ptr %5, align 4 store i32 %15, ptr %8, align 4 br label %23 16: ; preds = %3 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %8, align 4 %19 = icmp sgt i32 %17, %18 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = load i32, ptr %6, align 4 store i32 %21, ptr %8, align 4 br label %22 22: ; preds = %20, %16 br label %23 23: ; preds = %22, %14 %24 = load i32, ptr %4, align 4 store i32 %24, ptr %9, align 4 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr %9, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %30 28: ; preds = %23 %29 = load i32, ptr %5, align 4 store i32 %29, ptr %9, align 4 br label %37 30: ; preds = %23 %31 = load i32, ptr %6, align 4 %32 = load i32, ptr %9, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %36 34: ; preds = %30 %35 = load i32, ptr %6, align 4 store i32 %35, ptr %9, align 4 br label %36 36: ; preds = %34, %30 br label %37 37: ; preds = %36, %28 %38 = load i32, ptr %8, align 4 %39 = call i32 @printf(ptr noundef @.str, i32 noundef %38) %40 = load i32, ptr %9, align 4 %41 = call i32 @printf(ptr noundef @.str.1, i32 noundef %40) ret void } 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/tmp91aqm8gh.c' source_filename = "/tmp/tmp91aqm8gh.c" target datalayout = "e-m:e-p270: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 [67 x i8] c"%s: IMPLEMENTATION ERROR! (Invalid argument in function \22fisher\22)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @fisher(double noundef %0, double noundef %1, double noundef %2, ptr noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca ptr, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load double, ptr %5, align 8 %10 = fcmp ole double %9, 0.000000e+00 br i1 %10, label %14, label %11 11: ; preds = %4 %12 = load double, ptr %6, align 8 %13 = fcmp ole double %12, 0.000000e+00 br i1 %13, label %14, label %19 14: ; preds = %11, %4 %15 = load i32, ptr @stderr, align 4 %16 = load ptr, ptr %8, align 8 %17 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, ptr noundef %16) %18 = call i32 @exit(i32 noundef 4) #4 unreachable 19: ; preds = %11 %20 = load double, ptr %5, align 8 %21 = fdiv double %20, 2.000000e+00 %22 = load double, ptr %6, align 8 %23 = fdiv double %22, 2.000000e+00 %24 = load double, ptr %6, align 8 %25 = load double, ptr %6, align 8 %26 = load double, ptr %5, align 8 %27 = load double, ptr %7, align 8 %28 = call double @llvm.fmuladd.f64(double %26, double %27, double %25) %29 = fdiv double %24, %28 %30 = load ptr, ptr %8, align 8 %31 = call double @incomplete_beta(double noundef %21, double noundef %23, double noundef %29, ptr noundef %30) ret double %31 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare double @incomplete_beta(double noundef, double noundef, double noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp91aqm8gh.c" target datalayout = "e-m:e-p270: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 [67 x i8] c"%s: IMPLEMENTATION ERROR! (Invalid argument in function \22fisher\22)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @fisher(double noundef %0, double noundef %1, double noundef %2, ptr noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca ptr, align 8 store double %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load double, ptr %5, align 8 %10 = fcmp ole double %9, 0.000000e+00 br i1 %10, label %14, label %11 11: ; preds = %4 %12 = load double, ptr %6, align 8 %13 = fcmp ole double %12, 0.000000e+00 br i1 %13, label %14, label %19 14: ; preds = %11, %4 %15 = load i32, ptr @stderr, align 4 %16 = load ptr, ptr %8, align 8 %17 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, ptr noundef %16) %18 = call i32 @exit(i32 noundef 4) #4 unreachable 19: ; preds = %11 %20 = load double, ptr %5, align 8 %21 = fdiv double %20, 2.000000e+00 %22 = load double, ptr %6, align 8 %23 = fdiv double %22, 2.000000e+00 %24 = load double, ptr %6, align 8 %25 = load double, ptr %6, align 8 %26 = load double, ptr %5, align 8 %27 = load double, ptr %7, align 8 %28 = call double @llvm.fmuladd.f64(double %26, double %27, double %25) %29 = fdiv double %24, %28 %30 = load ptr, ptr %8, align 8 %31 = call double @incomplete_beta(double noundef %21, double noundef %23, double noundef %29, ptr noundef %30) ret double %31 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare double @incomplete_beta(double noundef, double noundef, double noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa__18no2.c' source_filename = "/tmp/tmpa__18no2.c" target datalayout = "e-m:e-p270: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/tmpa__18no2.c" target datalayout = "e-m:e-p270: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/tmpoq_bp5l_.c' source_filename = "/tmp/tmpoq_bp5l_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"hello\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printer() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @sleep(i32 noundef 5) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoq_bp5l_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"hello\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printer() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @sleep(i32 noundef 5) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo4wn2r5l.c' source_filename = "/tmp/tmpo4wn2r5l.c" target datalayout = "e-m:e-p270: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/tmpo4wn2r5l.c" target datalayout = "e-m:e-p270: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/tmpxccagyl5.c' source_filename = "/tmp/tmpxccagyl5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Error: Invalid directory path.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @change_dir(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 @chdir(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 @printf(ptr noundef @.str) br label %10 10: ; preds = %8, %1 ret void } declare i32 @chdir(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxccagyl5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Error: Invalid directory path.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @change_dir(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 @chdir(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 @printf(ptr noundef @.str) br label %10 10: ; preds = %8, %1 ret void } declare i32 @chdir(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpio4j49ia.c' source_filename = "/tmp/tmpio4j49ia.c" target datalayout = "e-m:e-p270: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/tmpio4j49ia.c" target datalayout = "e-m:e-p270: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/tmp1iend41o.c' source_filename = "/tmp/tmp1iend41o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @func() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %1) %4 = load i32, ptr %1, align 4 %5 = call i64 @alloca(i32 noundef %4) %6 = inttoptr i64 %5 to ptr store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @gets(ptr noundef %7) %9 = load ptr, ptr %2, align 8 %10 = call i32 @printf(ptr noundef %9) ret void } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @alloca(i32 noundef) #1 declare i32 @gets(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1iend41o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @func() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %1) %4 = load i32, ptr %1, align 4 %5 = call i64 @alloca(i32 noundef %4) %6 = inttoptr i64 %5 to ptr store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @gets(ptr noundef %7) %9 = load ptr, ptr %2, align 8 %10 = call i32 @printf(ptr noundef %9) ret void } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @alloca(i32 noundef) #1 declare i32 @gets(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_dl_ftcn.c' source_filename = "/tmp/tmp_dl_ftcn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_dl_ftcn.c" target datalayout = "e-m:e-p270: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/tmpjrqivj7y.c' source_filename = "/tmp/tmpjrqivj7y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = getelementptr inbounds ptr, ptr %5, i64 1 %7 = load ptr, ptr %6, align 8 %8 = call i32 @strtod(ptr noundef %7, ptr noundef null) %9 = call i32 @log(i32 noundef %8) %10 = call i32 @log(i32 noundef 2) %11 = sdiv i32 %9, %10 %12 = add nsw i32 1, %11 %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @log(i32 noundef) #1 declare i32 @strtod(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/tmpjrqivj7y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = getelementptr inbounds ptr, ptr %5, i64 1 %7 = load ptr, ptr %6, align 8 %8 = call i32 @strtod(ptr noundef %7, ptr noundef null) %9 = call i32 @log(i32 noundef %8) %10 = call i32 @log(i32 noundef 2) %11 = sdiv i32 %9, %10 %12 = add nsw i32 1, %11 %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @log(i32 noundef) #1 declare i32 @strtod(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/tmpsqw200yu.c' source_filename = "/tmp/tmpsqw200yu.c" target datalayout = "e-m:e-p270: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.utsname = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_node_name() #0 { %1 = alloca %struct.utsname, align 4 %2 = call i32 @uname(ptr noundef %1) %3 = getelementptr inbounds %struct.utsname, ptr %1, i32 0, i32 0 %4 = load i32, ptr %3, align 4 %5 = call ptr @strdup(i32 noundef %4) ret ptr %5 } declare i32 @uname(ptr noundef) #1 declare ptr @strdup(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsqw200yu.c" target datalayout = "e-m:e-p270: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.utsname = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_node_name() #0 { %1 = alloca %struct.utsname, align 4 %2 = call i32 @uname(ptr noundef %1) %3 = getelementptr inbounds %struct.utsname, ptr %1, i32 0, i32 0 %4 = load i32, ptr %3, align 4 %5 = call ptr @strdup(i32 noundef %4) ret ptr %5 } declare i32 @uname(ptr noundef) #1 declare ptr @strdup(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfg96q0ag.c' source_filename = "/tmp/tmpfg96q0ag.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Fatal error: %s\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @die(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 @printf(ptr noundef @.str, ptr noundef %3) %5 = load i32, ptr @EXIT_FAILURE, align 4 %6 = call i32 @exit(i32 noundef %5) #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/tmpfg96q0ag.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Fatal error: %s\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @die(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 @printf(ptr noundef @.str, ptr noundef %3) %5 = load i32, ptr @EXIT_FAILURE, align 4 %6 = call i32 @exit(i32 noundef %5) #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/tmpz9p8bp6w.c' source_filename = "/tmp/tmpz9p8bp6w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @str_replace(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %15 = load ptr, ptr %5, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %20 17: ; preds = %3 %18 = load ptr, ptr %6, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %21, label %20 20: ; preds = %17, %3 store ptr null, ptr %4, align 8 br label %101 21: ; preds = %17 %22 = load ptr, ptr %6, align 8 %23 = call i32 @strlen(ptr noundef %22) store i32 %23, ptr %11, align 4 %24 = load i32, ptr %11, align 4 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %21 store ptr null, ptr %4, align 8 br label %101 27: ; preds = %21 %28 = load ptr, ptr %7, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %31, label %30 30: ; preds = %27 store ptr @.str, ptr %7, align 8 br label %31 31: ; preds = %30, %27 %32 = load ptr, ptr %7, align 8 %33 = call i32 @strlen(ptr noundef %32) store i32 %33, ptr %12, align 4 %34 = load ptr, ptr %5, align 8 store ptr %34, ptr %9, align 8 store i32 0, ptr %14, align 4 br label %35 35: ; preds = %45, %31 %36 = load ptr, ptr %9, align 8 %37 = load ptr, ptr %6, align 8 %38 = call ptr @strstr(ptr noundef %36, ptr noundef %37) store ptr %38, ptr %10, align 8 %39 = icmp ne ptr %38, null br i1 %39, label %40, label %48 40: ; preds = %35 %41 = load ptr, ptr %10, align 8 %42 = load i32, ptr %11, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 store ptr %44, ptr %9, align 8 br label %45 45: ; preds = %40 %46 = load i32, ptr %14, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %14, align 4 br label %35, !llvm.loop !6 48: ; preds = %35 %49 = load ptr, ptr %5, align 8 %50 = call i32 @strlen(ptr noundef %49) %51 = load i32, ptr %12, align 4 %52 = load i32, ptr %11, align 4 %53 = sub nsw i32 %51, %52 %54 = load i32, ptr %14, align 4 %55 = mul nsw i32 %53, %54 %56 = add nsw i32 %50, %55 %57 = add nsw i32 %56, 1 %58 = call ptr @malloc(i32 noundef %57) store ptr %58, ptr %8, align 8 store ptr %58, ptr %10, align 8 %59 = load ptr, ptr %8, align 8 %60 = icmp ne ptr %59, null br i1 %60, label %62, label %61 61: ; preds = %48 store ptr null, ptr %4, align 8 br label %101 62: ; preds = %48 br label %63 63: ; preds = %67, %62 %64 = load i32, ptr %14, align 4 %65 = add nsw i32 %64, -1 store i32 %65, ptr %14, align 4 %66 = icmp ne i32 %64, 0 br i1 %66, label %67, label %96 67: ; preds = %63 %68 = load ptr, ptr %5, align 8 %69 = load ptr, ptr %6, align 8 %70 = call ptr @strstr(ptr noundef %68, ptr noundef %69) store ptr %70, ptr %9, align 8 %71 = load ptr, ptr %9, align 8 %72 = load ptr, ptr %5, align 8 %73 = ptrtoint ptr %71 to i64 %74 = ptrtoint ptr %72 to i64 %75 = sub i64 %73, %74 %76 = trunc i64 %75 to i32 store i32 %76, ptr %13, align 4 %77 = load ptr, ptr %10, align 8 %78 = load ptr, ptr %5, align 8 %79 = load i32, ptr %13, align 4 %80 = call ptr @strncpy(ptr noundef %77, ptr noundef %78, i32 noundef %79) %81 = load i32, ptr %13, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i8, ptr %80, i64 %82 store ptr %83, ptr %10, align 8 %84 = load ptr, ptr %10, align 8 %85 = load ptr, ptr %7, align 8 %86 = call ptr @strcpy(ptr noundef %84, ptr noundef %85) %87 = load i32, ptr %12, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i8, ptr %86, i64 %88 store ptr %89, ptr %10, align 8 %90 = load i32, ptr %13, align 4 %91 = load i32, ptr %11, align 4 %92 = add nsw i32 %90, %91 %93 = load ptr, ptr %5, align 8 %94 = sext i32 %92 to i64 %95 = getelementptr inbounds i8, ptr %93, i64 %94 store ptr %95, ptr %5, align 8 br label %63, !llvm.loop !8 96: ; preds = %63 %97 = load ptr, ptr %10, align 8 %98 = load ptr, ptr %5, align 8 %99 = call ptr @strcpy(ptr noundef %97, ptr noundef %98) %100 = load ptr, ptr %8, align 8 store ptr %100, ptr %4, align 8 br label %101 101: ; preds = %96, %61, %26, %20 %102 = load ptr, ptr %4, align 8 ret ptr %102 } declare i32 @strlen(ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare ptr @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz9p8bp6w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @str_replace(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %15 = load ptr, ptr %5, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %20 17: ; preds = %3 %18 = load ptr, ptr %6, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %21, label %20 20: ; preds = %17, %3 store ptr null, ptr %4, align 8 br label %106 21: ; preds = %17 %22 = load ptr, ptr %6, align 8 %23 = call i32 @strlen(ptr noundef %22) store i32 %23, ptr %11, align 4 %24 = load i32, ptr %11, align 4 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %21 store ptr null, ptr %4, align 8 br label %106 27: ; preds = %21 %28 = load ptr, ptr %7, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %31, label %30 30: ; preds = %27 store ptr @.str, ptr %7, align 8 br label %31 31: ; preds = %30, %27 %32 = load ptr, ptr %7, align 8 %33 = call i32 @strlen(ptr noundef %32) store i32 %33, ptr %12, align 4 %34 = load ptr, ptr %5, align 8 store ptr %34, ptr %9, align 8 store i32 0, ptr %14, align 4 %35 = load ptr, ptr %9, align 8 %36 = load ptr, ptr %6, align 8 %37 = call ptr @strstr(ptr noundef %35, ptr noundef %36) store ptr %37, ptr %10, align 8 %38 = icmp ne ptr %37, null br i1 %38, label %.lr.ph, label %51 .lr.ph: ; preds = %31 br label %39 39: ; preds = %.lr.ph, %44 %40 = load ptr, ptr %10, align 8 %41 = load i32, ptr %11, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 store ptr %43, ptr %9, align 8 br label %44 44: ; preds = %39 %45 = load i32, ptr %14, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %14, align 4 %47 = load ptr, ptr %9, align 8 %48 = load ptr, ptr %6, align 8 %49 = call ptr @strstr(ptr noundef %47, ptr noundef %48) store ptr %49, ptr %10, align 8 %50 = icmp ne ptr %49, null br i1 %50, label %39, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %44 br label %51 51: ; preds = %._crit_edge, %31 %52 = load ptr, ptr %5, align 8 %53 = call i32 @strlen(ptr noundef %52) %54 = load i32, ptr %12, align 4 %55 = load i32, ptr %11, align 4 %56 = sub nsw i32 %54, %55 %57 = load i32, ptr %14, align 4 %58 = mul nsw i32 %56, %57 %59 = add nsw i32 %53, %58 %60 = add nsw i32 %59, 1 %61 = call ptr @malloc(i32 noundef %60) store ptr %61, ptr %8, align 8 store ptr %61, ptr %10, align 8 %62 = load ptr, ptr %8, align 8 %63 = icmp ne ptr %62, null br i1 %63, label %65, label %64 64: ; preds = %51 store ptr null, ptr %4, align 8 br label %106 65: ; preds = %51 %66 = load i32, ptr %14, align 4 %67 = add nsw i32 %66, -1 store i32 %67, ptr %14, align 4 %68 = icmp ne i32 %66, 0 br i1 %68, label %.lr.ph2, label %101 .lr.ph2: ; preds = %65 br label %69 69: ; preds = %.lr.ph2, %69 %70 = load ptr, ptr %5, align 8 %71 = load ptr, ptr %6, align 8 %72 = call ptr @strstr(ptr noundef %70, ptr noundef %71) store ptr %72, ptr %9, align 8 %73 = load ptr, ptr %9, 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 = trunc i64 %77 to i32 store i32 %78, ptr %13, align 4 %79 = load ptr, ptr %10, align 8 %80 = load ptr, ptr %5, align 8 %81 = load i32, ptr %13, align 4 %82 = call ptr @strncpy(ptr noundef %79, ptr noundef %80, i32 noundef %81) %83 = load i32, ptr %13, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i8, ptr %82, i64 %84 store ptr %85, ptr %10, align 8 %86 = load ptr, ptr %10, align 8 %87 = load ptr, ptr %7, align 8 %88 = call ptr @strcpy(ptr noundef %86, ptr noundef %87) %89 = load i32, ptr %12, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds i8, ptr %88, i64 %90 store ptr %91, ptr %10, align 8 %92 = load i32, ptr %13, align 4 %93 = load i32, ptr %11, align 4 %94 = add nsw i32 %92, %93 %95 = load ptr, ptr %5, align 8 %96 = sext i32 %94 to i64 %97 = getelementptr inbounds i8, ptr %95, i64 %96 store ptr %97, ptr %5, align 8 %98 = load i32, ptr %14, align 4 %99 = add nsw i32 %98, -1 store i32 %99, ptr %14, align 4 %100 = icmp ne i32 %98, 0 br i1 %100, label %69, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %69 br label %101 101: ; preds = %._crit_edge3, %65 %102 = load ptr, ptr %10, align 8 %103 = load ptr, ptr %5, align 8 %104 = call ptr @strcpy(ptr noundef %102, ptr noundef %103) %105 = load ptr, ptr %8, align 8 store ptr %105, ptr %4, align 8 br label %106 106: ; preds = %101, %64, %26, %20 %107 = load ptr, ptr %4, align 8 ret ptr %107 } declare i32 @strlen(ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare ptr @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp2f58yr_r.c' source_filename = "/tmp/tmp2f58yr_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" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"#%02x%02x%02x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @output_color(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = and i32 %6, 16711680 %8 = ashr i32 %7, 16 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = and i32 %9, 65280 %11 = ashr i32 %10, 8 store i32 %11, ptr %4, align 4 %12 = load i32, ptr %2, align 4 %13 = and i32 %12, 255 store i32 %13, ptr %5, align 4 %14 = load i32, ptr @stdout, align 4 %15 = load i32, ptr %3, align 4 %16 = and i32 %15, 255 %17 = load i32, ptr %4, align 4 %18 = and i32 %17, 255 %19 = load i32, ptr %5, align 4 %20 = and i32 %19, 255 %21 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, i32 noundef %16, i32 noundef %18, i32 noundef %20) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2f58yr_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" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"#%02x%02x%02x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @output_color(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = and i32 %6, 16711680 %8 = ashr i32 %7, 16 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = and i32 %9, 65280 %11 = ashr i32 %10, 8 store i32 %11, ptr %4, align 4 %12 = load i32, ptr %2, align 4 %13 = and i32 %12, 255 store i32 %13, ptr %5, align 4 %14 = load i32, ptr @stdout, align 4 %15 = load i32, ptr %3, align 4 %16 = and i32 %15, 255 %17 = load i32, ptr %4, align 4 %18 = and i32 %17, 255 %19 = load i32, ptr %5, align 4 %20 = and i32 %19, 255 %21 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, i32 noundef %16, i32 noundef %18, i32 noundef %20) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4f9kj52k.c' source_filename = "/tmp/tmp4f9kj52k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 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 = load ptr, ptr %5, align 8 %8 = call i32 @gmx_hydorder(i32 noundef %6, ptr noundef %7) ret i32 0 } declare i32 @gmx_hydorder(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/tmp4f9kj52k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 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 = load ptr, ptr %5, align 8 %8 = call i32 @gmx_hydorder(i32 noundef %6, ptr noundef %7) ret i32 0 } declare i32 @gmx_hydorder(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"}