llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmppdaev7fh.c' source_filename = "/tmp/tmppdaev7fh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"tiencr version %d.%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"arguments:\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"i - specifies input file\0A\00", align 1 @.str.3 = private unnamed_addr constant [71 x i8] c"d - decrypt the specified input file(default option and not required)\0A\00", align 1 @.str.4 = private unnamed_addr constant [38 x i8] c"e - encrypt the specified input file\0A\00", align 1 @.str.5 = private unnamed_addr constant [77 x i8] c"o - output file destination(defaults to input file name + .encr at the end)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage() #0 { %1 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 0, i32 noundef 1) %2 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppdaev7fh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"tiencr version %d.%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"arguments:\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"i - specifies input file\0A\00", align 1 @.str.3 = private unnamed_addr constant [71 x i8] c"d - decrypt the specified input file(default option and not required)\0A\00", align 1 @.str.4 = private unnamed_addr constant [38 x i8] c"e - encrypt the specified input file\0A\00", align 1 @.str.5 = private unnamed_addr constant [77 x i8] c"o - output file destination(defaults to input file name + .encr at the end)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage() #0 { %1 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 0, i32 noundef 1) %2 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %3 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeau0lshp.c' source_filename = "/tmp/tmpeau0lshp.c" target datalayout = "e-m:e-p270: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/tmpeau0lshp.c" target datalayout = "e-m:e-p270: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/tmpz06kp2s5.c' source_filename = "/tmp/tmpz06kp2s5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"My pid is %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1 @SIGINT = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [6 x i8] c"Done!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @getpid() %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) store i32 60, ptr %2, align 4 br label %5 5: ; preds = %17, %0 %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %6, -1 store i32 %7, ptr %2, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %19 9: ; preds = %5 %10 = call i32 @write(i32 noundef 1, ptr noundef @.str.1, i32 noundef 1) %11 = load i32, ptr %2, align 4 %12 = icmp eq i32 %11, 55 br i1 %12, label %13, label %17 13: ; preds = %9 %14 = call i32 (...) @getpid() %15 = load i32, ptr @SIGINT, align 4 %16 = call i32 @kill(i32 noundef %14, i32 noundef %15) br label %17 17: ; preds = %13, %9 %18 = call i32 @sleep(i32 noundef 1) br label %5, !llvm.loop !6 19: ; preds = %5 %20 = call i32 @write(i32 noundef 1, ptr noundef @.str.2, i32 noundef 5) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @kill(i32 noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz06kp2s5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"My pid is %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1 @SIGINT = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [6 x i8] c"Done!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @getpid() %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) store i32 60, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = add nsw i32 %5, -1 store i32 %6, ptr %2, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %.lr.ph, label %21 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %16 %9 = call i32 @write(i32 noundef 1, ptr noundef @.str.1, i32 noundef 1) %10 = load i32, ptr %2, align 4 %11 = icmp eq i32 %10, 55 br i1 %11, label %12, label %16 12: ; preds = %8 %13 = call i32 (...) @getpid() %14 = load i32, ptr @SIGINT, align 4 %15 = call i32 @kill(i32 noundef %13, i32 noundef %14) br label %16 16: ; preds = %12, %8 %17 = call i32 @sleep(i32 noundef 1) %18 = load i32, ptr %2, align 4 %19 = add nsw i32 %18, -1 store i32 %19, ptr %2, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %0 %22 = call i32 @write(i32 noundef 1, ptr noundef @.str.2, i32 noundef 5) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @kill(i32 noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpwxkjhqn4.c' source_filename = "/tmp/tmpwxkjhqn4.c" target datalayout = "e-m:e-p270: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/tmpwxkjhqn4.c" target datalayout = "e-m:e-p270: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/tmpxpoogmpi.c' source_filename = "/tmp/tmpxpoogmpi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pvSetCCDTemperatureRaw(i8 noundef signext %0, i8 noundef signext %1) #0 { %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i8 %0, ptr %3, align 1 store i8 %1, ptr %4, align 1 %5 = call i32 @notify_pvcall(ptr noundef @.str) ret i32 0 } declare i32 @notify_pvcall(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxpoogmpi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pvSetCCDTemperatureRaw(i8 noundef signext %0, i8 noundef signext %1) #0 { %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i8 %0, ptr %3, align 1 store i8 %1, ptr %4, align 1 %5 = call i32 @notify_pvcall(ptr noundef @.str) ret i32 0 } declare i32 @notify_pvcall(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbe0sd62i.c' source_filename = "/tmp/tmpbe0sd62i.c" target datalayout = "e-m:e-p270: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/tmpbe0sd62i.c" target datalayout = "e-m:e-p270: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/tmp19fvgxya.c' source_filename = "/tmp/tmp19fvgxya.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"Test passed. Failed doubling NULL, NULL\0A\00", align 1 @.str.1 = private unnamed_addr constant [46 x i8] c"Uh-oh, doubler(NULL, NULL) set result to: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [44 x i8] c"Test passed. Failed doubling NULL, &result\0A\00", align 1 @.str.3 = private unnamed_addr constant [49 x i8] c"Uh-oh, doubler(NULL, &result) set result to: %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [43 x i8] c"Test passed. Failed doubling &value, NULL\0A\00", align 1 @.str.5 = private unnamed_addr constant [48 x i8] c"Uh-oh, doubler(&value, NULL) set result to: %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [54 x i8] c"Uh-oh, doubler(&value, &result) returned error code.\0A\00", align 1 @.str.7 = private unnamed_addr constant [70 x i8] c"Test passed. doubler(&value, &result) where value was %d gave us: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 13, ptr %3, align 4 %5 = call i32 @doubler(ptr noundef null, ptr noundef null) store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %13 10: ; preds = %0 %11 = load i32, ptr %4, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11) br label %13 13: ; preds = %10, %8 %14 = call i32 @doubler(ptr noundef null, ptr noundef %4) store i32 %14, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %13 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %22 19: ; preds = %13 %20 = load i32, ptr %4, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %20) br label %22 22: ; preds = %19, %17 %23 = call i32 @doubler(ptr noundef %3, ptr noundef null) store i32 %23, ptr %2, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %31 28: ; preds = %22 %29 = load i32, ptr %4, align 4 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %29) br label %31 31: ; preds = %28, %26 %32 = call i32 @doubler(ptr noundef %3, ptr noundef %4) store i32 %32, ptr %2, align 4 %33 = load i32, ptr %2, align 4 %34 = icmp ne i32 %33, 0 br i1 %34, label %35, label %37 35: ; preds = %31 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %41 37: ; preds = %31 %38 = load i32, ptr %3, align 4 %39 = load i32, ptr %4, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %38, i32 noundef %39) br label %41 41: ; preds = %37, %35 ret i32 0 } declare i32 @doubler(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp19fvgxya.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"Test passed. Failed doubling NULL, NULL\0A\00", align 1 @.str.1 = private unnamed_addr constant [46 x i8] c"Uh-oh, doubler(NULL, NULL) set result to: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [44 x i8] c"Test passed. Failed doubling NULL, &result\0A\00", align 1 @.str.3 = private unnamed_addr constant [49 x i8] c"Uh-oh, doubler(NULL, &result) set result to: %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [43 x i8] c"Test passed. Failed doubling &value, NULL\0A\00", align 1 @.str.5 = private unnamed_addr constant [48 x i8] c"Uh-oh, doubler(&value, NULL) set result to: %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [54 x i8] c"Uh-oh, doubler(&value, &result) returned error code.\0A\00", align 1 @.str.7 = private unnamed_addr constant [70 x i8] c"Test passed. doubler(&value, &result) where value was %d gave us: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 13, ptr %3, align 4 %5 = call i32 @doubler(ptr noundef null, ptr noundef null) store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %13 10: ; preds = %0 %11 = load i32, ptr %4, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11) br label %13 13: ; preds = %10, %8 %14 = call i32 @doubler(ptr noundef null, ptr noundef %4) store i32 %14, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %13 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %22 19: ; preds = %13 %20 = load i32, ptr %4, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %20) br label %22 22: ; preds = %19, %17 %23 = call i32 @doubler(ptr noundef %3, ptr noundef null) store i32 %23, ptr %2, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %31 28: ; preds = %22 %29 = load i32, ptr %4, align 4 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %29) br label %31 31: ; preds = %28, %26 %32 = call i32 @doubler(ptr noundef %3, ptr noundef %4) store i32 %32, ptr %2, align 4 %33 = load i32, ptr %2, align 4 %34 = icmp ne i32 %33, 0 br i1 %34, label %35, label %37 35: ; preds = %31 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %41 37: ; preds = %31 %38 = load i32, ptr %3, align 4 %39 = load i32, ptr %4, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %38, i32 noundef %39) br label %41 41: ; preds = %37, %35 ret i32 0 } declare i32 @doubler(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpowdmh46k.c' source_filename = "/tmp/tmpowdmh46k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @allocate(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %2 %8 = load i64, ptr %4, align 8 %9 = call ptr @malloc(i64 noundef %8) #4 br label %14 10: ; preds = %2 %11 = load ptr, ptr %3, align 8 %12 = load i64, ptr %4, align 8 %13 = call ptr @realloc(ptr noundef %11, i64 noundef %12) #5 br label %14 14: ; preds = %10, %7 %15 = phi ptr [ %9, %7 ], [ %13, %10 ] store ptr %15, ptr %3, align 8 %16 = load ptr, ptr %3, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %20 18: ; preds = %14 %19 = call i32 @fatal(i32 noundef 0) br label %20 20: ; preds = %18, %14 %21 = load ptr, ptr %3, align 8 ret ptr %21 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #2 declare i32 @fatal(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { allocsize(1) "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(0) } attributes #5 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpowdmh46k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @allocate(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %2 %8 = load i64, ptr %4, align 8 %9 = call ptr @malloc(i64 noundef %8) #4 br label %14 10: ; preds = %2 %11 = load ptr, ptr %3, align 8 %12 = load i64, ptr %4, align 8 %13 = call ptr @realloc(ptr noundef %11, i64 noundef %12) #5 br label %14 14: ; preds = %10, %7 %15 = phi ptr [ %9, %7 ], [ %13, %10 ] store ptr %15, ptr %3, align 8 %16 = load ptr, ptr %3, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %20 18: ; preds = %14 %19 = call i32 @fatal(i32 noundef 0) br label %20 20: ; preds = %18, %14 %21 = load ptr, ptr %3, align 8 ret ptr %21 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #2 declare i32 @fatal(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { allocsize(1) "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(0) } attributes #5 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr5yrsg__.c' source_filename = "/tmp/tmpr5yrsg__.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DST_ACGetPtableIndex(i64 noundef %0, i32 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i64 %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i64, ptr %3, align 8 %7 = call i32 @labs(i64 noundef %6) %8 = ashr i32 %7, 3 store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp sge i32 %9, %10 br i1 %11, label %12, label %15 12: ; preds = %2 %13 = load i32, ptr %4, align 4 %14 = sub nsw i32 %13, 1 store i32 %14, ptr %5, align 4 br label %15 15: ; preds = %12, %2 %16 = load i32, ptr %5, align 4 ret i32 %16 } declare i32 @labs(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/tmpr5yrsg__.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DST_ACGetPtableIndex(i64 noundef %0, i32 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i64 %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i64, ptr %3, align 8 %7 = call i32 @labs(i64 noundef %6) %8 = ashr i32 %7, 3 store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp sge i32 %9, %10 br i1 %11, label %12, label %15 12: ; preds = %2 %13 = load i32, ptr %4, align 4 %14 = sub nsw i32 %13, 1 store i32 %14, ptr %5, align 4 br label %15 15: ; preds = %12, %2 %16 = load i32, ptr %5, align 4 ret i32 %16 } declare i32 @labs(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/tmpwh9s4s8e.c' source_filename = "/tmp/tmpwh9s4s8e.c" target datalayout = "e-m:e-p270: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/tmpwh9s4s8e.c" target datalayout = "e-m:e-p270: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/tmpp3es60wy.c' source_filename = "/tmp/tmpp3es60wy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readlines(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca [1000 x i8], align 16 %12 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %13 = load ptr, ptr %6, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 5000000 store ptr %14, ptr %12, align 8 store i32 0, ptr %9, align 4 br label %15 15: ; preds = %49, %3 %16 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 0 %17 = call i32 @get_line(ptr noundef %16, i32 noundef 1000) store i32 %17, ptr %8, align 4 %18 = icmp sgt i32 %17, 0 br i1 %18, label %19, label %50 19: ; preds = %15 %20 = load i32, ptr %9, align 4 %21 = load i32, ptr %7, align 4 %22 = icmp sge i32 %20, %21 br i1 %22, label %30, label %23 23: ; preds = %19 %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr %8, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load ptr, ptr %12, align 8 %29 = icmp uge ptr %27, %28 br i1 %29, label %30, label %31 30: ; preds = %23, %19 store i32 -1, ptr %4, align 4 br label %52 31: ; preds = %23 %32 = load i32, ptr %8, align 4 %33 = sub nsw i32 %32, 1 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 %34 store i8 0, ptr %35, align 1 %36 = load ptr, ptr %6, align 8 %37 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 0 %38 = call i32 @strcpy(ptr noundef %36, ptr noundef %37) %39 = load ptr, ptr %6, align 8 %40 = load ptr, ptr %5, align 8 %41 = load i32, ptr %9, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %9, align 4 %43 = sext i32 %41 to i64 %44 = getelementptr inbounds ptr, ptr %40, i64 %43 store ptr %39, ptr %44, align 8 %45 = load i32, ptr %8, align 4 %46 = load ptr, ptr %6, align 8 %47 = sext i32 %45 to i64 %48 = getelementptr inbounds i8, ptr %46, i64 %47 store ptr %48, ptr %6, align 8 br label %49 49: ; preds = %31 br label %15, !llvm.loop !6 50: ; preds = %15 %51 = load i32, ptr %9, align 4 store i32 %51, ptr %4, align 4 br label %52 52: ; preds = %50, %30 %53 = load i32, ptr %4, align 4 ret i32 %53 } declare i32 @get_line(ptr noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp3es60wy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readlines(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca [1000 x i8], align 16 %12 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %13 = load ptr, ptr %6, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 5000000 store ptr %14, ptr %12, align 8 store i32 0, ptr %9, align 4 %15 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 0 %16 = call i32 @get_line(ptr noundef %15, i32 noundef 1000) store i32 %16, ptr %8, align 4 %17 = icmp sgt i32 %16, 0 br i1 %17, label %.lr.ph, label %51 .lr.ph: ; preds = %3 br label %18 18: ; preds = %.lr.ph, %48 %19 = load i32, ptr %9, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp sge i32 %19, %20 br i1 %21, label %29, label %22 22: ; preds = %18 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %8, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load ptr, ptr %12, align 8 %28 = icmp uge ptr %26, %27 br i1 %28, label %29, label %30 29: ; preds = %22, %18 store i32 -1, ptr %4, align 4 br label %53 30: ; preds = %22 %31 = load i32, ptr %8, align 4 %32 = sub nsw i32 %31, 1 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 %33 store i8 0, ptr %34, align 1 %35 = load ptr, ptr %6, align 8 %36 = getelementptr inbounds [1000 x i8], ptr %11, i64 0, i64 0 %37 = call i32 @strcpy(ptr noundef %35, ptr noundef %36) %38 = load ptr, ptr %6, align 8 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %9, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %9, align 4 %42 = sext i32 %40 to i64 %43 = getelementptr inbounds ptr, ptr %39, i64 %42 store ptr %38, ptr %43, align 8 %44 = load i32, ptr %8, align 4 %45 = load ptr, ptr %6, align 8 %46 = sext i32 %44 to i64 %47 = getelementptr inbounds i8, ptr %45, i64 %46 store ptr %47, ptr %6, align 8 br label %48 48: ; preds = %30 %49 = call i32 @get_line(ptr noundef %15, i32 noundef 1000) store i32 %49, ptr %8, align 4 %50 = icmp sgt i32 %49, 0 br i1 %50, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %48 br label %51 51: ; preds = %._crit_edge, %3 %52 = load i32, ptr %9, align 4 store i32 %52, ptr %4, align 4 br label %53 53: ; preds = %51, %29 %54 = load i32, ptr %4, align 4 ret i32 %54 } declare i32 @get_line(ptr noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnz9bo641.c' source_filename = "/tmp/tmpnz9bo641.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_run() #0 { %1 = call i32 (...) @Test_DirWalker() ret void } declare i32 @Test_DirWalker(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnz9bo641.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_run() #0 { %1 = call i32 (...) @Test_DirWalker() ret void } declare i32 @Test_DirWalker(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdpdec1w3.c' source_filename = "/tmp/tmpdpdec1w3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.dirent = type { i32 } @.str = private unnamed_addr constant [14 x i8] c"/proc/%d/task\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @find_task_pids(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca [256 x i8], align 16 %12 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %13 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %14 = load i32, ptr %4, align 4 %15 = call i32 @sprintf(ptr noundef %13, ptr noundef @.str, i32 noundef %14) %16 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %17 = call ptr @opendir(ptr noundef %16) store ptr %17, ptr %7, align 8 %18 = load ptr, ptr %7, align 8 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %21 20: ; preds = %2 store i32 -1, ptr %3, align 4 br label %54 21: ; preds = %2 br label %22 22: ; preds = %49, %21 %23 = load ptr, ptr %7, align 8 %24 = call ptr @readdir(ptr noundef %23) store ptr %24, ptr %6, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %29 26: ; preds = %22 %27 = load i32, ptr %9, align 4 %28 = icmp slt i32 %27, 255 br label %29 29: ; preds = %26, %22 %30 = phi i1 [ false, %22 ], [ %28, %26 ] br i1 %30, label %31, label %50 31: ; preds = %29 %32 = load ptr, ptr %6, align 8 %33 = getelementptr inbounds %struct.dirent, ptr %32, i32 0, i32 0 %34 = load i32, ptr %33, align 4 %35 = call i32 @atoi(i32 noundef %34) store i32 %35, ptr %12, align 4 %36 = load i32, ptr %12, align 4 %37 = icmp sgt i32 %36, 0 br i1 %37, label %38, label %49 38: ; preds = %31 %39 = load i32, ptr %12, align 4 %40 = load i32, ptr %4, align 4 %41 = icmp ne i32 %39, %40 br i1 %41, label %42, label %49 42: ; preds = %38 %43 = load i32, ptr %12, align 4 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr %9, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %9, align 4 %47 = sext i32 %45 to i64 %48 = getelementptr inbounds i32, ptr %44, i64 %47 store i32 %43, ptr %48, align 4 br label %49 49: ; preds = %42, %38, %31 br label %22, !llvm.loop !6 50: ; preds = %29 %51 = load ptr, ptr %7, align 8 %52 = call i32 @closedir(ptr noundef %51) %53 = load i32, ptr %9, align 4 store i32 %53, ptr %3, align 4 br label %54 54: ; preds = %50, %20 %55 = load i32, ptr %3, align 4 ret i32 %55 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @opendir(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 declare i32 @atoi(i32 noundef) #1 declare i32 @closedir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpdpdec1w3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.dirent = type { i32 } @.str = private unnamed_addr constant [14 x i8] c"/proc/%d/task\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @find_task_pids(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca [256 x i8], align 16 %12 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %13 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %14 = load i32, ptr %4, align 4 %15 = call i32 @sprintf(ptr noundef %13, ptr noundef @.str, i32 noundef %14) %16 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %17 = call ptr @opendir(ptr noundef %16) store ptr %17, ptr %7, align 8 %18 = load ptr, ptr %7, align 8 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %21 20: ; preds = %2 store i32 -1, ptr %3, align 4 br label %54 21: ; preds = %2 br label %22 22: ; preds = %49, %21 %23 = load ptr, ptr %7, align 8 %24 = call ptr @readdir(ptr noundef %23) store ptr %24, ptr %6, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %29 26: ; preds = %22 %27 = load i32, ptr %9, align 4 %28 = icmp slt i32 %27, 255 br label %29 29: ; preds = %26, %22 %30 = phi i1 [ false, %22 ], [ %28, %26 ] br i1 %30, label %31, label %50 31: ; preds = %29 %32 = load ptr, ptr %6, align 8 %33 = getelementptr inbounds %struct.dirent, ptr %32, i32 0, i32 0 %34 = load i32, ptr %33, align 4 %35 = call i32 @atoi(i32 noundef %34) store i32 %35, ptr %12, align 4 %36 = load i32, ptr %12, align 4 %37 = icmp sgt i32 %36, 0 br i1 %37, label %38, label %49 38: ; preds = %31 %39 = load i32, ptr %12, align 4 %40 = load i32, ptr %4, align 4 %41 = icmp ne i32 %39, %40 br i1 %41, label %42, label %49 42: ; preds = %38 %43 = load i32, ptr %12, align 4 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr %9, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %9, align 4 %47 = sext i32 %45 to i64 %48 = getelementptr inbounds i32, ptr %44, i64 %47 store i32 %43, ptr %48, align 4 br label %49 49: ; preds = %42, %38, %31 br label %22, !llvm.loop !6 50: ; preds = %29 %51 = load ptr, ptr %7, align 8 %52 = call i32 @closedir(ptr noundef %51) %53 = load i32, ptr %9, align 4 store i32 %53, ptr %3, align 4 br label %54 54: ; preds = %50, %20 %55 = load i32, ptr %3, align 4 ret i32 %55 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @opendir(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 declare i32 @atoi(i32 noundef) #1 declare i32 @closedir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpmx13tyuf.c' source_filename = "/tmp/tmpmx13tyuf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_next_char(i8 noundef signext %0, ptr noalias noundef %1) #0 { %3 = alloca i8, align 1 %4 = alloca i8, align 1 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store i8 %0, ptr %4, align 1 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i64 @strnlen(ptr noundef %8, i32 noundef 98) store i64 %9, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %10 10: ; preds = %33, %2 %11 = load i32, ptr %7, align 4 %12 = zext i32 %11 to i64 %13 = load i64, ptr %6, align 8 %14 = icmp ult i64 %12, %13 br i1 %14, label %15, label %36 15: ; preds = %10 %16 = load i8, ptr %4, align 1 %17 = sext i8 %16 to i32 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %7, align 4 %20 = zext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %17, %23 br i1 %24, label %25, label %32 25: ; preds = %15 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %7, align 4 %28 = add i32 %27, 1 %29 = zext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %26, i64 %29 %31 = load i8, ptr %30, align 1 store i8 %31, ptr %3, align 1 br label %37 32: ; preds = %15 br label %33 33: ; preds = %32 %34 = load i32, ptr %7, align 4 %35 = add i32 %34, 1 store i32 %35, ptr %7, align 4 br label %10, !llvm.loop !6 36: ; preds = %10 store i8 0, ptr %3, align 1 br label %37 37: ; preds = %36, %25 %38 = load i8, ptr %3, align 1 ret i8 %38 } declare i64 @strnlen(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/tmpmx13tyuf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_next_char(i8 noundef signext %0, ptr noalias noundef %1) #0 { %3 = alloca i8, align 1 %4 = alloca i8, align 1 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store i8 %0, ptr %4, align 1 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i64 @strnlen(ptr noundef %8, i32 noundef 98) store i64 %9, ptr %6, align 8 store i32 0, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = zext i32 %10 to i64 %12 = load i64, ptr %6, align 8 %13 = icmp ult i64 %11, %12 br i1 %13, label %.lr.ph, label %39 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %32 %15 = load i8, ptr %4, align 1 %16 = sext i8 %15 to i32 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %7, align 4 %19 = zext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %16, %22 br i1 %23, label %24, label %31 24: ; preds = %14 %25 = load ptr, ptr %5, align 8 %26 = load i32, ptr %7, align 4 %27 = add i32 %26, 1 %28 = zext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %25, i64 %28 %30 = load i8, ptr %29, align 1 store i8 %30, ptr %3, align 1 br label %40 31: ; preds = %14 br label %32 32: ; preds = %31 %33 = load i32, ptr %7, align 4 %34 = add i32 %33, 1 store i32 %34, ptr %7, align 4 %35 = load i32, ptr %7, align 4 %36 = zext i32 %35 to i64 %37 = load i64, ptr %6, align 8 %38 = icmp ult i64 %36, %37 br i1 %38, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %39 39: ; preds = %._crit_edge, %2 store i8 0, ptr %3, align 1 br label %40 40: ; preds = %39, %24 %41 = load i8, ptr %3, align 1 ret i8 %41 } declare i64 @strnlen(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/tmpn3fcedfu.c' source_filename = "/tmp/tmpn3fcedfu.c" target datalayout = "e-m:e-p270: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/tmpn3fcedfu.c" target datalayout = "e-m:e-p270: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/tmpx_j8bbi6.c' source_filename = "/tmp/tmpx_j8bbi6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @log_dmp_callback_console(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 void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx_j8bbi6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @log_dmp_callback_console(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 void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp86443_3d.c' source_filename = "/tmp/tmp86443_3d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @arikkei_memcpy(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %10 = load i32, ptr %8, align 4 store i32 %10, ptr %9, align 4 %11 = load i32, ptr %9, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp ugt i32 %11, %12 br i1 %13, label %14, label %16 14: ; preds = %4 %15 = load i32, ptr %6, align 4 store i32 %15, ptr %9, align 4 br label %16 16: ; preds = %14, %4 %17 = load i32, ptr %9, align 4 %18 = icmp ugt i32 %17, 0 br i1 %18, label %19, label %27 19: ; preds = %16 %20 = load ptr, ptr %5, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %22, label %27 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load ptr, ptr %7, align 8 %25 = load i32, ptr %9, align 4 %26 = call i32 @memcpy(ptr noundef %23, ptr noundef %24, i32 noundef %25) br label %27 27: ; preds = %22, %19, %16 %28 = load i32, ptr %8, align 4 ret i32 %28 } 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/tmp86443_3d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @arikkei_memcpy(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %10 = load i32, ptr %8, align 4 store i32 %10, ptr %9, align 4 %11 = load i32, ptr %9, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp ugt i32 %11, %12 br i1 %13, label %14, label %16 14: ; preds = %4 %15 = load i32, ptr %6, align 4 store i32 %15, ptr %9, align 4 br label %16 16: ; preds = %14, %4 %17 = load i32, ptr %9, align 4 %18 = icmp ugt i32 %17, 0 br i1 %18, label %19, label %27 19: ; preds = %16 %20 = load ptr, ptr %5, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %22, label %27 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load ptr, ptr %7, align 8 %25 = load i32, ptr %9, align 4 %26 = call i32 @memcpy(ptr noundef %23, ptr noundef %24, i32 noundef %25) br label %27 27: ; preds = %22, %19, %16 %28 = load i32, ptr %8, align 4 ret i32 %28 } 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/tmpko75hs_4.c' source_filename = "/tmp/tmpko75hs_4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mem_chr(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i64 %2, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 store ptr %9, ptr %8, align 8 br label %10 10: ; preds = %24, %3 %11 = load i64, ptr %7, align 8 %12 = add i64 %11, -1 store i64 %12, ptr %7, align 8 %13 = icmp ne i64 %11, 0 br i1 %13, label %14, label %27 14: ; preds = %10 %15 = load ptr, ptr %8, align 8 %16 = load i8, ptr %15, align 1 %17 = zext i8 %16 to i32 %18 = load i32, ptr %6, align 4 %19 = trunc i32 %18 to i8 %20 = zext i8 %19 to i32 %21 = icmp eq i32 %17, %20 br i1 %21, label %22, label %24 22: ; preds = %14 %23 = load ptr, ptr %8, align 8 store ptr %23, ptr %4, align 8 br label %28 24: ; preds = %14 %25 = load ptr, ptr %8, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %8, align 8 br label %10, !llvm.loop !6 27: ; preds = %10 store ptr null, ptr %4, align 8 br label %28 28: ; preds = %27, %22 %29 = load ptr, ptr %4, align 8 ret ptr %29 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpko75hs_4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mem_chr(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i64 %2, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 store ptr %9, ptr %8, align 8 %10 = load i64, ptr %7, align 8 %11 = add i64 %10, -1 store i64 %11, ptr %7, align 8 %12 = icmp ne i64 %10, 0 br i1 %12, label %.lr.ph, label %29 .lr.ph: ; preds = %3 br label %13 13: ; preds = %.lr.ph, %23 %14 = load ptr, ptr %8, align 8 %15 = load i8, ptr %14, align 1 %16 = zext i8 %15 to i32 %17 = load i32, ptr %6, align 4 %18 = trunc i32 %17 to i8 %19 = zext i8 %18 to i32 %20 = icmp eq i32 %16, %19 br i1 %20, label %21, label %23 21: ; preds = %13 %22 = load ptr, ptr %8, align 8 store ptr %22, ptr %4, align 8 br label %30 23: ; preds = %13 %24 = load ptr, ptr %8, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %8, align 8 %26 = load i64, ptr %7, align 8 %27 = add i64 %26, -1 store i64 %27, ptr %7, align 8 %28 = icmp ne i64 %26, 0 br i1 %28, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %29 29: ; preds = %._crit_edge, %3 store ptr null, ptr %4, align 8 br label %30 30: ; preds = %29, %21 %31 = load ptr, ptr %4, align 8 ret ptr %31 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpwi8bc085.c' source_filename = "/tmp/tmpwi8bc085.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @data_init() #0 { %1 = alloca i32, align 4 %2 = call i64 (...) @compact_domains() %3 = icmp ne i64 %2, 0 br i1 %3, label %4, label %5 4: ; preds = %0 store i32 -1, ptr %1, align 4 br label %10 5: ; preds = %0 %6 = call i64 (...) @compact_conflicts() %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %5 store i32 -1, ptr %1, align 4 br label %10 9: ; preds = %5 store i32 0, ptr %1, align 4 br label %10 10: ; preds = %9, %8, %4 %11 = load i32, ptr %1, align 4 ret i32 %11 } declare i64 @compact_domains(...) #1 declare i64 @compact_conflicts(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwi8bc085.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @data_init() #0 { %1 = alloca i32, align 4 %2 = call i64 (...) @compact_domains() %3 = icmp ne i64 %2, 0 br i1 %3, label %4, label %5 4: ; preds = %0 store i32 -1, ptr %1, align 4 br label %10 5: ; preds = %0 %6 = call i64 (...) @compact_conflicts() %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %5 store i32 -1, ptr %1, align 4 br label %10 9: ; preds = %5 store i32 0, ptr %1, align 4 br label %10 10: ; preds = %9, %8, %4 %11 = load i32, ptr %1, align 4 ret i32 %11 } declare i64 @compact_domains(...) #1 declare i64 @compact_conflicts(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8qug19k9.c' source_filename = "/tmp/tmp8qug19k9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.a = private unnamed_addr constant [5 x i8] c"abcd\00", align 1 @.str = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [5 x i8], align 1 %2 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.main.a, i64 5, i1 false) store i32 3, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = sext i32 %3 to i64 %5 = getelementptr inbounds [5 x i8], ptr %1, i64 0, i64 %4 %6 = load i8, ptr %5, align 1 %7 = call i32 @printf(ptr noundef @.str, i8 noundef signext %6) %8 = load i32, ptr %2, align 4 %9 = sext i32 %8 to i64 %10 = inttoptr i64 %9 to ptr %11 = getelementptr inbounds [5 x i8], ptr %1, i64 0, i64 0 %12 = ptrtoint ptr %11 to i32 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %10, i64 %13 %15 = load i8, ptr %14, align 1 %16 = call i32 @printf(ptr noundef @.str, i8 noundef signext %15) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i8 noundef signext) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8qug19k9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.a = private unnamed_addr constant [5 x i8] c"abcd\00", align 1 @.str = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [5 x i8], align 1 %2 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.main.a, i64 5, i1 false) store i32 3, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = sext i32 %3 to i64 %5 = getelementptr inbounds [5 x i8], ptr %1, i64 0, i64 %4 %6 = load i8, ptr %5, align 1 %7 = call i32 @printf(ptr noundef @.str, i8 noundef signext %6) %8 = load i32, ptr %2, align 4 %9 = sext i32 %8 to i64 %10 = inttoptr i64 %9 to ptr %11 = getelementptr inbounds [5 x i8], ptr %1, i64 0, i64 0 %12 = ptrtoint ptr %11 to i32 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %10, i64 %13 %15 = load i8, ptr %14, align 1 %16 = call i32 @printf(ptr noundef @.str, i8 noundef signext %15) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i8 noundef signext) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprzhwk062.c' source_filename = "/tmp/tmprzhwk062.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello. What's your name?\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [13 x i8] c"Hi there, %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [20 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %9 = load i32, ptr @stdin, align 4 %10 = call i32 @fgets(ptr noundef %8, i32 noundef 20, i32 noundef %9) %11 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %11) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprzhwk062.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello. What's your name?\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [13 x i8] c"Hi there, %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [20 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %9 = load i32, ptr @stdin, align 4 %10 = call i32 @fgets(ptr noundef %8, i32 noundef 20, i32 noundef %9) %11 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %11) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa31v8fxg.c' source_filename = "/tmp/tmpa31v8fxg.c" target datalayout = "e-m:e-p270: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/tmpa31v8fxg.c" target datalayout = "e-m:e-p270: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/tmp9k6tv6mc.c' source_filename = "/tmp/tmp9k6tv6mc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%s:\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c" %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c" %04x \00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c" %02x\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hexdump(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 [17 x i8], align 16 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %10 = load ptr, ptr %4, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %3 %13 = load ptr, ptr %4, align 8 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %13) br label %15 15: ; preds = %12, %3 %16 = load ptr, ptr %5, align 8 store ptr %16, ptr %8, align 8 store i32 0, ptr %9, align 4 br label %17 17: ; preds = %78, %15 %18 = load i32, ptr %9, align 4 %19 = sext i32 %18 to i64 %20 = load i64, ptr %6, align 8 %21 = icmp ult i64 %19, %20 br i1 %21, label %22, label %81 22: ; preds = %17 %23 = load i32, ptr %9, align 4 %24 = srem i32 %23, 16 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %35 26: ; preds = %22 %27 = load i32, ptr %9, align 4 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %26 %30 = getelementptr inbounds [17 x i8], ptr %7, i64 0, i64 0 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %30) br label %32 32: ; preds = %29, %26 %33 = load i32, ptr %9, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %33) br label %35 35: ; preds = %32, %22 %36 = load ptr, ptr %8, align 8 %37 = load i32, ptr %9, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = load i8, ptr %39, align 1 %41 = zext i8 %40 to i32 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %41) %43 = load ptr, ptr %8, align 8 %44 = load i32, ptr %9, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 %47 = load i8, ptr %46, align 1 %48 = zext i8 %47 to i32 %49 = icmp slt i32 %48, 32 br i1 %49, label %58, label %50 50: ; preds = %35 %51 = load ptr, ptr %8, align 8 %52 = load i32, ptr %9, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 %55 = load i8, ptr %54, align 1 %56 = zext i8 %55 to i32 %57 = icmp sgt i32 %56, 126 br i1 %57, label %58, label %59 58: ; preds = %50, %35 br label %66 59: ; preds = %50 %60 = load ptr, ptr %8, align 8 %61 = load i32, ptr %9, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i8, ptr %60, i64 %62 %64 = load i8, ptr %63, align 1 %65 = zext i8 %64 to i32 br label %66 66: ; preds = %59, %58 %67 = phi i32 [ 46, %58 ], [ %65, %59 ] %68 = trunc i32 %67 to i8 %69 = load i32, ptr %9, align 4 %70 = srem i32 %69, 16 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [17 x i8], ptr %7, i64 0, i64 %71 store i8 %68, ptr %72, align 1 %73 = load i32, ptr %9, align 4 %74 = srem i32 %73, 16 %75 = add nsw i32 %74, 1 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [17 x i8], ptr %7, i64 0, i64 %76 store i8 0, ptr %77, align 1 br label %78 78: ; preds = %66 %79 = load i32, ptr %9, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %9, align 4 br label %17, !llvm.loop !6 81: ; preds = %17 br label %82 82: ; preds = %88, %81 %83 = load i32, ptr %9, align 4 %84 = srem i32 %83, 16 %85 = icmp ne i32 %84, 0 br i1 %85, label %86, label %91 86: ; preds = %82 %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %88 88: ; preds = %86 %89 = load i32, ptr %9, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %9, align 4 br label %82, !llvm.loop !8 91: ; preds = %82 %92 = getelementptr inbounds [17 x i8], ptr %7, i64 0, i64 0 %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %92) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9k6tv6mc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%s:\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c" %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c" %04x \00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c" %02x\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hexdump(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 [17 x i8], align 16 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %10 = load ptr, ptr %4, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %3 %13 = load ptr, ptr %4, align 8 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %13) br label %15 15: ; preds = %12, %3 %16 = load ptr, ptr %5, align 8 store ptr %16, ptr %8, align 8 store i32 0, ptr %9, align 4 %17 = load i32, ptr %9, align 4 %18 = sext i32 %17 to i64 %19 = load i64, ptr %6, align 8 %20 = icmp ult i64 %18, %19 br i1 %20, label %.lr.ph, label %84 .lr.ph: ; preds = %15 br label %21 21: ; preds = %.lr.ph, %77 %22 = load i32, ptr %9, align 4 %23 = srem i32 %22, 16 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %34 25: ; preds = %21 %26 = load i32, ptr %9, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %25 %29 = getelementptr inbounds [17 x i8], ptr %7, i64 0, i64 0 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %29) br label %31 31: ; preds = %28, %25 %32 = load i32, ptr %9, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %32) br label %34 34: ; preds = %31, %21 %35 = load ptr, ptr %8, align 8 %36 = load i32, ptr %9, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = zext i8 %39 to i32 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %40) %42 = load ptr, ptr %8, align 8 %43 = load i32, ptr %9, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i8, ptr %45, align 1 %47 = zext i8 %46 to i32 %48 = icmp slt i32 %47, 32 br i1 %48, label %57, label %49 49: ; preds = %34 %50 = load ptr, ptr %8, align 8 %51 = load i32, ptr %9, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 %54 = load i8, ptr %53, align 1 %55 = zext i8 %54 to i32 %56 = icmp sgt i32 %55, 126 br i1 %56, label %57, label %58 57: ; preds = %49, %34 br label %65 58: ; preds = %49 %59 = load ptr, ptr %8, align 8 %60 = load i32, ptr %9, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 %63 = load i8, ptr %62, align 1 %64 = zext i8 %63 to i32 br label %65 65: ; preds = %58, %57 %66 = phi i32 [ 46, %57 ], [ %64, %58 ] %67 = trunc i32 %66 to i8 %68 = load i32, ptr %9, align 4 %69 = srem i32 %68, 16 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [17 x i8], ptr %7, i64 0, i64 %70 store i8 %67, ptr %71, align 1 %72 = load i32, ptr %9, align 4 %73 = srem i32 %72, 16 %74 = add nsw i32 %73, 1 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [17 x i8], ptr %7, i64 0, i64 %75 store i8 0, ptr %76, align 1 br label %77 77: ; preds = %65 %78 = load i32, ptr %9, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %9, align 4 %80 = load i32, ptr %9, align 4 %81 = sext i32 %80 to i64 %82 = load i64, ptr %6, align 8 %83 = icmp ult i64 %81, %82 br i1 %83, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %77 br label %84 84: ; preds = %._crit_edge, %15 %85 = load i32, ptr %9, align 4 %86 = srem i32 %85, 16 %87 = icmp ne i32 %86, 0 br i1 %87, label %.lr.ph2, label %96 .lr.ph2: ; preds = %84 br label %88 88: ; preds = %.lr.ph2, %90 %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %90 90: ; preds = %88 %91 = load i32, ptr %9, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %9, align 4 %93 = load i32, ptr %9, align 4 %94 = srem i32 %93, 16 %95 = icmp ne i32 %94, 0 br i1 %95, label %88, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %90 br label %96 96: ; preds = %._crit_edge3, %84 %97 = getelementptr inbounds [17 x i8], ptr %7, i64 0, i64 0 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %97) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp08g0igta.c' source_filename = "/tmp/tmp08g0igta.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [52 x i8] c"Neil McGettigan\0A\0ACastleknock,\0ADublin 15\0A26/09/2012\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp08g0igta.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [52 x i8] c"Neil McGettigan\0A\0ACastleknock,\0ADublin 15\0A26/09/2012\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjtn9893e.c' source_filename = "/tmp/tmpjtn9893e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @subsamplingCal(i32 noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store double %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 %22 22: ; preds = %52, %4 %23 = load i32, ptr %9, align 4 %24 = load i32, ptr %5, align 4 %25 = add i32 %24, 1 %26 = icmp ult i32 %23, %25 br i1 %26, label %27, label %55 27: ; preds = %22 %28 = load i32, ptr %9, align 4 %29 = uitofp i32 %28 to double %30 = load i32, ptr %5, align 4 %31 = mul i32 2, %30 %32 = uitofp i32 %31 to double %33 = fdiv double %29, %32 %34 = fmul double 0x401921FB54442D18, %33 store double %34, ptr %11, align 8 %35 = load double, ptr %11, align 8 %36 = load double, ptr %6, align 8 %37 = load double, ptr %11, align 8 %38 = call double @sin(double noundef %37) #4 %39 = fmul double %36, %38 %40 = load double, ptr %6, align 8 %41 = load double, ptr %11, align 8 %42 = call double @cos(double noundef %41) #4 %43 = call double @llvm.fmuladd.f64(double %40, double %42, double -1.000000e+00) %44 = fdiv double %39, %43 %45 = call double @atan(double noundef %44) #4 %46 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %45, double %35) %47 = fdiv double %46, 0x401921FB54442D18 %48 = load ptr, ptr %7, align 8 %49 = load i32, ptr %9, align 4 %50 = zext i32 %49 to i64 %51 = getelementptr inbounds double, ptr %48, i64 %50 store double %47, ptr %51, align 8 br label %52 52: ; preds = %27 %53 = load i32, ptr %9, align 4 %54 = add i32 %53, 1 store i32 %54, ptr %9, align 4 br label %22, !llvm.loop !6 55: ; preds = %22 %56 = load i32, ptr %5, align 4 %57 = mul i32 2, %56 %58 = uitofp i32 %57 to double %59 = fdiv double 1.000000e+00, %58 %60 = load i32, ptr %5, align 4 %61 = mul i32 2, %60 %62 = uitofp i32 %61 to double %63 = fdiv double 0x400921FB54442D18, %62 %64 = call double @llvm.fmuladd.f64(double 0x401921FB54442D18, double %59, double %63) store double %64, ptr %12, align 8 %65 = load double, ptr %12, align 8 %66 = load double, ptr %6, align 8 %67 = load double, ptr %12, align 8 %68 = call double @sin(double noundef %67) #4 %69 = fmul double %66, %68 %70 = load double, ptr %6, align 8 %71 = load double, ptr %12, align 8 %72 = call double @cos(double noundef %71) #4 %73 = call double @llvm.fmuladd.f64(double %70, double %72, double -1.000000e+00) %74 = fdiv double %69, %73 %75 = call double @atan(double noundef %74) #4 %76 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %75, double %65) %77 = fdiv double %76, 0x401921FB54442D18 store double %77, ptr %13, align 8 store i32 0, ptr %10, align 4 br label %78 78: ; preds = %219, %55 %79 = load i32, ptr %10, align 4 %80 = load i32, ptr %5, align 4 %81 = icmp ult i32 %79, %80 br i1 %81, label %82, label %222 82: ; preds = %78 %83 = load ptr, ptr %8, align 8 %84 = load i32, ptr %10, align 4 %85 = zext i32 %84 to i64 %86 = getelementptr inbounds i32, ptr %83, i64 %85 store i32 1, ptr %86, align 4 %87 = load i32, ptr %10, align 4 %88 = icmp eq i32 %87, 0 br i1 %88, label %89, label %96 89: ; preds = %82 %90 = load double, ptr %13, align 8 store double %90, ptr %14, align 8 %91 = load ptr, ptr %7, align 8 %92 = load i32, ptr %10, align 4 %93 = zext i32 %92 to i64 %94 = getelementptr inbounds double, ptr %91, i64 %93 %95 = load double, ptr %94, align 8 store double %95, ptr %15, align 8 br label %128 96: ; preds = %82 %97 = load i32, ptr %10, align 4 %98 = load i32, ptr %5, align 4 %99 = sub i32 %98, 1 %100 = icmp eq i32 %97, %99 br i1 %100, label %101, label %114 101: ; preds = %96 %102 = load ptr, ptr %7, align 8 %103 = load i32, ptr %10, align 4 %104 = add i32 %103, 1 %105 = zext i32 %104 to i64 %106 = getelementptr inbounds double, ptr %102, i64 %105 %107 = load double, ptr %106, align 8 store double %107, ptr %14, align 8 %108 = load ptr, ptr %7, align 8 %109 = load i32, ptr %10, align 4 %110 = sub i32 %109, 1 %111 = zext i32 %110 to i64 %112 = getelementptr inbounds double, ptr %108, i64 %111 %113 = load double, ptr %112, align 8 store double %113, ptr %15, align 8 br label %127 114: ; preds = %96 %115 = load ptr, ptr %7, align 8 %116 = load i32, ptr %10, align 4 %117 = add i32 %116, 2 %118 = zext i32 %117 to i64 %119 = getelementptr inbounds double, ptr %115, i64 %118 %120 = load double, ptr %119, align 8 store double %120, ptr %14, align 8 %121 = load ptr, ptr %7, align 8 %122 = load i32, ptr %10, align 4 %123 = sub i32 %122, 1 %124 = zext i32 %123 to i64 %125 = getelementptr inbounds double, ptr %121, i64 %124 %126 = load double, ptr %125, align 8 store double %126, ptr %15, align 8 br label %127 127: ; preds = %114, %101 br label %128 128: ; preds = %127, %89 %129 = load double, ptr %14, align 8 %130 = load double, ptr %15, align 8 %131 = fsub double %129, %130 store double %131, ptr %16, align 8 %132 = load double, ptr %14, align 8 %133 = load double, ptr %16, align 8 %134 = fdiv double %132, %133 %135 = fptoui double %134 to i32 store i32 %135, ptr %17, align 4 store i32 0, ptr %18, align 4 br label %136 136: ; preds = %215, %128 %137 = load i32, ptr %18, align 4 %138 = load i32, ptr %17, align 4 %139 = icmp ult i32 %137, %138 br i1 %139, label %140, label %218 140: ; preds = %136 %141 = load i32, ptr %18, align 4 %142 = add i32 %141, 1 %143 = uitofp i32 %142 to double %144 = load double, ptr %14, align 8 %145 = fmul double 2.000000e+00, %144 %146 = fdiv double %143, %145 %147 = fptoui double %146 to i32 store i32 %147, ptr %19, align 4 %148 = load i32, ptr %18, align 4 %149 = uitofp i32 %148 to double %150 = load double, ptr %15, align 8 %151 = fmul double 2.000000e+00, %150 %152 = fdiv double %149, %151 %153 = fptoui double %152 to i32 %154 = call double @ceil(i32 noundef %153) %155 = fcmp ogt double %154, 1.000000e+00 br i1 %155, label %156, label %164 156: ; preds = %140 %157 = load i32, ptr %18, align 4 %158 = uitofp i32 %157 to double %159 = load double, ptr %15, align 8 %160 = fmul double 2.000000e+00, %159 %161 = fdiv double %158, %160 %162 = fptoui double %161 to i32 %163 = call double @ceil(i32 noundef %162) br label %165 164: ; preds = %140 br label %165 165: ; preds = %164, %156 %166 = phi double [ %163, %156 ], [ 1.000000e+00, %164 ] %167 = fptoui double %166 to i32 %168 = sub i32 %167, 1 store i32 %168, ptr %20, align 4 %169 = load i32, ptr %19, align 4 %170 = load i32, ptr %20, align 4 %171 = icmp uge i32 %169, %170 br i1 %171, label %172, label %214 172: ; preds = %165 %173 = load i32, ptr %20, align 4 store i32 %173, ptr %21, align 4 br label %174 174: ; preds = %210, %172 %175 = load i32, ptr %21, align 4 %176 = load i32, ptr %19, align 4 %177 = icmp ult i32 %175, %176 br i1 %177, label %178, label %213 178: ; preds = %174 %179 = load i32, ptr %21, align 4 %180 = uitofp i32 %179 to double %181 = fadd double %180, 1.000000e+00 %182 = load double, ptr %16, align 8 %183 = fmul double %181, %182 %184 = fcmp ole double %183, 5.000000e-01 br i1 %184, label %185, label %209 185: ; preds = %178 %186 = load ptr, ptr %8, align 8 %187 = load i32, ptr %10, align 4 %188 = zext i32 %187 to i64 %189 = getelementptr inbounds i32, ptr %186, i64 %188 %190 = load i32, ptr %189, align 4 %191 = load i32, ptr %21, align 4 %192 = add i32 %191, 1 %193 = icmp ugt i32 %190, %192 br i1 %193, label %194, label %200 194: ; preds = %185 %195 = load ptr, ptr %8, align 8 %196 = load i32, ptr %10, align 4 %197 = zext i32 %196 to i64 %198 = getelementptr inbounds i32, ptr %195, i64 %197 %199 = load i32, ptr %198, align 4 br label %203 200: ; preds = %185 %201 = load i32, ptr %21, align 4 %202 = add i32 %201, 1 br label %203 203: ; preds = %200, %194 %204 = phi i32 [ %199, %194 ], [ %202, %200 ] %205 = load ptr, ptr %8, align 8 %206 = load i32, ptr %10, align 4 %207 = zext i32 %206 to i64 %208 = getelementptr inbounds i32, ptr %205, i64 %207 store i32 %204, ptr %208, align 4 br label %209 209: ; preds = %203, %178 br label %210 210: ; preds = %209 %211 = load i32, ptr %21, align 4 %212 = add i32 %211, 1 store i32 %212, ptr %21, align 4 br label %174, !llvm.loop !8 213: ; preds = %174 br label %214 214: ; preds = %213, %165 br label %215 215: ; preds = %214 %216 = load i32, ptr %18, align 4 %217 = add i32 %216, 1 store i32 %217, ptr %18, align 4 br label %136, !llvm.loop !9 218: ; preds = %136 br label %219 219: ; preds = %218 %220 = load i32, ptr %10, align 4 %221 = add i32 %220, 1 store i32 %221, ptr %10, align 4 br label %78, !llvm.loop !10 222: ; preds = %78 ret void } ; Function Attrs: nounwind declare double @atan(double noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #1 ; Function Attrs: nounwind declare double @cos(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @ceil(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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/tmpjtn9893e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @subsamplingCal(i32 noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store double %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 %22 = load i32, ptr %9, align 4 %23 = load i32, ptr %5, align 4 %24 = add i32 %23, 1 %25 = icmp ult i32 %22, %24 br i1 %25, label %.lr.ph, label %58 .lr.ph: ; preds = %4 br label %26 26: ; preds = %.lr.ph, %51 %27 = load i32, ptr %9, align 4 %28 = uitofp i32 %27 to double %29 = load i32, ptr %5, align 4 %30 = mul i32 2, %29 %31 = uitofp i32 %30 to double %32 = fdiv double %28, %31 %33 = fmul double 0x401921FB54442D18, %32 store double %33, ptr %11, align 8 %34 = load double, ptr %11, align 8 %35 = load double, ptr %6, align 8 %36 = load double, ptr %11, align 8 %37 = call double @sin(double noundef %36) #4 %38 = fmul double %35, %37 %39 = load double, ptr %6, align 8 %40 = load double, ptr %11, align 8 %41 = call double @cos(double noundef %40) #4 %42 = call double @llvm.fmuladd.f64(double %39, double %41, double -1.000000e+00) %43 = fdiv double %38, %42 %44 = call double @atan(double noundef %43) #4 %45 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %44, double %34) %46 = fdiv double %45, 0x401921FB54442D18 %47 = load ptr, ptr %7, align 8 %48 = load i32, ptr %9, align 4 %49 = zext i32 %48 to i64 %50 = getelementptr inbounds double, ptr %47, i64 %49 store double %46, ptr %50, align 8 br label %51 51: ; preds = %26 %52 = load i32, ptr %9, align 4 %53 = add i32 %52, 1 store i32 %53, ptr %9, align 4 %54 = load i32, ptr %9, align 4 %55 = load i32, ptr %5, align 4 %56 = add i32 %55, 1 %57 = icmp ult i32 %54, %56 br i1 %57, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %51 br label %58 58: ; preds = %._crit_edge, %4 %59 = load i32, ptr %5, align 4 %60 = mul i32 2, %59 %61 = uitofp i32 %60 to double %62 = fdiv double 1.000000e+00, %61 %63 = load i32, ptr %5, align 4 %64 = mul i32 2, %63 %65 = uitofp i32 %64 to double %66 = fdiv double 0x400921FB54442D18, %65 %67 = call double @llvm.fmuladd.f64(double 0x401921FB54442D18, double %62, double %66) store double %67, ptr %12, align 8 %68 = load double, ptr %12, align 8 %69 = load double, ptr %6, align 8 %70 = load double, ptr %12, align 8 %71 = call double @sin(double noundef %70) #4 %72 = fmul double %69, %71 %73 = load double, ptr %6, align 8 %74 = load double, ptr %12, align 8 %75 = call double @cos(double noundef %74) #4 %76 = call double @llvm.fmuladd.f64(double %73, double %75, double -1.000000e+00) %77 = fdiv double %72, %76 %78 = call double @atan(double noundef %77) #4 %79 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %78, double %68) %80 = fdiv double %79, 0x401921FB54442D18 store double %80, ptr %13, align 8 store i32 0, ptr %10, align 4 %81 = load i32, ptr %10, align 4 %82 = load i32, ptr %5, align 4 %83 = icmp ult i32 %81, %82 br i1 %83, label %.lr.ph8, label %231 .lr.ph8: ; preds = %58 br label %84 84: ; preds = %.lr.ph8, %225 %85 = load ptr, ptr %8, align 8 %86 = load i32, ptr %10, align 4 %87 = zext i32 %86 to i64 %88 = getelementptr inbounds i32, ptr %85, i64 %87 store i32 1, ptr %88, align 4 %89 = load i32, ptr %10, align 4 %90 = icmp eq i32 %89, 0 br i1 %90, label %91, label %98 91: ; preds = %84 %92 = load double, ptr %13, align 8 store double %92, ptr %14, align 8 %93 = load ptr, ptr %7, align 8 %94 = load i32, ptr %10, align 4 %95 = zext i32 %94 to i64 %96 = getelementptr inbounds double, ptr %93, i64 %95 %97 = load double, ptr %96, align 8 store double %97, ptr %15, align 8 br label %130 98: ; preds = %84 %99 = load i32, ptr %10, align 4 %100 = load i32, ptr %5, align 4 %101 = sub i32 %100, 1 %102 = icmp eq i32 %99, %101 br i1 %102, label %103, label %116 103: ; preds = %98 %104 = load ptr, ptr %7, align 8 %105 = load i32, ptr %10, align 4 %106 = add i32 %105, 1 %107 = zext i32 %106 to i64 %108 = getelementptr inbounds double, ptr %104, i64 %107 %109 = load double, ptr %108, align 8 store double %109, ptr %14, align 8 %110 = load ptr, ptr %7, align 8 %111 = load i32, ptr %10, align 4 %112 = sub i32 %111, 1 %113 = zext i32 %112 to i64 %114 = getelementptr inbounds double, ptr %110, i64 %113 %115 = load double, ptr %114, align 8 store double %115, ptr %15, align 8 br label %129 116: ; preds = %98 %117 = load ptr, ptr %7, align 8 %118 = load i32, ptr %10, align 4 %119 = add i32 %118, 2 %120 = zext i32 %119 to i64 %121 = getelementptr inbounds double, ptr %117, i64 %120 %122 = load double, ptr %121, align 8 store double %122, ptr %14, align 8 %123 = load ptr, ptr %7, align 8 %124 = load i32, ptr %10, align 4 %125 = sub i32 %124, 1 %126 = zext i32 %125 to i64 %127 = getelementptr inbounds double, ptr %123, i64 %126 %128 = load double, ptr %127, align 8 store double %128, ptr %15, align 8 br label %129 129: ; preds = %116, %103 br label %130 130: ; preds = %129, %91 %131 = load double, ptr %14, align 8 %132 = load double, ptr %15, align 8 %133 = fsub double %131, %132 store double %133, ptr %16, align 8 %134 = load double, ptr %14, align 8 %135 = load double, ptr %16, align 8 %136 = fdiv double %134, %135 %137 = fptoui double %136 to i32 store i32 %137, ptr %17, align 4 store i32 0, ptr %18, align 4 %138 = load i32, ptr %18, align 4 %139 = load i32, ptr %17, align 4 %140 = icmp ult i32 %138, %139 br i1 %140, label %.lr.ph5, label %224 .lr.ph5: ; preds = %130 br label %141 141: ; preds = %.lr.ph5, %218 %142 = load i32, ptr %18, align 4 %143 = add i32 %142, 1 %144 = uitofp i32 %143 to double %145 = load double, ptr %14, align 8 %146 = fmul double 2.000000e+00, %145 %147 = fdiv double %144, %146 %148 = fptoui double %147 to i32 store i32 %148, ptr %19, align 4 %149 = load i32, ptr %18, align 4 %150 = uitofp i32 %149 to double %151 = load double, ptr %15, align 8 %152 = fmul double 2.000000e+00, %151 %153 = fdiv double %150, %152 %154 = fptoui double %153 to i32 %155 = call double @ceil(i32 noundef %154) %156 = fcmp ogt double %155, 1.000000e+00 br i1 %156, label %157, label %165 157: ; preds = %141 %158 = load i32, ptr %18, align 4 %159 = uitofp i32 %158 to double %160 = load double, ptr %15, align 8 %161 = fmul double 2.000000e+00, %160 %162 = fdiv double %159, %161 %163 = fptoui double %162 to i32 %164 = call double @ceil(i32 noundef %163) br label %166 165: ; preds = %141 br label %166 166: ; preds = %165, %157 %167 = phi double [ %164, %157 ], [ 1.000000e+00, %165 ] %168 = fptoui double %167 to i32 %169 = sub i32 %168, 1 store i32 %169, ptr %20, align 4 %170 = load i32, ptr %19, align 4 %171 = load i32, ptr %20, align 4 %172 = icmp uge i32 %170, %171 br i1 %172, label %173, label %217 173: ; preds = %166 %174 = load i32, ptr %20, align 4 store i32 %174, ptr %21, align 4 %175 = load i32, ptr %21, align 4 %176 = load i32, ptr %19, align 4 %177 = icmp ult i32 %175, %176 br i1 %177, label %.lr.ph2, label %216 .lr.ph2: ; preds = %173 br label %178 178: ; preds = %.lr.ph2, %210 %179 = load i32, ptr %21, align 4 %180 = uitofp i32 %179 to double %181 = fadd double %180, 1.000000e+00 %182 = load double, ptr %16, align 8 %183 = fmul double %181, %182 %184 = fcmp ole double %183, 5.000000e-01 br i1 %184, label %185, label %209 185: ; preds = %178 %186 = load ptr, ptr %8, align 8 %187 = load i32, ptr %10, align 4 %188 = zext i32 %187 to i64 %189 = getelementptr inbounds i32, ptr %186, i64 %188 %190 = load i32, ptr %189, align 4 %191 = load i32, ptr %21, align 4 %192 = add i32 %191, 1 %193 = icmp ugt i32 %190, %192 br i1 %193, label %194, label %200 194: ; preds = %185 %195 = load ptr, ptr %8, align 8 %196 = load i32, ptr %10, align 4 %197 = zext i32 %196 to i64 %198 = getelementptr inbounds i32, ptr %195, i64 %197 %199 = load i32, ptr %198, align 4 br label %203 200: ; preds = %185 %201 = load i32, ptr %21, align 4 %202 = add i32 %201, 1 br label %203 203: ; preds = %200, %194 %204 = phi i32 [ %199, %194 ], [ %202, %200 ] %205 = load ptr, ptr %8, align 8 %206 = load i32, ptr %10, align 4 %207 = zext i32 %206 to i64 %208 = getelementptr inbounds i32, ptr %205, i64 %207 store i32 %204, ptr %208, align 4 br label %209 209: ; preds = %203, %178 br label %210 210: ; preds = %209 %211 = load i32, ptr %21, align 4 %212 = add i32 %211, 1 store i32 %212, ptr %21, align 4 %213 = load i32, ptr %21, align 4 %214 = load i32, ptr %19, align 4 %215 = icmp ult i32 %213, %214 br i1 %215, label %178, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %210 br label %216 216: ; preds = %._crit_edge3, %173 br label %217 217: ; preds = %216, %166 br label %218 218: ; preds = %217 %219 = load i32, ptr %18, align 4 %220 = add i32 %219, 1 store i32 %220, ptr %18, align 4 %221 = load i32, ptr %18, align 4 %222 = load i32, ptr %17, align 4 %223 = icmp ult i32 %221, %222 br i1 %223, label %141, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %218 br label %224 224: ; preds = %._crit_edge6, %130 br label %225 225: ; preds = %224 %226 = load i32, ptr %10, align 4 %227 = add i32 %226, 1 store i32 %227, ptr %10, align 4 %228 = load i32, ptr %10, align 4 %229 = load i32, ptr %5, align 4 %230 = icmp ult i32 %228, %229 br i1 %230, label %84, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %225 br label %231 231: ; preds = %._crit_edge9, %58 ret void } ; Function Attrs: nounwind declare double @atan(double noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #1 ; Function Attrs: nounwind declare double @cos(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @ceil(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp3tnilyn3.c' source_filename = "/tmp/tmp3tnilyn3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"./test-dir\00", align 1 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @S_IXUSR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"fail to mkdir\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"successfully make a dir\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = load i32, ptr @S_IRUSR, align 4 %3 = load i32, ptr @S_IWUSR, align 4 %4 = or i32 %2, %3 %5 = load i32, ptr @S_IXUSR, align 4 %6 = or i32 %4, %5 %7 = call i32 @mkdir(ptr noundef @.str, i32 noundef %6) %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %12 9: ; preds = %0 %10 = call i32 @perror(ptr noundef @.str.1) %11 = call i32 @exit(i32 noundef 1) #3 unreachable 12: ; preds = %0 %13 = call i32 @printf(ptr noundef @.str.2) ret i32 0 } declare i32 @mkdir(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 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" } 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/tmp3tnilyn3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"./test-dir\00", align 1 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @S_IXUSR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"fail to mkdir\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"successfully make a dir\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = load i32, ptr @S_IRUSR, align 4 %3 = load i32, ptr @S_IWUSR, align 4 %4 = or i32 %2, %3 %5 = load i32, ptr @S_IXUSR, align 4 %6 = or i32 %4, %5 %7 = call i32 @mkdir(ptr noundef @.str, i32 noundef %6) %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %12 9: ; preds = %0 %10 = call i32 @perror(ptr noundef @.str.1) %11 = call i32 @exit(i32 noundef 1) #3 unreachable 12: ; preds = %0 %13 = call i32 @printf(ptr noundef @.str.2) ret i32 0 } declare i32 @mkdir(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 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" } 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/tmpx5pb6anj.c' source_filename = "/tmp/tmpx5pb6anj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XGCValues_clip_y_origin(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i32 %5, ptr %7, 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/tmpx5pb6anj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XGCValues_clip_y_origin(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i32 %5, ptr %7, 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/tmpxmow4rgz.c' source_filename = "/tmp/tmpxmow4rgz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getPar(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @getnpar(i32 noundef 0, ptr noundef %7, ptr noundef %8, ptr noundef %9) ret void } declare i32 @getnpar(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxmow4rgz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getPar(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @getnpar(i32 noundef 0, ptr noundef %7, ptr noundef %8, ptr noundef %9) ret void } declare i32 @getnpar(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphf5p7itk.c' source_filename = "/tmp/tmphf5p7itk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @safe_strlen(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %7 6: ; preds = %1 store i64 0, ptr %2, align 8 br label %10 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = call i64 @strlen(ptr noundef %8) store i64 %9, ptr %2, align 8 br label %10 10: ; preds = %7, %6 %11 = load i64, ptr %2, align 8 ret i64 %11 } declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphf5p7itk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @safe_strlen(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %7 6: ; preds = %1 store i64 0, ptr %2, align 8 br label %10 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = call i64 @strlen(ptr noundef %8) store i64 %9, ptr %2, align 8 br label %10 10: ; preds = %7, %6 %11 = load i64, ptr %2, align 8 ret i64 %11 } declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpham6x2my.c' source_filename = "/tmp/tmpham6x2my.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @exponential_f_io(float noundef %0, float noundef %1, float noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 store float %0, ptr %4, align 4 store float %1, ptr %5, align 4 store float %2, ptr %6, align 4 %7 = load float, ptr %4, align 4 %8 = load float, ptr %5, align 4 %9 = load float, ptr %6, align 4 %10 = call float @exponential_io(float noundef %7, float noundef %8, float noundef %9) ret float %10 } declare float @exponential_io(float noundef, float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpham6x2my.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @exponential_f_io(float noundef %0, float noundef %1, float noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 store float %0, ptr %4, align 4 store float %1, ptr %5, align 4 store float %2, ptr %6, align 4 %7 = load float, ptr %4, align 4 %8 = load float, ptr %5, align 4 %9 = load float, ptr %6, align 4 %10 = call float @exponential_io(float noundef %7, float noundef %8, float noundef %9) ret float %10 } declare float @exponential_io(float noundef, float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxtz5gniq.c' source_filename = "/tmp/tmpxtz5gniq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"/shmposix\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = load i32, ptr @O_RDWR, align 4 %4 = load i32, ptr @O_CREAT, align 4 %5 = or i32 %3, %4 %6 = call i32 @shm_open(ptr noundef @.str, i32 noundef %5, i32 noundef 438) store i32 %6, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %10 9: ; preds = %0 store i32 -1, ptr %1, align 4 br label %12 10: ; preds = %0 %11 = call i32 @shm_unlink(ptr noundef @.str) store i32 0, ptr %1, align 4 br label %12 12: ; preds = %10, %9 %13 = load i32, ptr %1, align 4 ret i32 %13 } declare i32 @shm_open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @shm_unlink(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxtz5gniq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"/shmposix\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = load i32, ptr @O_RDWR, align 4 %4 = load i32, ptr @O_CREAT, align 4 %5 = or i32 %3, %4 %6 = call i32 @shm_open(ptr noundef @.str, i32 noundef %5, i32 noundef 438) store i32 %6, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %10 9: ; preds = %0 store i32 -1, ptr %1, align 4 br label %12 10: ; preds = %0 %11 = call i32 @shm_unlink(ptr noundef @.str) store i32 0, ptr %1, align 4 br label %12 12: ; preds = %10, %9 %13 = load i32, ptr %1, align 4 ret i32 %13 } declare i32 @shm_open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @shm_unlink(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmlucqyab.c' source_filename = "/tmp/tmpmlucqyab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_local_offset(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 %3, align 4 %6 = load i32, ptr %3, align 4 %7 = ashr i32 %6, 3 store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = shl i32 %8, 3 store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp eq i32 %10, %11 br i1 %12, label %13, label %14 13: ; preds = %1 store i32 0, ptr %2, align 4 br label %18 14: ; preds = %1 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %5, align 4 %17 = sub nsw i32 %15, %16 store i32 %17, ptr %2, align 4 br label %18 18: ; preds = %14, %13 %19 = load i32, ptr %2, align 4 ret i32 %19 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmlucqyab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_local_offset(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 %3, align 4 %6 = load i32, ptr %3, align 4 %7 = ashr i32 %6, 3 store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = shl i32 %8, 3 store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp eq i32 %10, %11 br i1 %12, label %13, label %14 13: ; preds = %1 store i32 0, ptr %2, align 4 br label %18 14: ; preds = %1 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %5, align 4 %17 = sub nsw i32 %15, %16 store i32 %17, ptr %2, align 4 br label %18 18: ; preds = %14, %13 %19 = load i32, ptr %2, align 4 ret i32 %19 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphun1r5xw.c' source_filename = "/tmp/tmphun1r5xw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @strerror.errmsg = internal global [21 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [9 x i8] c"No error\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Domain error\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Range error\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"Unknown error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strerror(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 switch i32 %3, label %10 [ i32 0, label %4 i32 33, label %6 i32 34, label %8 ] 4: ; preds = %1 %5 = call i32 @strcpy(ptr noundef @strerror.errmsg, ptr noundef @.str) br label %12 6: ; preds = %1 %7 = call i32 @strcpy(ptr noundef @strerror.errmsg, ptr noundef @.str.1) br label %12 8: ; preds = %1 %9 = call i32 @strcpy(ptr noundef @strerror.errmsg, ptr noundef @.str.2) br label %12 10: ; preds = %1 %11 = call i32 @strcpy(ptr noundef @strerror.errmsg, ptr noundef @.str.3) br label %12 12: ; preds = %10, %8, %6, %4 ret ptr @strerror.errmsg } declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphun1r5xw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @strerror.errmsg = internal global [21 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [9 x i8] c"No error\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Domain error\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Range error\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"Unknown error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strerror(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 switch i32 %3, label %10 [ i32 0, label %4 i32 33, label %6 i32 34, label %8 ] 4: ; preds = %1 %5 = call i32 @strcpy(ptr noundef @strerror.errmsg, ptr noundef @.str) br label %12 6: ; preds = %1 %7 = call i32 @strcpy(ptr noundef @strerror.errmsg, ptr noundef @.str.1) br label %12 8: ; preds = %1 %9 = call i32 @strcpy(ptr noundef @strerror.errmsg, ptr noundef @.str.2) br label %12 10: ; preds = %1 %11 = call i32 @strcpy(ptr noundef @strerror.errmsg, ptr noundef @.str.3) br label %12 12: ; preds = %10, %8, %6, %4 ret ptr @strerror.errmsg } declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9kedodj8.c' source_filename = "/tmp/tmp9kedodj8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%lf\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 double, align 8 store i32 0, ptr %1, align 4 store double 0.000000e+00, ptr %3, align 8 store i32 0, ptr %2, align 4 br label %4 4: ; preds = %13, %0 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 1000000000 br i1 %6, label %7, label %16 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = call i64 @sqrt(i32 noundef %8) %10 = sitofp i64 %9 to double %11 = load double, ptr %3, align 8 %12 = fadd double %11, %10 store double %12, ptr %3, align 8 br label %13 13: ; preds = %7 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %2, align 4 br label %4, !llvm.loop !6 16: ; preds = %4 %17 = load double, ptr %3, align 8 %18 = call i32 @printf(ptr noundef @.str, double noundef %17) ret i32 0 } declare i64 @sqrt(i32 noundef) #1 declare i32 @printf(ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9kedodj8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%lf\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 double, align 8 store i32 0, ptr %1, align 4 store double 0.000000e+00, ptr %3, align 8 store i32 0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 1000000000 br i1 %5, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %12 %7 = load i32, ptr %2, align 4 %8 = call i64 @sqrt(i32 noundef %7) %9 = sitofp i64 %8 to double %10 = load double, ptr %3, align 8 %11 = fadd double %10, %9 store double %11, ptr %3, align 8 br label %12 12: ; preds = %6 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %15, 1000000000 br i1 %16, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %17 17: ; preds = %._crit_edge, %0 %18 = load double, ptr %3, align 8 %19 = call i32 @printf(ptr noundef @.str, double noundef %18) ret i32 0 } declare i64 @sqrt(i32 noundef) #1 declare i32 @printf(ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpzpfxweoc.c' source_filename = "/tmp/tmpzpfxweoc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"on\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"C1C\0D\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"off\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"C1D\0D\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"clear\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"C1E\0D\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ExecMenuCommand(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = call i32 @strcmp(ptr noundef %6, ptr noundef @.str) %8 = icmp ne i32 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = call i32 @ProcessCommand(ptr noundef %10, ptr noundef @.str.1) store i32 %11, ptr %3, align 4 br label %27 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = call i32 @strcmp(ptr noundef %13, ptr noundef @.str.2) %15 = icmp ne i32 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %12 %17 = load ptr, ptr %4, align 8 %18 = call i32 @ProcessCommand(ptr noundef %17, ptr noundef @.str.3) store i32 %18, ptr %3, align 4 br label %27 19: ; preds = %12 %20 = load ptr, ptr %5, align 8 %21 = call i32 @strcmp(ptr noundef %20, ptr noundef @.str.4) %22 = icmp ne i32 %21, 0 br i1 %22, label %26, label %23 23: ; preds = %19 %24 = load ptr, ptr %4, align 8 %25 = call i32 @ProcessCommand(ptr noundef %24, ptr noundef @.str.5) store i32 %25, ptr %3, align 4 br label %27 26: ; preds = %19 store i32 2, ptr %3, align 4 br label %27 27: ; preds = %26, %23, %16, %9 %28 = load i32, ptr %3, align 4 ret i32 %28 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @ProcessCommand(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/tmpzpfxweoc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"on\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"C1C\0D\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"off\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"C1D\0D\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"clear\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"C1E\0D\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ExecMenuCommand(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = call i32 @strcmp(ptr noundef %6, ptr noundef @.str) %8 = icmp ne i32 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = call i32 @ProcessCommand(ptr noundef %10, ptr noundef @.str.1) store i32 %11, ptr %3, align 4 br label %27 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = call i32 @strcmp(ptr noundef %13, ptr noundef @.str.2) %15 = icmp ne i32 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %12 %17 = load ptr, ptr %4, align 8 %18 = call i32 @ProcessCommand(ptr noundef %17, ptr noundef @.str.3) store i32 %18, ptr %3, align 4 br label %27 19: ; preds = %12 %20 = load ptr, ptr %5, align 8 %21 = call i32 @strcmp(ptr noundef %20, ptr noundef @.str.4) %22 = icmp ne i32 %21, 0 br i1 %22, label %26, label %23 23: ; preds = %19 %24 = load ptr, ptr %4, align 8 %25 = call i32 @ProcessCommand(ptr noundef %24, ptr noundef @.str.5) store i32 %25, ptr %3, align 4 br label %27 26: ; preds = %19 store i32 2, ptr %3, align 4 br label %27 27: ; preds = %26, %23, %16, %9 %28 = load i32, ptr %3, align 4 ret i32 %28 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @ProcessCommand(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/tmpbqc1k_is.c' source_filename = "/tmp/tmpbqc1k_is.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @runCommand(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 @system(ptr noundef %3) ret ptr null } declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbqc1k_is.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @runCommand(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 @system(ptr noundef %3) ret ptr null } declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprfkilcfi.c' source_filename = "/tmp/tmprfkilcfi.c" target datalayout = "e-m:e-p270: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/tmprfkilcfi.c" target datalayout = "e-m:e-p270: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/tmp9jik936h.c' source_filename = "/tmp/tmp9jik936h.c" target datalayout = "e-m:e-p270: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/tmp9jik936h.c" target datalayout = "e-m:e-p270: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/tmpy86usfbg.c' source_filename = "/tmp/tmpy86usfbg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"\0A %s\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @trace_flow(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 @stdout, align 4 %6 = call i32 @fflush(i32 noundef %5) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy86usfbg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"\0A %s\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @trace_flow(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 @stdout, align 4 %6 = call i32 @fflush(i32 noundef %5) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8vb2i8gp.c' source_filename = "/tmp/tmp8vb2i8gp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @yahoo_f01_2d.LUT = internal global [32 x i8] c"\0A\11\17\03\05\0B\18\13\09\02\00\1C\0C\08\1B\14\06\0E\01\0D\16\1E\1D\19\0F\1A\10\04\12\15\07\1F", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @yahoo_f01_2d(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @yahoo_M1ObfuscatedTableCommon(i32 noundef %5, i32 noundef %6, ptr noundef @yahoo_f01_2d.LUT) ret i32 %7 } declare i32 @yahoo_M1ObfuscatedTableCommon(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/tmp8vb2i8gp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @yahoo_f01_2d.LUT = internal global [32 x i8] c"\0A\11\17\03\05\0B\18\13\09\02\00\1C\0C\08\1B\14\06\0E\01\0D\16\1E\1D\19\0F\1A\10\04\12\15\07\1F", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @yahoo_f01_2d(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @yahoo_M1ObfuscatedTableCommon(i32 noundef %5, i32 noundef %6, ptr noundef @yahoo_f01_2d.LUT) ret i32 %7 } declare i32 @yahoo_M1ObfuscatedTableCommon(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/tmp7b5ifowl.c' source_filename = "/tmp/tmp7b5ifowl.c" target datalayout = "e-m:e-p270: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/tmp7b5ifowl.c" target datalayout = "e-m:e-p270: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/tmpjkec3jo6.c' source_filename = "/tmp/tmpjkec3jo6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = %15, %3 %12 = load i64, ptr %6, align 8 %13 = add i64 %12, -1 store i64 %13, ptr %6, align 8 %14 = icmp ugt i64 %12, 0 br i1 %14, label %15, label %21 15: ; preds = %11 %16 = load ptr, ptr %8, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %8, align 8 %18 = load i8, ptr %16, align 1 %19 = load ptr, ptr %7, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %7, align 8 store i8 %18, ptr %19, align 1 br label %11, !llvm.loop !6 21: ; preds = %11 %22 = load ptr, ptr %4, align 8 ret ptr %22 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjkec3jo6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = add i64 %11, -1 store i64 %12, ptr %6, align 8 %13 = icmp ugt i64 %11, 0 br i1 %13, label %.lr.ph, label %23 .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %14 %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 %22 = icmp ugt i64 %20, 0 br i1 %22, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 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/tmpc64ebu3l.c' source_filename = "/tmp/tmpc64ebu3l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%5d \00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c" ...\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printimatw(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %12 12: ; preds = %51, %4 %13 = load i32, ptr %9, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %54 16: ; preds = %12 store i32 0, ptr %10, align 4 br label %17 17: ; preds = %46, %16 %18 = load i32, ptr %10, align 4 %19 = load i32, ptr %7, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %49 21: ; preds = %17 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %9, align 4 %24 = load i32, ptr %7, align 4 %25 = mul nsw i32 %23, %24 %26 = load i32, ptr %10, align 4 %27 = add nsw i32 %25, %26 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %22, i64 %28 %30 = load i32, ptr %29, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %30) %32 = load i32, ptr %10, align 4 %33 = add nsw i32 %32, 1 %34 = load i32, ptr %8, align 4 %35 = srem i32 %33, %34 store i32 %35, ptr %11, align 4 %36 = load i32, ptr %11, align 4 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %45 38: ; preds = %21 %39 = load i32, ptr %10, align 4 %40 = load i32, ptr %7, align 4 %41 = sub nsw i32 %40, 1 %42 = icmp slt i32 %39, %41 br i1 %42, label %43, label %45 43: ; preds = %38 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %45 45: ; preds = %43, %38, %21 br label %46 46: ; preds = %45 %47 = load i32, ptr %10, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %10, align 4 br label %17, !llvm.loop !6 49: ; preds = %17 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %51 51: ; preds = %49 %52 = load i32, ptr %9, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %9, align 4 br label %12, !llvm.loop !8 54: ; preds = %12 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc64ebu3l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%5d \00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c" ...\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printimatw(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 %12 = load i32, ptr %9, align 4 %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph2, label %58 .lr.ph2: ; preds = %4 br label %15 15: ; preds = %.lr.ph2, %52 store i32 0, ptr %10, align 4 %16 = load i32, ptr %10, align 4 %17 = load i32, ptr %7, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %50 .lr.ph: ; preds = %15 br label %19 19: ; preds = %.lr.ph, %44 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %7, align 4 %23 = mul nsw i32 %21, %22 %24 = load i32, ptr %10, align 4 %25 = add nsw i32 %23, %24 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %20, i64 %26 %28 = load i32, ptr %27, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %28) %30 = load i32, ptr %10, align 4 %31 = add nsw i32 %30, 1 %32 = load i32, ptr %8, align 4 %33 = srem i32 %31, %32 store i32 %33, ptr %11, align 4 %34 = load i32, ptr %11, align 4 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %43 36: ; preds = %19 %37 = load i32, ptr %10, align 4 %38 = load i32, ptr %7, align 4 %39 = sub nsw i32 %38, 1 %40 = icmp slt i32 %37, %39 br i1 %40, label %41, label %43 41: ; preds = %36 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %43 43: ; preds = %41, %36, %19 br label %44 44: ; preds = %43 %45 = load i32, ptr %10, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %10, align 4 %47 = load i32, ptr %10, align 4 %48 = load i32, ptr %7, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %44 br label %50 50: ; preds = %._crit_edge, %15 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %52 52: ; preds = %50 %53 = load i32, ptr %9, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %9, align 4 %55 = load i32, ptr %9, align 4 %56 = load i32, ptr %6, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %15, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %52 br label %58 58: ; preds = %._crit_edge3, %4 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp7hzykj59.c' source_filename = "/tmp/tmp7hzykj59.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32 } @.str = private unnamed_addr constant [25 x i8] c"Elapsed time: %i'%02i\22\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @displayTime(i32 %0, i32 %1) #0 { %3 = alloca %struct.timeval, align 4 %4 = alloca %struct.timeval, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 store i32 %0, ptr %8, align 4 %9 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0 store i32 %1, ptr %9, align 4 %10 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0 %11 = load i32, ptr %10, align 4 %12 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 %13 = load i32, ptr %12, align 4 %14 = call i64 @diffms(i32 %11, i32 %13) %15 = trunc i64 %14 to i32 store i32 %15, ptr %5, align 4 %16 = load i32, ptr %5, align 4 %17 = sdiv i32 %16, 60000 store i32 %17, ptr %6, align 4 %18 = load i32, ptr %5, align 4 %19 = srem i32 %18, 60000 %20 = sdiv i32 %19, 1000 store i32 %20, ptr %7, align 4 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %7, align 4 %23 = call i32 @printf(ptr noundef @.str, i32 noundef %21, i32 noundef %22) ret void } declare i64 @diffms(i32, i32) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7hzykj59.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32 } @.str = private unnamed_addr constant [25 x i8] c"Elapsed time: %i'%02i\22\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @displayTime(i32 %0, i32 %1) #0 { %3 = alloca %struct.timeval, align 4 %4 = alloca %struct.timeval, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 store i32 %0, ptr %8, align 4 %9 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0 store i32 %1, ptr %9, align 4 %10 = getelementptr inbounds %struct.timeval, ptr %4, i32 0, i32 0 %11 = load i32, ptr %10, align 4 %12 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 %13 = load i32, ptr %12, align 4 %14 = call i64 @diffms(i32 %11, i32 %13) %15 = trunc i64 %14 to i32 store i32 %15, ptr %5, align 4 %16 = load i32, ptr %5, align 4 %17 = sdiv i32 %16, 60000 store i32 %17, ptr %6, align 4 %18 = load i32, ptr %5, align 4 %19 = srem i32 %18, 60000 %20 = sdiv i32 %19, 1000 store i32 %20, ptr %7, align 4 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %7, align 4 %23 = call i32 @printf(ptr noundef @.str, i32 noundef %21, i32 noundef %22) ret void } declare i64 @diffms(i32, i32) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphvmaq9dr.c' source_filename = "/tmp/tmphvmaq9dr.c" target datalayout = "e-m:e-p270: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/tmphvmaq9dr.c" target datalayout = "e-m:e-p270: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/tmppmyo7w1e.c' source_filename = "/tmp/tmppmyo7w1e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @snoopy_parser_argList_csv(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %12 = load ptr, ptr %3, align 8 %13 = call i32 @strlen(ptr noundef %12) store i32 %13, ptr %8, align 4 %14 = load ptr, ptr %3, align 8 %15 = call i32 @snoopy_string_countChars(ptr noundef %14, i8 noundef signext 44) store i32 %15, ptr %5, align 4 %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %6, align 4 %18 = load i32, ptr %6, align 4 %19 = add nsw i32 %18, 1 %20 = sext i32 %19 to i64 %21 = mul i64 8, %20 %22 = trunc i64 %21 to i32 %23 = call ptr @malloc(i32 noundef %22) store ptr %23, ptr %7, align 8 %24 = load i32, ptr %8, align 4 %25 = icmp eq i32 0, %24 br i1 %25, label %26, label %27 26: ; preds = %2 store i32 0, ptr %6, align 4 store i32 0, ptr %11, align 4 br label %31 27: ; preds = %2 %28 = load ptr, ptr %3, align 8 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 0 store ptr %28, ptr %30, align 8 store i32 1, ptr %11, align 4 br label %31 31: ; preds = %27, %26 %32 = load i32, ptr %5, align 4 %33 = icmp sgt i32 %32, 0 br i1 %33, label %34, label %52 34: ; preds = %31 %35 = load ptr, ptr %3, align 8 store ptr %35, ptr %9, align 8 br label %36 36: ; preds = %40, %34 %37 = load ptr, ptr %9, align 8 %38 = call ptr @strchr(ptr noundef %37, i8 noundef signext 44) store ptr %38, ptr %10, align 8 %39 = icmp ne ptr null, %38 br i1 %39, label %40, label %51 40: ; preds = %36 %41 = load ptr, ptr %10, align 8 store i8 0, ptr %41, align 1 %42 = load ptr, ptr %10, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 1 store ptr %43, ptr %9, align 8 %44 = load ptr, ptr %9, align 8 %45 = load ptr, ptr %7, align 8 %46 = load i32, ptr %11, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds ptr, ptr %45, i64 %47 store ptr %44, ptr %48, align 8 %49 = load i32, ptr %11, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %11, align 4 br label %36, !llvm.loop !6 51: ; preds = %36 br label %52 52: ; preds = %51, %31 %53 = load ptr, ptr %3, align 8 %54 = load i32, ptr %8, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %53, i64 %55 %57 = getelementptr inbounds i8, ptr %56, i64 1 %58 = load ptr, ptr %7, align 8 %59 = load i32, ptr %11, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds ptr, ptr %58, i64 %60 store ptr %57, ptr %61, align 8 %62 = load ptr, ptr %7, align 8 %63 = load ptr, ptr %4, align 8 store ptr %62, ptr %63, align 8 %64 = load i32, ptr %6, align 4 ret i32 %64 } declare i32 @strlen(ptr noundef) #1 declare i32 @snoopy_string_countChars(ptr noundef, i8 noundef signext) #1 declare ptr @malloc(i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppmyo7w1e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @snoopy_parser_argList_csv(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %12 = load ptr, ptr %3, align 8 %13 = call i32 @strlen(ptr noundef %12) store i32 %13, ptr %8, align 4 %14 = load ptr, ptr %3, align 8 %15 = call i32 @snoopy_string_countChars(ptr noundef %14, i8 noundef signext 44) store i32 %15, ptr %5, align 4 %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %6, align 4 %18 = load i32, ptr %6, align 4 %19 = add nsw i32 %18, 1 %20 = sext i32 %19 to i64 %21 = mul i64 8, %20 %22 = trunc i64 %21 to i32 %23 = call ptr @malloc(i32 noundef %22) store ptr %23, ptr %7, align 8 %24 = load i32, ptr %8, align 4 %25 = icmp eq i32 0, %24 br i1 %25, label %26, label %27 26: ; preds = %2 store i32 0, ptr %6, align 4 store i32 0, ptr %11, align 4 br label %31 27: ; preds = %2 %28 = load ptr, ptr %3, align 8 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 0 store ptr %28, ptr %30, align 8 store i32 1, ptr %11, align 4 br label %31 31: ; preds = %27, %26 %32 = load i32, ptr %5, align 4 %33 = icmp sgt i32 %32, 0 br i1 %33, label %34, label %54 34: ; preds = %31 %35 = load ptr, ptr %3, align 8 store ptr %35, ptr %9, align 8 %36 = load ptr, ptr %9, align 8 %37 = call ptr @strchr(ptr noundef %36, i8 noundef signext 44) store ptr %37, ptr %10, align 8 %38 = icmp ne ptr null, %37 br i1 %38, label %.lr.ph, label %53 .lr.ph: ; preds = %34 br label %39 39: ; preds = %.lr.ph, %39 %40 = load ptr, ptr %10, align 8 store i8 0, ptr %40, align 1 %41 = load ptr, ptr %10, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 1 store ptr %42, ptr %9, align 8 %43 = load ptr, ptr %9, align 8 %44 = load ptr, ptr %7, align 8 %45 = load i32, ptr %11, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds ptr, ptr %44, i64 %46 store ptr %43, ptr %47, align 8 %48 = load i32, ptr %11, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %11, align 4 %50 = load ptr, ptr %9, align 8 %51 = call ptr @strchr(ptr noundef %50, i8 noundef signext 44) store ptr %51, ptr %10, align 8 %52 = icmp ne ptr null, %51 br i1 %52, label %39, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %39 br label %53 53: ; preds = %._crit_edge, %34 br label %54 54: ; preds = %53, %31 %55 = load ptr, ptr %3, align 8 %56 = load i32, ptr %8, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %55, i64 %57 %59 = getelementptr inbounds i8, ptr %58, i64 1 %60 = load ptr, ptr %7, align 8 %61 = load i32, ptr %11, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds ptr, ptr %60, i64 %62 store ptr %59, ptr %63, align 8 %64 = load ptr, ptr %7, align 8 %65 = load ptr, ptr %4, align 8 store ptr %64, ptr %65, align 8 %66 = load i32, ptr %6, align 4 ret i32 %66 } declare i32 @strlen(ptr noundef) #1 declare i32 @snoopy_string_countChars(ptr noundef, i8 noundef signext) #1 declare ptr @malloc(i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpwec5guxh.c' source_filename = "/tmp/tmpwec5guxh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"usage : %s FILENAME \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 65536, ptr %6, align 8 %12 = call ptr @MALLOC(i64 noundef 65536) store ptr %12, ptr %7, align 8 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 store ptr %15, ptr %8, align 8 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 store ptr %18, ptr %9, align 8 %19 = load i32, ptr %4, align 4 %20 = icmp sge i32 %19, 1 %21 = zext i1 %20 to i32 %22 = call i32 @assert(i32 noundef %21) %23 = load i32, ptr %4, align 4 %24 = icmp ne i32 %23, 2 br i1 %24, label %25, label %28 25: ; preds = %2 %26 = load ptr, ptr %8, align 8 %27 = call i32 @printf(ptr noundef @.str, ptr noundef %26) store i32 1, ptr %3, align 4 br label %41 28: ; preds = %2 %29 = load ptr, ptr %9, align 8 %30 = call ptr @FOPEN(ptr noundef %29, ptr noundef @.str.1) store ptr %30, ptr %10, align 8 %31 = load ptr, ptr %7, align 8 %32 = load ptr, ptr %10, align 8 %33 = call i64 @FREAD(ptr noundef %31, i32 noundef 1, i64 noundef 65536, ptr noundef %32) store i64 %33, ptr %11, align 8 %34 = load ptr, ptr %10, align 8 %35 = call i32 @FCLOSE(ptr noundef %34) %36 = load ptr, ptr %7, align 8 %37 = load i64, ptr %11, align 8 %38 = call i32 @printMatches(ptr noundef %36, i64 noundef %37) %39 = load ptr, ptr %7, align 8 %40 = call i32 @free(ptr noundef %39) br label %41 41: ; preds = %28, %25 %42 = load i32, ptr %3, align 4 ret i32 %42 } declare ptr @MALLOC(i64 noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @FOPEN(ptr noundef, ptr noundef) #1 declare i64 @FREAD(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 declare i32 @FCLOSE(ptr noundef) #1 declare i32 @printMatches(ptr noundef, i64 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/tmpwec5guxh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"usage : %s FILENAME \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 65536, ptr %6, align 8 %12 = call ptr @MALLOC(i64 noundef 65536) store ptr %12, ptr %7, align 8 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 store ptr %15, ptr %8, align 8 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 store ptr %18, ptr %9, align 8 %19 = load i32, ptr %4, align 4 %20 = icmp sge i32 %19, 1 %21 = zext i1 %20 to i32 %22 = call i32 @assert(i32 noundef %21) %23 = load i32, ptr %4, align 4 %24 = icmp ne i32 %23, 2 br i1 %24, label %25, label %28 25: ; preds = %2 %26 = load ptr, ptr %8, align 8 %27 = call i32 @printf(ptr noundef @.str, ptr noundef %26) store i32 1, ptr %3, align 4 br label %41 28: ; preds = %2 %29 = load ptr, ptr %9, align 8 %30 = call ptr @FOPEN(ptr noundef %29, ptr noundef @.str.1) store ptr %30, ptr %10, align 8 %31 = load ptr, ptr %7, align 8 %32 = load ptr, ptr %10, align 8 %33 = call i64 @FREAD(ptr noundef %31, i32 noundef 1, i64 noundef 65536, ptr noundef %32) store i64 %33, ptr %11, align 8 %34 = load ptr, ptr %10, align 8 %35 = call i32 @FCLOSE(ptr noundef %34) %36 = load ptr, ptr %7, align 8 %37 = load i64, ptr %11, align 8 %38 = call i32 @printMatches(ptr noundef %36, i64 noundef %37) %39 = load ptr, ptr %7, align 8 %40 = call i32 @free(ptr noundef %39) br label %41 41: ; preds = %28, %25 %42 = load i32, ptr %3, align 4 ret i32 %42 } declare ptr @MALLOC(i64 noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @FOPEN(ptr noundef, ptr noundef) #1 declare i64 @FREAD(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1 declare i32 @FCLOSE(ptr noundef) #1 declare i32 @printMatches(ptr noundef, i64 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/tmpd52qjm55.c' source_filename = "/tmp/tmpd52qjm55.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @gen_path.extention = internal global [5 x i8] c".ftf\00", align 1 @.str = private unnamed_addr constant [20 x i8] c"decryption gen_path\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"last_dot= %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @gen_path(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %10 = call i64 @strlen(ptr noundef @gen_path.extention) store i64 %10, ptr %6, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i64 @strlen(ptr noundef %11) store i64 %12, ptr %7, align 8 %13 = load ptr, ptr %4, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %21, label %15 15: ; preds = %2 %16 = load i64, ptr %7, align 8 %17 = load i64, ptr %6, align 8 %18 = add i64 %16, %17 %19 = call ptr @malloc(i64 noundef %18) store ptr %19, ptr %8, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %22 21: ; preds = %15, %2 store ptr null, ptr %3, align 8 br label %44 22: ; preds = %15 %23 = load ptr, ptr %8, align 8 %24 = load ptr, ptr %4, align 8 %25 = load i64, ptr %7, align 8 %26 = call i32 @memcpy(ptr noundef %23, ptr noundef %24, i64 noundef %25) %27 = load i32, ptr %5, align 4 switch i32 %27, label %41 [ i32 1, label %28 i32 0, label %34 ] 28: ; preds = %22 %29 = load ptr, ptr %8, align 8 %30 = load i64, ptr %7, align 8 %31 = getelementptr inbounds i8, ptr %29, i64 %30 %32 = load i64, ptr %6, align 8 %33 = call i32 @memcpy(ptr noundef %31, ptr noundef @gen_path.extention, i64 noundef %32) br label %42 34: ; preds = %22 %35 = call i32 @puts(ptr noundef @.str) %36 = load ptr, ptr %8, align 8 %37 = call ptr @strrchr(ptr noundef %36, i8 noundef signext 46) store ptr %37, ptr %9, align 8 %38 = load ptr, ptr %9, align 8 store i8 0, ptr %38, align 1 %39 = load ptr, ptr %8, align 8 %40 = call i32 @printf(ptr noundef @.str.1, ptr noundef %39) br label %42 41: ; preds = %22 store ptr null, ptr %3, align 8 br label %44 42: ; preds = %34, %28 %43 = load ptr, ptr %8, align 8 store ptr %43, ptr %3, align 8 br label %44 44: ; preds = %42, %41, %21 %45 = load ptr, ptr %3, align 8 ret ptr %45 } declare i64 @strlen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @puts(ptr noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd52qjm55.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @gen_path.extention = internal global [5 x i8] c".ftf\00", align 1 @.str = private unnamed_addr constant [20 x i8] c"decryption gen_path\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"last_dot= %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @gen_path(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %10 = call i64 @strlen(ptr noundef @gen_path.extention) store i64 %10, ptr %6, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i64 @strlen(ptr noundef %11) store i64 %12, ptr %7, align 8 %13 = load ptr, ptr %4, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %21, label %15 15: ; preds = %2 %16 = load i64, ptr %7, align 8 %17 = load i64, ptr %6, align 8 %18 = add i64 %16, %17 %19 = call ptr @malloc(i64 noundef %18) store ptr %19, ptr %8, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %22 21: ; preds = %15, %2 store ptr null, ptr %3, align 8 br label %44 22: ; preds = %15 %23 = load ptr, ptr %8, align 8 %24 = load ptr, ptr %4, align 8 %25 = load i64, ptr %7, align 8 %26 = call i32 @memcpy(ptr noundef %23, ptr noundef %24, i64 noundef %25) %27 = load i32, ptr %5, align 4 switch i32 %27, label %41 [ i32 1, label %28 i32 0, label %34 ] 28: ; preds = %22 %29 = load ptr, ptr %8, align 8 %30 = load i64, ptr %7, align 8 %31 = getelementptr inbounds i8, ptr %29, i64 %30 %32 = load i64, ptr %6, align 8 %33 = call i32 @memcpy(ptr noundef %31, ptr noundef @gen_path.extention, i64 noundef %32) br label %42 34: ; preds = %22 %35 = call i32 @puts(ptr noundef @.str) %36 = load ptr, ptr %8, align 8 %37 = call ptr @strrchr(ptr noundef %36, i8 noundef signext 46) store ptr %37, ptr %9, align 8 %38 = load ptr, ptr %9, align 8 store i8 0, ptr %38, align 1 %39 = load ptr, ptr %8, align 8 %40 = call i32 @printf(ptr noundef @.str.1, ptr noundef %39) br label %42 41: ; preds = %22 store ptr null, ptr %3, align 8 br label %44 42: ; preds = %34, %28 %43 = load ptr, ptr %8, align 8 store ptr %43, ptr %3, align 8 br label %44 44: ; preds = %42, %41, %21 %45 = load ptr, ptr %3, align 8 ret ptr %45 } declare i64 @strlen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @puts(ptr noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5r2lumed.c' source_filename = "/tmp/tmp5r2lumed.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Reserved_Handler30() #0 { br label %1 1: ; preds = %0, %1 br label %1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5r2lumed.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Reserved_Handler30() #0 { br label %1 1: ; preds = %1, %0 br label %1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf9pv6ajv.c' source_filename = "/tmp/tmpf9pv6ajv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Error accepting connection\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @accept_error() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf9pv6ajv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Error accepting connection\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @accept_error() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4jhef96e.c' source_filename = "/tmp/tmp4jhef96e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BNCFrontOff() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i32 99, ptr %2, align 4 %5 = call i32 @BNCIO2(i32 noundef 32, i32 noundef 0) %6 = load i32, ptr %2, align 4 ret i32 %6 } declare i32 @BNCIO2(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/tmp4jhef96e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BNCFrontOff() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i32 99, ptr %2, align 4 %5 = call i32 @BNCIO2(i32 noundef 32, i32 noundef 0) %6 = load i32, ptr %2, align 4 ret i32 %6 } declare i32 @BNCIO2(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/tmp5ms212im.c' source_filename = "/tmp/tmp5ms212im.c" target datalayout = "e-m:e-p270: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/tmp5ms212im.c" target datalayout = "e-m:e-p270: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/tmpm1ndnj4e.c' source_filename = "/tmp/tmpm1ndnj4e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [128 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca [10 x i32], align 16 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 1, ptr %7, align 4 br label %17 17: ; preds = %106, %2 %18 = load i32, ptr %7, align 4 %19 = icmp slt i32 %18, 9876 br i1 %19, label %20, label %109 20: ; preds = %17 store i32 1, ptr %8, align 4 br label %21 21: ; preds = %102, %20 %22 = load i32, ptr %8, align 4 %23 = icmp sle i32 %22, 9 br i1 %23, label %24, label %105 24: ; preds = %21 store i32 0, ptr %10, align 4 store i32 1, ptr %11, align 4 br label %25 25: ; preds = %46, %24 %26 = load i32, ptr %11, align 4 %27 = load i32, ptr %8, align 4 %28 = icmp sle i32 %26, %27 br i1 %28, label %29, label %49 29: ; preds = %25 %30 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0 %31 = load i32, ptr %10, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 %34 = load i32, ptr %7, align 4 %35 = load i32, ptr %11, align 4 %36 = mul nsw i32 %34, %35 %37 = call i64 @sprintf(ptr noundef %33, ptr noundef @.str, i32 noundef %36) %38 = load i32, ptr %10, align 4 %39 = sext i32 %38 to i64 %40 = add nsw i64 %39, %37 %41 = trunc i64 %40 to i32 store i32 %41, ptr %10, align 4 %42 = load i32, ptr %10, align 4 %43 = icmp sgt i32 %42, 9 br i1 %43, label %44, label %45 44: ; preds = %29 br label %49 45: ; preds = %29 br label %46 46: ; preds = %45 %47 = load i32, ptr %11, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %11, align 4 br label %25, !llvm.loop !6 49: ; preds = %44, %25 %50 = load i32, ptr %10, align 4 %51 = icmp ne i32 %50, 9 br i1 %51, label %52, label %53 52: ; preds = %49 br label %102 53: ; preds = %49 %54 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0 %55 = call i32 @atoi(ptr noundef %54) store i32 %55, ptr %12, align 4 %56 = load i32, ptr %12, align 4 %57 = icmp sgt i32 %56, 987654321 br i1 %57, label %58, label %59 58: ; preds = %53 br label %105 59: ; preds = %53 %60 = load i32, ptr %12, align 4 %61 = icmp sle i32 %60, 918273645 br i1 %61, label %62, label %63 62: ; preds = %59 br label %102 63: ; preds = %59 call void @llvm.memset.p0.i64(ptr align 16 %13, i8 0, i64 40, i1 false) %64 = load i32, ptr %12, align 4 store i32 %64, ptr %14, align 4 br label %65 65: ; preds = %68, %63 %66 = load i32, ptr %14, align 4 %67 = icmp ne i32 %66, 0 br i1 %67, label %68, label %77 68: ; preds = %65 %69 = load i32, ptr %14, align 4 %70 = srem i32 %69, 10 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [10 x i32], ptr %13, i64 0, i64 %71 %73 = load i32, ptr %72, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %72, align 4 %75 = load i32, ptr %14, align 4 %76 = sdiv i32 %75, 10 store i32 %76, ptr %14, align 4 br label %65, !llvm.loop !8 77: ; preds = %65 store i32 1, ptr %15, align 4 store i32 1, ptr %16, align 4 br label %78 78: ; preds = %89, %77 %79 = load i32, ptr %16, align 4 %80 = icmp slt i32 %79, 10 br i1 %80, label %81, label %92 81: ; preds = %78 %82 = load i32, ptr %16, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [10 x i32], ptr %13, i64 0, i64 %83 %85 = load i32, ptr %84, align 4 %86 = icmp ne i32 %85, 1 br i1 %86, label %87, label %88 87: ; preds = %81 store i32 0, ptr %15, align 4 br label %92 88: ; preds = %81 br label %89 89: ; preds = %88 %90 = load i32, ptr %16, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %16, align 4 br label %78, !llvm.loop !9 92: ; preds = %87, %78 %93 = load i32, ptr %15, align 4 %94 = icmp ne i32 %93, 0 br i1 %94, label %95, label %101 95: ; preds = %92 %96 = load i32, ptr %12, align 4 %97 = load i32, ptr %6, align 4 %98 = icmp sgt i32 %96, %97 br i1 %98, label %99, label %101 99: ; preds = %95 %100 = load i32, ptr %12, align 4 store i32 %100, ptr %6, align 4 br label %101 101: ; preds = %99, %95, %92 br label %102 102: ; preds = %101, %62, %52 %103 = load i32, ptr %8, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %8, align 4 br label %21, !llvm.loop !10 105: ; preds = %58, %21 br label %106 106: ; preds = %105 %107 = load i32, ptr %7, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %7, align 4 br label %17, !llvm.loop !11 109: ; preds = %17 %110 = load i32, ptr %6, align 4 %111 = call i32 @printf(ptr noundef @.str.1, i32 noundef %110) ret i32 0 } declare i64 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @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" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm1ndnj4e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [128 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca [10 x i32], align 16 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 1, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = icmp slt i32 %17, 9876 br i1 %18, label %.lr.ph9, label %115 .lr.ph9: ; preds = %2 br label %19 19: ; preds = %.lr.ph9, %110 store i32 1, ptr %8, align 4 %20 = load i32, ptr %8, align 4 %21 = icmp sle i32 %20, 9 br i1 %21, label %.lr.ph7, label %.loopexit2 .lr.ph7: ; preds = %19 br label %22 22: ; preds = %.lr.ph7, %104 store i32 0, ptr %10, align 4 store i32 1, ptr %11, align 4 %23 = load i32, ptr %11, align 4 %24 = load i32, ptr %8, align 4 %25 = icmp sle i32 %23, %24 br i1 %25, label %.lr.ph, label %.loopexit1 .lr.ph: ; preds = %22 br label %26 26: ; preds = %.lr.ph, %43 %27 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0 %28 = load i32, ptr %10, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i32, ptr %7, align 4 %32 = load i32, ptr %11, align 4 %33 = mul nsw i32 %31, %32 %34 = call i64 @sprintf(ptr noundef %30, ptr noundef @.str, i32 noundef %33) %35 = load i32, ptr %10, align 4 %36 = sext i32 %35 to i64 %37 = add nsw i64 %36, %34 %38 = trunc i64 %37 to i32 store i32 %38, ptr %10, align 4 %39 = load i32, ptr %10, align 4 %40 = icmp sgt i32 %39, 9 br i1 %40, label %41, label %42 41: ; preds = %26 br label %49 42: ; preds = %26 br label %43 43: ; preds = %42 %44 = load i32, ptr %11, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %11, align 4 %46 = load i32, ptr %11, align 4 %47 = load i32, ptr %8, align 4 %48 = icmp sle i32 %46, %47 br i1 %48, label %26, label %..loopexit1_crit_edge, !llvm.loop !6 ..loopexit1_crit_edge: ; preds = %43 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %22 br label %49 49: ; preds = %.loopexit1, %41 %50 = load i32, ptr %10, align 4 %51 = icmp ne i32 %50, 9 br i1 %51, label %52, label %53 52: ; preds = %49 br label %104 53: ; preds = %49 %54 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0 %55 = call i32 @atoi(ptr noundef %54) store i32 %55, ptr %12, align 4 %56 = load i32, ptr %12, align 4 %57 = icmp sgt i32 %56, 987654321 br i1 %57, label %58, label %59 58: ; preds = %53 br label %109 59: ; preds = %53 %60 = load i32, ptr %12, align 4 %61 = icmp sle i32 %60, 918273645 br i1 %61, label %62, label %63 62: ; preds = %59 br label %104 63: ; preds = %59 call void @llvm.memset.p0.i64(ptr align 16 %13, i8 0, i64 40, i1 false) %64 = load i32, ptr %12, align 4 store i32 %64, ptr %14, align 4 %65 = load i32, ptr %14, align 4 %66 = icmp ne i32 %65, 0 br i1 %66, label %.lr.ph3, label %78 .lr.ph3: ; preds = %63 br label %67 67: ; preds = %.lr.ph3, %67 %68 = load i32, ptr %14, align 4 %69 = srem i32 %68, 10 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [10 x i32], ptr %13, i64 0, i64 %70 %72 = load i32, ptr %71, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %71, align 4 %74 = load i32, ptr %14, align 4 %75 = sdiv i32 %74, 10 store i32 %75, ptr %14, align 4 %76 = load i32, ptr %14, align 4 %77 = icmp ne i32 %76, 0 br i1 %77, label %67, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %67 br label %78 78: ; preds = %._crit_edge, %63 store i32 1, ptr %15, align 4 store i32 1, ptr %16, align 4 %79 = load i32, ptr %16, align 4 %80 = icmp slt i32 %79, 10 br i1 %80, label %.lr.ph5, label %.loopexit .lr.ph5: ; preds = %78 br label %81 81: ; preds = %.lr.ph5, %89 %82 = load i32, ptr %16, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [10 x i32], ptr %13, i64 0, i64 %83 %85 = load i32, ptr %84, align 4 %86 = icmp ne i32 %85, 1 br i1 %86, label %87, label %88 87: ; preds = %81 store i32 0, ptr %15, align 4 br label %94 88: ; preds = %81 br label %89 89: ; preds = %88 %90 = load i32, ptr %16, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %16, align 4 %92 = load i32, ptr %16, align 4 %93 = icmp slt i32 %92, 10 br i1 %93, label %81, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %89 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %78 br label %94 94: ; preds = %.loopexit, %87 %95 = load i32, ptr %15, align 4 %96 = icmp ne i32 %95, 0 br i1 %96, label %97, label %103 97: ; preds = %94 %98 = load i32, ptr %12, align 4 %99 = load i32, ptr %6, align 4 %100 = icmp sgt i32 %98, %99 br i1 %100, label %101, label %103 101: ; preds = %97 %102 = load i32, ptr %12, align 4 store i32 %102, ptr %6, align 4 br label %103 103: ; preds = %101, %97, %94 br label %104 104: ; preds = %103, %62, %52 %105 = load i32, ptr %8, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %8, align 4 %107 = load i32, ptr %8, align 4 %108 = icmp sle i32 %107, 9 br i1 %108, label %22, label %..loopexit2_crit_edge, !llvm.loop !10 ..loopexit2_crit_edge: ; preds = %104 br label %.loopexit2 .loopexit2: ; preds = %..loopexit2_crit_edge, %19 br label %109 109: ; preds = %.loopexit2, %58 br label %110 110: ; preds = %109 %111 = load i32, ptr %7, align 4 %112 = add nsw i32 %111, 1 store i32 %112, ptr %7, align 4 %113 = load i32, ptr %7, align 4 %114 = icmp slt i32 %113, 9876 br i1 %114, label %19, label %._crit_edge10, !llvm.loop !11 ._crit_edge10: ; preds = %110 br label %115 115: ; preds = %._crit_edge10, %2 %116 = load i32, ptr %6, align 4 %117 = call i32 @printf(ptr noundef @.str.1, i32 noundef %116) ret i32 0 } declare i64 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @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" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpppsu9ntz.c' source_filename = "/tmp/tmpppsu9ntz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalnum.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isalnum should be 0 for |\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalnum_0x7c() #0 { %1 = call i64 @isalnum(i32 noundef 124) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 625, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isalnum(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/tmpppsu9ntz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalnum.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"isalnum should be 0 for |\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalnum_0x7c() #0 { %1 = call i64 @isalnum(i32 noundef 124) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 625, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isalnum(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/tmpvwz_vsj1.c' source_filename = "/tmp/tmpvwz_vsj1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvwz_vsj1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1dw0v5u3.c' source_filename = "/tmp/tmp1dw0v5u3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nRF24L01P_getRfFrequency() #0 { %1 = alloca i32, align 4 %2 = call i32 @nRF24L01P_getRegister(i32 noundef 5) %3 = and i32 %2, 127 store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = add nsw i32 %4, 2400 ret i32 %5 } declare i32 @nRF24L01P_getRegister(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/tmp1dw0v5u3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nRF24L01P_getRfFrequency() #0 { %1 = alloca i32, align 4 %2 = call i32 @nRF24L01P_getRegister(i32 noundef 5) %3 = and i32 %2, 127 store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = add nsw i32 %4, 2400 ret i32 %5 } declare i32 @nRF24L01P_getRegister(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/tmpc7bo8s8v.c' source_filename = "/tmp/tmpc7bo8s8v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_uint8_t_div(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, ptr noalias noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 store i32 0, ptr %11, align 4 br label %12 12: ; preds = %47, %5 %13 = load i32, ptr %11, align 4 %14 = load i32, ptr %10, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %50 16: ; preds = %12 %17 = load ptr, ptr %9, align 8 %18 = load i32, ptr %11, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = load i32, ptr %20, align 4 %22 = icmp ne i32 %21, 1 br i1 %22, label %23, label %35 23: ; preds = %16 %24 = load ptr, ptr %7, align 8 %25 = load i32, ptr %11, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i32, ptr %27, align 4 %29 = load ptr, ptr %8, align 8 %30 = load i32, ptr %11, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 %33 = load i32, ptr %32, align 4 %34 = sdiv i32 %28, %33 br label %41 35: ; preds = %16 %36 = load ptr, ptr %7, align 8 %37 = load i32, ptr %11, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %36, i64 %38 %40 = load i32, ptr %39, align 4 br label %41 41: ; preds = %35, %23 %42 = phi i32 [ %34, %23 ], [ %40, %35 ] %43 = load ptr, ptr %6, align 8 %44 = load i32, ptr %11, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 store i32 %42, ptr %46, align 4 br label %47 47: ; preds = %41 %48 = load i32, ptr %11, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %11, align 4 br label %12, !llvm.loop !6 50: ; preds = %12 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc7bo8s8v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_uint8_t_div(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, ptr noalias noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 store i32 0, ptr %11, align 4 %12 = load i32, ptr %11, align 4 %13 = load i32, ptr %10, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %52 .lr.ph: ; preds = %5 br label %15 15: ; preds = %.lr.ph, %46 %16 = load ptr, ptr %9, align 8 %17 = load i32, ptr %11, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 %20 = load i32, ptr %19, align 4 %21 = icmp ne i32 %20, 1 br i1 %21, label %22, label %34 22: ; preds = %15 %23 = load ptr, ptr %7, align 8 %24 = load i32, ptr %11, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 %27 = load i32, ptr %26, align 4 %28 = load ptr, ptr %8, align 8 %29 = load i32, ptr %11, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = load i32, ptr %31, align 4 %33 = sdiv i32 %27, %32 br label %40 34: ; preds = %15 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %11, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %35, i64 %37 %39 = load i32, ptr %38, align 4 br label %40 40: ; preds = %34, %22 %41 = phi i32 [ %33, %22 ], [ %39, %34 ] %42 = load ptr, ptr %6, align 8 %43 = load i32, ptr %11, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %42, i64 %44 store i32 %41, ptr %45, align 4 br label %46 46: ; preds = %40 %47 = load i32, ptr %11, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %11, align 4 %49 = load i32, ptr %11, align 4 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %46 br label %52 52: ; preds = %._crit_edge, %5 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_lbad52x.c' source_filename = "/tmp/tmp_lbad52x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rtrim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @assert(ptr noundef %6) %8 = load ptr, ptr %2, align 8 %9 = call i64 @strlen(ptr noundef %8) store i64 %9, ptr %3, align 8 %10 = load i64, ptr %3, align 8 %11 = icmp ne i64 %10, 0 br i1 %11, label %13, label %12 12: ; preds = %1 br label %36 13: ; preds = %1 %14 = load i64, ptr %3, align 8 store i64 %14, ptr %5, align 8 store i64 %14, ptr %4, align 8 br label %15 15: ; preds = %25, %13 %16 = load ptr, ptr %2, align 8 %17 = load i64, ptr %5, align 8 %18 = add i64 %17, -1 store i64 %18, ptr %5, align 8 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = call i32 @isspace(i8 noundef signext %20) %22 = icmp ne i32 %21, 0 br i1 %22, label %24, label %23 23: ; preds = %15 br label %28 24: ; preds = %15 br label %25 25: ; preds = %24 %26 = load i64, ptr %5, align 8 store i64 %26, ptr %4, align 8 %27 = icmp ne i64 %26, 0 br i1 %27, label %15, label %28, !llvm.loop !6 28: ; preds = %25, %23 %29 = load i64, ptr %4, align 8 %30 = load i64, ptr %3, align 8 %31 = icmp ult i64 %29, %30 br i1 %31, label %32, label %36 32: ; preds = %28 %33 = load ptr, ptr %2, align 8 %34 = load i64, ptr %4, align 8 %35 = getelementptr inbounds i8, ptr %33, i64 %34 store i8 0, ptr %35, align 1 br label %36 36: ; preds = %12, %32, %28 ret void } declare i32 @assert(ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @isspace(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/tmp_lbad52x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rtrim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @assert(ptr noundef %6) %8 = load ptr, ptr %2, align 8 %9 = call i64 @strlen(ptr noundef %8) store i64 %9, ptr %3, align 8 %10 = load i64, ptr %3, align 8 %11 = icmp ne i64 %10, 0 br i1 %11, label %13, label %12 12: ; preds = %1 br label %36 13: ; preds = %1 %14 = load i64, ptr %3, align 8 store i64 %14, ptr %5, align 8 store i64 %14, ptr %4, align 8 br label %15 15: ; preds = %25, %13 %16 = load ptr, ptr %2, align 8 %17 = load i64, ptr %5, align 8 %18 = add i64 %17, -1 store i64 %18, ptr %5, align 8 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = call i32 @isspace(i8 noundef signext %20) %22 = icmp ne i32 %21, 0 br i1 %22, label %24, label %23 23: ; preds = %15 br label %28 24: ; preds = %15 br label %25 25: ; preds = %24 %26 = load i64, ptr %5, align 8 store i64 %26, ptr %4, align 8 %27 = icmp ne i64 %26, 0 br i1 %27, label %15, label %.loopexit, !llvm.loop !6 .loopexit: ; preds = %25 br label %28 28: ; preds = %.loopexit, %23 %29 = load i64, ptr %4, align 8 %30 = load i64, ptr %3, align 8 %31 = icmp ult i64 %29, %30 br i1 %31, label %32, label %36 32: ; preds = %28 %33 = load ptr, ptr %2, align 8 %34 = load i64, ptr %4, align 8 %35 = getelementptr inbounds i8, ptr %33, i64 %34 store i8 0, ptr %35, align 1 br label %36 36: ; preds = %32, %28, %12 ret void } declare i32 @assert(ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @isspace(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/tmp3nu79xdg.c' source_filename = "/tmp/tmp3nu79xdg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Accept error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Accept(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = call i32 @accept(i32 noundef %8, ptr noundef %9, ptr noundef %10) store i32 %11, ptr %7, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %3 %14 = call i32 @unix_error(ptr noundef @.str) br label %15 15: ; preds = %13, %3 %16 = load i32, ptr %7, align 4 ret i32 %16 } declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @unix_error(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3nu79xdg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Accept error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Accept(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = call i32 @accept(i32 noundef %8, ptr noundef %9, ptr noundef %10) store i32 %11, ptr %7, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %3 %14 = call i32 @unix_error(ptr noundef @.str) br label %15 15: ; preds = %13, %3 %16 = load i32, ptr %7, align 4 ret i32 %16 } declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @unix_error(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzd0cz6mb.c' source_filename = "/tmp/tmpzd0cz6mb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32 } @.str = private unnamed_addr constant [2 x i8] c"S\00", align 1 @.str.1 = private unnamed_addr constant [58 x i8] c"Convert %u bytes of S-record data to binary flash format\0A\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"%c%c line is not supported\0A\00", align 1 @.str.3 = private unnamed_addr constant [43 x i8] c"S-record try to write outside flash area!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @s_record_to_bin(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 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 i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca %struct.timeval, align 4 %13 = alloca %struct.timeval, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca ptr, align 8 %18 = alloca i16, align 2 %19 = alloca i8, align 1 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %25 = load ptr, ptr %7, align 8 store ptr %25, ptr %10, align 8 %26 = load ptr, ptr %6, align 8 store ptr %26, ptr %11, align 8 %27 = load i32, ptr %8, align 4 store i32 %27, ptr %14, align 4 store i32 0, ptr %15, align 4 store i32 0, ptr %16, align 4 %28 = load ptr, ptr %11, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 2 %30 = call ptr @strstr(ptr noundef %29, ptr noundef @.str) %31 = getelementptr inbounds i8, ptr %30, i64 -2 store ptr %31, ptr %17, align 8 %32 = load ptr, ptr %17, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 13 br i1 %35, label %36, label %37 36: ; preds = %4 store i32 2, ptr %16, align 4 br label %38 37: ; preds = %4 store i32 1, ptr %16, align 4 br label %38 38: ; preds = %37, %36 %39 = load i32, ptr %8, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %39) %41 = call i32 @gettimeofday(ptr noundef %12, ptr noundef null) br label %42 42: ; preds = %127, %38 %43 = load i32, ptr %14, align 4 %44 = icmp ne i32 %43, 0 br i1 %44, label %45, label %136 45: ; preds = %42 %46 = load ptr, ptr %11, align 8 %47 = getelementptr inbounds i8, ptr %46, i64 0 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = shl i32 %49, 8 %51 = load ptr, ptr %11, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 1 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = or i32 %50, %54 %56 = trunc i32 %55 to i16 store i16 %56, ptr %18, align 2 %57 = load ptr, ptr %11, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 2 %59 = call i32 @char_to_val(ptr noundef %58) %60 = add nsw i32 2, %59 %61 = trunc i32 %60 to i8 store i8 %61, ptr %19, align 1 %62 = load i8, ptr %19, align 1 %63 = zext i8 %62 to i32 %64 = mul nsw i32 2, %63 %65 = load i32, ptr %16, align 4 %66 = add nsw i32 %64, %65 store i32 %66, ptr %20, align 4 %67 = load ptr, ptr %11, align 8 %68 = load i32, ptr %20, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i8, ptr %67, i64 %69 store ptr %70, ptr %22, align 8 %71 = load i16, ptr %18, align 2 %72 = zext i16 %71 to i32 switch i32 %72, label %103 [ i32 21296, label %73 i32 21299, label %78 ] 73: ; preds = %45 %74 = load ptr, ptr %11, align 8 %75 = getelementptr inbounds i8, ptr %74, i64 8 store ptr %75, ptr %23, align 8 %76 = load i32, ptr %20, align 4 %77 = sub nsw i32 %76, 11 store i32 %77, ptr %21, align 4 br label %127 78: ; preds = %45 %79 = load ptr, ptr %11, align 8 %80 = getelementptr inbounds i8, ptr %79, i64 12 store ptr %80, ptr %23, align 8 %81 = load i32, ptr %20, align 4 %82 = sub nsw i32 %81, 14 %83 = load i32, ptr %16, align 4 %84 = sub nsw i32 %82, %83 store i32 %84, ptr %21, align 4 %85 = load ptr, ptr %11, align 8 %86 = getelementptr inbounds i8, ptr %85, i64 4 %87 = call i32 @char_to_val(ptr noundef %86) %88 = shl i32 %87, 24 %89 = load ptr, ptr %11, align 8 %90 = getelementptr inbounds i8, ptr %89, i64 6 %91 = call i32 @char_to_val(ptr noundef %90) %92 = shl i32 %91, 16 %93 = or i32 %88, %92 %94 = load ptr, ptr %11, align 8 %95 = getelementptr inbounds i8, ptr %94, i64 8 %96 = call i32 @char_to_val(ptr noundef %95) %97 = shl i32 %96, 8 %98 = or i32 %93, %97 %99 = load ptr, ptr %11, align 8 %100 = getelementptr inbounds i8, ptr %99, i64 10 %101 = call i32 @char_to_val(ptr noundef %100) %102 = or i32 %98, %101 store i32 %102, ptr %24, align 4 br label %111 103: ; preds = %45 %104 = load ptr, ptr %11, align 8 %105 = getelementptr inbounds i8, ptr %104, i64 0 %106 = call i32 @char_to_val(ptr noundef %105) %107 = load ptr, ptr %11, align 8 %108 = getelementptr inbounds i8, ptr %107, i64 2 %109 = call i32 @char_to_val(ptr noundef %108) %110 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %106, i32 noundef %109) store i32 -1, ptr %5, align 4 br label %141 111: ; preds = %78 %112 = load i32, ptr %24, align 4 %113 = load i32, ptr %21, align 4 %114 = add i32 %112, %113 %115 = load i32, ptr %9, align 4 %116 = icmp ugt i32 %114, %115 br i1 %116, label %117, label %119 117: ; preds = %111 %118 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 -1, ptr %5, align 4 br label %141 119: ; preds = %111 %120 = load ptr, ptr %23, align 8 %121 = load ptr, ptr %10, align 8 %122 = load i32, ptr %24, align 4 %123 = zext i32 %122 to i64 %124 = getelementptr inbounds i8, ptr %121, i64 %123 %125 = load i32, ptr %21, align 4 %126 = call i32 @str_to_char(ptr noundef %120, ptr noundef %124, i32 noundef %125) br label %127 127: ; preds = %119, %73 %128 = load i32, ptr %21, align 4 %129 = sdiv i32 %128, 2 %130 = load i32, ptr %15, align 4 %131 = add nsw i32 %130, %129 store i32 %131, ptr %15, align 4 %132 = load ptr, ptr %22, align 8 store ptr %132, ptr %11, align 8 %133 = load i32, ptr %20, align 4 %134 = load i32, ptr %14, align 4 %135 = sub nsw i32 %134, %133 store i32 %135, ptr %14, align 4 br label %42, !llvm.loop !6 136: ; preds = %42 %137 = call i32 @gettimeofday(ptr noundef %13, ptr noundef null) %138 = load i32, ptr %8, align 4 %139 = call i32 @show_performance(ptr noundef %12, ptr noundef %13, i32 noundef %138) %140 = load i32, ptr %15, align 4 store i32 %140, ptr %5, align 4 br label %141 141: ; preds = %136, %117, %103 %142 = load i32, ptr %5, align 4 ret i32 %142 } declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @char_to_val(ptr noundef) #1 declare i32 @str_to_char(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @show_performance(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzd0cz6mb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32 } @.str = private unnamed_addr constant [2 x i8] c"S\00", align 1 @.str.1 = private unnamed_addr constant [58 x i8] c"Convert %u bytes of S-record data to binary flash format\0A\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"%c%c line is not supported\0A\00", align 1 @.str.3 = private unnamed_addr constant [43 x i8] c"S-record try to write outside flash area!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @s_record_to_bin(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 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 i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca %struct.timeval, align 4 %13 = alloca %struct.timeval, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca ptr, align 8 %18 = alloca i16, align 2 %19 = alloca i8, align 1 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %25 = load ptr, ptr %7, align 8 store ptr %25, ptr %10, align 8 %26 = load ptr, ptr %6, align 8 store ptr %26, ptr %11, align 8 %27 = load i32, ptr %8, align 4 store i32 %27, ptr %14, align 4 store i32 0, ptr %15, align 4 store i32 0, ptr %16, align 4 %28 = load ptr, ptr %11, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 2 %30 = call ptr @strstr(ptr noundef %29, ptr noundef @.str) %31 = getelementptr inbounds i8, ptr %30, i64 -2 store ptr %31, ptr %17, align 8 %32 = load ptr, ptr %17, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 13 br i1 %35, label %36, label %37 36: ; preds = %4 store i32 2, ptr %16, align 4 br label %38 37: ; preds = %4 store i32 1, ptr %16, align 4 br label %38 38: ; preds = %37, %36 %39 = load i32, ptr %8, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %39) %41 = call i32 @gettimeofday(ptr noundef %12, ptr noundef null) %42 = load i32, ptr %14, align 4 %43 = icmp ne i32 %42, 0 br i1 %43, label %.lr.ph, label %137 .lr.ph: ; preds = %38 br label %44 44: ; preds = %.lr.ph, %126 %45 = load ptr, ptr %11, align 8 %46 = getelementptr inbounds i8, ptr %45, i64 0 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = shl i32 %48, 8 %50 = load ptr, ptr %11, align 8 %51 = getelementptr inbounds i8, ptr %50, i64 1 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = or i32 %49, %53 %55 = trunc i32 %54 to i16 store i16 %55, ptr %18, align 2 %56 = load ptr, ptr %11, align 8 %57 = getelementptr inbounds i8, ptr %56, i64 2 %58 = call i32 @char_to_val(ptr noundef %57) %59 = add nsw i32 2, %58 %60 = trunc i32 %59 to i8 store i8 %60, ptr %19, align 1 %61 = load i8, ptr %19, align 1 %62 = zext i8 %61 to i32 %63 = mul nsw i32 2, %62 %64 = load i32, ptr %16, align 4 %65 = add nsw i32 %63, %64 store i32 %65, ptr %20, align 4 %66 = load ptr, ptr %11, align 8 %67 = load i32, ptr %20, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %66, i64 %68 store ptr %69, ptr %22, align 8 %70 = load i16, ptr %18, align 2 %71 = zext i16 %70 to i32 switch i32 %71, label %102 [ i32 21296, label %72 i32 21299, label %77 ] 72: ; preds = %44 %73 = load ptr, ptr %11, align 8 %74 = getelementptr inbounds i8, ptr %73, i64 8 store ptr %74, ptr %23, align 8 %75 = load i32, ptr %20, align 4 %76 = sub nsw i32 %75, 11 store i32 %76, ptr %21, align 4 br label %126 77: ; preds = %44 %78 = load ptr, ptr %11, align 8 %79 = getelementptr inbounds i8, ptr %78, i64 12 store ptr %79, ptr %23, align 8 %80 = load i32, ptr %20, align 4 %81 = sub nsw i32 %80, 14 %82 = load i32, ptr %16, align 4 %83 = sub nsw i32 %81, %82 store i32 %83, ptr %21, align 4 %84 = load ptr, ptr %11, align 8 %85 = getelementptr inbounds i8, ptr %84, i64 4 %86 = call i32 @char_to_val(ptr noundef %85) %87 = shl i32 %86, 24 %88 = load ptr, ptr %11, align 8 %89 = getelementptr inbounds i8, ptr %88, i64 6 %90 = call i32 @char_to_val(ptr noundef %89) %91 = shl i32 %90, 16 %92 = or i32 %87, %91 %93 = load ptr, ptr %11, align 8 %94 = getelementptr inbounds i8, ptr %93, i64 8 %95 = call i32 @char_to_val(ptr noundef %94) %96 = shl i32 %95, 8 %97 = or i32 %92, %96 %98 = load ptr, ptr %11, align 8 %99 = getelementptr inbounds i8, ptr %98, i64 10 %100 = call i32 @char_to_val(ptr noundef %99) %101 = or i32 %97, %100 store i32 %101, ptr %24, align 4 br label %110 102: ; preds = %44 %103 = load ptr, ptr %11, align 8 %104 = getelementptr inbounds i8, ptr %103, i64 0 %105 = call i32 @char_to_val(ptr noundef %104) %106 = load ptr, ptr %11, align 8 %107 = getelementptr inbounds i8, ptr %106, i64 2 %108 = call i32 @char_to_val(ptr noundef %107) %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %105, i32 noundef %108) store i32 -1, ptr %5, align 4 br label %142 110: ; preds = %77 %111 = load i32, ptr %24, align 4 %112 = load i32, ptr %21, align 4 %113 = add i32 %111, %112 %114 = load i32, ptr %9, align 4 %115 = icmp ugt i32 %113, %114 br i1 %115, label %116, label %118 116: ; preds = %110 %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 -1, ptr %5, align 4 br label %142 118: ; preds = %110 %119 = load ptr, ptr %23, align 8 %120 = load ptr, ptr %10, align 8 %121 = load i32, ptr %24, align 4 %122 = zext i32 %121 to i64 %123 = getelementptr inbounds i8, ptr %120, i64 %122 %124 = load i32, ptr %21, align 4 %125 = call i32 @str_to_char(ptr noundef %119, ptr noundef %123, i32 noundef %124) br label %126 126: ; preds = %118, %72 %127 = load i32, ptr %21, align 4 %128 = sdiv i32 %127, 2 %129 = load i32, ptr %15, align 4 %130 = add nsw i32 %129, %128 store i32 %130, ptr %15, align 4 %131 = load ptr, ptr %22, align 8 store ptr %131, ptr %11, align 8 %132 = load i32, ptr %20, align 4 %133 = load i32, ptr %14, align 4 %134 = sub nsw i32 %133, %132 store i32 %134, ptr %14, align 4 %135 = load i32, ptr %14, align 4 %136 = icmp ne i32 %135, 0 br i1 %136, label %44, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %126 br label %137 137: ; preds = %._crit_edge, %38 %138 = call i32 @gettimeofday(ptr noundef %13, ptr noundef null) %139 = load i32, ptr %8, align 4 %140 = call i32 @show_performance(ptr noundef %12, ptr noundef %13, i32 noundef %139) %141 = load i32, ptr %15, align 4 store i32 %141, ptr %5, align 4 br label %142 142: ; preds = %137, %116, %102 %143 = load i32, ptr %5, align 4 ret i32 %143 } declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @char_to_val(ptr noundef) #1 declare i32 @str_to_char(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @show_performance(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpy_m_t6ix.c' source_filename = "/tmp/tmpy_m_t6ix.c" target datalayout = "e-m:e-p270: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/tmpy_m_t6ix.c" target datalayout = "e-m:e-p270: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/tmp92j6ja0y.c' source_filename = "/tmp/tmp92j6ja0y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @toupper(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = trunc i32 %4 to i8 store i8 %5, ptr %3, align 1 %6 = load i8, ptr %3, align 1 %7 = sext i8 %6 to i32 %8 = icmp sge i32 %7, 97 br i1 %8, label %9, label %18 9: ; preds = %1 %10 = load i8, ptr %3, align 1 %11 = sext i8 %10 to i32 %12 = icmp sle i32 %11, 122 br i1 %12, label %13, label %18 13: ; preds = %9 %14 = load i8, ptr %3, align 1 %15 = sext i8 %14 to i32 %16 = xor i32 %15, 32 %17 = trunc i32 %16 to i8 store i8 %17, ptr %3, align 1 br label %18 18: ; preds = %13, %9, %1 %19 = load i8, ptr %3, align 1 %20 = sext i8 %19 to i32 ret i32 %20 } 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp92j6ja0y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @toupper(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = trunc i32 %4 to i8 store i8 %5, ptr %3, align 1 %6 = load i8, ptr %3, align 1 %7 = sext i8 %6 to i32 %8 = icmp sge i32 %7, 97 br i1 %8, label %9, label %18 9: ; preds = %1 %10 = load i8, ptr %3, align 1 %11 = sext i8 %10 to i32 %12 = icmp sle i32 %11, 122 br i1 %12, label %13, label %18 13: ; preds = %9 %14 = load i8, ptr %3, align 1 %15 = sext i8 %14 to i32 %16 = xor i32 %15, 32 %17 = trunc i32 %16 to i8 store i8 %17, ptr %3, align 1 br label %18 18: ; preds = %13, %9, %1 %19 = load i8, ptr %3, align 1 %20 = sext i8 %19 to i32 ret i32 %20 } 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplc2xy_9i.c' source_filename = "/tmp/tmplc2xy_9i.c" target datalayout = "e-m:e-p270: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.addrinfo = type { i64, i32, i64, ptr, i32, i32 } %struct.sockaddr_in = type { %struct.in_addr } %struct.in_addr = type { i32 } %struct.sockaddr_in6 = type { i32 } @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @AF_UNSPEC = dso_local global i64 0, align 8 @SOCK_STREAM = dso_local global i32 0, align 4 @AI_PASSIVE = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [23 x i8] c"Failed to resolve: %s\0A\00", align 1 @INET_ADDRSTRLEN = dso_local global i32 0, align 4 @AF_INET = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [19 x i8] c"Failed to connect.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @net_util_connect(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca %struct.addrinfo, align 8 %8 = alloca ptr, align 8 %9 = alloca [6 x i8], align 1 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %18 = getelementptr inbounds [6 x i8], ptr %9, i64 0, i64 0 %19 = load i32, ptr %5, align 4 %20 = call i32 @sprintf(ptr noundef %18, ptr noundef @.str, i32 noundef %19) %21 = call i32 @bzero(ptr noundef %7, i32 noundef 40) %22 = load i64, ptr @AF_UNSPEC, align 8 %23 = getelementptr inbounds %struct.addrinfo, ptr %7, i32 0, i32 0 store i64 %22, ptr %23, align 8 %24 = load i32, ptr @SOCK_STREAM, align 4 %25 = getelementptr inbounds %struct.addrinfo, ptr %7, i32 0, i32 5 store i32 %24, ptr %25, align 4 %26 = load i32, ptr @AI_PASSIVE, align 4 %27 = getelementptr inbounds %struct.addrinfo, ptr %7, i32 0, i32 4 store i32 %26, ptr %27, align 8 %28 = load ptr, ptr %4, align 8 %29 = getelementptr inbounds [6 x i8], ptr %9, i64 0, i64 0 %30 = call i32 @getaddrinfo(ptr noundef %28, ptr noundef %29, ptr noundef %7, ptr noundef %8) store i32 %30, ptr %6, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %37 32: ; preds = %2 %33 = load i32, ptr @stderr, align 4 %34 = load i32, ptr %6, align 4 %35 = call ptr @gai_strerror(i32 noundef %34) %36 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str.1, ptr noundef %35) store i32 -1, ptr %3, align 4 br label %106 37: ; preds = %2 %38 = load i32, ptr @INET_ADDRSTRLEN, align 4 %39 = zext i32 %38 to i64 %40 = call ptr @llvm.stacksave() store ptr %40, ptr %11, align 8 %41 = alloca i8, i64 %39, align 16 store i64 %39, ptr %12, align 8 %42 = load ptr, ptr %8, align 8 store ptr %42, ptr %10, align 8 br label %43 43: ; preds = %96, %37 %44 = load ptr, ptr %10, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %46, label %100 46: ; preds = %43 %47 = load ptr, ptr %10, align 8 %48 = getelementptr inbounds %struct.addrinfo, ptr %47, i32 0, i32 0 %49 = load i64, ptr %48, align 8 %50 = load i64, ptr @AF_INET, align 8 %51 = icmp eq i64 %49, %50 br i1 %51, label %52, label %59 52: ; preds = %46 %53 = load ptr, ptr %10, align 8 %54 = getelementptr inbounds %struct.addrinfo, ptr %53, i32 0, i32 2 %55 = load i64, ptr %54, align 8 %56 = inttoptr i64 %55 to ptr store ptr %56, ptr %14, align 8 %57 = load ptr, ptr %14, align 8 %58 = getelementptr inbounds %struct.sockaddr_in, ptr %57, i32 0, i32 0 store ptr %58, ptr %13, align 8 br label %66 59: ; preds = %46 %60 = load ptr, ptr %10, align 8 %61 = getelementptr inbounds %struct.addrinfo, ptr %60, i32 0, i32 2 %62 = load i64, ptr %61, align 8 %63 = inttoptr i64 %62 to ptr store ptr %63, ptr %15, align 8 %64 = load ptr, ptr %15, align 8 %65 = getelementptr inbounds %struct.sockaddr_in6, ptr %64, i32 0, i32 0 store ptr %65, ptr %13, align 8 br label %66 66: ; preds = %59, %52 %67 = load ptr, ptr %10, align 8 %68 = getelementptr inbounds %struct.addrinfo, ptr %67, i32 0, i32 0 %69 = load i64, ptr %68, align 8 %70 = load ptr, ptr %13, align 8 %71 = trunc i64 %39 to i32 %72 = call i32 @inet_ntop(i64 noundef %69, ptr noundef %70, ptr noundef %41, i32 noundef %71) %73 = load ptr, ptr %10, align 8 %74 = getelementptr inbounds %struct.addrinfo, ptr %73, i32 0, i32 0 %75 = load i64, ptr %74, align 8 %76 = load i32, ptr @SOCK_STREAM, align 4 %77 = call i32 @socket(i64 noundef %75, i32 noundef %76, i32 noundef 0) store i32 %77, ptr %16, align 4 %78 = load i32, ptr %16, align 4 %79 = icmp ne i32 %78, -1 br i1 %79, label %80, label %95 80: ; preds = %66 %81 = load i32, ptr %16, align 4 %82 = load ptr, ptr %10, align 8 %83 = getelementptr inbounds %struct.addrinfo, ptr %82, i32 0, i32 2 %84 = load i64, ptr %83, align 8 %85 = load ptr, ptr %10, align 8 %86 = getelementptr inbounds %struct.addrinfo, ptr %85, i32 0, i32 1 %87 = load i32, ptr %86, align 8 %88 = call i64 @connect(i32 noundef %81, i64 noundef %84, i32 noundef %87) %89 = icmp eq i64 %88, 0 br i1 %89, label %90, label %94 90: ; preds = %80 %91 = load ptr, ptr %8, align 8 %92 = call i32 @freeaddrinfo(ptr noundef %91) %93 = load i32, ptr %16, align 4 store i32 %93, ptr %3, align 4 store i32 1, ptr %17, align 4 br label %104 94: ; preds = %80 br label %95 95: ; preds = %94, %66 br label %96 96: ; preds = %95 %97 = load ptr, ptr %10, align 8 %98 = getelementptr inbounds %struct.addrinfo, ptr %97, i32 0, i32 3 %99 = load ptr, ptr %98, align 8 store ptr %99, ptr %10, align 8 br label %43, !llvm.loop !6 100: ; preds = %43 %101 = load ptr, ptr %8, align 8 %102 = call i32 @freeaddrinfo(ptr noundef %101) %103 = call i32 @puts(ptr noundef @.str.2) store i32 -1, ptr %3, align 4 store i32 1, ptr %17, align 4 br label %104 104: ; preds = %100, %90 %105 = load ptr, ptr %11, align 8 call void @llvm.stackrestore(ptr %105) br label %106 106: ; preds = %104, %32 %107 = load i32, ptr %3, align 4 ret i32 %107 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @gai_strerror(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @inet_ntop(i64 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @socket(i64 noundef, i32 noundef, i32 noundef) #1 declare i64 @connect(i32 noundef, i64 noundef, i32 noundef) #1 declare i32 @freeaddrinfo(ptr noundef) #1 declare i32 @puts(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplc2xy_9i.c" target datalayout = "e-m:e-p270: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.addrinfo = type { i64, i32, i64, ptr, i32, i32 } %struct.sockaddr_in = type { %struct.in_addr } %struct.in_addr = type { i32 } %struct.sockaddr_in6 = type { i32 } @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @AF_UNSPEC = dso_local global i64 0, align 8 @SOCK_STREAM = dso_local global i32 0, align 4 @AI_PASSIVE = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [23 x i8] c"Failed to resolve: %s\0A\00", align 1 @INET_ADDRSTRLEN = dso_local global i32 0, align 4 @AF_INET = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [19 x i8] c"Failed to connect.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @net_util_connect(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca %struct.addrinfo, align 8 %8 = alloca ptr, align 8 %9 = alloca [6 x i8], align 1 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %18 = getelementptr inbounds [6 x i8], ptr %9, i64 0, i64 0 %19 = load i32, ptr %5, align 4 %20 = call i32 @sprintf(ptr noundef %18, ptr noundef @.str, i32 noundef %19) %21 = call i32 @bzero(ptr noundef %7, i32 noundef 40) %22 = load i64, ptr @AF_UNSPEC, align 8 %23 = getelementptr inbounds %struct.addrinfo, ptr %7, i32 0, i32 0 store i64 %22, ptr %23, align 8 %24 = load i32, ptr @SOCK_STREAM, align 4 %25 = getelementptr inbounds %struct.addrinfo, ptr %7, i32 0, i32 5 store i32 %24, ptr %25, align 4 %26 = load i32, ptr @AI_PASSIVE, align 4 %27 = getelementptr inbounds %struct.addrinfo, ptr %7, i32 0, i32 4 store i32 %26, ptr %27, align 8 %28 = load ptr, ptr %4, align 8 %29 = getelementptr inbounds [6 x i8], ptr %9, i64 0, i64 0 %30 = call i32 @getaddrinfo(ptr noundef %28, ptr noundef %29, ptr noundef %7, ptr noundef %8) store i32 %30, ptr %6, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %37 32: ; preds = %2 %33 = load i32, ptr @stderr, align 4 %34 = load i32, ptr %6, align 4 %35 = call ptr @gai_strerror(i32 noundef %34) %36 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str.1, ptr noundef %35) store i32 -1, ptr %3, align 4 br label %107 37: ; preds = %2 %38 = load i32, ptr @INET_ADDRSTRLEN, align 4 %39 = zext i32 %38 to i64 %40 = call ptr @llvm.stacksave() store ptr %40, ptr %11, align 8 %41 = alloca i8, i64 %39, align 16 store i64 %39, ptr %12, align 8 %42 = load ptr, ptr %8, align 8 store ptr %42, ptr %10, align 8 %43 = load ptr, ptr %10, align 8 %44 = icmp ne ptr %43, null br i1 %44, label %.lr.ph, label %101 .lr.ph: ; preds = %37 br label %45 45: ; preds = %.lr.ph, %95 %46 = load ptr, ptr %10, align 8 %47 = getelementptr inbounds %struct.addrinfo, ptr %46, i32 0, i32 0 %48 = load i64, ptr %47, align 8 %49 = load i64, ptr @AF_INET, align 8 %50 = icmp eq i64 %48, %49 br i1 %50, label %51, label %58 51: ; preds = %45 %52 = load ptr, ptr %10, align 8 %53 = getelementptr inbounds %struct.addrinfo, ptr %52, i32 0, i32 2 %54 = load i64, ptr %53, align 8 %55 = inttoptr i64 %54 to ptr store ptr %55, ptr %14, align 8 %56 = load ptr, ptr %14, align 8 %57 = getelementptr inbounds %struct.sockaddr_in, ptr %56, i32 0, i32 0 store ptr %57, ptr %13, align 8 br label %65 58: ; preds = %45 %59 = load ptr, ptr %10, align 8 %60 = getelementptr inbounds %struct.addrinfo, ptr %59, i32 0, i32 2 %61 = load i64, ptr %60, align 8 %62 = inttoptr i64 %61 to ptr store ptr %62, ptr %15, align 8 %63 = load ptr, ptr %15, align 8 %64 = getelementptr inbounds %struct.sockaddr_in6, ptr %63, i32 0, i32 0 store ptr %64, ptr %13, align 8 br label %65 65: ; preds = %58, %51 %66 = load ptr, ptr %10, align 8 %67 = getelementptr inbounds %struct.addrinfo, ptr %66, i32 0, i32 0 %68 = load i64, ptr %67, align 8 %69 = load ptr, ptr %13, align 8 %70 = trunc i64 %39 to i32 %71 = call i32 @inet_ntop(i64 noundef %68, ptr noundef %69, ptr noundef %41, i32 noundef %70) %72 = load ptr, ptr %10, align 8 %73 = getelementptr inbounds %struct.addrinfo, ptr %72, i32 0, i32 0 %74 = load i64, ptr %73, align 8 %75 = load i32, ptr @SOCK_STREAM, align 4 %76 = call i32 @socket(i64 noundef %74, i32 noundef %75, i32 noundef 0) store i32 %76, ptr %16, align 4 %77 = load i32, ptr %16, align 4 %78 = icmp ne i32 %77, -1 br i1 %78, label %79, label %94 79: ; preds = %65 %80 = load i32, ptr %16, align 4 %81 = load ptr, ptr %10, align 8 %82 = getelementptr inbounds %struct.addrinfo, ptr %81, i32 0, i32 2 %83 = load i64, ptr %82, align 8 %84 = load ptr, ptr %10, align 8 %85 = getelementptr inbounds %struct.addrinfo, ptr %84, i32 0, i32 1 %86 = load i32, ptr %85, align 8 %87 = call i64 @connect(i32 noundef %80, i64 noundef %83, i32 noundef %86) %88 = icmp eq i64 %87, 0 br i1 %88, label %89, label %93 89: ; preds = %79 %90 = load ptr, ptr %8, align 8 %91 = call i32 @freeaddrinfo(ptr noundef %90) %92 = load i32, ptr %16, align 4 store i32 %92, ptr %3, align 4 store i32 1, ptr %17, align 4 br label %105 93: ; preds = %79 br label %94 94: ; preds = %93, %65 br label %95 95: ; preds = %94 %96 = load ptr, ptr %10, align 8 %97 = getelementptr inbounds %struct.addrinfo, ptr %96, i32 0, i32 3 %98 = load ptr, ptr %97, align 8 store ptr %98, ptr %10, align 8 %99 = load ptr, ptr %10, align 8 %100 = icmp ne ptr %99, null br i1 %100, label %45, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %95 br label %101 101: ; preds = %._crit_edge, %37 %102 = load ptr, ptr %8, align 8 %103 = call i32 @freeaddrinfo(ptr noundef %102) %104 = call i32 @puts(ptr noundef @.str.2) store i32 -1, ptr %3, align 4 store i32 1, ptr %17, align 4 br label %105 105: ; preds = %101, %89 %106 = load ptr, ptr %11, align 8 call void @llvm.stackrestore(ptr %106) br label %107 107: ; preds = %105, %32 %108 = load i32, ptr %3, align 4 ret i32 %108 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @gai_strerror(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @inet_ntop(i64 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @socket(i64 noundef, i32 noundef, i32 noundef) #1 declare i64 @connect(i32 noundef, i64 noundef, i32 noundef) #1 declare i32 @freeaddrinfo(ptr noundef) #1 declare i32 @puts(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpx8hd6r6w.c' source_filename = "/tmp/tmpx8hd6r6w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @plugin_api_modifier_color_decode_ansi_cb(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = load ptr, ptr %8, align 8 %14 = load ptr, ptr %10, align 8 %15 = load ptr, ptr %9, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %21 17: ; preds = %5 %18 = load ptr, ptr %9, align 8 %19 = call i64 @strcmp(ptr noundef %18, ptr noundef @.str) %20 = icmp eq i64 %19, 0 br label %21 21: ; preds = %17, %5 %22 = phi i1 [ false, %5 ], [ %20, %17 ] %23 = zext i1 %22 to i64 %24 = select i1 %22, i32 1, i32 0 %25 = call ptr @gui_color_decode_ansi(ptr noundef %14, i32 noundef %24) ret ptr %25 } declare ptr @gui_color_decode_ansi(ptr noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx8hd6r6w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @plugin_api_modifier_color_decode_ansi_cb(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = load ptr, ptr %8, align 8 %14 = load ptr, ptr %10, align 8 %15 = load ptr, ptr %9, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %21 17: ; preds = %5 %18 = load ptr, ptr %9, align 8 %19 = call i64 @strcmp(ptr noundef %18, ptr noundef @.str) %20 = icmp eq i64 %19, 0 br label %21 21: ; preds = %17, %5 %22 = phi i1 [ false, %5 ], [ %20, %17 ] %23 = zext i1 %22 to i64 %24 = select i1 %22, i32 1, i32 0 %25 = call ptr @gui_color_decode_ansi(ptr noundef %14, i32 noundef %24) ret ptr %25 } declare ptr @gui_color_decode_ansi(ptr noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2685uh8r.c' source_filename = "/tmp/tmp2685uh8r.c" target datalayout = "e-m:e-p270: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/tmp2685uh8r.c" target datalayout = "e-m:e-p270: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/tmpmvp2_sy5.c' source_filename = "/tmp/tmpmvp2_sy5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__process_args(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 -559038737, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @__copy_arg2buf(ptr noundef %4) %6 = load i32, ptr %3, align 4 %7 = icmp ne i32 %6, -559038737 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 @exit(i32 noundef -1) #3 unreachable 10: ; preds = %1 ret void } declare i32 @__copy_arg2buf(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/tmpmvp2_sy5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__process_args(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 -559038737, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @__copy_arg2buf(ptr noundef %4) %6 = load i32, ptr %3, align 4 %7 = icmp ne i32 %6, -559038737 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 @exit(i32 noundef -1) #3 unreachable 10: ; preds = %1 ret void } declare i32 @__copy_arg2buf(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/tmpabnq_fx3.c' source_filename = "/tmp/tmpabnq_fx3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %9, %1 %6 = call signext i8 (...) @getchar() store i8 %6, ptr %4, align 1 %7 = sext i8 %6 to i32 %8 = icmp ne i32 %7, 10 br i1 %8, label %9, label %17 9: ; preds = %5 %10 = load i8, ptr %4, align 1 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %3, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 store i8 %10, ptr %14, align 1 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 br label %5, !llvm.loop !6 17: ; preds = %5 %18 = load ptr, ptr %2, align 8 %19 = load i32, ptr %3, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 store i8 0, ptr %21, align 1 ret void } declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpabnq_fx3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %5 = call signext i8 (...) @getchar() store i8 %5, ptr %4, align 1 %6 = sext i8 %5 to i32 %7 = icmp ne i32 %6, 10 br i1 %7, label %.lr.ph, label %19 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %8 %9 = load i8, ptr %4, align 1 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 store i8 %9, ptr %13, align 1 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %3, align 4 %16 = call signext i8 (...) @getchar() store i8 %16, ptr %4, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 10 br i1 %18, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %19 19: ; preds = %._crit_edge, %1 %20 = load ptr, ptr %2, align 8 %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 store i8 0, ptr %23, align 1 ret void } declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpbbba_v33.c' source_filename = "/tmp/tmpbbba_v33.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGHUP = dso_local global i32 0, align 4 @SIG_DFL = dso_local global i32 0, align 4 @SIGSEGV = dso_local global i32 0, align 4 @SIGBUS = dso_local global i32 0, align 4 @SIGUSR1 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = load i32, ptr @SIGHUP, align 4 %3 = load i32, ptr @SIG_DFL, align 4 %4 = call i32 @install_handler(i32 noundef %2, i32 noundef %3) %5 = load i32, ptr @SIGSEGV, align 4 %6 = load i32, ptr @SIGBUS, align 4 %7 = call i32 @test(i32 noundef 0, i32 noundef %5, i32 noundef %6) %8 = load i32, ptr @SIGSEGV, align 4 %9 = load i32, ptr @SIGHUP, align 4 %10 = call i32 @test(i32 noundef 0, i32 noundef %8, i32 noundef %9) %11 = load i32, ptr @SIGUSR1, align 4 %12 = load i32, ptr @SIGBUS, align 4 %13 = call i32 @test(i32 noundef 0, i32 noundef %11, i32 noundef %12) %14 = load i32, ptr @SIGUSR1, align 4 %15 = load i32, ptr @SIGHUP, align 4 %16 = call i32 @test(i32 noundef 0, i32 noundef %14, i32 noundef %15) %17 = load i32, ptr @SIGSEGV, align 4 %18 = load i32, ptr @SIGBUS, align 4 %19 = call i32 @test(i32 noundef 1, i32 noundef %17, i32 noundef %18) %20 = load i32, ptr @SIGSEGV, align 4 %21 = load i32, ptr @SIGHUP, align 4 %22 = call i32 @test(i32 noundef 1, i32 noundef %20, i32 noundef %21) %23 = load i32, ptr @SIGUSR1, align 4 %24 = load i32, ptr @SIGBUS, align 4 %25 = call i32 @test(i32 noundef 1, i32 noundef %23, i32 noundef %24) %26 = load i32, ptr @SIGUSR1, align 4 %27 = load i32, ptr @SIGHUP, align 4 %28 = call i32 @test(i32 noundef 1, i32 noundef %26, i32 noundef %27) ret i32 0 } declare i32 @install_handler(i32 noundef, i32 noundef) #1 declare i32 @test(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/tmpbbba_v33.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGHUP = dso_local global i32 0, align 4 @SIG_DFL = dso_local global i32 0, align 4 @SIGSEGV = dso_local global i32 0, align 4 @SIGBUS = dso_local global i32 0, align 4 @SIGUSR1 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = load i32, ptr @SIGHUP, align 4 %3 = load i32, ptr @SIG_DFL, align 4 %4 = call i32 @install_handler(i32 noundef %2, i32 noundef %3) %5 = load i32, ptr @SIGSEGV, align 4 %6 = load i32, ptr @SIGBUS, align 4 %7 = call i32 @test(i32 noundef 0, i32 noundef %5, i32 noundef %6) %8 = load i32, ptr @SIGSEGV, align 4 %9 = load i32, ptr @SIGHUP, align 4 %10 = call i32 @test(i32 noundef 0, i32 noundef %8, i32 noundef %9) %11 = load i32, ptr @SIGUSR1, align 4 %12 = load i32, ptr @SIGBUS, align 4 %13 = call i32 @test(i32 noundef 0, i32 noundef %11, i32 noundef %12) %14 = load i32, ptr @SIGUSR1, align 4 %15 = load i32, ptr @SIGHUP, align 4 %16 = call i32 @test(i32 noundef 0, i32 noundef %14, i32 noundef %15) %17 = load i32, ptr @SIGSEGV, align 4 %18 = load i32, ptr @SIGBUS, align 4 %19 = call i32 @test(i32 noundef 1, i32 noundef %17, i32 noundef %18) %20 = load i32, ptr @SIGSEGV, align 4 %21 = load i32, ptr @SIGHUP, align 4 %22 = call i32 @test(i32 noundef 1, i32 noundef %20, i32 noundef %21) %23 = load i32, ptr @SIGUSR1, align 4 %24 = load i32, ptr @SIGBUS, align 4 %25 = call i32 @test(i32 noundef 1, i32 noundef %23, i32 noundef %24) %26 = load i32, ptr @SIGUSR1, align 4 %27 = load i32, ptr @SIGHUP, align 4 %28 = call i32 @test(i32 noundef 1, i32 noundef %26, i32 noundef %27) ret i32 0 } declare i32 @install_handler(i32 noundef, i32 noundef) #1 declare i32 @test(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/tmprvyqv6zw.c' source_filename = "/tmp/tmprvyqv6zw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 (...) @initscr() %7 = call i32 (...) @raw() %8 = call i32 (...) @noecho() %9 = call i32 (...) @nonl() %10 = call i32 (...) @endwin() ret i32 0 } declare i32 @initscr(...) #1 declare i32 @raw(...) #1 declare i32 @noecho(...) #1 declare i32 @nonl(...) #1 declare i32 @endwin(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprvyqv6zw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 (...) @initscr() %7 = call i32 (...) @raw() %8 = call i32 (...) @noecho() %9 = call i32 (...) @nonl() %10 = call i32 (...) @endwin() ret i32 0 } declare i32 @initscr(...) #1 declare i32 @raw(...) #1 declare i32 @noecho(...) #1 declare i32 @nonl(...) #1 declare i32 @endwin(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxx89avoy.c' source_filename = "/tmp/tmpxx89avoy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @openr2_thread_self() #0 { %1 = call i64 (...) @pthread_self() ret i64 %1 } declare i64 @pthread_self(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxx89avoy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @openr2_thread_self() #0 { %1 = call i64 (...) @pthread_self() ret i64 %1 } declare i64 @pthread_self(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphv81tp3z.c' source_filename = "/tmp/tmphv81tp3z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"getenv\00", align 1 @.str.1 = private unnamed_addr constant [64 x i8] c"Failed : appendtostring (varname) in posixwrapper:fortrangetenv\00", align 1 @.str.2 = private unnamed_addr constant [46 x i8] c"Failed : getenv in posixwrapper:fortrangetenv\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fortrangetenv_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 { %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 ptr, align 8 %14 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 store ptr @.str, ptr %13, align 8 %15 = load ptr, ptr %7, align 8 %16 = load i32, ptr %11, align 4 %17 = call ptr @appendtostring(ptr noundef %15, i32 noundef %16) store ptr %17, ptr %13, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %22, label %19 19: ; preds = %6 %20 = call i32 @perror(ptr noundef @.str.1) %21 = call i32 @exit(i32 noundef 1) #3 unreachable 22: ; preds = %6 %23 = load ptr, ptr %13, align 8 %24 = call ptr @getenv(ptr noundef %23) store ptr %24, ptr %14, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %29, label %26 26: ; preds = %22 %27 = call i32 @perror(ptr noundef @.str.2) %28 = call i32 @exit(i32 noundef 1) #3 unreachable 29: ; preds = %22 %30 = load ptr, ptr %14, align 8 %31 = call i32 @strlen(ptr noundef %30) %32 = load ptr, ptr %9, align 8 store i32 %31, ptr %32, align 4 %33 = load ptr, ptr %8, align 8 %34 = load ptr, ptr %14, align 8 %35 = load ptr, ptr %9, align 8 %36 = load i32, ptr %35, align 4 %37 = call i32 @strncpy(ptr noundef %33, ptr noundef %34, i32 noundef %36) %38 = load ptr, ptr %10, align 8 store i32 0, ptr %38, align 4 ret void } declare ptr @appendtostring(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @getenv(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphv81tp3z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"getenv\00", align 1 @.str.1 = private unnamed_addr constant [64 x i8] c"Failed : appendtostring (varname) in posixwrapper:fortrangetenv\00", align 1 @.str.2 = private unnamed_addr constant [46 x i8] c"Failed : getenv in posixwrapper:fortrangetenv\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fortrangetenv_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 { %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 ptr, align 8 %14 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 store ptr @.str, ptr %13, align 8 %15 = load ptr, ptr %7, align 8 %16 = load i32, ptr %11, align 4 %17 = call ptr @appendtostring(ptr noundef %15, i32 noundef %16) store ptr %17, ptr %13, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %22, label %19 19: ; preds = %6 %20 = call i32 @perror(ptr noundef @.str.1) %21 = call i32 @exit(i32 noundef 1) #3 unreachable 22: ; preds = %6 %23 = load ptr, ptr %13, align 8 %24 = call ptr @getenv(ptr noundef %23) store ptr %24, ptr %14, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %29, label %26 26: ; preds = %22 %27 = call i32 @perror(ptr noundef @.str.2) %28 = call i32 @exit(i32 noundef 1) #3 unreachable 29: ; preds = %22 %30 = load ptr, ptr %14, align 8 %31 = call i32 @strlen(ptr noundef %30) %32 = load ptr, ptr %9, align 8 store i32 %31, ptr %32, align 4 %33 = load ptr, ptr %8, align 8 %34 = load ptr, ptr %14, align 8 %35 = load ptr, ptr %9, align 8 %36 = load i32, ptr %35, align 4 %37 = call i32 @strncpy(ptr noundef %33, ptr noundef %34, i32 noundef %36) %38 = load ptr, ptr %10, align 8 store i32 0, ptr %38, align 4 ret void } declare ptr @appendtostring(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @getenv(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpalbyzagy.c' source_filename = "/tmp/tmpalbyzagy.c" target datalayout = "e-m:e-p270: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/tmpalbyzagy.c" target datalayout = "e-m:e-p270: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/tmpeoz079fk.c' source_filename = "/tmp/tmpeoz079fk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"Usage:\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"%s [IP | HOSTNAME]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %4) %6 = call i32 @exit(i32 noundef 0) #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/tmpeoz079fk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"Usage:\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"%s [IP | HOSTNAME]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %4) %6 = call i32 @exit(i32 noundef 0) #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/tmp48x4jh40.c' source_filename = "/tmp/tmp48x4jh40.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Ada_lc_PAPER() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i64 (...) @lc_PAPER() %4 = trunc i64 %3 to i32 store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 store i32 %5, ptr %1, align 4 %6 = load i32, ptr %1, align 4 ret i32 %6 } declare i64 @lc_PAPER(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp48x4jh40.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Ada_lc_PAPER() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i64 (...) @lc_PAPER() %4 = trunc i64 %3 to i32 store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 store i32 %5, ptr %1, align 4 %6 = load i32, ptr %1, align 4 ret i32 %6 } declare i64 @lc_PAPER(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3uyggsqh.c' source_filename = "/tmp/tmp3uyggsqh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"Usage: tlx_dump2data [options] <memory-dump> \0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"options: \0A\00", align 1 @.str.2 = private unnamed_addr constant [68 x i8] c" -a show all data [by default only hot data are shown]\0A\00", align 1 @.str.3 = private unnamed_addr constant [71 x i8] c" -b show measurements/calibration boundaries [default no]\0A\00", align 1 @.str.4 = private unnamed_addr constant [48 x i8] c" -t show transactions [default no]\0A\00", align 1 @.str.5 = private unnamed_addr constant [45 x i8] c" -x show addresses [default no]\0A\00", align 1 @.str.6 = private unnamed_addr constant [60 x i8] c" -e start end extract from start address to end address \0A\00", align 1 @.str.7 = private unnamed_addr constant [63 x i8] c" addresses should be hex notation (eg, 0x0000)\0A\00", align 1 @.str.8 = private unnamed_addr constant [22 x i8] c" -h help\0A\00", align 1 @.str.9 = private unnamed_addr constant [46 x i8] c" in case of option -a you can also specify: \0A\00", align 1 @.str.10 = private unnamed_addr constant [38 x i8] c" -s show byte type [default no]\0A\00", align 1 @.str.11 = private unnamed_addr constant [50 x i8] c" -c show only calibration data [default no]\0A\00", align 1 @.str.12 = private unnamed_addr constant [50 x i8] c" -m show only measurement data [default no]\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 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) %10 = call i32 @printf(ptr noundef @.str.9) %11 = call i32 @printf(ptr noundef @.str.10) %12 = call i32 @printf(ptr noundef @.str.11) %13 = call i32 @printf(ptr noundef @.str.12) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3uyggsqh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"Usage: tlx_dump2data [options] <memory-dump> \0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"options: \0A\00", align 1 @.str.2 = private unnamed_addr constant [68 x i8] c" -a show all data [by default only hot data are shown]\0A\00", align 1 @.str.3 = private unnamed_addr constant [71 x i8] c" -b show measurements/calibration boundaries [default no]\0A\00", align 1 @.str.4 = private unnamed_addr constant [48 x i8] c" -t show transactions [default no]\0A\00", align 1 @.str.5 = private unnamed_addr constant [45 x i8] c" -x show addresses [default no]\0A\00", align 1 @.str.6 = private unnamed_addr constant [60 x i8] c" -e start end extract from start address to end address \0A\00", align 1 @.str.7 = private unnamed_addr constant [63 x i8] c" addresses should be hex notation (eg, 0x0000)\0A\00", align 1 @.str.8 = private unnamed_addr constant [22 x i8] c" -h help\0A\00", align 1 @.str.9 = private unnamed_addr constant [46 x i8] c" in case of option -a you can also specify: \0A\00", align 1 @.str.10 = private unnamed_addr constant [38 x i8] c" -s show byte type [default no]\0A\00", align 1 @.str.11 = private unnamed_addr constant [50 x i8] c" -c show only calibration data [default no]\0A\00", align 1 @.str.12 = private unnamed_addr constant [50 x i8] c" -m show only measurement data [default no]\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 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) %10 = call i32 @printf(ptr noundef @.str.9) %11 = call i32 @printf(ptr noundef @.str.10) %12 = call i32 @printf(ptr noundef @.str.11) %13 = call i32 @printf(ptr noundef @.str.12) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp68igqi5a.c' source_filename = "/tmp/tmp68igqi5a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bn_mul_part_recursive(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i64, align 8 %21 = alloca i64, align 8 %22 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store ptr %5, ptr %12, align 8 %23 = load i32, ptr %11, align 4 %24 = mul nsw i32 %23, 2 store i32 %24, ptr %15, align 4 %25 = load i32, ptr %11, align 4 %26 = icmp slt i32 %25, 8 br i1 %26, label %27, label %37 27: ; preds = %6 %28 = load i32, ptr %10, align 4 %29 = load i32, ptr %11, align 4 %30 = add nsw i32 %28, %29 store i32 %30, ptr %13, align 4 %31 = load ptr, ptr %7, align 8 %32 = load ptr, ptr %8, align 8 %33 = load i32, ptr %13, align 4 %34 = load ptr, ptr %9, align 8 %35 = load i32, ptr %13, align 4 %36 = call i32 @bn_mul_normal(ptr noundef %31, ptr noundef %32, i32 noundef %33, ptr noundef %34, i32 noundef %35) br label %460 37: ; preds = %6 %38 = load ptr, ptr %8, align 8 %39 = load ptr, ptr %8, align 8 %40 = load i32, ptr %11, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i64, ptr %39, i64 %41 %43 = load i32, ptr %11, align 4 %44 = call i32 @bn_cmp_words(ptr noundef %38, ptr noundef %42, i32 noundef %43) store i32 %44, ptr %16, align 4 %45 = load ptr, ptr %9, align 8 %46 = load i32, ptr %11, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i64, ptr %45, i64 %47 %49 = load ptr, ptr %9, align 8 %50 = load i32, ptr %11, align 4 %51 = call i32 @bn_cmp_words(ptr noundef %48, ptr noundef %49, i32 noundef %50) store i32 %51, ptr %17, align 4 store i32 0, ptr %18, align 4 store i32 0, ptr %19, align 4 %52 = load i32, ptr %16, align 4 %53 = mul i32 %52, 3 %54 = load i32, ptr %17, align 4 %55 = add i32 %53, %54 switch i32 %55, label %139 [ i32 -4, label %56 i32 -3, label %76 i32 -2, label %77 i32 -1, label %97 i32 0, label %97 i32 1, label %97 i32 2, label %98 i32 3, label %118 i32 4, label %119 ] 56: ; preds = %37 %57 = load ptr, ptr %12, align 8 %58 = load ptr, ptr %8, align 8 %59 = load i32, ptr %11, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i64, ptr %58, i64 %60 %62 = load ptr, ptr %8, align 8 %63 = load i32, ptr %11, align 4 %64 = call i64 @bn_sub_words(ptr noundef %57, ptr noundef %61, ptr noundef %62, i32 noundef %63) %65 = load ptr, ptr %12, align 8 %66 = load i32, ptr %11, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i64, ptr %65, i64 %67 %69 = load ptr, ptr %9, align 8 %70 = load ptr, ptr %9, align 8 %71 = load i32, ptr %11, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i64, ptr %70, i64 %72 %74 = load i32, ptr %11, align 4 %75 = call i64 @bn_sub_words(ptr noundef %68, ptr noundef %69, ptr noundef %73, i32 noundef %74) br label %139 76: ; preds = %37 store i32 1, ptr %19, align 4 br label %77 77: ; preds = %37, %76 %78 = load ptr, ptr %12, align 8 %79 = load ptr, ptr %8, align 8 %80 = load i32, ptr %11, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i64, ptr %79, i64 %81 %83 = load ptr, ptr %8, align 8 %84 = load i32, ptr %11, align 4 %85 = call i64 @bn_sub_words(ptr noundef %78, ptr noundef %82, ptr noundef %83, i32 noundef %84) %86 = load ptr, ptr %12, align 8 %87 = load i32, ptr %11, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i64, ptr %86, i64 %88 %90 = load ptr, ptr %9, align 8 %91 = load i32, ptr %11, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i64, ptr %90, i64 %92 %94 = load ptr, ptr %9, align 8 %95 = load i32, ptr %11, align 4 %96 = call i64 @bn_sub_words(ptr noundef %89, ptr noundef %93, ptr noundef %94, i32 noundef %95) store i32 1, ptr %18, align 4 br label %139 97: ; preds = %37, %37, %37 store i32 1, ptr %19, align 4 br label %98 98: ; preds = %37, %97 %99 = load ptr, ptr %12, align 8 %100 = load ptr, ptr %8, align 8 %101 = load ptr, ptr %8, align 8 %102 = load i32, ptr %11, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds i64, ptr %101, i64 %103 %105 = load i32, ptr %11, align 4 %106 = call i64 @bn_sub_words(ptr noundef %99, ptr noundef %100, ptr noundef %104, i32 noundef %105) %107 = load ptr, ptr %12, align 8 %108 = load i32, ptr %11, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i64, ptr %107, i64 %109 %111 = load ptr, ptr %9, align 8 %112 = load ptr, ptr %9, align 8 %113 = load i32, ptr %11, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds i64, ptr %112, i64 %114 %116 = load i32, ptr %11, align 4 %117 = call i64 @bn_sub_words(ptr noundef %110, ptr noundef %111, ptr noundef %115, i32 noundef %116) store i32 1, ptr %18, align 4 br label %139 118: ; preds = %37 store i32 1, ptr %19, align 4 br label %119 119: ; preds = %37, %118 %120 = load ptr, ptr %12, align 8 %121 = load ptr, ptr %8, align 8 %122 = load ptr, ptr %8, align 8 %123 = load i32, ptr %11, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i64, ptr %122, i64 %124 %126 = load i32, ptr %11, align 4 %127 = call i64 @bn_sub_words(ptr noundef %120, ptr noundef %121, ptr noundef %125, i32 noundef %126) %128 = load ptr, ptr %12, align 8 %129 = load i32, ptr %11, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds i64, ptr %128, i64 %130 %132 = load ptr, ptr %9, align 8 %133 = load i32, ptr %11, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds i64, ptr %132, i64 %134 %136 = load ptr, ptr %9, align 8 %137 = load i32, ptr %11, align 4 %138 = call i64 @bn_sub_words(ptr noundef %131, ptr noundef %135, ptr noundef %136, i32 noundef %137) br label %139 139: ; preds = %37, %119, %98, %77, %56 %140 = load i32, ptr %11, align 4 %141 = icmp eq i32 %140, 8 br i1 %141, label %142, label %187 142: ; preds = %139 %143 = load ptr, ptr %12, align 8 %144 = load i32, ptr %15, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds i64, ptr %143, i64 %145 %147 = load ptr, ptr %12, align 8 %148 = load ptr, ptr %12, align 8 %149 = load i32, ptr %11, align 4 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds i64, ptr %148, i64 %150 %152 = call i32 @bn_mul_comba8(ptr noundef %146, ptr noundef %147, ptr noundef %151) %153 = load ptr, ptr %7, align 8 %154 = load ptr, ptr %8, align 8 %155 = load ptr, ptr %9, align 8 %156 = call i32 @bn_mul_comba8(ptr noundef %153, ptr noundef %154, ptr noundef %155) %157 = load ptr, ptr %7, align 8 %158 = load i32, ptr %15, align 4 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds i64, ptr %157, i64 %159 %161 = load ptr, ptr %8, align 8 %162 = load i32, ptr %11, align 4 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds i64, ptr %161, i64 %163 %165 = load i32, ptr %10, align 4 %166 = load ptr, ptr %9, align 8 %167 = load i32, ptr %11, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds i64, ptr %166, i64 %168 %170 = load i32, ptr %10, align 4 %171 = call i32 @bn_mul_normal(ptr noundef %160, ptr noundef %164, i32 noundef %165, ptr noundef %169, i32 noundef %170) %172 = load ptr, ptr %7, align 8 %173 = load i32, ptr %15, align 4 %174 = load i32, ptr %10, align 4 %175 = mul nsw i32 %174, 2 %176 = add nsw i32 %173, %175 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds i64, ptr %172, i64 %177 %179 = load i32, ptr %15, align 4 %180 = load i32, ptr %10, align 4 %181 = mul nsw i32 %180, 2 %182 = sub nsw i32 %179, %181 %183 = sext i32 %182 to i64 %184 = mul i64 8, %183 %185 = trunc i64 %184 to i32 %186 = call i32 @memset(ptr noundef %178, i32 noundef 0, i32 noundef %185) br label %362 187: ; preds = %139 %188 = load ptr, ptr %12, align 8 %189 = load i32, ptr %15, align 4 %190 = mul nsw i32 %189, 2 %191 = sext i32 %190 to i64 %192 = getelementptr inbounds i64, ptr %188, i64 %191 store ptr %192, ptr %22, align 8 %193 = load ptr, ptr %12, align 8 %194 = load i32, ptr %15, align 4 %195 = sext i32 %194 to i64 %196 = getelementptr inbounds i64, ptr %193, i64 %195 %197 = load ptr, ptr %12, align 8 %198 = load ptr, ptr %12, align 8 %199 = load i32, ptr %11, align 4 %200 = sext i32 %199 to i64 %201 = getelementptr inbounds i64, ptr %198, i64 %200 %202 = load i32, ptr %11, align 4 %203 = load ptr, ptr %22, align 8 %204 = call i32 @bn_mul_recursive(ptr noundef %196, ptr noundef %197, ptr noundef %201, i32 noundef %202, ptr noundef %203) %205 = load ptr, ptr %7, align 8 %206 = load ptr, ptr %8, align 8 %207 = load ptr, ptr %9, align 8 %208 = load i32, ptr %11, align 4 %209 = load ptr, ptr %22, align 8 %210 = call i32 @bn_mul_recursive(ptr noundef %205, ptr noundef %206, ptr noundef %207, i32 noundef %208, ptr noundef %209) %211 = load i32, ptr %11, align 4 %212 = sdiv i32 %211, 2 store i32 %212, ptr %13, align 4 %213 = load i32, ptr %10, align 4 %214 = load i32, ptr %13, align 4 %215 = sub nsw i32 %213, %214 store i32 %215, ptr %14, align 4 %216 = load i32, ptr %14, align 4 %217 = icmp eq i32 %216, 0 br i1 %217, label %218, label %249 218: ; preds = %187 %219 = load ptr, ptr %7, align 8 %220 = load i32, ptr %15, align 4 %221 = sext i32 %220 to i64 %222 = getelementptr inbounds i64, ptr %219, i64 %221 %223 = load ptr, ptr %8, align 8 %224 = load i32, ptr %11, align 4 %225 = sext i32 %224 to i64 %226 = getelementptr inbounds i64, ptr %223, i64 %225 %227 = load ptr, ptr %9, align 8 %228 = load i32, ptr %11, align 4 %229 = sext i32 %228 to i64 %230 = getelementptr inbounds i64, ptr %227, i64 %229 %231 = load i32, ptr %13, align 4 %232 = load ptr, ptr %22, align 8 %233 = call i32 @bn_mul_recursive(ptr noundef %222, ptr noundef %226, ptr noundef %230, i32 noundef %231, ptr noundef %232) %234 = load ptr, ptr %7, align 8 %235 = load i32, ptr %15, align 4 %236 = load i32, ptr %13, align 4 %237 = mul nsw i32 %236, 2 %238 = add nsw i32 %235, %237 %239 = sext i32 %238 to i64 %240 = getelementptr inbounds i64, ptr %234, i64 %239 %241 = load i32, ptr %15, align 4 %242 = load i32, ptr %13, align 4 %243 = mul nsw i32 %242, 2 %244 = sub nsw i32 %241, %243 %245 = sext i32 %244 to i64 %246 = mul i64 8, %245 %247 = trunc i64 %246 to i32 %248 = call i32 @memset(ptr noundef %240, i32 noundef 0, i32 noundef %247) br label %361 249: ; preds = %187 %250 = load i32, ptr %14, align 4 %251 = icmp sgt i32 %250, 0 br i1 %251, label %252, label %283 252: ; preds = %249 %253 = load ptr, ptr %7, align 8 %254 = load i32, ptr %15, align 4 %255 = sext i32 %254 to i64 %256 = getelementptr inbounds i64, ptr %253, i64 %255 %257 = load ptr, ptr %8, align 8 %258 = load i32, ptr %11, align 4 %259 = sext i32 %258 to i64 %260 = getelementptr inbounds i64, ptr %257, i64 %259 %261 = load ptr, ptr %9, align 8 %262 = load i32, ptr %11, align 4 %263 = sext i32 %262 to i64 %264 = getelementptr inbounds i64, ptr %261, i64 %263 %265 = load i32, ptr %14, align 4 %266 = load i32, ptr %13, align 4 %267 = load ptr, ptr %22, align 8 call void @bn_mul_part_recursive(ptr noundef %256, ptr noundef %260, ptr noundef %264, i32 noundef %265, i32 noundef %266, ptr noundef %267) %268 = load ptr, ptr %7, align 8 %269 = load i32, ptr %15, align 4 %270 = load i32, ptr %10, align 4 %271 = mul nsw i32 %270, 2 %272 = add nsw i32 %269, %271 %273 = sext i32 %272 to i64 %274 = getelementptr inbounds i64, ptr %268, i64 %273 %275 = load i32, ptr %15, align 4 %276 = load i32, ptr %10, align 4 %277 = mul nsw i32 %276, 2 %278 = sub nsw i32 %275, %277 %279 = sext i32 %278 to i64 %280 = mul i64 8, %279 %281 = trunc i64 %280 to i32 %282 = call i32 @memset(ptr noundef %274, i32 noundef 0, i32 noundef %281) br label %360 283: ; preds = %249 %284 = load ptr, ptr %7, align 8 %285 = load i32, ptr %15, align 4 %286 = sext i32 %285 to i64 %287 = getelementptr inbounds i64, ptr %284, i64 %286 %288 = load i32, ptr %15, align 4 %289 = sext i32 %288 to i64 %290 = mul i64 8, %289 %291 = trunc i64 %290 to i32 %292 = call i32 @memset(ptr noundef %287, i32 noundef 0, i32 noundef %291) %293 = load i32, ptr %10, align 4 %294 = icmp slt i32 %293, 16 br i1 %294, label %295, label %311 295: ; preds = %283 %296 = load ptr, ptr %7, align 8 %297 = load i32, ptr %15, align 4 %298 = sext i32 %297 to i64 %299 = getelementptr inbounds i64, ptr %296, i64 %298 %300 = load ptr, ptr %8, align 8 %301 = load i32, ptr %11, align 4 %302 = sext i32 %301 to i64 %303 = getelementptr inbounds i64, ptr %300, i64 %302 %304 = load i32, ptr %10, align 4 %305 = load ptr, ptr %9, align 8 %306 = load i32, ptr %11, align 4 %307 = sext i32 %306 to i64 %308 = getelementptr inbounds i64, ptr %305, i64 %307 %309 = load i32, ptr %10, align 4 %310 = call i32 @bn_mul_normal(ptr noundef %299, ptr noundef %303, i32 noundef %304, ptr noundef %308, i32 noundef %309) br label %359 311: ; preds = %283 br label %312 312: ; preds = %357, %311 %313 = load i32, ptr %13, align 4 %314 = sdiv i32 %313, 2 store i32 %314, ptr %13, align 4 %315 = load i32, ptr %13, align 4 %316 = load i32, ptr %10, align 4 %317 = icmp slt i32 %315, %316 br i1 %317, label %318, label %336 318: ; preds = %312 %319 = load ptr, ptr %7, align 8 %320 = load i32, ptr %15, align 4 %321 = sext i32 %320 to i64 %322 = getelementptr inbounds i64, ptr %319, i64 %321 %323 = load ptr, ptr %8, align 8 %324 = load i32, ptr %11, align 4 %325 = sext i32 %324 to i64 %326 = getelementptr inbounds i64, ptr %323, i64 %325 %327 = load ptr, ptr %9, align 8 %328 = load i32, ptr %11, align 4 %329 = sext i32 %328 to i64 %330 = getelementptr inbounds i64, ptr %327, i64 %329 %331 = load i32, ptr %10, align 4 %332 = load i32, ptr %13, align 4 %333 = sub nsw i32 %331, %332 %334 = load i32, ptr %13, align 4 %335 = load ptr, ptr %22, align 8 call void @bn_mul_part_recursive(ptr noundef %322, ptr noundef %326, ptr noundef %330, i32 noundef %333, i32 noundef %334, ptr noundef %335) br label %358 336: ; preds = %312 %337 = load i32, ptr %13, align 4 %338 = load i32, ptr %10, align 4 %339 = icmp eq i32 %337, %338 br i1 %339, label %340, label %356 340: ; preds = %336 %341 = load ptr, ptr %7, align 8 %342 = load i32, ptr %15, align 4 %343 = sext i32 %342 to i64 %344 = getelementptr inbounds i64, ptr %341, i64 %343 %345 = load ptr, ptr %8, align 8 %346 = load i32, ptr %11, align 4 %347 = sext i32 %346 to i64 %348 = getelementptr inbounds i64, ptr %345, i64 %347 %349 = load ptr, ptr %9, align 8 %350 = load i32, ptr %11, align 4 %351 = sext i32 %350 to i64 %352 = getelementptr inbounds i64, ptr %349, i64 %351 %353 = load i32, ptr %13, align 4 %354 = load ptr, ptr %22, align 8 %355 = call i32 @bn_mul_recursive(ptr noundef %344, ptr noundef %348, ptr noundef %352, i32 noundef %353, ptr noundef %354) br label %358 356: ; preds = %336 br label %357 357: ; preds = %356 br label %312 358: ; preds = %340, %318 br label %359 359: ; preds = %358, %295 br label %360 360: ; preds = %359, %252 br label %361 361: ; preds = %360, %218 br label %362 362: ; preds = %361, %142 %363 = load ptr, ptr %12, align 8 %364 = load ptr, ptr %7, align 8 %365 = load ptr, ptr %7, align 8 %366 = load i32, ptr %15, align 4 %367 = sext i32 %366 to i64 %368 = getelementptr inbounds i64, ptr %365, i64 %367 %369 = load i32, ptr %15, align 4 %370 = call i64 @bn_add_words(ptr noundef %363, ptr noundef %364, ptr noundef %368, i32 noundef %369) %371 = trunc i64 %370 to i32 store i32 %371, ptr %16, align 4 %372 = load i32, ptr %18, align 4 %373 = icmp ne i32 %372, 0 br i1 %373, label %374, label %389 374: ; preds = %362 %375 = load ptr, ptr %12, align 8 %376 = load i32, ptr %15, align 4 %377 = sext i32 %376 to i64 %378 = getelementptr inbounds i64, ptr %375, i64 %377 %379 = load ptr, ptr %12, align 8 %380 = load ptr, ptr %12, align 8 %381 = load i32, ptr %15, align 4 %382 = sext i32 %381 to i64 %383 = getelementptr inbounds i64, ptr %380, i64 %382 %384 = load i32, ptr %15, align 4 %385 = call i64 @bn_sub_words(ptr noundef %378, ptr noundef %379, ptr noundef %383, i32 noundef %384) %386 = trunc i64 %385 to i32 %387 = load i32, ptr %16, align 4 %388 = sub i32 %387, %386 store i32 %388, ptr %16, align 4 br label %404 389: ; preds = %362 %390 = load ptr, ptr %12, align 8 %391 = load i32, ptr %15, align 4 %392 = sext i32 %391 to i64 %393 = getelementptr inbounds i64, ptr %390, i64 %392 %394 = load ptr, ptr %12, align 8 %395 = load i32, ptr %15, align 4 %396 = sext i32 %395 to i64 %397 = getelementptr inbounds i64, ptr %394, i64 %396 %398 = load ptr, ptr %12, align 8 %399 = load i32, ptr %15, align 4 %400 = call i64 @bn_add_words(ptr noundef %393, ptr noundef %397, ptr noundef %398, i32 noundef %399) %401 = trunc i64 %400 to i32 %402 = load i32, ptr %16, align 4 %403 = add i32 %402, %401 store i32 %403, ptr %16, align 4 br label %404 404: ; preds = %389, %374 %405 = load ptr, ptr %7, align 8 %406 = load i32, ptr %11, align 4 %407 = sext i32 %406 to i64 %408 = getelementptr inbounds i64, ptr %405, i64 %407 %409 = load ptr, ptr %7, align 8 %410 = load i32, ptr %11, align 4 %411 = sext i32 %410 to i64 %412 = getelementptr inbounds i64, ptr %409, i64 %411 %413 = load ptr, ptr %12, align 8 %414 = load i32, ptr %15, align 4 %415 = sext i32 %414 to i64 %416 = getelementptr inbounds i64, ptr %413, i64 %415 %417 = load i32, ptr %15, align 4 %418 = call i64 @bn_add_words(ptr noundef %408, ptr noundef %412, ptr noundef %416, i32 noundef %417) %419 = trunc i64 %418 to i32 %420 = load i32, ptr %16, align 4 %421 = add i32 %420, %419 store i32 %421, ptr %16, align 4 %422 = load i32, ptr %16, align 4 %423 = icmp ne i32 %422, 0 br i1 %423, label %424, label %460 424: ; preds = %404 %425 = load ptr, ptr %7, align 8 %426 = load i32, ptr %11, align 4 %427 = load i32, ptr %15, align 4 %428 = add nsw i32 %426, %427 %429 = sext i32 %428 to i64 %430 = getelementptr inbounds i64, ptr %425, i64 %429 store ptr %430, ptr %22, align 8 %431 = load ptr, ptr %22, align 8 %432 = load i64, ptr %431, align 8 store i64 %432, ptr %21, align 8 %433 = load i64, ptr %21, align 8 %434 = load i32, ptr %16, align 4 %435 = zext i32 %434 to i64 %436 = add i64 %433, %435 %437 = and i64 %436, 4294967295 store i64 %437, ptr %20, align 8 %438 = load i64, ptr %20, align 8 %439 = load ptr, ptr %22, align 8 store i64 %438, ptr %439, align 8 %440 = load i64, ptr %20, align 8 %441 = load i32, ptr %16, align 4 %442 = zext i32 %441 to i64 %443 = icmp ult i64 %440, %442 br i1 %443, label %444, label %459 444: ; preds = %424 br label %445 445: ; preds = %455, %444 %446 = load ptr, ptr %22, align 8 %447 = getelementptr inbounds i64, ptr %446, i32 1 store ptr %447, ptr %22, align 8 %448 = load ptr, ptr %22, align 8 %449 = load i64, ptr %448, align 8 store i64 %449, ptr %21, align 8 %450 = load i64, ptr %21, align 8 %451 = add i64 %450, 1 %452 = and i64 %451, 4294967295 store i64 %452, ptr %20, align 8 %453 = load i64, ptr %20, align 8 %454 = load ptr, ptr %22, align 8 store i64 %453, ptr %454, align 8 br label %455 455: ; preds = %445 %456 = load i64, ptr %20, align 8 %457 = icmp eq i64 %456, 0 br i1 %457, label %445, label %458, !llvm.loop !6 458: ; preds = %455 br label %459 459: ; preds = %458, %424 br label %460 460: ; preds = %27, %459, %404 ret void } declare i32 @bn_mul_normal(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @bn_cmp_words(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @bn_sub_words(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @bn_mul_comba8(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @bn_mul_recursive(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @bn_add_words(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp68igqi5a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bn_mul_part_recursive(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i64, align 8 %21 = alloca i64, align 8 %22 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store ptr %5, ptr %12, align 8 %23 = load i32, ptr %11, align 4 %24 = mul nsw i32 %23, 2 store i32 %24, ptr %15, align 4 %25 = load i32, ptr %11, align 4 %26 = icmp slt i32 %25, 8 br i1 %26, label %27, label %37 27: ; preds = %6 %28 = load i32, ptr %10, align 4 %29 = load i32, ptr %11, align 4 %30 = add nsw i32 %28, %29 store i32 %30, ptr %13, align 4 %31 = load ptr, ptr %7, align 8 %32 = load ptr, ptr %8, align 8 %33 = load i32, ptr %13, align 4 %34 = load ptr, ptr %9, align 8 %35 = load i32, ptr %13, align 4 %36 = call i32 @bn_mul_normal(ptr noundef %31, ptr noundef %32, i32 noundef %33, ptr noundef %34, i32 noundef %35) br label %464 37: ; preds = %6 %38 = load ptr, ptr %8, align 8 %39 = load ptr, ptr %8, align 8 %40 = load i32, ptr %11, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i64, ptr %39, i64 %41 %43 = load i32, ptr %11, align 4 %44 = call i32 @bn_cmp_words(ptr noundef %38, ptr noundef %42, i32 noundef %43) store i32 %44, ptr %16, align 4 %45 = load ptr, ptr %9, align 8 %46 = load i32, ptr %11, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i64, ptr %45, i64 %47 %49 = load ptr, ptr %9, align 8 %50 = load i32, ptr %11, align 4 %51 = call i32 @bn_cmp_words(ptr noundef %48, ptr noundef %49, i32 noundef %50) store i32 %51, ptr %17, align 4 store i32 0, ptr %18, align 4 store i32 0, ptr %19, align 4 %52 = load i32, ptr %16, align 4 %53 = mul i32 %52, 3 %54 = load i32, ptr %17, align 4 %55 = add i32 %53, %54 switch i32 %55, label %139 [ i32 -4, label %56 i32 -3, label %76 i32 -2, label %77 i32 -1, label %97 i32 0, label %97 i32 1, label %97 i32 2, label %98 i32 3, label %118 i32 4, label %119 ] 56: ; preds = %37 %57 = load ptr, ptr %12, align 8 %58 = load ptr, ptr %8, align 8 %59 = load i32, ptr %11, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i64, ptr %58, i64 %60 %62 = load ptr, ptr %8, align 8 %63 = load i32, ptr %11, align 4 %64 = call i64 @bn_sub_words(ptr noundef %57, ptr noundef %61, ptr noundef %62, i32 noundef %63) %65 = load ptr, ptr %12, align 8 %66 = load i32, ptr %11, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i64, ptr %65, i64 %67 %69 = load ptr, ptr %9, align 8 %70 = load ptr, ptr %9, align 8 %71 = load i32, ptr %11, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i64, ptr %70, i64 %72 %74 = load i32, ptr %11, align 4 %75 = call i64 @bn_sub_words(ptr noundef %68, ptr noundef %69, ptr noundef %73, i32 noundef %74) br label %139 76: ; preds = %37 store i32 1, ptr %19, align 4 br label %77 77: ; preds = %76, %37 %78 = load ptr, ptr %12, align 8 %79 = load ptr, ptr %8, align 8 %80 = load i32, ptr %11, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i64, ptr %79, i64 %81 %83 = load ptr, ptr %8, align 8 %84 = load i32, ptr %11, align 4 %85 = call i64 @bn_sub_words(ptr noundef %78, ptr noundef %82, ptr noundef %83, i32 noundef %84) %86 = load ptr, ptr %12, align 8 %87 = load i32, ptr %11, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i64, ptr %86, i64 %88 %90 = load ptr, ptr %9, align 8 %91 = load i32, ptr %11, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i64, ptr %90, i64 %92 %94 = load ptr, ptr %9, align 8 %95 = load i32, ptr %11, align 4 %96 = call i64 @bn_sub_words(ptr noundef %89, ptr noundef %93, ptr noundef %94, i32 noundef %95) store i32 1, ptr %18, align 4 br label %139 97: ; preds = %37, %37, %37 store i32 1, ptr %19, align 4 br label %98 98: ; preds = %97, %37 %99 = load ptr, ptr %12, align 8 %100 = load ptr, ptr %8, align 8 %101 = load ptr, ptr %8, align 8 %102 = load i32, ptr %11, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds i64, ptr %101, i64 %103 %105 = load i32, ptr %11, align 4 %106 = call i64 @bn_sub_words(ptr noundef %99, ptr noundef %100, ptr noundef %104, i32 noundef %105) %107 = load ptr, ptr %12, align 8 %108 = load i32, ptr %11, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i64, ptr %107, i64 %109 %111 = load ptr, ptr %9, align 8 %112 = load ptr, ptr %9, align 8 %113 = load i32, ptr %11, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds i64, ptr %112, i64 %114 %116 = load i32, ptr %11, align 4 %117 = call i64 @bn_sub_words(ptr noundef %110, ptr noundef %111, ptr noundef %115, i32 noundef %116) store i32 1, ptr %18, align 4 br label %139 118: ; preds = %37 store i32 1, ptr %19, align 4 br label %119 119: ; preds = %118, %37 %120 = load ptr, ptr %12, align 8 %121 = load ptr, ptr %8, align 8 %122 = load ptr, ptr %8, align 8 %123 = load i32, ptr %11, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i64, ptr %122, i64 %124 %126 = load i32, ptr %11, align 4 %127 = call i64 @bn_sub_words(ptr noundef %120, ptr noundef %121, ptr noundef %125, i32 noundef %126) %128 = load ptr, ptr %12, align 8 %129 = load i32, ptr %11, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds i64, ptr %128, i64 %130 %132 = load ptr, ptr %9, align 8 %133 = load i32, ptr %11, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds i64, ptr %132, i64 %134 %136 = load ptr, ptr %9, align 8 %137 = load i32, ptr %11, align 4 %138 = call i64 @bn_sub_words(ptr noundef %131, ptr noundef %135, ptr noundef %136, i32 noundef %137) br label %139 139: ; preds = %119, %98, %77, %56, %37 %140 = load i32, ptr %11, align 4 %141 = icmp eq i32 %140, 8 br i1 %141, label %142, label %187 142: ; preds = %139 %143 = load ptr, ptr %12, align 8 %144 = load i32, ptr %15, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds i64, ptr %143, i64 %145 %147 = load ptr, ptr %12, align 8 %148 = load ptr, ptr %12, align 8 %149 = load i32, ptr %11, align 4 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds i64, ptr %148, i64 %150 %152 = call i32 @bn_mul_comba8(ptr noundef %146, ptr noundef %147, ptr noundef %151) %153 = load ptr, ptr %7, align 8 %154 = load ptr, ptr %8, align 8 %155 = load ptr, ptr %9, align 8 %156 = call i32 @bn_mul_comba8(ptr noundef %153, ptr noundef %154, ptr noundef %155) %157 = load ptr, ptr %7, align 8 %158 = load i32, ptr %15, align 4 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds i64, ptr %157, i64 %159 %161 = load ptr, ptr %8, align 8 %162 = load i32, ptr %11, align 4 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds i64, ptr %161, i64 %163 %165 = load i32, ptr %10, align 4 %166 = load ptr, ptr %9, align 8 %167 = load i32, ptr %11, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds i64, ptr %166, i64 %168 %170 = load i32, ptr %10, align 4 %171 = call i32 @bn_mul_normal(ptr noundef %160, ptr noundef %164, i32 noundef %165, ptr noundef %169, i32 noundef %170) %172 = load ptr, ptr %7, align 8 %173 = load i32, ptr %15, align 4 %174 = load i32, ptr %10, align 4 %175 = mul nsw i32 %174, 2 %176 = add nsw i32 %173, %175 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds i64, ptr %172, i64 %177 %179 = load i32, ptr %15, align 4 %180 = load i32, ptr %10, align 4 %181 = mul nsw i32 %180, 2 %182 = sub nsw i32 %179, %181 %183 = sext i32 %182 to i64 %184 = mul i64 8, %183 %185 = trunc i64 %184 to i32 %186 = call i32 @memset(ptr noundef %178, i32 noundef 0, i32 noundef %185) br label %366 187: ; preds = %139 %188 = load ptr, ptr %12, align 8 %189 = load i32, ptr %15, align 4 %190 = mul nsw i32 %189, 2 %191 = sext i32 %190 to i64 %192 = getelementptr inbounds i64, ptr %188, i64 %191 store ptr %192, ptr %22, align 8 %193 = load ptr, ptr %12, align 8 %194 = load i32, ptr %15, align 4 %195 = sext i32 %194 to i64 %196 = getelementptr inbounds i64, ptr %193, i64 %195 %197 = load ptr, ptr %12, align 8 %198 = load ptr, ptr %12, align 8 %199 = load i32, ptr %11, align 4 %200 = sext i32 %199 to i64 %201 = getelementptr inbounds i64, ptr %198, i64 %200 %202 = load i32, ptr %11, align 4 %203 = load ptr, ptr %22, align 8 %204 = call i32 @bn_mul_recursive(ptr noundef %196, ptr noundef %197, ptr noundef %201, i32 noundef %202, ptr noundef %203) %205 = load ptr, ptr %7, align 8 %206 = load ptr, ptr %8, align 8 %207 = load ptr, ptr %9, align 8 %208 = load i32, ptr %11, align 4 %209 = load ptr, ptr %22, align 8 %210 = call i32 @bn_mul_recursive(ptr noundef %205, ptr noundef %206, ptr noundef %207, i32 noundef %208, ptr noundef %209) %211 = load i32, ptr %11, align 4 %212 = sdiv i32 %211, 2 store i32 %212, ptr %13, align 4 %213 = load i32, ptr %10, align 4 %214 = load i32, ptr %13, align 4 %215 = sub nsw i32 %213, %214 store i32 %215, ptr %14, align 4 %216 = load i32, ptr %14, align 4 %217 = icmp eq i32 %216, 0 br i1 %217, label %218, label %249 218: ; preds = %187 %219 = load ptr, ptr %7, align 8 %220 = load i32, ptr %15, align 4 %221 = sext i32 %220 to i64 %222 = getelementptr inbounds i64, ptr %219, i64 %221 %223 = load ptr, ptr %8, align 8 %224 = load i32, ptr %11, align 4 %225 = sext i32 %224 to i64 %226 = getelementptr inbounds i64, ptr %223, i64 %225 %227 = load ptr, ptr %9, align 8 %228 = load i32, ptr %11, align 4 %229 = sext i32 %228 to i64 %230 = getelementptr inbounds i64, ptr %227, i64 %229 %231 = load i32, ptr %13, align 4 %232 = load ptr, ptr %22, align 8 %233 = call i32 @bn_mul_recursive(ptr noundef %222, ptr noundef %226, ptr noundef %230, i32 noundef %231, ptr noundef %232) %234 = load ptr, ptr %7, align 8 %235 = load i32, ptr %15, align 4 %236 = load i32, ptr %13, align 4 %237 = mul nsw i32 %236, 2 %238 = add nsw i32 %235, %237 %239 = sext i32 %238 to i64 %240 = getelementptr inbounds i64, ptr %234, i64 %239 %241 = load i32, ptr %15, align 4 %242 = load i32, ptr %13, align 4 %243 = mul nsw i32 %242, 2 %244 = sub nsw i32 %241, %243 %245 = sext i32 %244 to i64 %246 = mul i64 8, %245 %247 = trunc i64 %246 to i32 %248 = call i32 @memset(ptr noundef %240, i32 noundef 0, i32 noundef %247) br label %365 249: ; preds = %187 %250 = load i32, ptr %14, align 4 %251 = icmp sgt i32 %250, 0 br i1 %251, label %252, label %283 252: ; preds = %249 %253 = load ptr, ptr %7, align 8 %254 = load i32, ptr %15, align 4 %255 = sext i32 %254 to i64 %256 = getelementptr inbounds i64, ptr %253, i64 %255 %257 = load ptr, ptr %8, align 8 %258 = load i32, ptr %11, align 4 %259 = sext i32 %258 to i64 %260 = getelementptr inbounds i64, ptr %257, i64 %259 %261 = load ptr, ptr %9, align 8 %262 = load i32, ptr %11, align 4 %263 = sext i32 %262 to i64 %264 = getelementptr inbounds i64, ptr %261, i64 %263 %265 = load i32, ptr %14, align 4 %266 = load i32, ptr %13, align 4 %267 = load ptr, ptr %22, align 8 call void @bn_mul_part_recursive(ptr noundef %256, ptr noundef %260, ptr noundef %264, i32 noundef %265, i32 noundef %266, ptr noundef %267) %268 = load ptr, ptr %7, align 8 %269 = load i32, ptr %15, align 4 %270 = load i32, ptr %10, align 4 %271 = mul nsw i32 %270, 2 %272 = add nsw i32 %269, %271 %273 = sext i32 %272 to i64 %274 = getelementptr inbounds i64, ptr %268, i64 %273 %275 = load i32, ptr %15, align 4 %276 = load i32, ptr %10, align 4 %277 = mul nsw i32 %276, 2 %278 = sub nsw i32 %275, %277 %279 = sext i32 %278 to i64 %280 = mul i64 8, %279 %281 = trunc i64 %280 to i32 %282 = call i32 @memset(ptr noundef %274, i32 noundef 0, i32 noundef %281) br label %364 283: ; preds = %249 %284 = load ptr, ptr %7, align 8 %285 = load i32, ptr %15, align 4 %286 = sext i32 %285 to i64 %287 = getelementptr inbounds i64, ptr %284, i64 %286 %288 = load i32, ptr %15, align 4 %289 = sext i32 %288 to i64 %290 = mul i64 8, %289 %291 = trunc i64 %290 to i32 %292 = call i32 @memset(ptr noundef %287, i32 noundef 0, i32 noundef %291) %293 = load i32, ptr %10, align 4 %294 = icmp slt i32 %293, 16 br i1 %294, label %295, label %311 295: ; preds = %283 %296 = load ptr, ptr %7, align 8 %297 = load i32, ptr %15, align 4 %298 = sext i32 %297 to i64 %299 = getelementptr inbounds i64, ptr %296, i64 %298 %300 = load ptr, ptr %8, align 8 %301 = load i32, ptr %11, align 4 %302 = sext i32 %301 to i64 %303 = getelementptr inbounds i64, ptr %300, i64 %302 %304 = load i32, ptr %10, align 4 %305 = load ptr, ptr %9, align 8 %306 = load i32, ptr %11, align 4 %307 = sext i32 %306 to i64 %308 = getelementptr inbounds i64, ptr %305, i64 %307 %309 = load i32, ptr %10, align 4 %310 = call i32 @bn_mul_normal(ptr noundef %299, ptr noundef %303, i32 noundef %304, ptr noundef %308, i32 noundef %309) br label %363 311: ; preds = %283 %312 = load i32, ptr %13, align 4 %313 = sdiv i32 %312, 2 store i32 %313, ptr %13, align 4 %314 = load i32, ptr %13, align 4 %315 = load i32, ptr %10, align 4 %316 = icmp slt i32 %314, %315 br i1 %316, label %317, label %.lr.ph .lr.ph: ; preds = %311 br label %335 ._crit_edge: ; preds = %356 br label %317 317: ; preds = %._crit_edge, %311 %318 = load ptr, ptr %7, align 8 %319 = load i32, ptr %15, align 4 %320 = sext i32 %319 to i64 %321 = getelementptr inbounds i64, ptr %318, i64 %320 %322 = load ptr, ptr %8, align 8 %323 = load i32, ptr %11, align 4 %324 = sext i32 %323 to i64 %325 = getelementptr inbounds i64, ptr %322, i64 %324 %326 = load ptr, ptr %9, align 8 %327 = load i32, ptr %11, align 4 %328 = sext i32 %327 to i64 %329 = getelementptr inbounds i64, ptr %326, i64 %328 %330 = load i32, ptr %10, align 4 %331 = load i32, ptr %13, align 4 %332 = sub nsw i32 %330, %331 %333 = load i32, ptr %13, align 4 %334 = load ptr, ptr %22, align 8 call void @bn_mul_part_recursive(ptr noundef %321, ptr noundef %325, ptr noundef %329, i32 noundef %332, i32 noundef %333, ptr noundef %334) br label %362 335: ; preds = %.lr.ph, %356 %336 = load i32, ptr %13, align 4 %337 = load i32, ptr %10, align 4 %338 = icmp eq i32 %336, %337 br i1 %338, label %339, label %355 339: ; preds = %335 %340 = load ptr, ptr %7, align 8 %341 = load i32, ptr %15, align 4 %342 = sext i32 %341 to i64 %343 = getelementptr inbounds i64, ptr %340, i64 %342 %344 = load ptr, ptr %8, align 8 %345 = load i32, ptr %11, align 4 %346 = sext i32 %345 to i64 %347 = getelementptr inbounds i64, ptr %344, i64 %346 %348 = load ptr, ptr %9, align 8 %349 = load i32, ptr %11, align 4 %350 = sext i32 %349 to i64 %351 = getelementptr inbounds i64, ptr %348, i64 %350 %352 = load i32, ptr %13, align 4 %353 = load ptr, ptr %22, align 8 %354 = call i32 @bn_mul_recursive(ptr noundef %343, ptr noundef %347, ptr noundef %351, i32 noundef %352, ptr noundef %353) br label %362 355: ; preds = %335 br label %356 356: ; preds = %355 %357 = load i32, ptr %13, align 4 %358 = sdiv i32 %357, 2 store i32 %358, ptr %13, align 4 %359 = load i32, ptr %13, align 4 %360 = load i32, ptr %10, align 4 %361 = icmp slt i32 %359, %360 br i1 %361, label %._crit_edge, label %335 362: ; preds = %339, %317 br label %363 363: ; preds = %362, %295 br label %364 364: ; preds = %363, %252 br label %365 365: ; preds = %364, %218 br label %366 366: ; preds = %365, %142 %367 = load ptr, ptr %12, align 8 %368 = load ptr, ptr %7, align 8 %369 = load ptr, ptr %7, align 8 %370 = load i32, ptr %15, align 4 %371 = sext i32 %370 to i64 %372 = getelementptr inbounds i64, ptr %369, i64 %371 %373 = load i32, ptr %15, align 4 %374 = call i64 @bn_add_words(ptr noundef %367, ptr noundef %368, ptr noundef %372, i32 noundef %373) %375 = trunc i64 %374 to i32 store i32 %375, ptr %16, align 4 %376 = load i32, ptr %18, align 4 %377 = icmp ne i32 %376, 0 br i1 %377, label %378, label %393 378: ; preds = %366 %379 = load ptr, ptr %12, align 8 %380 = load i32, ptr %15, align 4 %381 = sext i32 %380 to i64 %382 = getelementptr inbounds i64, ptr %379, i64 %381 %383 = load ptr, ptr %12, align 8 %384 = load ptr, ptr %12, align 8 %385 = load i32, ptr %15, align 4 %386 = sext i32 %385 to i64 %387 = getelementptr inbounds i64, ptr %384, i64 %386 %388 = load i32, ptr %15, align 4 %389 = call i64 @bn_sub_words(ptr noundef %382, ptr noundef %383, ptr noundef %387, i32 noundef %388) %390 = trunc i64 %389 to i32 %391 = load i32, ptr %16, align 4 %392 = sub i32 %391, %390 store i32 %392, ptr %16, align 4 br label %408 393: ; preds = %366 %394 = load ptr, ptr %12, align 8 %395 = load i32, ptr %15, align 4 %396 = sext i32 %395 to i64 %397 = getelementptr inbounds i64, ptr %394, i64 %396 %398 = load ptr, ptr %12, align 8 %399 = load i32, ptr %15, align 4 %400 = sext i32 %399 to i64 %401 = getelementptr inbounds i64, ptr %398, i64 %400 %402 = load ptr, ptr %12, align 8 %403 = load i32, ptr %15, align 4 %404 = call i64 @bn_add_words(ptr noundef %397, ptr noundef %401, ptr noundef %402, i32 noundef %403) %405 = trunc i64 %404 to i32 %406 = load i32, ptr %16, align 4 %407 = add i32 %406, %405 store i32 %407, ptr %16, align 4 br label %408 408: ; preds = %393, %378 %409 = load ptr, ptr %7, align 8 %410 = load i32, ptr %11, align 4 %411 = sext i32 %410 to i64 %412 = getelementptr inbounds i64, ptr %409, i64 %411 %413 = load ptr, ptr %7, align 8 %414 = load i32, ptr %11, align 4 %415 = sext i32 %414 to i64 %416 = getelementptr inbounds i64, ptr %413, i64 %415 %417 = load ptr, ptr %12, align 8 %418 = load i32, ptr %15, align 4 %419 = sext i32 %418 to i64 %420 = getelementptr inbounds i64, ptr %417, i64 %419 %421 = load i32, ptr %15, align 4 %422 = call i64 @bn_add_words(ptr noundef %412, ptr noundef %416, ptr noundef %420, i32 noundef %421) %423 = trunc i64 %422 to i32 %424 = load i32, ptr %16, align 4 %425 = add i32 %424, %423 store i32 %425, ptr %16, align 4 %426 = load i32, ptr %16, align 4 %427 = icmp ne i32 %426, 0 br i1 %427, label %428, label %464 428: ; preds = %408 %429 = load ptr, ptr %7, align 8 %430 = load i32, ptr %11, align 4 %431 = load i32, ptr %15, align 4 %432 = add nsw i32 %430, %431 %433 = sext i32 %432 to i64 %434 = getelementptr inbounds i64, ptr %429, i64 %433 store ptr %434, ptr %22, align 8 %435 = load ptr, ptr %22, align 8 %436 = load i64, ptr %435, align 8 store i64 %436, ptr %21, align 8 %437 = load i64, ptr %21, align 8 %438 = load i32, ptr %16, align 4 %439 = zext i32 %438 to i64 %440 = add i64 %437, %439 %441 = and i64 %440, 4294967295 store i64 %441, ptr %20, align 8 %442 = load i64, ptr %20, align 8 %443 = load ptr, ptr %22, align 8 store i64 %442, ptr %443, align 8 %444 = load i64, ptr %20, align 8 %445 = load i32, ptr %16, align 4 %446 = zext i32 %445 to i64 %447 = icmp ult i64 %444, %446 br i1 %447, label %448, label %463 448: ; preds = %428 br label %449 449: ; preds = %459, %448 %450 = load ptr, ptr %22, align 8 %451 = getelementptr inbounds i64, ptr %450, i32 1 store ptr %451, ptr %22, align 8 %452 = load ptr, ptr %22, align 8 %453 = load i64, ptr %452, align 8 store i64 %453, ptr %21, align 8 %454 = load i64, ptr %21, align 8 %455 = add i64 %454, 1 %456 = and i64 %455, 4294967295 store i64 %456, ptr %20, align 8 %457 = load i64, ptr %20, align 8 %458 = load ptr, ptr %22, align 8 store i64 %457, ptr %458, align 8 br label %459 459: ; preds = %449 %460 = load i64, ptr %20, align 8 %461 = icmp eq i64 %460, 0 br i1 %461, label %449, label %462, !llvm.loop !6 462: ; preds = %459 br label %463 463: ; preds = %462, %428 br label %464 464: ; preds = %463, %408, %27 ret void } declare i32 @bn_mul_normal(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @bn_cmp_words(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @bn_sub_words(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @bn_mul_comba8(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @bn_mul_recursive(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @bn_add_words(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnp26w_ro.c' source_filename = "/tmp/tmpnp26w_ro.c" target datalayout = "e-m:e-p270: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/tmpnp26w_ro.c" target datalayout = "e-m:e-p270: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/tmpwi7wswm8.c' source_filename = "/tmp/tmpwi7wswm8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_fdt_node_end_offset(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %14, %2 %7 = load i32, ptr %4, align 4 %8 = icmp sge i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %6 %10 = load i32, ptr %5, align 4 %11 = icmp sge i32 %10, 0 br label %12 12: ; preds = %9, %6 %13 = phi i1 [ false, %6 ], [ %11, %9 ] br i1 %13, label %14, label %18 14: ; preds = %12 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %4, align 4 %17 = call i32 @fdt_next_node(ptr noundef %15, i32 noundef %16, ptr noundef %5) store i32 %17, ptr %4, align 4 br label %6, !llvm.loop !6 18: ; preds = %12 %19 = load i32, ptr %4, align 4 ret i32 %19 } declare i32 @fdt_next_node(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwi7wswm8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_fdt_node_end_offset(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %14, %2 %7 = load i32, ptr %4, align 4 %8 = icmp sge i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %6 %10 = load i32, ptr %5, align 4 %11 = icmp sge i32 %10, 0 br label %12 12: ; preds = %9, %6 %13 = phi i1 [ false, %6 ], [ %11, %9 ] br i1 %13, label %14, label %18 14: ; preds = %12 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %4, align 4 %17 = call i32 @fdt_next_node(ptr noundef %15, i32 noundef %16, ptr noundef %5) store i32 %17, ptr %4, align 4 br label %6, !llvm.loop !6 18: ; preds = %12 %19 = load i32, ptr %4, align 4 ret i32 %19 } declare i32 @fdt_next_node(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpy45aayte.c' source_filename = "/tmp/tmpy45aayte.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @int_gcd(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %3, align 8 %7 = call i64 @abs(i64 noundef %6) store i64 %7, ptr %3, align 8 %8 = load i64, ptr %4, align 8 %9 = call i64 @abs(i64 noundef %8) store i64 %9, ptr %4, align 8 br label %10 10: ; preds = %13, %2 %11 = load i64, ptr %4, align 8 %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %19 13: ; preds = %10 %14 = load i64, ptr %4, align 8 store i64 %14, ptr %5, align 8 %15 = load i64, ptr %3, align 8 %16 = load i64, ptr %4, align 8 %17 = srem i64 %15, %16 store i64 %17, ptr %4, align 8 %18 = load i64, ptr %5, align 8 store i64 %18, ptr %3, align 8 br label %10, !llvm.loop !6 19: ; preds = %10 %20 = load i64, ptr %3, align 8 ret i64 %20 } declare i64 @abs(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy45aayte.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @int_gcd(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %3, align 8 %7 = call i64 @abs(i64 noundef %6) store i64 %7, ptr %3, align 8 %8 = load i64, ptr %4, align 8 %9 = call i64 @abs(i64 noundef %8) store i64 %9, ptr %4, align 8 %10 = load i64, ptr %4, align 8 %11 = icmp ne i64 %10, 0 br i1 %11, label %.lr.ph, label %20 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %12 %13 = load i64, ptr %4, align 8 store i64 %13, ptr %5, align 8 %14 = load i64, ptr %3, align 8 %15 = load i64, ptr %4, align 8 %16 = srem i64 %14, %15 store i64 %16, ptr %4, align 8 %17 = load i64, ptr %5, align 8 store i64 %17, ptr %3, align 8 %18 = load i64, ptr %4, align 8 %19 = icmp ne i64 %18, 0 br i1 %19, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %20 20: ; preds = %._crit_edge, %2 %21 = load i64, ptr %3, align 8 ret i64 %21 } declare i64 @abs(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpfsv3l2c4.c' source_filename = "/tmp/tmpfsv3l2c4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmACosD3f(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @glmACos3f(ptr noundef %5, ptr noundef %6) %8 = load ptr, ptr %3, align 8 %9 = call i32 @glmDegrees3f_(ptr noundef %8) ret void } declare i32 @glmACos3f(ptr noundef, ptr noundef) #1 declare i32 @glmDegrees3f_(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfsv3l2c4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmACosD3f(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @glmACos3f(ptr noundef %5, ptr noundef %6) %8 = load ptr, ptr %3, align 8 %9 = call i32 @glmDegrees3f_(ptr noundef %8) ret void } declare i32 @glmACos3f(ptr noundef, ptr noundef) #1 declare i32 @glmDegrees3f_(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjexyb8lv.c' source_filename = "/tmp/tmpjexyb8lv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [256 x i8], align 16 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = call i32 @time(ptr noundef null) %8 = call i32 @srand(i32 noundef %7) %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 2 %11 = load ptr, ptr %10, align 8 %12 = call i64 @strtol(ptr noundef %11, ptr noundef null, i32 noundef 10) %13 = trunc i64 %12 to i32 store i32 %13, ptr %5, align 4 %14 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = load i32, ptr %5, align 4 %19 = call i32 @encodeMatrix(ptr noundef %17, i32 noundef %18) %20 = call i32 @strcpy(ptr noundef %14, i32 noundef %19) %21 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %22 = call i32 @puts(ptr noundef %21) %23 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %24 = load i32, ptr %5, align 4 %25 = call ptr @decodeMatrix(ptr noundef %23, i32 noundef %24) %26 = call i32 @puts(ptr noundef %25) ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, i32 noundef) #1 declare i32 @encodeMatrix(ptr noundef, i32 noundef) #1 declare i32 @puts(ptr noundef) #1 declare ptr @decodeMatrix(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/tmpjexyb8lv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [256 x i8], align 16 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = call i32 @time(ptr noundef null) %8 = call i32 @srand(i32 noundef %7) %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 2 %11 = load ptr, ptr %10, align 8 %12 = call i64 @strtol(ptr noundef %11, ptr noundef null, i32 noundef 10) %13 = trunc i64 %12 to i32 store i32 %13, ptr %5, align 4 %14 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = load i32, ptr %5, align 4 %19 = call i32 @encodeMatrix(ptr noundef %17, i32 noundef %18) %20 = call i32 @strcpy(ptr noundef %14, i32 noundef %19) %21 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %22 = call i32 @puts(ptr noundef %21) %23 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %24 = load i32, ptr %5, align 4 %25 = call ptr @decodeMatrix(ptr noundef %23, i32 noundef %24) %26 = call i32 @puts(ptr noundef %25) ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, i32 noundef) #1 declare i32 @encodeMatrix(ptr noundef, i32 noundef) #1 declare i32 @puts(ptr noundef) #1 declare ptr @decodeMatrix(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/tmp6bwe52ga.c' source_filename = "/tmp/tmp6bwe52ga.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readVarInt(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i8, align 1 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 store i8 0, ptr %10, align 1 store i32 0, ptr %8, align 4 br label %11 11: ; preds = %40, %3 %12 = load i32, ptr %8, align 4 %13 = sext i32 %12 to i64 %14 = load i64, ptr %7, align 8 %15 = icmp uge i64 %13, %14 br i1 %15, label %16, label %17 16: ; preds = %11 br label %45 17: ; preds = %11 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %8, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 store i8 %22, ptr %9, align 1 %23 = load i8, ptr %9, align 1 %24 = sext i8 %23 to i32 %25 = and i32 %24, 127 %26 = load i32, ptr %8, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %8, align 4 %28 = mul nsw i32 %26, 7 %29 = shl i32 %25, %28 %30 = load ptr, ptr %5, align 8 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = or i32 %32, %29 %34 = trunc i32 %33 to i8 store i8 %34, ptr %30, align 1 %35 = load i32, ptr %8, align 4 %36 = icmp sgt i32 %35, 5 br i1 %36, label %37, label %39 37: ; preds = %17 %38 = load i32, ptr %8, align 4 store i32 %38, ptr %4, align 4 br label %47 39: ; preds = %17 br label %40 40: ; preds = %39 %41 = load i8, ptr %9, align 1 %42 = sext i8 %41 to i32 %43 = and i32 %42, 128 %44 = icmp eq i32 %43, 128 br i1 %44, label %11, label %45, !llvm.loop !6 45: ; preds = %40, %16 %46 = load i32, ptr %8, align 4 store i32 %46, ptr %4, align 4 br label %47 47: ; preds = %45, %37 %48 = load i32, ptr %4, align 4 ret i32 %48 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp6bwe52ga.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readVarInt(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i8, align 1 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 store i8 0, ptr %10, align 1 store i32 0, ptr %8, align 4 br label %11 11: ; preds = %40, %3 %12 = load i32, ptr %8, align 4 %13 = sext i32 %12 to i64 %14 = load i64, ptr %7, align 8 %15 = icmp uge i64 %13, %14 br i1 %15, label %16, label %17 16: ; preds = %11 br label %45 17: ; preds = %11 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %8, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 store i8 %22, ptr %9, align 1 %23 = load i8, ptr %9, align 1 %24 = sext i8 %23 to i32 %25 = and i32 %24, 127 %26 = load i32, ptr %8, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %8, align 4 %28 = mul nsw i32 %26, 7 %29 = shl i32 %25, %28 %30 = load ptr, ptr %5, align 8 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = or i32 %32, %29 %34 = trunc i32 %33 to i8 store i8 %34, ptr %30, align 1 %35 = load i32, ptr %8, align 4 %36 = icmp sgt i32 %35, 5 br i1 %36, label %37, label %39 37: ; preds = %17 %38 = load i32, ptr %8, align 4 store i32 %38, ptr %4, align 4 br label %47 39: ; preds = %17 br label %40 40: ; preds = %39 %41 = load i8, ptr %9, align 1 %42 = sext i8 %41 to i32 %43 = and i32 %42, 128 %44 = icmp eq i32 %43, 128 br i1 %44, label %11, label %.loopexit, !llvm.loop !6 .loopexit: ; preds = %40 br label %45 45: ; preds = %.loopexit, %16 %46 = load i32, ptr %8, align 4 store i32 %46, ptr %4, align 4 br label %47 47: ; preds = %45, %37 %48 = load i32, ptr %4, align 4 ret i32 %48 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpi20_eh5w.c' source_filename = "/tmp/tmpi20_eh5w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"EOG\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @recputeog() #0 { %1 = call i32 @mprintf(ptr noundef @.str) ret void } declare i32 @mprintf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi20_eh5w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"EOG\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @recputeog() #0 { %1 = call i32 @mprintf(ptr noundef @.str) ret void } declare i32 @mprintf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8w3x93s6.c' source_filename = "/tmp/tmp8w3x93s6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_SUCCESS = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @legalChar(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp sge i32 %4, 48 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load i32, ptr %3, align 4 %8 = icmp sle i32 %7, 57 br i1 %8, label %27, label %9 9: ; preds = %6, %1 %10 = load i32, ptr %3, align 4 %11 = icmp sge i32 %10, 65 br i1 %11, label %12, label %15 12: ; preds = %9 %13 = load i32, ptr %3, align 4 %14 = icmp sle i32 %13, 90 br i1 %14, label %27, label %15 15: ; preds = %12, %9 %16 = load i32, ptr %3, align 4 %17 = icmp sge i32 %16, 97 br i1 %17, label %18, label %21 18: ; preds = %15 %19 = load i32, ptr %3, align 4 %20 = icmp sle i32 %19, 122 br i1 %20, label %27, label %21 21: ; preds = %18, %15 %22 = load i32, ptr %3, align 4 %23 = icmp eq i32 %22, 45 br i1 %23, label %27, label %24 24: ; preds = %21 %25 = load i32, ptr %3, align 4 %26 = icmp eq i32 %25, 95 br i1 %26, label %27, label %29 27: ; preds = %24, %21, %18, %12, %6 %28 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %28, ptr %2, align 4 br label %31 29: ; preds = %24 %30 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %30, ptr %2, align 4 br label %31 31: ; preds = %29, %27 %32 = load i32, ptr %2, align 4 ret i32 %32 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8w3x93s6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_SUCCESS = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @legalChar(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp sge i32 %4, 48 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load i32, ptr %3, align 4 %8 = icmp sle i32 %7, 57 br i1 %8, label %27, label %9 9: ; preds = %6, %1 %10 = load i32, ptr %3, align 4 %11 = icmp sge i32 %10, 65 br i1 %11, label %12, label %15 12: ; preds = %9 %13 = load i32, ptr %3, align 4 %14 = icmp sle i32 %13, 90 br i1 %14, label %27, label %15 15: ; preds = %12, %9 %16 = load i32, ptr %3, align 4 %17 = icmp sge i32 %16, 97 br i1 %17, label %18, label %21 18: ; preds = %15 %19 = load i32, ptr %3, align 4 %20 = icmp sle i32 %19, 122 br i1 %20, label %27, label %21 21: ; preds = %18, %15 %22 = load i32, ptr %3, align 4 %23 = icmp eq i32 %22, 45 br i1 %23, label %27, label %24 24: ; preds = %21 %25 = load i32, ptr %3, align 4 %26 = icmp eq i32 %25, 95 br i1 %26, label %27, label %29 27: ; preds = %24, %21, %18, %12, %6 %28 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %28, ptr %2, align 4 br label %31 29: ; preds = %24 %30 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %30, ptr %2, align 4 br label %31 31: ; preds = %29, %27 %32 = load i32, ptr %2, align 4 ret i32 %32 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp36xnrp4o.c' source_filename = "/tmp/tmp36xnrp4o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @picosat_remove_learned(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 (...) @reset_incremental_usage() %4 = load i32, ptr %2, align 4 %5 = call i32 @reduce(i32 noundef %4) ret void } declare i32 @reset_incremental_usage(...) #1 declare i32 @reduce(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/tmp36xnrp4o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @picosat_remove_learned(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 (...) @reset_incremental_usage() %4 = load i32, ptr %2, align 4 %5 = call i32 @reduce(i32 noundef %4) ret void } declare i32 @reset_incremental_usage(...) #1 declare i32 @reduce(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/tmpaswgvgix.c' source_filename = "/tmp/tmpaswgvgix.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/sys/block\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @hddown() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = call ptr @opendir(ptr noundef @.str) store ptr %5, ptr %4, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %8 7: ; preds = %0 store i32 -1, ptr %1, align 4 br label %20 8: ; preds = %0 br label %9 9: ; preds = %13, %8 %10 = load ptr, ptr %4, align 8 %11 = call ptr @list_disks(ptr noundef %10, ptr noundef %2) store ptr %11, ptr %3, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %17 13: ; preds = %9 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %2, align 4 %16 = call i32 @do_standby_disk(ptr noundef %14, i32 noundef %15) br label %9, !llvm.loop !6 17: ; preds = %9 %18 = load ptr, ptr %4, align 8 %19 = call i32 @closedir(ptr noundef %18) store i32 %19, ptr %1, align 4 br label %20 20: ; preds = %17, %7 %21 = load i32, ptr %1, align 4 ret i32 %21 } declare ptr @opendir(ptr noundef) #1 declare ptr @list_disks(ptr noundef, ptr noundef) #1 declare i32 @do_standby_disk(ptr noundef, i32 noundef) #1 declare i32 @closedir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpaswgvgix.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/sys/block\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @hddown() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = call ptr @opendir(ptr noundef @.str) store ptr %5, ptr %4, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %8 7: ; preds = %0 store i32 -1, ptr %1, align 4 br label %22 8: ; preds = %0 %9 = load ptr, ptr %4, align 8 %10 = call ptr @list_disks(ptr noundef %9, ptr noundef %2) store ptr %10, ptr %3, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %.lr.ph, label %19 .lr.ph: ; preds = %8 br label %12 12: ; preds = %.lr.ph, %12 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %2, align 4 %15 = call i32 @do_standby_disk(ptr noundef %13, i32 noundef %14) %16 = load ptr, ptr %4, align 8 %17 = call ptr @list_disks(ptr noundef %16, ptr noundef %2) store ptr %17, ptr %3, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %19 19: ; preds = %._crit_edge, %8 %20 = load ptr, ptr %4, align 8 %21 = call i32 @closedir(ptr noundef %20) store i32 %21, ptr %1, align 4 br label %22 22: ; preds = %19, %7 %23 = load i32, ptr %1, align 4 ret i32 %23 } declare ptr @opendir(ptr noundef) #1 declare ptr @list_disks(ptr noundef, ptr noundef) #1 declare i32 @do_standby_disk(ptr noundef, i32 noundef) #1 declare i32 @closedir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmppa71l4qf.c' source_filename = "/tmp/tmppa71l4qf.c" target datalayout = "e-m:e-p270: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/tmppa71l4qf.c" target datalayout = "e-m:e-p270: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/tmpgu5gpkon.c' source_filename = "/tmp/tmpgu5gpkon.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"No memery!\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @arr_merge(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca 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 i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %8, align 4 %15 = add nsw i32 %13, %14 store i32 %15, ptr %10, align 4 %16 = load i32, ptr %10, align 4 %17 = sext i32 %16 to i64 %18 = mul i64 %17, 4 %19 = trunc i64 %18 to i32 %20 = call ptr @malloc(i32 noundef %19) store ptr %20, ptr %9, align 8 %21 = load ptr, ptr %9, align 8 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %27 23: ; preds = %4 %24 = call i32 @printf(ptr noundef @.str) %25 = load i32, ptr @EXIT_FAILURE, align 4 %26 = call i32 @exit(i32 noundef %25) #3 unreachable 27: ; preds = %4 store i32 0, ptr %11, align 4 br label %28 28: ; preds = %42, %27 %29 = load i32, ptr %11, align 4 %30 = load i32, ptr %7, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %32, label %45 32: ; preds = %28 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %11, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = load i32, ptr %36, align 4 %38 = load ptr, ptr %9, align 8 %39 = load i32, ptr %11, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %38, i64 %40 store i32 %37, ptr %41, align 4 br label %42 42: ; preds = %32 %43 = load i32, ptr %11, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %11, align 4 br label %28, !llvm.loop !6 45: ; preds = %28 store i32 0, ptr %12, align 4 br label %46 46: ; preds = %60, %45 %47 = load i32, ptr %12, align 4 %48 = load i32, ptr %8, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %50, label %65 50: ; preds = %46 %51 = load ptr, ptr %6, align 8 %52 = load i32, ptr %12, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %51, i64 %53 %55 = load i32, ptr %54, align 4 %56 = load ptr, ptr %9, align 8 %57 = load i32, ptr %11, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i32, ptr %56, i64 %58 store i32 %55, ptr %59, align 4 br label %60 60: ; preds = %50 %61 = load i32, ptr %11, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %11, align 4 %63 = load i32, ptr %12, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %12, align 4 br label %46, !llvm.loop !8 65: ; preds = %46 br label %66 66: ; preds = %65 %67 = load ptr, ptr %9, align 8 ret ptr %67 } declare ptr @malloc(i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgu5gpkon.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"No memery!\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @arr_merge(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca 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 i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %8, align 4 %15 = add nsw i32 %13, %14 store i32 %15, ptr %10, align 4 %16 = load i32, ptr %10, align 4 %17 = sext i32 %16 to i64 %18 = mul i64 %17, 4 %19 = trunc i64 %18 to i32 %20 = call ptr @malloc(i32 noundef %19) store ptr %20, ptr %9, align 8 %21 = load ptr, ptr %9, align 8 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %27 23: ; preds = %4 %24 = call i32 @printf(ptr noundef @.str) %25 = load i32, ptr @EXIT_FAILURE, align 4 %26 = call i32 @exit(i32 noundef %25) #3 unreachable 27: ; preds = %4 store i32 0, ptr %11, align 4 %28 = load i32, ptr %11, align 4 %29 = load i32, ptr %7, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %.lr.ph, label %47 .lr.ph: ; preds = %27 br label %31 31: ; preds = %.lr.ph, %41 %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %11, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %32, i64 %34 %36 = load i32, ptr %35, align 4 %37 = load ptr, ptr %9, align 8 %38 = load i32, ptr %11, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %37, i64 %39 store i32 %36, ptr %40, align 4 br label %41 41: ; preds = %31 %42 = load i32, ptr %11, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %11, align 4 %44 = load i32, ptr %11, align 4 %45 = load i32, ptr %7, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %31, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %47 47: ; preds = %._crit_edge, %27 store i32 0, ptr %12, align 4 %48 = load i32, ptr %12, align 4 %49 = load i32, ptr %8, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %.lr.ph2, label %69 .lr.ph2: ; preds = %47 br label %51 51: ; preds = %.lr.ph2, %61 %52 = load ptr, ptr %6, align 8 %53 = load i32, ptr %12, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %52, i64 %54 %56 = load i32, ptr %55, align 4 %57 = load ptr, ptr %9, align 8 %58 = load i32, ptr %11, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %57, i64 %59 store i32 %56, ptr %60, align 4 br label %61 61: ; preds = %51 %62 = load i32, ptr %11, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %11, align 4 %64 = load i32, ptr %12, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %12, align 4 %66 = load i32, ptr %12, align 4 %67 = load i32, ptr %8, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %51, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %61 br label %69 69: ; preds = %._crit_edge3, %47 br label %70 70: ; preds = %69 %71 = load ptr, ptr %9, align 8 ret ptr %71 } declare ptr @malloc(i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpnnsbicpf.c' source_filename = "/tmp/tmpnnsbicpf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @GenStartCommentLine() #0 { %1 = call i32 @printf2(ptr noundef @.str) ret void } declare i32 @printf2(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnnsbicpf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @GenStartCommentLine() #0 { %1 = call i32 @printf2(ptr noundef @.str) ret void } declare i32 @printf2(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbbe_o7f7.c' source_filename = "/tmp/tmpbbe_o7f7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%lld\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"%lld%lld%lld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i64 0, ptr %8, align 8 %11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %12 = load i64, ptr %2, align 8 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %9, align 8 %14 = alloca i64, i64 %12, align 16 store i64 %12, ptr %10, align 8 store i64 0, ptr %7, align 8 br label %15 15: ; preds = %22, %0 %16 = load i64, ptr %7, align 8 %17 = load i64, ptr %2, align 8 %18 = icmp slt i64 %16, %17 br i1 %18, label %19, label %25 19: ; preds = %15 %20 = load i64, ptr %7, align 8 %21 = getelementptr inbounds i64, ptr %14, i64 %20 store i64 0, ptr %21, align 8 br label %22 22: ; preds = %19 %23 = load i64, ptr %7, align 8 %24 = add nsw i64 %23, 1 store i64 %24, ptr %7, align 8 br label %15, !llvm.loop !6 25: ; preds = %15 %26 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3) br label %27 27: ; preds = %49, %25 %28 = load i64, ptr %3, align 8 %29 = icmp sgt i64 %28, 0 br i1 %29, label %30, label %52 30: ; preds = %27 %31 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %5, ptr noundef %6, ptr noundef %4) %32 = load i64, ptr %5, align 8 %33 = sub nsw i64 %32, 1 store i64 %33, ptr %7, align 8 br label %34 34: ; preds = %46, %30 %35 = load i64, ptr %7, align 8 %36 = load i64, ptr %6, align 8 %37 = icmp slt i64 %35, %36 br i1 %37, label %38, label %49 38: ; preds = %34 %39 = load i64, ptr %7, align 8 %40 = getelementptr inbounds i64, ptr %14, i64 %39 %41 = load i64, ptr %40, align 8 %42 = load i64, ptr %4, align 8 %43 = add nsw i64 %41, %42 %44 = load i64, ptr %7, align 8 %45 = getelementptr inbounds i64, ptr %14, i64 %44 store i64 %43, ptr %45, align 8 br label %46 46: ; preds = %38 %47 = load i64, ptr %7, align 8 %48 = add nsw i64 %47, 1 store i64 %48, ptr %7, align 8 br label %34, !llvm.loop !8 49: ; preds = %34 %50 = load i64, ptr %3, align 8 %51 = add nsw i64 %50, -1 store i64 %51, ptr %3, align 8 br label %27, !llvm.loop !9 52: ; preds = %27 store i64 0, ptr %7, align 8 br label %53 53: ; preds = %63, %52 %54 = load i64, ptr %7, align 8 %55 = load i64, ptr %2, align 8 %56 = icmp slt i64 %54, %55 br i1 %56, label %57, label %66 57: ; preds = %53 %58 = load i64, ptr %8, align 8 %59 = load i64, ptr %7, align 8 %60 = getelementptr inbounds i64, ptr %14, i64 %59 %61 = load i64, ptr %60, align 8 %62 = add nsw i64 %58, %61 store i64 %62, ptr %8, align 8 br label %63 63: ; preds = %57 %64 = load i64, ptr %7, align 8 %65 = add nsw i64 %64, 1 store i64 %65, ptr %7, align 8 br label %53, !llvm.loop !10 66: ; preds = %53 %67 = load i64, ptr %8, align 8 %68 = load i64, ptr %2, align 8 %69 = sdiv i64 %67, %68 %70 = call i32 @printf(ptr noundef @.str, i64 noundef %69) store i32 0, ptr %1, align 4 %71 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %71) %72 = load i32, ptr %1, align 4 ret i32 %72 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(ptr noundef, i64 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbbe_o7f7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%lld\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"%lld%lld%lld\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i64 0, ptr %8, align 8 %11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %12 = load i64, ptr %2, align 8 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %9, align 8 %14 = alloca i64, i64 %12, align 16 store i64 %12, ptr %10, align 8 store i64 0, ptr %7, align 8 %15 = load i64, ptr %7, align 8 %16 = load i64, ptr %2, align 8 %17 = icmp slt i64 %15, %16 br i1 %17, label %.lr.ph, label %27 .lr.ph: ; preds = %0 br label %18 18: ; preds = %.lr.ph, %21 %19 = load i64, ptr %7, align 8 %20 = getelementptr inbounds i64, ptr %14, i64 %19 store i64 0, ptr %20, align 8 br label %21 21: ; preds = %18 %22 = load i64, ptr %7, align 8 %23 = add nsw i64 %22, 1 store i64 %23, ptr %7, align 8 %24 = load i64, ptr %7, align 8 %25 = load i64, ptr %2, align 8 %26 = icmp slt i64 %24, %25 br i1 %26, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %0 %28 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3) %29 = load i64, ptr %3, align 8 %30 = icmp sgt i64 %29, 0 br i1 %30, label %.lr.ph5, label %57 .lr.ph5: ; preds = %27 br label %31 31: ; preds = %.lr.ph5, %52 %32 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %5, ptr noundef %6, ptr noundef %4) %33 = load i64, ptr %5, align 8 %34 = sub nsw i64 %33, 1 store i64 %34, ptr %7, align 8 %35 = load i64, ptr %7, align 8 %36 = load i64, ptr %6, align 8 %37 = icmp slt i64 %35, %36 br i1 %37, label %.lr.ph2, label %52 .lr.ph2: ; preds = %31 br label %38 38: ; preds = %.lr.ph2, %46 %39 = load i64, ptr %7, align 8 %40 = getelementptr inbounds i64, ptr %14, i64 %39 %41 = load i64, ptr %40, align 8 %42 = load i64, ptr %4, align 8 %43 = add nsw i64 %41, %42 %44 = load i64, ptr %7, align 8 %45 = getelementptr inbounds i64, ptr %14, i64 %44 store i64 %43, ptr %45, align 8 br label %46 46: ; preds = %38 %47 = load i64, ptr %7, align 8 %48 = add nsw i64 %47, 1 store i64 %48, ptr %7, align 8 %49 = load i64, ptr %7, align 8 %50 = load i64, ptr %6, align 8 %51 = icmp slt i64 %49, %50 br i1 %51, label %38, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %46 br label %52 52: ; preds = %._crit_edge3, %31 %53 = load i64, ptr %3, align 8 %54 = add nsw i64 %53, -1 store i64 %54, ptr %3, align 8 %55 = load i64, ptr %3, align 8 %56 = icmp sgt i64 %55, 0 br i1 %56, label %31, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %52 br label %57 57: ; preds = %._crit_edge6, %27 store i64 0, ptr %7, align 8 %58 = load i64, ptr %7, align 8 %59 = load i64, ptr %2, align 8 %60 = icmp slt i64 %58, %59 br i1 %60, label %.lr.ph8, label %73 .lr.ph8: ; preds = %57 br label %61 61: ; preds = %.lr.ph8, %67 %62 = load i64, ptr %8, align 8 %63 = load i64, ptr %7, align 8 %64 = getelementptr inbounds i64, ptr %14, i64 %63 %65 = load i64, ptr %64, align 8 %66 = add nsw i64 %62, %65 store i64 %66, ptr %8, align 8 br label %67 67: ; preds = %61 %68 = load i64, ptr %7, align 8 %69 = add nsw i64 %68, 1 store i64 %69, ptr %7, align 8 %70 = load i64, ptr %7, align 8 %71 = load i64, ptr %2, align 8 %72 = icmp slt i64 %70, %71 br i1 %72, label %61, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %67 br label %73 73: ; preds = %._crit_edge9, %57 %74 = load i64, ptr %8, align 8 %75 = load i64, ptr %2, align 8 %76 = sdiv i64 %74, %75 %77 = call i32 @printf(ptr noundef @.str, i64 noundef %76) store i32 0, ptr %1, align 4 %78 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %78) %79 = load i32, ptr %1, align 4 ret i32 %79 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(ptr noundef, i64 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpbsdy0h0z.c' source_filename = "/tmp/tmpbsdy0h0z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @util_get_extension(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %8 7: ; preds = %1 store ptr null, ptr %2, align 8 br label %17 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call ptr @strrchr(ptr noundef %9, i8 noundef signext 46) store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %16 13: ; preds = %8 %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 1 store ptr %15, ptr %2, align 8 br label %17 16: ; preds = %8 store ptr null, ptr %2, align 8 br label %17 17: ; preds = %16, %13, %7 %18 = load ptr, ptr %2, align 8 ret ptr %18 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbsdy0h0z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @util_get_extension(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %8 7: ; preds = %1 store ptr null, ptr %2, align 8 br label %17 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call ptr @strrchr(ptr noundef %9, i8 noundef signext 46) store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %16 13: ; preds = %8 %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 1 store ptr %15, ptr %2, align 8 br label %17 16: ; preds = %8 store ptr null, ptr %2, align 8 br label %17 17: ; preds = %16, %13, %7 %18 = load ptr, ptr %2, align 8 ret ptr %18 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp08cwk75x.c' source_filename = "/tmp/tmp08cwk75x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"Missing user\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mode_delete(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %8 = load i32, ptr %6, align 4 %9 = icmp slt i32 %8, 2 br i1 %9, label %10, label %12 10: ; preds = %3 %11 = call i32 @logprintf(i32 noundef 0, ptr noundef @.str) store i32 -1, ptr %4, align 4 br label %18 12: ; preds = %3 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %7, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i32 @sqlite_delete_popd(ptr noundef %13, ptr noundef %16) store i32 %17, ptr %4, align 4 br label %18 18: ; preds = %12, %10 %19 = load i32, ptr %4, align 4 ret i32 %19 } declare i32 @logprintf(i32 noundef, ptr noundef) #1 declare i32 @sqlite_delete_popd(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/tmp08cwk75x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"Missing user\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mode_delete(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %8 = load i32, ptr %6, align 4 %9 = icmp slt i32 %8, 2 br i1 %9, label %10, label %12 10: ; preds = %3 %11 = call i32 @logprintf(i32 noundef 0, ptr noundef @.str) store i32 -1, ptr %4, align 4 br label %18 12: ; preds = %3 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %7, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = call i32 @sqlite_delete_popd(ptr noundef %13, ptr noundef %16) store i32 %17, ptr %4, align 4 br label %18 18: ; preds = %12, %10 %19 = load i32, ptr %4, align 4 ret i32 %19 } declare i32 @logprintf(i32 noundef, ptr noundef) #1 declare i32 @sqlite_delete_popd(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/tmprzntoil1.c' source_filename = "/tmp/tmprzntoil1.c" target datalayout = "e-m:e-p270: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 [29 x i8] c"Please enter your username: \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"Please enter your password: \00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"user\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"washere\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @do_auth() #0 { %1 = alloca i32, align 4 %2 = alloca [1024 x i8], align 16 %3 = alloca [1024 x i8], align 16 %4 = load i32, ptr @stdout, align 4 %5 = call i32 @fprintf(i32 noundef %4, ptr noundef @.str) %6 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0 %7 = load i32, ptr @stdin, align 4 %8 = call i32 @fgets(ptr noundef %6, i32 noundef 1024, i32 noundef %7) %9 = load i32, ptr @stdin, align 4 %10 = call i32 @fflush(i32 noundef %9) %11 = load i32, ptr @stdout, align 4 %12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.1) %13 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %14 = load i32, ptr @stdin, align 4 %15 = call i32 @fgets(ptr noundef %13, i32 noundef 1024, i32 noundef %14) %16 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0 %17 = call i32 @strcmp(ptr noundef %16, ptr noundef @.str.2) %18 = icmp ne i32 %17, 0 br i1 %18, label %24, label %19 19: ; preds = %0 %20 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %21 = call i32 @strcmp(ptr noundef %20, ptr noundef @.str.3) %22 = icmp ne i32 %21, 0 br i1 %22, label %24, label %23 23: ; preds = %19 store i32 0, ptr %1, align 4 br label %25 24: ; preds = %19, %0 store i32 -1, ptr %1, align 4 br label %25 25: ; preds = %24, %23 %26 = load i32, ptr %1, align 4 ret i32 %26 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprzntoil1.c" target datalayout = "e-m:e-p270: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 [29 x i8] c"Please enter your username: \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"Please enter your password: \00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"user\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"washere\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @do_auth() #0 { %1 = alloca i32, align 4 %2 = alloca [1024 x i8], align 16 %3 = alloca [1024 x i8], align 16 %4 = load i32, ptr @stdout, align 4 %5 = call i32 @fprintf(i32 noundef %4, ptr noundef @.str) %6 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0 %7 = load i32, ptr @stdin, align 4 %8 = call i32 @fgets(ptr noundef %6, i32 noundef 1024, i32 noundef %7) %9 = load i32, ptr @stdin, align 4 %10 = call i32 @fflush(i32 noundef %9) %11 = load i32, ptr @stdout, align 4 %12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.1) %13 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %14 = load i32, ptr @stdin, align 4 %15 = call i32 @fgets(ptr noundef %13, i32 noundef 1024, i32 noundef %14) %16 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0 %17 = call i32 @strcmp(ptr noundef %16, ptr noundef @.str.2) %18 = icmp ne i32 %17, 0 br i1 %18, label %24, label %19 19: ; preds = %0 %20 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %21 = call i32 @strcmp(ptr noundef %20, ptr noundef @.str.3) %22 = icmp ne i32 %21, 0 br i1 %22, label %24, label %23 23: ; preds = %19 store i32 0, ptr %1, align 4 br label %25 24: ; preds = %19, %0 store i32 -1, ptr %1, align 4 br label %25 25: ; preds = %24, %23 %26 = load i32, ptr %1, align 4 ret i32 %26 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmoadclcv.c' source_filename = "/tmp/tmpmoadclcv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wfile_rename_utf8(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @rename(ptr noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @rename(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/tmpmoadclcv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wfile_rename_utf8(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @rename(ptr noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @rename(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/tmpilzr9n7a.c' source_filename = "/tmp/tmpilzr9n7a.c" target datalayout = "e-m:e-p270: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/tmpilzr9n7a.c" target datalayout = "e-m:e-p270: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/tmpop8_15sx.c' source_filename = "/tmp/tmpop8_15sx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c":\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @output_label_terminator() #0 { %1 = call i32 @output_string(ptr noundef @.str) ret void } declare i32 @output_string(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpop8_15sx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c":\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @output_label_terminator() #0 { %1 = call i32 @output_string(ptr noundef @.str) ret void } declare i32 @output_string(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp86hpjm3x.c' source_filename = "/tmp/tmp86hpjm3x.c" target datalayout = "e-m:e-p270: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/tmp86hpjm3x.c" target datalayout = "e-m:e-p270: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/tmp4jv9dlxz.c' source_filename = "/tmp/tmp4jv9dlxz.c" target datalayout = "e-m:e-p270: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/tmp4jv9dlxz.c" target datalayout = "e-m:e-p270: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/tmpefswocwj.c' source_filename = "/tmp/tmpefswocwj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Input: \0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"Enter a number = \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"Enter a power = \00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"\0AOutput: \0A\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"%d ^ %d = %d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %8 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %10 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3) %11 = load i32, ptr %2, align 4 store i32 %11, ptr %4, align 4 %12 = load i32, ptr %3, align 4 store i32 %12, ptr %5, align 4 br label %13 13: ; preds = %16, %0 %14 = load i32, ptr %5, align 4 %15 = icmp sgt i32 %14, 1 br i1 %15, label %16, label %22 16: ; preds = %13 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = mul nsw i32 %18, %17 store i32 %19, ptr %4, align 4 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, -1 store i32 %21, ptr %5, align 4 br label %13, !llvm.loop !6 22: ; preds = %13 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %24 = load i32, ptr %2, align 4 %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %4, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %24, i32 noundef %25, i32 noundef %26) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpefswocwj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Input: \0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"Enter a number = \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"Enter a power = \00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"\0AOutput: \0A\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"%d ^ %d = %d \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %8 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %10 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3) %11 = load i32, ptr %2, align 4 store i32 %11, ptr %4, align 4 %12 = load i32, ptr %3, align 4 store i32 %12, ptr %5, align 4 %13 = load i32, ptr %5, align 4 %14 = icmp sgt i32 %13, 1 br i1 %14, label %.lr.ph, label %23 .lr.ph: ; preds = %0 br label %15 15: ; preds = %.lr.ph, %15 %16 = load i32, ptr %4, align 4 %17 = load i32, ptr %4, align 4 %18 = mul nsw i32 %17, %16 store i32 %18, ptr %4, align 4 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, -1 store i32 %20, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = icmp sgt i32 %21, 1 br i1 %22, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %23 23: ; preds = %._crit_edge, %0 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %25 = load i32, ptr %2, align 4 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %4, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %25, i32 noundef %26, i32 noundef %27) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpumy3vjxu.c' source_filename = "/tmp/tmpumy3vjxu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stdlib_strided_dmeanpn(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp sle i32 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %3 store double 0x7FF8000000000000, ptr %4, align 8 br label %46 14: ; preds = %3 %15 = load i32, ptr %5, align 4 %16 = icmp eq i32 %15, 1 br i1 %16, label %20, label %17 17: ; preds = %14 %18 = load i32, ptr %7, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %24 20: ; preds = %17, %14 %21 = load ptr, ptr %6, align 8 %22 = getelementptr inbounds double, ptr %21, i64 0 %23 = load double, ptr %22, align 8 store double %23, ptr %4, align 8 br label %46 24: ; preds = %17 %25 = load i32, ptr %5, align 4 %26 = sitofp i32 %25 to double store double %26, ptr %8, align 8 %27 = load i32, ptr %5, align 4 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %7, align 4 %30 = call double @stdlib_strided_dsumpw(i32 noundef %27, ptr noundef %28, i32 noundef %29) store double %30, ptr %9, align 8 %31 = load double, ptr %8, align 8 %32 = load double, ptr %9, align 8 %33 = fdiv double %32, %31 store double %33, ptr %9, align 8 %34 = load i32, ptr %5, align 4 %35 = load double, ptr %9, align 8 %36 = fneg double %35 %37 = load ptr, ptr %6, align 8 %38 = load i32, ptr %7, align 4 %39 = call double @stdlib_strided_dapxsumpw(i32 noundef %34, double noundef %36, ptr noundef %37, i32 noundef %38) store double %39, ptr %10, align 8 %40 = load double, ptr %8, align 8 %41 = load double, ptr %10, align 8 %42 = fdiv double %41, %40 store double %42, ptr %10, align 8 %43 = load double, ptr %9, align 8 %44 = load double, ptr %10, align 8 %45 = fadd double %43, %44 store double %45, ptr %4, align 8 br label %46 46: ; preds = %24, %20, %13 %47 = load double, ptr %4, align 8 ret double %47 } declare double @stdlib_strided_dsumpw(i32 noundef, ptr noundef, i32 noundef) #1 declare double @stdlib_strided_dapxsumpw(i32 noundef, double 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/tmpumy3vjxu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stdlib_strided_dmeanpn(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp sle i32 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %3 store double 0x7FF8000000000000, ptr %4, align 8 br label %46 14: ; preds = %3 %15 = load i32, ptr %5, align 4 %16 = icmp eq i32 %15, 1 br i1 %16, label %20, label %17 17: ; preds = %14 %18 = load i32, ptr %7, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %24 20: ; preds = %17, %14 %21 = load ptr, ptr %6, align 8 %22 = getelementptr inbounds double, ptr %21, i64 0 %23 = load double, ptr %22, align 8 store double %23, ptr %4, align 8 br label %46 24: ; preds = %17 %25 = load i32, ptr %5, align 4 %26 = sitofp i32 %25 to double store double %26, ptr %8, align 8 %27 = load i32, ptr %5, align 4 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %7, align 4 %30 = call double @stdlib_strided_dsumpw(i32 noundef %27, ptr noundef %28, i32 noundef %29) store double %30, ptr %9, align 8 %31 = load double, ptr %8, align 8 %32 = load double, ptr %9, align 8 %33 = fdiv double %32, %31 store double %33, ptr %9, align 8 %34 = load i32, ptr %5, align 4 %35 = load double, ptr %9, align 8 %36 = fneg double %35 %37 = load ptr, ptr %6, align 8 %38 = load i32, ptr %7, align 4 %39 = call double @stdlib_strided_dapxsumpw(i32 noundef %34, double noundef %36, ptr noundef %37, i32 noundef %38) store double %39, ptr %10, align 8 %40 = load double, ptr %8, align 8 %41 = load double, ptr %10, align 8 %42 = fdiv double %41, %40 store double %42, ptr %10, align 8 %43 = load double, ptr %9, align 8 %44 = load double, ptr %10, align 8 %45 = fadd double %43, %44 store double %45, ptr %4, align 8 br label %46 46: ; preds = %24, %20, %13 %47 = load double, ptr %4, align 8 ret double %47 } declare double @stdlib_strided_dsumpw(i32 noundef, ptr noundef, i32 noundef) #1 declare double @stdlib_strided_dapxsumpw(i32 noundef, double 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"}