llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpa2_s6ll8.c'
source_filename = "/tmp/tmpa2_s6ll8.c"
target datalayout = "e-m:e-p270: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/tmpa2_s6ll8.c"
target datalayout = "e-m:e-p270: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/tmpcbr583ur.c'
source_filename = "/tmp/tmpcbr583ur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d,%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store i32 100, ptr %1, align 4
store i32 10, ptr %2, align 4
store ptr %1, ptr %3, align 8
store ptr %2, ptr %4, align 8
%5 = load i32, ptr %1, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %8, align 4
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %10, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %11)
%13 = load ptr, ptr %3, align 8
store ptr %13, ptr %4, align 8
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %14, align 4
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %16, align 4
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %15, i32 noundef %17)
ret void
}
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/tmpcbr583ur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d,%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store i32 100, ptr %1, align 4
store i32 10, ptr %2, align 4
store ptr %1, ptr %3, align 8
store ptr %2, ptr %4, align 8
%5 = load i32, ptr %1, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %8, align 4
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %10, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %11)
%13 = load ptr, ptr %3, align 8
store ptr %13, ptr %4, align 8
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %14, align 4
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %16, align 4
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %15, i32 noundef %17)
ret void
}
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/tmprga3e1vt.c'
source_filename = "/tmp/tmprga3e1vt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"ERROR: Out of memory\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mem_error(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = load i32, ptr @stderr, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.1, ptr noundef %6)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprga3e1vt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"ERROR: Out of memory\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mem_error(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = load i32, ptr @stderr, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.1, ptr noundef %6)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1vx4q3q5.c'
source_filename = "/tmp/tmp1vx4q3q5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cocks\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"ag\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"nua\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"jb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @create_scheme(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp ne i32 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %1
%8 = call ptr (...) @cocks_get_scheme()
store ptr %8, ptr %2, align 8
br label %28
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strcmp(ptr noundef %10, ptr noundef @.str.1)
%12 = icmp ne i32 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %9
%14 = call ptr (...) @ag_get_scheme()
store ptr %14, ptr %2, align 8
br label %28
15: ; preds = %9
%16 = load ptr, ptr %3, align 8
%17 = call i32 @strcmp(ptr noundef %16, ptr noundef @.str.2)
%18 = icmp ne i32 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %15
%20 = call ptr (...) @nua_get_scheme()
store ptr %20, ptr %2, align 8
br label %28
21: ; preds = %15
%22 = load ptr, ptr %3, align 8
%23 = call i32 @strcmp(ptr noundef %22, ptr noundef @.str.3)
%24 = icmp ne i32 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %21
%26 = call ptr (...) @jb_get_scheme()
store ptr %26, ptr %2, align 8
br label %28
27: ; preds = %21
store ptr null, ptr %2, align 8
br label %28
28: ; preds = %27, %25, %19, %13, %7
%29 = load ptr, ptr %2, align 8
ret ptr %29
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @cocks_get_scheme(...) #1
declare ptr @ag_get_scheme(...) #1
declare ptr @nua_get_scheme(...) #1
declare ptr @jb_get_scheme(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1vx4q3q5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cocks\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"ag\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"nua\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"jb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @create_scheme(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp ne i32 %5, 0
br i1 %6, label %9, label %7
7: ; preds = %1
%8 = call ptr (...) @cocks_get_scheme()
store ptr %8, ptr %2, align 8
br label %28
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strcmp(ptr noundef %10, ptr noundef @.str.1)
%12 = icmp ne i32 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %9
%14 = call ptr (...) @ag_get_scheme()
store ptr %14, ptr %2, align 8
br label %28
15: ; preds = %9
%16 = load ptr, ptr %3, align 8
%17 = call i32 @strcmp(ptr noundef %16, ptr noundef @.str.2)
%18 = icmp ne i32 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %15
%20 = call ptr (...) @nua_get_scheme()
store ptr %20, ptr %2, align 8
br label %28
21: ; preds = %15
%22 = load ptr, ptr %3, align 8
%23 = call i32 @strcmp(ptr noundef %22, ptr noundef @.str.3)
%24 = icmp ne i32 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %21
%26 = call ptr (...) @jb_get_scheme()
store ptr %26, ptr %2, align 8
br label %28
27: ; preds = %21
store ptr null, ptr %2, align 8
br label %28
28: ; preds = %27, %25, %19, %13, %7
%29 = load ptr, ptr %2, align 8
ret ptr %29
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @cocks_get_scheme(...) #1
declare ptr @ag_get_scheme(...) #1
declare ptr @nua_get_scheme(...) #1
declare ptr @jb_get_scheme(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1xx9oiy2.c'
source_filename = "/tmp/tmp1xx9oiy2.c"
target datalayout = "e-m:e-p270: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/tmp1xx9oiy2.c"
target datalayout = "e-m:e-p270: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/tmpljdun69v.c'
source_filename = "/tmp/tmpljdun69v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [63 x i8] c"** On entry to %6s, parameter number %2d had an illegal value\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @input_error(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = load i32, ptr %6, align 4
%8 = call i32 @printf(ptr noundef @.str, ptr noundef %5, i32 noundef %7)
ret i32 0
}
declare i32 @printf(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/tmpljdun69v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [63 x i8] c"** On entry to %6s, parameter number %2d had an illegal value\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @input_error(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = load i32, ptr %6, align 4
%8 = call i32 @printf(ptr noundef @.str, ptr noundef %5, i32 noundef %7)
ret i32 0
}
declare i32 @printf(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/tmppyok1t9w.c'
source_filename = "/tmp/tmppyok1t9w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__kill(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 @ENOSYS, align 4
%6 = call i32 @__set_errno(i32 noundef %5)
ret i32 -1
}
declare i32 @__set_errno(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/tmppyok1t9w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__kill(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 @ENOSYS, align 4
%6 = call i32 @__set_errno(i32 noundef %5)
ret i32 -1
}
declare i32 @__set_errno(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/tmpa1huytd0.c'
source_filename = "/tmp/tmpa1huytd0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @system()
%3 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @system(...) #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/tmpa1huytd0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @system()
%3 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @system(...) #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/tmp2o7jnviu.c'
source_filename = "/tmp/tmp2o7jnviu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @astro_mjd(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %9, align 4
%16 = load i32, ptr %10, align 4
%17 = load i32, ptr %11, align 4
%18 = load i32, ptr %12, align 4
%19 = call double @astro_julday(i32 noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef %18)
%20 = fsub double %19, 0x41424F8040000000
ret double %20
}
declare double @astro_julday(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2o7jnviu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @astro_mjd(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %9, align 4
%16 = load i32, ptr %10, align 4
%17 = load i32, ptr %11, align 4
%18 = load i32, ptr %12, align 4
%19 = call double @astro_julday(i32 noundef %13, i32 noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef %18)
%20 = fsub double %19, 0x41424F8040000000
ret double %20
}
declare double @astro_julday(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppuqrgqit.c'
source_filename = "/tmp/tmppuqrgqit.c"
target datalayout = "e-m:e-p270: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/tmppuqrgqit.c"
target datalayout = "e-m:e-p270: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/tmphf2curx4.c'
source_filename = "/tmp/tmphf2curx4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%c%c\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%c%c%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @base64Decode(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [4 x i8], align 1
%8 = alloca [3 x i8], align 1
%9 = alloca i8, align 1
%10 = alloca i8, align 1
%11 = alloca i8, align 1
%12 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i8 0, ptr %10, align 1
store i32 0, ptr %12, align 4
%13 = load ptr, ptr %6, align 8
store i32 0, ptr %13, align 4
%14 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%15 = call i32 @memset(ptr noundef %14, i32 noundef 0, i32 noundef 4)
br label %16
16: ; preds = %203, %3
%17 = load ptr, ptr %4, align 8
%18 = load i8, ptr %17, align 1
%19 = icmp ne i8 %18, 0
br i1 %19, label %20, label %206
20: ; preds = %16
%21 = load ptr, ptr %4, align 8
%22 = load i8, ptr %21, align 1
store i8 %22, ptr %11, align 1
store i8 0, ptr %9, align 1
%23 = load i8, ptr %11, align 1
%24 = sext i8 %23 to i32
%25 = icmp sge i32 %24, 65
br i1 %25, label %26, label %35
26: ; preds = %20
%27 = load i8, ptr %11, align 1
%28 = sext i8 %27 to i32
%29 = icmp sle i32 %28, 90
br i1 %29, label %30, label %35
30: ; preds = %26
%31 = load i8, ptr %11, align 1
%32 = sext i8 %31 to i32
%33 = sub nsw i32 %32, 65
%34 = trunc i32 %33 to i8
store i8 %34, ptr %11, align 1
br label %99
35: ; preds = %26, %20
%36 = load i8, ptr %11, align 1
%37 = sext i8 %36 to i32
%38 = icmp sge i32 %37, 97
br i1 %38, label %39, label %49
39: ; preds = %35
%40 = load i8, ptr %11, align 1
%41 = sext i8 %40 to i32
%42 = icmp sle i32 %41, 122
br i1 %42, label %43, label %49
43: ; preds = %39
%44 = load i8, ptr %11, align 1
%45 = sext i8 %44 to i32
%46 = sub nsw i32 %45, 97
%47 = add nsw i32 %46, 26
%48 = trunc i32 %47 to i8
store i8 %48, ptr %11, align 1
br label %98
49: ; preds = %39, %35
%50 = load i8, ptr %11, align 1
%51 = sext i8 %50 to i32
%52 = icmp sge i32 %51, 48
br i1 %52, label %53, label %63
53: ; preds = %49
%54 = load i8, ptr %11, align 1
%55 = sext i8 %54 to i32
%56 = icmp sle i32 %55, 57
br i1 %56, label %57, label %63
57: ; preds = %53
%58 = load i8, ptr %11, align 1
%59 = sext i8 %58 to i32
%60 = sub nsw i32 %59, 48
%61 = add nsw i32 %60, 52
%62 = trunc i32 %61 to i8
store i8 %62, ptr %11, align 1
br label %97
63: ; preds = %53, %49
%64 = load i8, ptr %11, align 1
%65 = sext i8 %64 to i32
%66 = icmp eq i32 %65, 43
br i1 %66, label %67, label %68
67: ; preds = %63
store i8 62, ptr %11, align 1
br label %96
68: ; preds = %63
%69 = load i8, ptr %11, align 1
%70 = sext i8 %69 to i32
%71 = icmp eq i32 %70, 61
br i1 %71, label %72, label %83
72: ; preds = %68
%73 = load i8, ptr %10, align 1
%74 = icmp ne i8 %73, 0
br i1 %74, label %75, label %76
75: ; preds = %72
br label %206
76: ; preds = %72
store i8 1, ptr %10, align 1
%77 = load i32, ptr %12, align 4
%78 = add nsw i32 %77, -1
store i32 %78, ptr %12, align 4
%79 = load i32, ptr %12, align 4
%80 = icmp slt i32 %79, 0
br i1 %80, label %81, label %82
81: ; preds = %76
store i32 3, ptr %12, align 4
br label %82
82: ; preds = %81, %76
br label %95
83: ; preds = %68
%84 = load i8, ptr %11, align 1
%85 = sext i8 %84 to i32
%86 = icmp eq i32 %85, 47
br i1 %86, label %87, label %88
87: ; preds = %83
store i8 63, ptr %11, align 1
br label %94
88: ; preds = %83
%89 = load i8, ptr %10, align 1
%90 = icmp ne i8 %89, 0
br i1 %90, label %91, label %92
91: ; preds = %88
br label %206
92: ; preds = %88
store i8 1, ptr %9, align 1
br label %93
93: ; preds = %92
br label %94
94: ; preds = %93, %87
br label %95
95: ; preds = %94, %82
br label %96
96: ; preds = %95, %67
br label %97
97: ; preds = %96, %57
br label %98
98: ; preds = %97, %43
br label %99
99: ; preds = %98, %30
%100 = load i8, ptr %9, align 1
%101 = icmp ne i8 %100, 0
br i1 %101, label %203, label %102
102: ; preds = %99
%103 = load i8, ptr %10, align 1
%104 = icmp ne i8 %103, 0
br i1 %104, label %114, label %105
105: ; preds = %102
%106 = load i8, ptr %11, align 1
%107 = load i32, ptr %12, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 %108
store i8 %106, ptr %109, align 1
%110 = load i32, ptr %12, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %12, align 4
%112 = load i32, ptr %12, align 4
%113 = and i32 %112, 3
store i32 %113, ptr %12, align 4
br label %114
114: ; preds = %105, %102
%115 = load i32, ptr %12, align 4
%116 = icmp eq i32 0, %115
br i1 %116, label %121, label %117
117: ; preds = %114
%118 = load i8, ptr %10, align 1
%119 = sext i8 %118 to i32
%120 = icmp ne i32 %119, 0
br i1 %120, label %121, label %202
121: ; preds = %117, %114
%122 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%123 = load i8, ptr %122, align 1
%124 = zext i8 %123 to i32
%125 = shl i32 %124, 2
%126 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%127 = load i8, ptr %126, align 1
%128 = zext i8 %127 to i32
%129 = and i32 %128, 48
%130 = ashr i32 %129, 4
%131 = or i32 %125, %130
%132 = trunc i32 %131 to i8
%133 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0
store i8 %132, ptr %133, align 1
%134 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%135 = load i8, ptr %134, align 1
%136 = zext i8 %135 to i32
%137 = and i32 %136, 15
%138 = shl i32 %137, 4
%139 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%140 = load i8, ptr %139, align 1
%141 = zext i8 %140 to i32
%142 = and i32 %141, 60
%143 = ashr i32 %142, 2
%144 = or i32 %138, %143
%145 = trunc i32 %144 to i8
%146 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 1
store i8 %145, ptr %146, align 1
%147 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%148 = load i8, ptr %147, align 1
%149 = zext i8 %148 to i32
%150 = and i32 %149, 3
%151 = shl i32 %150, 6
%152 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%153 = load i8, ptr %152, align 1
%154 = zext i8 %153 to i32
%155 = and i32 %154, 63
%156 = or i32 %151, %155
%157 = trunc i32 %156 to i8
%158 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 2
store i8 %157, ptr %158, align 1
%159 = load i32, ptr %12, align 4
switch i32 %159, label %183 [
i32 1, label %160
i32 2, label %170
]
160: ; preds = %121
%161 = load ptr, ptr %5, align 8
%162 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0
%163 = load i8, ptr %162, align 1
%164 = call i32 (ptr, ptr, i8, ...) @trio_sprintf(ptr noundef %161, ptr noundef @.str, i8 noundef zeroext %163)
%165 = load ptr, ptr %5, align 8
%166 = getelementptr inbounds i8, ptr %165, i32 1
store ptr %166, ptr %5, align 8
%167 = load ptr, ptr %6, align 8
%168 = load i32, ptr %167, align 4
%169 = add nsw i32 %168, 1
store i32 %169, ptr %167, align 4
br label %199
170: ; preds = %121
%171 = load ptr, ptr %5, align 8
%172 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0
%173 = load i8, ptr %172, align 1
%174 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 1
%175 = load i8, ptr %174, align 1
%176 = zext i8 %175 to i32
%177 = call i32 (ptr, ptr, i8, ...) @trio_sprintf(ptr noundef %171, ptr noundef @.str.1, i8 noundef zeroext %173, i32 noundef %176)
%178 = load ptr, ptr %5, align 8
%179 = getelementptr inbounds i8, ptr %178, i64 2
store ptr %179, ptr %5, align 8
%180 = load ptr, ptr %6, align 8
%181 = load i32, ptr %180, align 4
%182 = add nsw i32 %181, 2
store i32 %182, ptr %180, align 4
br label %199
183: ; preds = %121
%184 = load ptr, ptr %5, align 8
%185 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0
%186 = load i8, ptr %185, align 1
%187 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 1
%188 = load i8, ptr %187, align 1
%189 = zext i8 %188 to i32
%190 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 2
%191 = load i8, ptr %190, align 1
%192 = zext i8 %191 to i32
%193 = call i32 (ptr, ptr, i8, ...) @trio_sprintf(ptr noundef %184, ptr noundef @.str.2, i8 noundef zeroext %186, i32 noundef %189, i32 noundef %192)
%194 = load ptr, ptr %5, align 8
%195 = getelementptr inbounds i8, ptr %194, i64 3
store ptr %195, ptr %5, align 8
%196 = load ptr, ptr %6, align 8
%197 = load i32, ptr %196, align 4
%198 = add nsw i32 %197, 3
store i32 %198, ptr %196, align 4
br label %199
199: ; preds = %183, %170, %160
%200 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%201 = call i32 @memset(ptr noundef %200, i32 noundef 0, i32 noundef 4)
br label %202
202: ; preds = %199, %117
br label %203
203: ; preds = %202, %99
%204 = load ptr, ptr %4, align 8
%205 = getelementptr inbounds i8, ptr %204, i32 1
store ptr %205, ptr %4, align 8
br label %16, !llvm.loop !6
206: ; preds = %91, %75, %16
%207 = load ptr, ptr %5, align 8
store i8 0, ptr %207, align 1
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @trio_sprintf(ptr noundef, ptr noundef, i8 noundef zeroext, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphf2curx4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%c%c\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%c%c%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @base64Decode(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [4 x i8], align 1
%8 = alloca [3 x i8], align 1
%9 = alloca i8, align 1
%10 = alloca i8, align 1
%11 = alloca i8, align 1
%12 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i8 0, ptr %10, align 1
store i32 0, ptr %12, align 4
%13 = load ptr, ptr %6, align 8
store i32 0, ptr %13, align 4
%14 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%15 = call i32 @memset(ptr noundef %14, i32 noundef 0, i32 noundef 4)
%16 = load ptr, ptr %4, align 8
%17 = load i8, ptr %16, align 1
%18 = icmp ne i8 %17, 0
br i1 %18, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %3
br label %19
19: ; preds = %.lr.ph, %202
%20 = load ptr, ptr %4, align 8
%21 = load i8, ptr %20, align 1
store i8 %21, ptr %11, align 1
store i8 0, ptr %9, align 1
%22 = load i8, ptr %11, align 1
%23 = sext i8 %22 to i32
%24 = icmp sge i32 %23, 65
br i1 %24, label %25, label %34
25: ; preds = %19
%26 = load i8, ptr %11, align 1
%27 = sext i8 %26 to i32
%28 = icmp sle i32 %27, 90
br i1 %28, label %29, label %34
29: ; preds = %25
%30 = load i8, ptr %11, align 1
%31 = sext i8 %30 to i32
%32 = sub nsw i32 %31, 65
%33 = trunc i32 %32 to i8
store i8 %33, ptr %11, align 1
br label %98
34: ; preds = %25, %19
%35 = load i8, ptr %11, align 1
%36 = sext i8 %35 to i32
%37 = icmp sge i32 %36, 97
br i1 %37, label %38, label %48
38: ; preds = %34
%39 = load i8, ptr %11, align 1
%40 = sext i8 %39 to i32
%41 = icmp sle i32 %40, 122
br i1 %41, label %42, label %48
42: ; preds = %38
%43 = load i8, ptr %11, align 1
%44 = sext i8 %43 to i32
%45 = sub nsw i32 %44, 97
%46 = add nsw i32 %45, 26
%47 = trunc i32 %46 to i8
store i8 %47, ptr %11, align 1
br label %97
48: ; preds = %38, %34
%49 = load i8, ptr %11, align 1
%50 = sext i8 %49 to i32
%51 = icmp sge i32 %50, 48
br i1 %51, label %52, label %62
52: ; preds = %48
%53 = load i8, ptr %11, align 1
%54 = sext i8 %53 to i32
%55 = icmp sle i32 %54, 57
br i1 %55, label %56, label %62
56: ; preds = %52
%57 = load i8, ptr %11, align 1
%58 = sext i8 %57 to i32
%59 = sub nsw i32 %58, 48
%60 = add nsw i32 %59, 52
%61 = trunc i32 %60 to i8
store i8 %61, ptr %11, align 1
br label %96
62: ; preds = %52, %48
%63 = load i8, ptr %11, align 1
%64 = sext i8 %63 to i32
%65 = icmp eq i32 %64, 43
br i1 %65, label %66, label %67
66: ; preds = %62
store i8 62, ptr %11, align 1
br label %95
67: ; preds = %62
%68 = load i8, ptr %11, align 1
%69 = sext i8 %68 to i32
%70 = icmp eq i32 %69, 61
br i1 %70, label %71, label %82
71: ; preds = %67
%72 = load i8, ptr %10, align 1
%73 = icmp ne i8 %72, 0
br i1 %73, label %74, label %75
74: ; preds = %71
br label %208
75: ; preds = %71
store i8 1, ptr %10, align 1
%76 = load i32, ptr %12, align 4
%77 = add nsw i32 %76, -1
store i32 %77, ptr %12, align 4
%78 = load i32, ptr %12, align 4
%79 = icmp slt i32 %78, 0
br i1 %79, label %80, label %81
80: ; preds = %75
store i32 3, ptr %12, align 4
br label %81
81: ; preds = %80, %75
br label %94
82: ; preds = %67
%83 = load i8, ptr %11, align 1
%84 = sext i8 %83 to i32
%85 = icmp eq i32 %84, 47
br i1 %85, label %86, label %87
86: ; preds = %82
store i8 63, ptr %11, align 1
br label %93
87: ; preds = %82
%88 = load i8, ptr %10, align 1
%89 = icmp ne i8 %88, 0
br i1 %89, label %90, label %91
90: ; preds = %87
br label %208
91: ; preds = %87
store i8 1, ptr %9, align 1
br label %92
92: ; preds = %91
br label %93
93: ; preds = %92, %86
br label %94
94: ; preds = %93, %81
br label %95
95: ; preds = %94, %66
br label %96
96: ; preds = %95, %56
br label %97
97: ; preds = %96, %42
br label %98
98: ; preds = %97, %29
%99 = load i8, ptr %9, align 1
%100 = icmp ne i8 %99, 0
br i1 %100, label %202, label %101
101: ; preds = %98
%102 = load i8, ptr %10, align 1
%103 = icmp ne i8 %102, 0
br i1 %103, label %113, label %104
104: ; preds = %101
%105 = load i8, ptr %11, align 1
%106 = load i32, ptr %12, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 %107
store i8 %105, ptr %108, align 1
%109 = load i32, ptr %12, align 4
%110 = add nsw i32 %109, 1
store i32 %110, ptr %12, align 4
%111 = load i32, ptr %12, align 4
%112 = and i32 %111, 3
store i32 %112, ptr %12, align 4
br label %113
113: ; preds = %104, %101
%114 = load i32, ptr %12, align 4
%115 = icmp eq i32 0, %114
br i1 %115, label %120, label %116
116: ; preds = %113
%117 = load i8, ptr %10, align 1
%118 = sext i8 %117 to i32
%119 = icmp ne i32 %118, 0
br i1 %119, label %120, label %201
120: ; preds = %116, %113
%121 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%122 = load i8, ptr %121, align 1
%123 = zext i8 %122 to i32
%124 = shl i32 %123, 2
%125 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%126 = load i8, ptr %125, align 1
%127 = zext i8 %126 to i32
%128 = and i32 %127, 48
%129 = ashr i32 %128, 4
%130 = or i32 %124, %129
%131 = trunc i32 %130 to i8
%132 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0
store i8 %131, ptr %132, align 1
%133 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 1
%134 = load i8, ptr %133, align 1
%135 = zext i8 %134 to i32
%136 = and i32 %135, 15
%137 = shl i32 %136, 4
%138 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%139 = load i8, ptr %138, align 1
%140 = zext i8 %139 to i32
%141 = and i32 %140, 60
%142 = ashr i32 %141, 2
%143 = or i32 %137, %142
%144 = trunc i32 %143 to i8
%145 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 1
store i8 %144, ptr %145, align 1
%146 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 2
%147 = load i8, ptr %146, align 1
%148 = zext i8 %147 to i32
%149 = and i32 %148, 3
%150 = shl i32 %149, 6
%151 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 3
%152 = load i8, ptr %151, align 1
%153 = zext i8 %152 to i32
%154 = and i32 %153, 63
%155 = or i32 %150, %154
%156 = trunc i32 %155 to i8
%157 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 2
store i8 %156, ptr %157, align 1
%158 = load i32, ptr %12, align 4
switch i32 %158, label %182 [
i32 1, label %159
i32 2, label %169
]
159: ; preds = %120
%160 = load ptr, ptr %5, align 8
%161 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0
%162 = load i8, ptr %161, align 1
%163 = call i32 (ptr, ptr, i8, ...) @trio_sprintf(ptr noundef %160, ptr noundef @.str, i8 noundef zeroext %162)
%164 = load ptr, ptr %5, align 8
%165 = getelementptr inbounds i8, ptr %164, i32 1
store ptr %165, ptr %5, align 8
%166 = load ptr, ptr %6, align 8
%167 = load i32, ptr %166, align 4
%168 = add nsw i32 %167, 1
store i32 %168, ptr %166, align 4
br label %198
169: ; preds = %120
%170 = load ptr, ptr %5, align 8
%171 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0
%172 = load i8, ptr %171, align 1
%173 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 1
%174 = load i8, ptr %173, align 1
%175 = zext i8 %174 to i32
%176 = call i32 (ptr, ptr, i8, ...) @trio_sprintf(ptr noundef %170, ptr noundef @.str.1, i8 noundef zeroext %172, i32 noundef %175)
%177 = load ptr, ptr %5, align 8
%178 = getelementptr inbounds i8, ptr %177, i64 2
store ptr %178, ptr %5, align 8
%179 = load ptr, ptr %6, align 8
%180 = load i32, ptr %179, align 4
%181 = add nsw i32 %180, 2
store i32 %181, ptr %179, align 4
br label %198
182: ; preds = %120
%183 = load ptr, ptr %5, align 8
%184 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 0
%185 = load i8, ptr %184, align 1
%186 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 1
%187 = load i8, ptr %186, align 1
%188 = zext i8 %187 to i32
%189 = getelementptr inbounds [3 x i8], ptr %8, i64 0, i64 2
%190 = load i8, ptr %189, align 1
%191 = zext i8 %190 to i32
%192 = call i32 (ptr, ptr, i8, ...) @trio_sprintf(ptr noundef %183, ptr noundef @.str.2, i8 noundef zeroext %185, i32 noundef %188, i32 noundef %191)
%193 = load ptr, ptr %5, align 8
%194 = getelementptr inbounds i8, ptr %193, i64 3
store ptr %194, ptr %5, align 8
%195 = load ptr, ptr %6, align 8
%196 = load i32, ptr %195, align 4
%197 = add nsw i32 %196, 3
store i32 %197, ptr %195, align 4
br label %198
198: ; preds = %182, %169, %159
%199 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%200 = call i32 @memset(ptr noundef %199, i32 noundef 0, i32 noundef 4)
br label %201
201: ; preds = %198, %116
br label %202
202: ; preds = %201, %98
%203 = load ptr, ptr %4, align 8
%204 = getelementptr inbounds i8, ptr %203, i32 1
store ptr %204, ptr %4, align 8
%205 = load ptr, ptr %4, align 8
%206 = load i8, ptr %205, align 1
%207 = icmp ne i8 %206, 0
br i1 %207, label %19, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %202
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %208
208: ; preds = %.loopexit, %90, %74
%209 = load ptr, ptr %5, align 8
store i8 0, ptr %209, align 1
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @trio_sprintf(ptr noundef, ptr noundef, i8 noundef zeroext, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptspsy8jv.c'
source_filename = "/tmp/tmptspsy8jv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [74 x i8] c"Please enter two numbers, whom differ by more than 7 significant digits: \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%f%f\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"The sum of %f and %f is %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%7 = load float, ptr %2, align 4
%8 = load float, ptr %3, align 4
%9 = fadd float %7, %8
store float %9, ptr %4, align 4
%10 = load float, ptr %2, align 4
%11 = fpext float %10 to double
%12 = load float, ptr %3, align 4
%13 = fpext float %12 to double
%14 = load float, ptr %4, align 4
%15 = fpext float %14 to double
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %11, double noundef %13, double noundef %15)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(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/tmptspsy8jv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [74 x i8] c"Please enter two numbers, whom differ by more than 7 significant digits: \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%f%f\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"The sum of %f and %f is %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%7 = load float, ptr %2, align 4
%8 = load float, ptr %3, align 4
%9 = fadd float %7, %8
store float %9, ptr %4, align 4
%10 = load float, ptr %2, align 4
%11 = fpext float %10 to double
%12 = load float, ptr %3, align 4
%13 = fpext float %12 to double
%14 = load float, ptr %4, align 4
%15 = fpext float %14 to double
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %11, double noundef %13, double noundef %15)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(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/tmpzz0e45d6.c'
source_filename = "/tmp/tmpzz0e45d6.c"
target datalayout = "e-m:e-p270: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/tmpzz0e45d6.c"
target datalayout = "e-m:e-p270: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/tmpqf7zdn_0.c'
source_filename = "/tmp/tmpqf7zdn_0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IDK_GetFPS() #0 {
%1 = call float (...) @GetFPSFunc()
ret float %1
}
declare float @GetFPSFunc(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqf7zdn_0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IDK_GetFPS() #0 {
%1 = call float (...) @GetFPSFunc()
ret float %1
}
declare float @GetFPSFunc(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnbk2xxem.c'
source_filename = "/tmp/tmpnbk2xxem.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @fib(i32 noundef 33)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @fib(i32 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/tmpnbk2xxem.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @fib(i32 noundef 33)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @fib(i32 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/tmp_5_2xwyy.c'
source_filename = "/tmp/tmp_5_2xwyy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eventfd_write(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 = call i32 @__write(i32 noundef %5, ptr noundef %4, i32 noundef 4)
%7 = sext i32 %6 to i64
%8 = icmp ne i64 %7, 4
%9 = zext i1 %8 to i64
%10 = select i1 %8, i32 -1, i32 0
ret i32 %10
}
declare i32 @__write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_5_2xwyy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eventfd_write(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 = call i32 @__write(i32 noundef %5, ptr noundef %4, i32 noundef 4)
%7 = sext i32 %6 to i64
%8 = icmp ne i64 %7, 4
%9 = zext i1 %8 to i64
%10 = select i1 %8, i32 -1, i32 0
ret i32 %10
}
declare i32 @__write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwu5fmy07.c'
source_filename = "/tmp/tmpwu5fmy07.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bsdconv_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwu5fmy07.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bsdconv_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc_s7346a.c'
source_filename = "/tmp/tmpc_s7346a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@getfromfics.c = internal global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"[G]\0A\0D\00", align 1
@__const.getfromfics.reply = private unnamed_addr constant [20 x i8] c"\029\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getfromfics(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
%8 = alloca i32, align 4
%9 = alloca [20 x i8], align 16
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
br label %10
10: ; preds = %115, %58, %3
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %11, align 4
%13 = icmp sgt i32 %12, 0
br i1 %13, label %14, label %120
14: ; preds = %10
%15 = load ptr, ptr %5, align 8
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr %16, align 4
%18 = icmp slt i32 %17, 5
br i1 %18, label %19, label %22
19: ; preds = %14
%20 = load ptr, ptr %6, align 8
%21 = load i32, ptr %20, align 4
br label %23
22: ; preds = %14
br label %23
23: ; preds = %22, %19
%24 = phi i32 [ %21, %19 ], [ 5, %22 ]
%25 = call i32 @strncmp(ptr noundef %15, ptr noundef @.str, i32 noundef %24)
%26 = icmp ne i32 %25, 0
br i1 %26, label %62, label %27
27: ; preds = %23
%28 = load ptr, ptr %6, align 8
%29 = load i32, ptr %28, align 4
%30 = icmp slt i32 %29, 5
br i1 %30, label %31, label %32
31: ; preds = %27
br label %120
32: ; preds = %27
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.getfromfics.reply, i64 20, i1 false)
%33 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
%34 = call i32 @crypt(ptr noundef %33, i32 noundef 2)
store i32 %34, ptr %7, align 4
%35 = load i32, ptr %4, align 4
%36 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
%37 = load i32, ptr %7, align 4
%38 = call i32 @mywrite(i32 noundef %35, ptr noundef %36, i32 noundef %37)
store i32 5, ptr %7, align 4
br label %39
39: ; preds = %55, %32
%40 = load i32, ptr %7, align 4
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %41, align 4
%43 = icmp slt i32 %40, %42
br i1 %43, label %44, label %58
44: ; preds = %39
%45 = load ptr, ptr %5, align 8
%46 = load i32, ptr %7, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
%49 = load i8, ptr %48, align 1
%50 = load ptr, ptr %5, align 8
%51 = load i32, ptr %7, align 4
%52 = sub nsw i32 %51, 5
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %50, i64 %53
store i8 %49, ptr %54, align 1
br label %55
55: ; preds = %44
%56 = load i32, ptr %7, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %7, align 4
br label %39, !llvm.loop !6
58: ; preds = %39
%59 = load ptr, ptr %6, align 8
%60 = load i32, ptr %59, align 4
%61 = sub nsw i32 %60, 5
store i32 %61, ptr %59, align 4
br label %10, !llvm.loop !8
62: ; preds = %23
store i32 0, ptr %7, align 4
br label %63
63: ; preds = %79, %62
%64 = load i32, ptr %7, align 4
%65 = load ptr, ptr %6, align 8
%66 = load i32, ptr %65, align 4
%67 = icmp slt i32 %64, %66
br i1 %67, label %68, label %76
68: ; preds = %63
%69 = load ptr, ptr %5, align 8
%70 = load i32, ptr %7, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %69, i64 %71
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp ne i32 %74, 13
br label %76
76: ; preds = %68, %63
%77 = phi i1 [ false, %63 ], [ %75, %68 ]
br i1 %77, label %78, label %82
78: ; preds = %76
br label %79
79: ; preds = %78
%80 = load i32, ptr %7, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %7, align 4
br label %63, !llvm.loop !9
82: ; preds = %76
%83 = load i32, ptr %7, align 4
%84 = load ptr, ptr %6, align 8
%85 = load i32, ptr %84, align 4
%86 = icmp slt i32 %83, %85
br i1 %86, label %87, label %90
87: ; preds = %82
%88 = load i32, ptr %7, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %7, align 4
br label %90
90: ; preds = %87, %82
%91 = load ptr, ptr %5, align 8
%92 = load i32, ptr %7, align 4
%93 = call i32 @mywrite(i32 noundef 1, ptr noundef %91, i32 noundef %92)
%94 = load i32, ptr %7, align 4
store i32 %94, ptr %8, align 4
br label %95
95: ; preds = %112, %90
%96 = load i32, ptr %8, align 4
%97 = load ptr, ptr %6, align 8
%98 = load i32, ptr %97, align 4
%99 = icmp slt i32 %96, %98
br i1 %99, label %100, label %115
100: ; preds = %95
%101 = load ptr, ptr %5, align 8
%102 = load i32, ptr %8, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i8, ptr %101, i64 %103
%105 = load i8, ptr %104, align 1
%106 = load ptr, ptr %5, align 8
%107 = load i32, ptr %8, align 4
%108 = load i32, ptr %7, align 4
%109 = sub nsw i32 %107, %108
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i8, ptr %106, i64 %110
store i8 %105, ptr %111, align 1
br label %112
112: ; preds = %100
%113 = load i32, ptr %8, align 4
%114 = add nsw i32 %113, 1
store i32 %114, ptr %8, align 4
br label %95, !llvm.loop !10
115: ; preds = %95
%116 = load i32, ptr %7, align 4
%117 = load ptr, ptr %6, align 8
%118 = load i32, ptr %117, align 4
%119 = sub nsw i32 %118, %116
store i32 %119, ptr %117, align 4
br label %10, !llvm.loop !8
120: ; preds = %31, %10
ret void
}
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
; 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) #2
declare i32 @crypt(ptr noundef, i32 noundef) #1
declare i32 @mywrite(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpc_s7346a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@getfromfics.c = internal global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"[G]\0A\0D\00", align 1
@__const.getfromfics.reply = private unnamed_addr constant [20 x i8] c"\029\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getfromfics(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
%8 = alloca i32, align 4
%9 = alloca [20 x i8], align 16
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %10, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %.lr.ph5, label %.loopexit
.lr.ph5: ; preds = %3
br label %13
13: ; preds = %.lr.ph5, %.backedge
%14 = load ptr, ptr %5, align 8
%15 = load ptr, ptr %6, align 8
%16 = load i32, ptr %15, align 4
%17 = icmp slt i32 %16, 5
br i1 %17, label %18, label %21
18: ; preds = %13
%19 = load ptr, ptr %6, align 8
%20 = load i32, ptr %19, align 4
br label %22
21: ; preds = %13
br label %22
22: ; preds = %21, %18
%23 = phi i32 [ %20, %18 ], [ 5, %21 ]
%24 = call i32 @strncmp(ptr noundef %14, ptr noundef @.str, i32 noundef %23)
%25 = icmp ne i32 %24, 0
br i1 %25, label %67, label %26
26: ; preds = %22
%27 = load ptr, ptr %6, align 8
%28 = load i32, ptr %27, align 4
%29 = icmp slt i32 %28, 5
br i1 %29, label %30, label %31
30: ; preds = %26
br label %128
31: ; preds = %26
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.getfromfics.reply, i64 20, i1 false)
%32 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
%33 = call i32 @crypt(ptr noundef %32, i32 noundef 2)
store i32 %33, ptr %7, align 4
%34 = load i32, ptr %4, align 4
%35 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
%36 = load i32, ptr %7, align 4
%37 = call i32 @mywrite(i32 noundef %34, ptr noundef %35, i32 noundef %36)
store i32 5, ptr %7, align 4
%38 = load i32, ptr %7, align 4
%39 = load ptr, ptr %6, align 8
%40 = load i32, ptr %39, align 4
%41 = icmp slt i32 %38, %40
br i1 %41, label %.lr.ph, label %60
.lr.ph: ; preds = %31
br label %42
42: ; preds = %.lr.ph, %53
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %7, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
%47 = load i8, ptr %46, align 1
%48 = load ptr, ptr %5, align 8
%49 = load i32, ptr %7, align 4
%50 = sub nsw i32 %49, 5
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %48, i64 %51
store i8 %47, ptr %52, align 1
br label %53
53: ; preds = %42
%54 = load i32, ptr %7, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %7, align 4
%56 = load i32, ptr %7, align 4
%57 = load ptr, ptr %6, align 8
%58 = load i32, ptr %57, align 4
%59 = icmp slt i32 %56, %58
br i1 %59, label %42, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %53
br label %60
60: ; preds = %._crit_edge, %31
%61 = load ptr, ptr %6, align 8
%62 = load i32, ptr %61, align 4
%63 = sub nsw i32 %62, 5
store i32 %63, ptr %61, align 4
br label %.backedge
.backedge: ; preds = %60, %123
%64 = load ptr, ptr %6, align 8
%65 = load i32, ptr %64, align 4
%66 = icmp sgt i32 %65, 0
br i1 %66, label %13, label %..loopexit_crit_edge, !llvm.loop !8
67: ; preds = %22
store i32 0, ptr %7, align 4
br label %68
68: ; preds = %84, %67
%69 = load i32, ptr %7, align 4
%70 = load ptr, ptr %6, align 8
%71 = load i32, ptr %70, align 4
%72 = icmp slt i32 %69, %71
br i1 %72, label %73, label %81
73: ; preds = %68
%74 = load ptr, ptr %5, align 8
%75 = load i32, ptr %7, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %74, i64 %76
%78 = load i8, ptr %77, align 1
%79 = sext i8 %78 to i32
%80 = icmp ne i32 %79, 13
br label %81
81: ; preds = %73, %68
%82 = phi i1 [ false, %68 ], [ %80, %73 ]
br i1 %82, label %83, label %87
83: ; preds = %81
br label %84
84: ; preds = %83
%85 = load i32, ptr %7, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %7, align 4
br label %68, !llvm.loop !9
87: ; preds = %81
%88 = load i32, ptr %7, align 4
%89 = load ptr, ptr %6, align 8
%90 = load i32, ptr %89, align 4
%91 = icmp slt i32 %88, %90
br i1 %91, label %92, label %95
92: ; preds = %87
%93 = load i32, ptr %7, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %7, align 4
br label %95
95: ; preds = %92, %87
%96 = load ptr, ptr %5, align 8
%97 = load i32, ptr %7, align 4
%98 = call i32 @mywrite(i32 noundef 1, ptr noundef %96, i32 noundef %97)
%99 = load i32, ptr %7, align 4
store i32 %99, ptr %8, align 4
%100 = load i32, ptr %8, align 4
%101 = load ptr, ptr %6, align 8
%102 = load i32, ptr %101, align 4
%103 = icmp slt i32 %100, %102
br i1 %103, label %.lr.ph2, label %123
.lr.ph2: ; preds = %95
br label %104
104: ; preds = %.lr.ph2, %116
%105 = load ptr, ptr %5, align 8
%106 = load i32, ptr %8, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i8, ptr %105, i64 %107
%109 = load i8, ptr %108, align 1
%110 = load ptr, ptr %5, align 8
%111 = load i32, ptr %8, align 4
%112 = load i32, ptr %7, align 4
%113 = sub nsw i32 %111, %112
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds i8, ptr %110, i64 %114
store i8 %109, ptr %115, align 1
br label %116
116: ; preds = %104
%117 = load i32, ptr %8, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr %8, align 4
%119 = load i32, ptr %8, align 4
%120 = load ptr, ptr %6, align 8
%121 = load i32, ptr %120, align 4
%122 = icmp slt i32 %119, %121
br i1 %122, label %104, label %._crit_edge3, !llvm.loop !10
._crit_edge3: ; preds = %116
br label %123
123: ; preds = %._crit_edge3, %95
%124 = load i32, ptr %7, align 4
%125 = load ptr, ptr %6, align 8
%126 = load i32, ptr %125, align 4
%127 = sub nsw i32 %126, %124
store i32 %127, ptr %125, align 4
br label %.backedge
..loopexit_crit_edge: ; preds = %.backedge
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %128
128: ; preds = %.loopexit, %30
ret void
}
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
; 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) #2
declare i32 @crypt(ptr noundef, i32 noundef) #1
declare i32 @mywrite(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp__nhx8ci.c'
source_filename = "/tmp/tmp__nhx8ci.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i64 }
%struct.passwd = type { i64 }
@.str = private unnamed_addr constant [35 x i8] c"%s is not the name of a known user\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_user(i64 %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca %struct.stat, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0
store i64 %0, ptr %11, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr null, ptr %8, align 8
store ptr null, ptr %9, align 8
store i32 0, ptr %10, align 4
%12 = load ptr, ptr %6, align 8
%13 = load i32, ptr %7, align 4
%14 = add nsw i32 %13, 1
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds ptr, ptr %12, i64 %15
%17 = load ptr, ptr %16, align 8
%18 = call ptr @getpwnam(ptr noundef %17)
store ptr %18, ptr %8, align 8
%19 = load ptr, ptr %8, align 8
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %53
21: ; preds = %3
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %22, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = call i32 @strtol(ptr noundef %27, ptr noundef %9, i32 noundef 10)
store i32 %28, ptr %10, align 4
%29 = load i32, ptr %10, align 4
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %39
31: ; preds = %21
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr %7, align 4
%34 = add nsw i32 %33, 1
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds ptr, ptr %32, i64 %35
%37 = load ptr, ptr %36, align 8
%38 = call i32 @error(i32 noundef 0, i32 noundef 0, ptr noundef @.str, ptr noundef %37)
store i32 0, ptr %4, align 4
br label %62
39: ; preds = %21
%40 = load i32, ptr %10, align 4
%41 = call ptr @getpwuid(i32 noundef %40)
store ptr %41, ptr %8, align 8
%42 = load ptr, ptr %8, align 8
%43 = icmp eq ptr %42, null
br i1 %43, label %44, label %52
44: ; preds = %39
%45 = load ptr, ptr %6, align 8
%46 = load i32, ptr %7, align 4
%47 = add nsw i32 %46, 1
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds ptr, ptr %45, i64 %48
%50 = load ptr, ptr %49, align 8
%51 = call i32 @error(i32 noundef 0, i32 noundef 0, ptr noundef @.str, ptr noundef %50)
store i32 0, ptr %4, align 4
br label %62
52: ; preds = %39
br label %53
53: ; preds = %52, %3
%54 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0
%55 = load i64, ptr %54, align 8
%56 = load ptr, ptr %8, align 8
%57 = getelementptr inbounds %struct.passwd, ptr %56, i32 0, i32 0
%58 = load i64, ptr %57, align 8
%59 = icmp eq i64 %55, %58
br i1 %59, label %60, label %61
60: ; preds = %53
store i32 1, ptr %4, align 4
br label %62
61: ; preds = %53
store i32 0, ptr %4, align 4
br label %62
62: ; preds = %61, %60, %44, %31
%63 = load i32, ptr %4, align 4
ret i32 %63
}
declare ptr @getpwnam(ptr noundef) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @error(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @getpwuid(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp__nhx8ci.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i64 }
%struct.passwd = type { i64 }
@.str = private unnamed_addr constant [35 x i8] c"%s is not the name of a known user\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_user(i64 %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca %struct.stat, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0
store i64 %0, ptr %11, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr null, ptr %8, align 8
store ptr null, ptr %9, align 8
store i32 0, ptr %10, align 4
%12 = load ptr, ptr %6, align 8
%13 = load i32, ptr %7, align 4
%14 = add nsw i32 %13, 1
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds ptr, ptr %12, i64 %15
%17 = load ptr, ptr %16, align 8
%18 = call ptr @getpwnam(ptr noundef %17)
store ptr %18, ptr %8, align 8
%19 = load ptr, ptr %8, align 8
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %53
21: ; preds = %3
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %22, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = call i32 @strtol(ptr noundef %27, ptr noundef %9, i32 noundef 10)
store i32 %28, ptr %10, align 4
%29 = load i32, ptr %10, align 4
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %39
31: ; preds = %21
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr %7, align 4
%34 = add nsw i32 %33, 1
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds ptr, ptr %32, i64 %35
%37 = load ptr, ptr %36, align 8
%38 = call i32 @error(i32 noundef 0, i32 noundef 0, ptr noundef @.str, ptr noundef %37)
store i32 0, ptr %4, align 4
br label %62
39: ; preds = %21
%40 = load i32, ptr %10, align 4
%41 = call ptr @getpwuid(i32 noundef %40)
store ptr %41, ptr %8, align 8
%42 = load ptr, ptr %8, align 8
%43 = icmp eq ptr %42, null
br i1 %43, label %44, label %52
44: ; preds = %39
%45 = load ptr, ptr %6, align 8
%46 = load i32, ptr %7, align 4
%47 = add nsw i32 %46, 1
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds ptr, ptr %45, i64 %48
%50 = load ptr, ptr %49, align 8
%51 = call i32 @error(i32 noundef 0, i32 noundef 0, ptr noundef @.str, ptr noundef %50)
store i32 0, ptr %4, align 4
br label %62
52: ; preds = %39
br label %53
53: ; preds = %52, %3
%54 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0
%55 = load i64, ptr %54, align 8
%56 = load ptr, ptr %8, align 8
%57 = getelementptr inbounds %struct.passwd, ptr %56, i32 0, i32 0
%58 = load i64, ptr %57, align 8
%59 = icmp eq i64 %55, %58
br i1 %59, label %60, label %61
60: ; preds = %53
store i32 1, ptr %4, align 4
br label %62
61: ; preds = %53
store i32 0, ptr %4, align 4
br label %62
62: ; preds = %61, %60, %44, %31
%63 = load i32, ptr %4, align 4
ret i32 %63
}
declare ptr @getpwnam(ptr noundef) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @error(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @getpwuid(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/tmp3t6atrnf.c'
source_filename = "/tmp/tmp3t6atrnf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@POINT_CONVERSION_UNCOMPRESSED = dso_local constant i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3t6atrnf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@POINT_CONVERSION_UNCOMPRESSED = dso_local constant i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzx2vk4ao.c'
source_filename = "/tmp/tmpzx2vk4ao.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gf_log(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i64 %0, ptr %2, align 8
store i64 1, ptr %3, align 8
store i64 0, ptr %4, align 8
br label %6
6: ; preds = %25, %1
%7 = load i64, ptr %3, align 8
%8 = load i64, ptr %2, align 8
%9 = icmp eq i64 %7, %8
br i1 %9, label %10, label %11
10: ; preds = %6
br label %29
11: ; preds = %6
%12 = load i64, ptr %3, align 8
store i64 %12, ptr %5, align 8
%13 = load i64, ptr %3, align 8
%14 = shl i64 %13, 1
store i64 %14, ptr %3, align 8
%15 = load i64, ptr %5, align 8
%16 = and i64 %15, 128
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %11
%19 = load i64, ptr %3, align 8
%20 = xor i64 %19, 27
store i64 %20, ptr %3, align 8
br label %21
21: ; preds = %18, %11
%22 = load i64, ptr %5, align 8
%23 = load i64, ptr %3, align 8
%24 = xor i64 %23, %22
store i64 %24, ptr %3, align 8
br label %25
25: ; preds = %21
%26 = load i64, ptr %4, align 8
%27 = add nsw i64 %26, 1
store i64 %27, ptr %4, align 8
%28 = icmp sgt i64 %27, 0
br i1 %28, label %6, label %29, !llvm.loop !6
29: ; preds = %25, %10
%30 = load i64, ptr %4, align 8
ret i64 %30
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpzx2vk4ao.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gf_log(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i64 %0, ptr %2, align 8
store i64 1, ptr %3, align 8
store i64 0, ptr %4, align 8
br label %6
6: ; preds = %25, %1
%7 = load i64, ptr %3, align 8
%8 = load i64, ptr %2, align 8
%9 = icmp eq i64 %7, %8
br i1 %9, label %10, label %11
10: ; preds = %6
br label %29
11: ; preds = %6
%12 = load i64, ptr %3, align 8
store i64 %12, ptr %5, align 8
%13 = load i64, ptr %3, align 8
%14 = shl i64 %13, 1
store i64 %14, ptr %3, align 8
%15 = load i64, ptr %5, align 8
%16 = and i64 %15, 128
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %11
%19 = load i64, ptr %3, align 8
%20 = xor i64 %19, 27
store i64 %20, ptr %3, align 8
br label %21
21: ; preds = %18, %11
%22 = load i64, ptr %5, align 8
%23 = load i64, ptr %3, align 8
%24 = xor i64 %23, %22
store i64 %24, ptr %3, align 8
br label %25
25: ; preds = %21
%26 = load i64, ptr %4, align 8
%27 = add nsw i64 %26, 1
store i64 %27, ptr %4, align 8
%28 = icmp sgt i64 %27, 0
br i1 %28, label %6, label %.loopexit, !llvm.loop !6
.loopexit: ; preds = %25
br label %29
29: ; preds = %.loopexit, %10
%30 = load i64, ptr %4, align 8
ret i64 %30
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpk9j1ozfz.c'
source_filename = "/tmp/tmpk9j1ozfz.c"
target datalayout = "e-m:e-p270: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/tmpk9j1ozfz.c"
target datalayout = "e-m:e-p270: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/tmpphpei81t.c'
source_filename = "/tmp/tmpphpei81t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PROT_EXEC = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@_SC_PAGESIZE = 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/tmpphpei81t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PROT_EXEC = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@_SC_PAGESIZE = 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/tmpsvr539li.c'
source_filename = "/tmp/tmpsvr539li.c"
target datalayout = "e-m:e-p270: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/tmpsvr539li.c"
target datalayout = "e-m:e-p270: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/tmpcw2b5vgd.c'
source_filename = "/tmp/tmpcw2b5vgd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"NOT IMPLEMENTED:pa_pid_file_create\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_pid_file_create() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcw2b5vgd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"NOT IMPLEMENTED:pa_pid_file_create\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_pid_file_create() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprp1y8fdf.c'
source_filename = "/tmp/tmprp1y8fdf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Input(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 i32, ptr @stdout, align 4
%6 = load ptr, ptr %3, align 8
%7 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6)
%8 = load i32, ptr @stdout, align 4
%9 = call i32 @fflush(i32 noundef %8)
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr @stdin, align 4
%12 = call i32 @fgets(ptr noundef %10, i32 noundef 256, i32 noundef %11)
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %4, align 8
%15 = call i32 @strlen(ptr noundef %14)
%16 = sub nsw i32 %15, 1
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %13, i64 %17
store i8 0, ptr %18, align 1
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprp1y8fdf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Input(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 i32, ptr @stdout, align 4
%6 = load ptr, ptr %3, align 8
%7 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6)
%8 = load i32, ptr @stdout, align 4
%9 = call i32 @fflush(i32 noundef %8)
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr @stdin, align 4
%12 = call i32 @fgets(ptr noundef %10, i32 noundef 256, i32 noundef %11)
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %4, align 8
%15 = call i32 @strlen(ptr noundef %14)
%16 = sub nsw i32 %15, 1
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %13, i64 %17
store i8 0, ptr %18, align 1
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqtd3pl7g.c'
source_filename = "/tmp/tmpqtd3pl7g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @decrypt(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds i32, ptr %10, i64 0
%12 = load i32, ptr %11, align 4
store i32 %12, ptr %3, align 4
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds i32, ptr %13, i64 1
%15 = load i32, ptr %14, align 4
store i32 %15, ptr %4, align 4
store i32 28773, ptr %6, align 4
store i32 28773, ptr %7, align 4
store i32 29301, ptr %8, align 4
store i32 28275, ptr %9, align 4
store i32 0, ptr %5, align 4
br label %16
16: ; preds = %46, %1
%17 = load i32, ptr %5, align 4
%18 = icmp slt i32 %17, 128
br i1 %18, label %19, label %49
19: ; preds = %16
%20 = load i32, ptr %3, align 4
%21 = shl i32 %20, 4
%22 = load i32, ptr %8, align 4
%23 = add nsw i32 %21, %22
%24 = load i32, ptr %3, align 4
%25 = xor i32 %23, %24
%26 = load i32, ptr %3, align 4
%27 = ashr i32 %26, 5
%28 = load i32, ptr %9, align 4
%29 = add nsw i32 %27, %28
%30 = xor i32 %25, %29
%31 = load i32, ptr %4, align 4
%32 = sub nsw i32 %31, %30
store i32 %32, ptr %4, align 4
%33 = load i32, ptr %4, align 4
%34 = shl i32 %33, 4
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %34, %35
%37 = load i32, ptr %4, align 4
%38 = xor i32 %36, %37
%39 = load i32, ptr %4, align 4
%40 = ashr i32 %39, 5
%41 = load i32, ptr %7, align 4
%42 = add nsw i32 %40, %41
%43 = xor i32 %38, %42
%44 = load i32, ptr %3, align 4
%45 = sub nsw i32 %44, %43
store i32 %45, ptr %3, align 4
br label %46
46: ; preds = %19
%47 = load i32, ptr %5, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %5, align 4
br label %16, !llvm.loop !6
49: ; preds = %16
%50 = load i32, ptr %3, align 4
%51 = load ptr, ptr %2, align 8
%52 = getelementptr inbounds i32, ptr %51, i64 0
store i32 %50, ptr %52, align 4
%53 = load i32, ptr %4, align 4
%54 = load ptr, ptr %2, align 8
%55 = getelementptr inbounds i32, ptr %54, i64 1
store i32 %53, ptr %55, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqtd3pl7g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @decrypt(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds i32, ptr %10, i64 0
%12 = load i32, ptr %11, align 4
store i32 %12, ptr %3, align 4
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds i32, ptr %13, i64 1
%15 = load i32, ptr %14, align 4
store i32 %15, ptr %4, align 4
store i32 28773, ptr %6, align 4
store i32 28773, ptr %7, align 4
store i32 29301, ptr %8, align 4
store i32 28275, ptr %9, align 4
store i32 0, ptr %5, align 4
%16 = load i32, ptr %5, align 4
%17 = icmp slt i32 %16, 128
br i1 %17, label %.lr.ph, label %50
.lr.ph: ; preds = %1
br label %18
18: ; preds = %.lr.ph, %45
%19 = load i32, ptr %3, align 4
%20 = shl i32 %19, 4
%21 = load i32, ptr %8, align 4
%22 = add nsw i32 %20, %21
%23 = load i32, ptr %3, align 4
%24 = xor i32 %22, %23
%25 = load i32, ptr %3, align 4
%26 = ashr i32 %25, 5
%27 = load i32, ptr %9, align 4
%28 = add nsw i32 %26, %27
%29 = xor i32 %24, %28
%30 = load i32, ptr %4, align 4
%31 = sub nsw i32 %30, %29
store i32 %31, ptr %4, align 4
%32 = load i32, ptr %4, align 4
%33 = shl i32 %32, 4
%34 = load i32, ptr %6, align 4
%35 = add nsw i32 %33, %34
%36 = load i32, ptr %4, align 4
%37 = xor i32 %35, %36
%38 = load i32, ptr %4, align 4
%39 = ashr i32 %38, 5
%40 = load i32, ptr %7, align 4
%41 = add nsw i32 %39, %40
%42 = xor i32 %37, %41
%43 = load i32, ptr %3, align 4
%44 = sub nsw i32 %43, %42
store i32 %44, ptr %3, align 4
br label %45
45: ; preds = %18
%46 = load i32, ptr %5, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %5, align 4
%48 = load i32, ptr %5, align 4
%49 = icmp slt i32 %48, 128
br i1 %49, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %45
br label %50
50: ; preds = %._crit_edge, %1
%51 = load i32, ptr %3, align 4
%52 = load ptr, ptr %2, align 8
%53 = getelementptr inbounds i32, ptr %52, i64 0
store i32 %51, ptr %53, align 4
%54 = load i32, ptr %4, align 4
%55 = load ptr, ptr %2, align 8
%56 = getelementptr inbounds i32, ptr %55, i64 1
store i32 %54, ptr %56, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpss6mijdc.c'
source_filename = "/tmp/tmpss6mijdc.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ferr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stdout, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef %4)
%6 = call i32 (...) @where()
%7 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @where(...) #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/tmpss6mijdc.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ferr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stdout, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef %4)
%6 = call i32 (...) @where()
%7 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @where(...) #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/tmplu2z142g.c'
source_filename = "/tmp/tmplu2z142g.c"
target datalayout = "e-m:e-p270: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/tmplu2z142g.c"
target datalayout = "e-m:e-p270: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/tmp6utm6lmd.c'
source_filename = "/tmp/tmp6utm6lmd.c"
target datalayout = "e-m:e-p270: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.s1 = private unnamed_addr constant [100 x i8] c"Tell me about it\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@.str = private unnamed_addr constant [8 x i8] c"%s, %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [100 x i8], align 16
%7 = alloca [100 x i8], align 16
%8 = alloca [100 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.s1, i64 100, i1 false)
%9 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%10 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%11 = call i32 @hash(ptr noundef %10)
%12 = call i32 @printf(ptr noundef @.str, ptr noundef %9, i32 noundef %11)
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 100, i1 false)
%13 = getelementptr inbounds [100 x i8], ptr %7, i32 0, i32 0
store i8 97, ptr %13, align 16
%14 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%15 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%16 = call i32 @hash(ptr noundef %15)
%17 = call i32 @printf(ptr noundef @.str, ptr noundef %14, i32 noundef %16)
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 100, i1 false)
%18 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0
%19 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0
%20 = call i32 @hash(ptr noundef %19)
%21 = call i32 @printf(ptr noundef @.str, ptr noundef %18, i32 noundef %20)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @hash(ptr noundef) #2
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6utm6lmd.c"
target datalayout = "e-m:e-p270: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.s1 = private unnamed_addr constant [100 x i8] c"Tell me about it\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@.str = private unnamed_addr constant [8 x i8] c"%s, %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [100 x i8], align 16
%7 = alloca [100 x i8], align 16
%8 = alloca [100 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.s1, i64 100, i1 false)
%9 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%10 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%11 = call i32 @hash(ptr noundef %10)
%12 = call i32 @printf(ptr noundef @.str, ptr noundef %9, i32 noundef %11)
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 100, i1 false)
%13 = getelementptr inbounds [100 x i8], ptr %7, i32 0, i32 0
store i8 97, ptr %13, align 16
%14 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%15 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%16 = call i32 @hash(ptr noundef %15)
%17 = call i32 @printf(ptr noundef @.str, ptr noundef %14, i32 noundef %16)
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 100, i1 false)
%18 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0
%19 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0
%20 = call i32 @hash(ptr noundef %19)
%21 = call i32 @printf(ptr noundef @.str, ptr noundef %18, i32 noundef %20)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @hash(ptr noundef) #2
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphtbnd0vq.c'
source_filename = "/tmp/tmphtbnd0vq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"Wert muss zwischen 1 und 9 sein.\0A\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"Platz schon mit einem X oder Y belegt!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @setMap(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp sle i32 %6, 0
br i1 %7, label %11, label %8
8: ; preds = %2
%9 = load i32, ptr %5, align 4
%10 = icmp sge i32 %9, 10
br i1 %10, label %11, label %13
11: ; preds = %8, %2
%12 = call i32 @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %39
13: ; preds = %8
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %5, align 4
%16 = sub nsw i32 %15, 1
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %14, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 88
br i1 %21, label %31, label %22
22: ; preds = %13
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %5, align 4
%25 = sub nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %23, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 89
br i1 %30, label %31, label %33
31: ; preds = %22, %13
%32 = call i32 @printf(ptr noundef @.str.1)
store i32 2, ptr %3, align 4
br label %39
33: ; preds = %22
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %5, align 4
%36 = sub nsw i32 %35, 1
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %34, i64 %37
store i8 88, ptr %38, align 1
store i32 0, ptr %3, align 4
br label %39
39: ; preds = %33, %31, %11
%40 = load i32, ptr %3, align 4
ret i32 %40
}
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/tmphtbnd0vq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"Wert muss zwischen 1 und 9 sein.\0A\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"Platz schon mit einem X oder Y belegt!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @setMap(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp sle i32 %6, 0
br i1 %7, label %11, label %8
8: ; preds = %2
%9 = load i32, ptr %5, align 4
%10 = icmp sge i32 %9, 10
br i1 %10, label %11, label %13
11: ; preds = %8, %2
%12 = call i32 @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %39
13: ; preds = %8
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %5, align 4
%16 = sub nsw i32 %15, 1
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %14, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 88
br i1 %21, label %31, label %22
22: ; preds = %13
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %5, align 4
%25 = sub nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %23, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 89
br i1 %30, label %31, label %33
31: ; preds = %22, %13
%32 = call i32 @printf(ptr noundef @.str.1)
store i32 2, ptr %3, align 4
br label %39
33: ; preds = %22
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %5, align 4
%36 = sub nsw i32 %35, 1
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %34, i64 %37
store i8 88, ptr %38, align 1
store i32 0, ptr %3, align 4
br label %39
39: ; preds = %33, %31, %11
%40 = load i32, ptr %3, align 4
ret i32 %40
}
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/tmp7d4pppbs.c'
source_filename = "/tmp/tmp7d4pppbs.c"
target datalayout = "e-m:e-p270: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/tmp7d4pppbs.c"
target datalayout = "e-m:e-p270: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/tmpsnguql_h.c'
source_filename = "/tmp/tmpsnguql_h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%.5lf\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 double, align 8
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %4)
store double 0.000000e+00, ptr %5, align 8
%7 = load i32, ptr %3, align 4
store i32 %7, ptr %2, align 4
br label %8
8: ; preds = %21, %0
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %12, label %24
12: ; preds = %8
%13 = load i32, ptr %2, align 4
%14 = sitofp i32 %13 to double
%15 = fdiv double 1.000000e+00, %14
%16 = load i32, ptr %2, align 4
%17 = sitofp i32 %16 to double
%18 = fdiv double %15, %17
%19 = load double, ptr %5, align 8
%20 = fadd double %19, %18
store double %20, ptr %5, align 8
br label %21
21: ; preds = %12
%22 = load i32, ptr %2, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %2, align 4
br label %8, !llvm.loop !6
24: ; preds = %8
%25 = load double, ptr %5, align 8
%26 = call i32 @printf(ptr noundef @.str.1, double noundef %25)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr 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/tmpsnguql_h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%.5lf\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 double, align 8
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %4)
store double 0.000000e+00, ptr %5, align 8
%7 = load i32, ptr %3, align 4
store i32 %7, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %.lr.ph, label %26
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %20
%12 = load i32, ptr %2, align 4
%13 = sitofp i32 %12 to double
%14 = fdiv double 1.000000e+00, %13
%15 = load i32, ptr %2, align 4
%16 = sitofp i32 %15 to double
%17 = fdiv double %14, %16
%18 = load double, ptr %5, align 8
%19 = fadd double %18, %17
store double %19, ptr %5, align 8
br label %20
20: ; preds = %11
%21 = load i32, ptr %2, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %2, align 4
%23 = load i32, ptr %2, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp sle i32 %23, %24
br i1 %25, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %0
%27 = load double, ptr %5, align 8
%28 = call i32 @printf(ptr noundef @.str.1, double noundef %27)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr 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/tmpeqq1droy.c'
source_filename = "/tmp/tmpeqq1droy.c"
target datalayout = "e-m:e-p270: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/tmpeqq1droy.c"
target datalayout = "e-m:e-p270: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/tmpzqmepbi6.c'
source_filename = "/tmp/tmpzqmepbi6.c"
target datalayout = "e-m:e-p270: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/tmpzqmepbi6.c"
target datalayout = "e-m:e-p270: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/tmpbmhst5t3.c'
source_filename = "/tmp/tmpbmhst5t3.c"
target datalayout = "e-m:e-p270: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/tmpbmhst5t3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_42y9fvo.c'
source_filename = "/tmp/tmp_42y9fvo.c"
target datalayout = "e-m:e-p270: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 { ptr }
@.str = private unnamed_addr constant [3 x i8] c"cp\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"-upr\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Error: no source directory.\0A\00", align 1
@S_IRWXU = dso_local global i32 0, align 4
@S_IRWXG = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
@S_IXOTH = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [39 x i8] c"Error: backuping directory to itself.\0A\00", align 1
@.str.4 = private unnamed_addr constant [28 x i8] c"Source directory is empty.\0A\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"..\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.8 = private unnamed_addr constant [13 x i8] c"Fork error.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @backup(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [4096 x ptr], align 16
%10 = alloca [4096 x i8], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 2, ptr %11, align 4
%13 = getelementptr inbounds [4096 x ptr], ptr %9, i64 0, i64 0
store ptr @.str, ptr %13, align 16
%14 = getelementptr inbounds [4096 x ptr], ptr %9, i64 0, i64 1
store ptr @.str.1, ptr %14, align 8
%15 = load ptr, ptr %3, align 8
%16 = call ptr @opendir(ptr noundef %15)
store ptr %16, ptr %6, align 8
%17 = load ptr, ptr %6, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %22
19: ; preds = %2
%20 = call i32 @printf(ptr noundef @.str.2)
%21 = call i32 @exit(i32 noundef -1) #3
unreachable
22: ; preds = %2
%23 = load ptr, ptr %4, align 8
%24 = call ptr @opendir(ptr noundef %23)
store ptr %24, ptr %7, align 8
%25 = load ptr, ptr %7, align 8
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %37
27: ; preds = %22
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr @S_IRWXU, align 4
%30 = load i32, ptr @S_IRWXG, align 4
%31 = or i32 %29, %30
%32 = load i32, ptr @S_IROTH, align 4
%33 = or i32 %31, %32
%34 = load i32, ptr @S_IXOTH, align 4
%35 = or i32 %33, %34
%36 = call i32 @mkdir(ptr noundef %28, i32 noundef %35)
br label %37
37: ; preds = %27, %22
%38 = load ptr, ptr %6, align 8
%39 = load ptr, ptr %7, align 8
%40 = icmp eq ptr %38, %39
br i1 %40, label %41, label %44
41: ; preds = %37
%42 = call i32 @printf(ptr noundef @.str.3)
%43 = call i32 @exit(i32 noundef -1) #3
unreachable
44: ; preds = %37
%45 = load ptr, ptr %6, align 8
%46 = call ptr @readdir(ptr noundef %45)
store ptr %46, ptr %8, align 8
%47 = icmp eq ptr %46, null
br i1 %47, label %48, label %51
48: ; preds = %44
%49 = call i32 @printf(ptr noundef @.str.4)
%50 = call i32 @exit(i32 noundef -1) #3
unreachable
51: ; preds = %44
%52 = load ptr, ptr %6, align 8
%53 = call i32 @rewinddir(ptr noundef %52)
br label %54
54: ; preds = %71, %70, %51
%55 = load ptr, ptr %6, align 8
%56 = call ptr @readdir(ptr noundef %55)
store ptr %56, ptr %8, align 8
%57 = icmp ne ptr %56, null
br i1 %57, label %58, label %99
58: ; preds = %54
%59 = load ptr, ptr %8, align 8
%60 = getelementptr inbounds %struct.dirent, ptr %59, i32 0, i32 0
%61 = load ptr, ptr %60, align 8
%62 = call i32 @strcmp(ptr noundef %61, ptr noundef @.str.5)
%63 = icmp ne i32 %62, 0
br i1 %63, label %64, label %70
64: ; preds = %58
%65 = load ptr, ptr %8, align 8
%66 = getelementptr inbounds %struct.dirent, ptr %65, i32 0, i32 0
%67 = load ptr, ptr %66, align 8
%68 = call i32 @strcmp(ptr noundef %67, ptr noundef @.str.6)
%69 = icmp ne i32 %68, 0
br i1 %69, label %71, label %70
70: ; preds = %64, %58
br label %54, !llvm.loop !6
71: ; preds = %64
%72 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%73 = call i32 @memset(ptr noundef %72, i32 noundef 0, i32 noundef 4096)
%74 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%75 = load ptr, ptr %3, align 8
%76 = call i32 @strcpy(ptr noundef %74, ptr noundef %75)
%77 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%78 = call i32 @strcat(ptr noundef %77, ptr noundef @.str.7)
%79 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%80 = load ptr, ptr %8, align 8
%81 = getelementptr inbounds %struct.dirent, ptr %80, i32 0, i32 0
%82 = load ptr, ptr %81, align 8
%83 = call i32 @strcat(ptr noundef %79, ptr noundef %82)
%84 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%85 = call i64 @strlen(ptr noundef %84)
%86 = add nsw i64 %85, 1
%87 = call ptr @malloc(i64 noundef %86)
%88 = load i32, ptr %11, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds [4096 x ptr], ptr %9, i64 0, i64 %89
store ptr %87, ptr %90, align 8
%91 = load i32, ptr %11, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds [4096 x ptr], ptr %9, i64 0, i64 %92
%94 = load ptr, ptr %93, align 8
%95 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%96 = call i32 @strcpy(ptr noundef %94, ptr noundef %95)
%97 = load i32, ptr %11, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %11, align 4
br label %54, !llvm.loop !6
99: ; preds = %54
%100 = load ptr, ptr %4, align 8
%101 = load i32, ptr %11, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [4096 x ptr], ptr %9, i64 0, i64 %102
store ptr %100, ptr %103, align 8
%104 = load ptr, ptr %6, align 8
%105 = call i32 @closedir(ptr noundef %104)
%106 = load ptr, ptr %7, align 8
%107 = call i32 @closedir(ptr noundef %106)
%108 = call i32 (...) @fork()
store i32 %108, ptr %5, align 4
%109 = load i32, ptr %5, align 4
%110 = icmp eq i32 %109, -1
br i1 %110, label %111, label %114
111: ; preds = %99
%112 = call i32 @printf(ptr noundef @.str.8)
%113 = call i32 @exit(i32 noundef -1) #3
unreachable
114: ; preds = %99
%115 = load i32, ptr %5, align 4
%116 = icmp eq i32 %115, 0
br i1 %116, label %117, label %122
117: ; preds = %114
%118 = getelementptr inbounds [4096 x ptr], ptr %9, i64 0, i64 0
%119 = load ptr, ptr %118, align 16
%120 = getelementptr inbounds [4096 x ptr], ptr %9, i64 0, i64 0
%121 = call i32 @execvp(ptr noundef %119, ptr noundef %120)
br label %122
122: ; preds = %117, %114
br label %123
123: ; preds = %122
br label %124
124: ; preds = %127, %123
%125 = call i32 @wait(ptr noundef null)
%126 = icmp ne i32 %125, -1
br i1 %126, label %127, label %128
127: ; preds = %124
br label %124, !llvm.loop !8
128: ; preds = %124
store i32 2, ptr %12, align 4
br label %129
129: ; preds = %139, %128
%130 = load i32, ptr %12, align 4
%131 = load i32, ptr %11, align 4
%132 = icmp slt i32 %130, %131
br i1 %132, label %133, label %142
133: ; preds = %129
%134 = load i32, ptr %12, align 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds [4096 x ptr], ptr %9, i64 0, i64 %135
%137 = load ptr, ptr %136, align 8
%138 = call i32 @free(ptr noundef %137)
br label %139
139: ; preds = %133
%140 = load i32, ptr %12, align 4
%141 = add nsw i32 %140, 1
store i32 %141, ptr %12, align 4
br label %129, !llvm.loop !9
142: ; preds = %129
ret i32 0
}
declare ptr @opendir(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @mkdir(ptr noundef, i32 noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i32 @rewinddir(ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @closedir(ptr noundef) #1
declare i32 @fork(...) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
declare i32 @wait(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_42y9fvo.c"
target datalayout = "e-m:e-p270: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 { ptr }
@.str = private unnamed_addr constant [3 x i8] c"cp\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"-upr\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Error: no source directory.\0A\00", align 1
@S_IRWXU = dso_local global i32 0, align 4
@S_IRWXG = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
@S_IXOTH = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [39 x i8] c"Error: backuping directory to itself.\0A\00", align 1
@.str.4 = private unnamed_addr constant [28 x i8] c"Source directory is empty.\0A\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"..\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.8 = private unnamed_addr constant [13 x i8] c"Fork error.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @backup(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [4096 x ptr], align 16
%10 = alloca [4096 x i8], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 2, ptr %11, align 4
%13 = getelementptr inbounds [4096 x ptr], ptr %9, i64 0, i64 0
store ptr @.str, ptr %13, align 16
%14 = getelementptr inbounds [4096 x ptr], ptr %9, i64 0, i64 1
store ptr @.str.1, ptr %14, align 8
%15 = load ptr, ptr %3, align 8
%16 = call ptr @opendir(ptr noundef %15)
store ptr %16, ptr %6, align 8
%17 = load ptr, ptr %6, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %22
19: ; preds = %2
%20 = call i32 @printf(ptr noundef @.str.2)
%21 = call i32 @exit(i32 noundef -1) #3
unreachable
22: ; preds = %2
%23 = load ptr, ptr %4, align 8
%24 = call ptr @opendir(ptr noundef %23)
store ptr %24, ptr %7, align 8
%25 = load ptr, ptr %7, align 8
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %37
27: ; preds = %22
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr @S_IRWXU, align 4
%30 = load i32, ptr @S_IRWXG, align 4
%31 = or i32 %29, %30
%32 = load i32, ptr @S_IROTH, align 4
%33 = or i32 %31, %32
%34 = load i32, ptr @S_IXOTH, align 4
%35 = or i32 %33, %34
%36 = call i32 @mkdir(ptr noundef %28, i32 noundef %35)
br label %37
37: ; preds = %27, %22
%38 = load ptr, ptr %6, align 8
%39 = load ptr, ptr %7, align 8
%40 = icmp eq ptr %38, %39
br i1 %40, label %41, label %44
41: ; preds = %37
%42 = call i32 @printf(ptr noundef @.str.3)
%43 = call i32 @exit(i32 noundef -1) #3
unreachable
44: ; preds = %37
%45 = load ptr, ptr %6, align 8
%46 = call ptr @readdir(ptr noundef %45)
store ptr %46, ptr %8, align 8
%47 = icmp eq ptr %46, null
br i1 %47, label %48, label %51
48: ; preds = %44
%49 = call i32 @printf(ptr noundef @.str.4)
%50 = call i32 @exit(i32 noundef -1) #3
unreachable
51: ; preds = %44
%52 = load ptr, ptr %6, align 8
%53 = call i32 @rewinddir(ptr noundef %52)
%54 = load ptr, ptr %6, align 8
%55 = call ptr @readdir(ptr noundef %54)
store ptr %55, ptr %8, align 8
%56 = icmp ne ptr %55, null
br i1 %56, label %.lr.ph, label %101
.lr.ph: ; preds = %51
br label %57
57: ; preds = %.lr.ph, %.backedge
%58 = load ptr, ptr %8, align 8
%59 = getelementptr inbounds %struct.dirent, ptr %58, i32 0, i32 0
%60 = load ptr, ptr %59, align 8
%61 = call i32 @strcmp(ptr noundef %60, ptr noundef @.str.5)
%62 = icmp ne i32 %61, 0
br i1 %62, label %63, label %69
63: ; preds = %57
%64 = load ptr, ptr %8, align 8
%65 = getelementptr inbounds %struct.dirent, ptr %64, i32 0, i32 0
%66 = load ptr, ptr %65, align 8
%67 = call i32 @strcmp(ptr noundef %66, ptr noundef @.str.6)
%68 = icmp ne i32 %67, 0
br i1 %68, label %73, label %69
69: ; preds = %63, %57
br label %.backedge
.backedge: ; preds = %69, %73
%70 = load ptr, ptr %6, align 8
%71 = call ptr @readdir(ptr noundef %70)
store ptr %71, ptr %8, align 8
%72 = icmp ne ptr %71, null
br i1 %72, label %57, label %._crit_edge, !llvm.loop !6
73: ; preds = %63
%74 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%75 = call i32 @memset(ptr noundef %74, i32 noundef 0, i32 noundef 4096)
%76 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%77 = load ptr, ptr %3, align 8
%78 = call i32 @strcpy(ptr noundef %76, ptr noundef %77)
%79 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%80 = call i32 @strcat(ptr noundef %79, ptr noundef @.str.7)
%81 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%82 = load ptr, ptr %8, align 8
%83 = getelementptr inbounds %struct.dirent, ptr %82, i32 0, i32 0
%84 = load ptr, ptr %83, align 8
%85 = call i32 @strcat(ptr noundef %81, ptr noundef %84)
%86 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%87 = call i64 @strlen(ptr noundef %86)
%88 = add nsw i64 %87, 1
%89 = call ptr @malloc(i64 noundef %88)
%90 = load i32, ptr %11, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [4096 x ptr], ptr %9, i64 0, i64 %91
store ptr %89, ptr %92, align 8
%93 = load i32, ptr %11, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds [4096 x ptr], ptr %9, i64 0, i64 %94
%96 = load ptr, ptr %95, align 8
%97 = getelementptr inbounds [4096 x i8], ptr %10, i64 0, i64 0
%98 = call i32 @strcpy(ptr noundef %96, ptr noundef %97)
%99 = load i32, ptr %11, align 4
%100 = add nsw i32 %99, 1
store i32 %100, ptr %11, align 4
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %101
101: ; preds = %._crit_edge, %51
%102 = load ptr, ptr %4, align 8
%103 = load i32, ptr %11, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds [4096 x ptr], ptr %9, i64 0, i64 %104
store ptr %102, ptr %105, align 8
%106 = load ptr, ptr %6, align 8
%107 = call i32 @closedir(ptr noundef %106)
%108 = load ptr, ptr %7, align 8
%109 = call i32 @closedir(ptr noundef %108)
%110 = call i32 (...) @fork()
store i32 %110, ptr %5, align 4
%111 = load i32, ptr %5, align 4
%112 = icmp eq i32 %111, -1
br i1 %112, label %113, label %116
113: ; preds = %101
%114 = call i32 @printf(ptr noundef @.str.8)
%115 = call i32 @exit(i32 noundef -1) #3
unreachable
116: ; preds = %101
%117 = load i32, ptr %5, align 4
%118 = icmp eq i32 %117, 0
br i1 %118, label %119, label %124
119: ; preds = %116
%120 = getelementptr inbounds [4096 x ptr], ptr %9, i64 0, i64 0
%121 = load ptr, ptr %120, align 16
%122 = getelementptr inbounds [4096 x ptr], ptr %9, i64 0, i64 0
%123 = call i32 @execvp(ptr noundef %121, ptr noundef %122)
br label %124
124: ; preds = %119, %116
br label %125
125: ; preds = %124
br label %126
126: ; preds = %126, %125
%127 = call i32 @wait(ptr noundef null)
%128 = icmp ne i32 %127, -1
br i1 %128, label %126, label %129, !llvm.loop !8
129: ; preds = %126
store i32 2, ptr %12, align 4
%130 = load i32, ptr %12, align 4
%131 = load i32, ptr %11, align 4
%132 = icmp slt i32 %130, %131
br i1 %132, label %.lr.ph2, label %145
.lr.ph2: ; preds = %129
br label %133
133: ; preds = %.lr.ph2, %139
%134 = load i32, ptr %12, align 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds [4096 x ptr], ptr %9, i64 0, i64 %135
%137 = load ptr, ptr %136, align 8
%138 = call i32 @free(ptr noundef %137)
br label %139
139: ; preds = %133
%140 = load i32, ptr %12, align 4
%141 = add nsw i32 %140, 1
store i32 %141, ptr %12, align 4
%142 = load i32, ptr %12, align 4
%143 = load i32, ptr %11, align 4
%144 = icmp slt i32 %142, %143
br i1 %144, label %133, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %139
br label %145
145: ; preds = %._crit_edge3, %129
ret i32 0
}
declare ptr @opendir(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @mkdir(ptr noundef, i32 noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i32 @rewinddir(ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @closedir(ptr noundef) #1
declare i32 @fork(...) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
declare i32 @wait(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp1ko2gu58.c'
source_filename = "/tmp/tmp1ko2gu58.c"
target datalayout = "e-m:e-p270: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.SHA256_Xcompare_48.result0 = private unnamed_addr constant [32 x i8] c"\E3\B0\C4B\98\FC\1C\14\9A\FB\F4\C8\99o\B9$'\AEA\E4d\9B\93L\A4\95\99\1BxR\B8U", align 16
@.str = private unnamed_addr constant [72 x i8] c"Disagreement between given answer and SHA256_VST in SHA256_Xcompare_48\0A\00", align 1
@.str.1 = private unnamed_addr constant [72 x i8] c"Disagreement between given answer and SHA256_NSS in SHA256_Xcompare_48\0A\00", align 1
@.str.2 = private unnamed_addr constant [75 x i8] c"Disagreement between given answer and SHA256_sodium in SHA256_Xcompare_48\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @SHA256_Xcompare_48() #0 {
%1 = alloca [0 x i8], align 1
%2 = alloca [32 x i8], align 16
%3 = alloca [32 x i8], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.SHA256_Xcompare_48.result0, i64 32, i1 false)
%4 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%5 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 32)
%6 = getelementptr inbounds [0 x i8], ptr %1, i64 0, i64 0
%7 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @SHA256_VST(ptr noundef %6, ptr noundef %7, i32 noundef 0)
%9 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0
%10 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%11 = call i32 @check_test(ptr noundef %9, ptr noundef %10, i32 noundef 32, ptr noundef @.str)
%12 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%13 = call i32 @memset(ptr noundef %12, i32 noundef 0, i32 noundef 32)
%14 = getelementptr inbounds [0 x i8], ptr %1, i64 0, i64 0
%15 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%16 = call i32 @SHA256_NSS(ptr noundef %14, ptr noundef %15, i32 noundef 0)
%17 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0
%18 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%19 = call i32 @check_test(ptr noundef %17, ptr noundef %18, i32 noundef 32, ptr noundef @.str.1)
%20 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%21 = call i32 @memset(ptr noundef %20, i32 noundef 0, i32 noundef 32)
%22 = getelementptr inbounds [0 x i8], ptr %1, i64 0, i64 0
%23 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%24 = call i32 @SHA256_sodium(ptr noundef %22, ptr noundef %23, i32 noundef 0)
%25 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0
%26 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%27 = call i32 @check_test(ptr noundef %25, ptr noundef %26, i32 noundef 32, ptr noundef @.str.2)
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 @memset(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @SHA256_VST(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @check_test(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @SHA256_NSS(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @SHA256_sodium(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmp1ko2gu58.c"
target datalayout = "e-m:e-p270: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.SHA256_Xcompare_48.result0 = private unnamed_addr constant [32 x i8] c"\E3\B0\C4B\98\FC\1C\14\9A\FB\F4\C8\99o\B9$'\AEA\E4d\9B\93L\A4\95\99\1BxR\B8U", align 16
@.str = private unnamed_addr constant [72 x i8] c"Disagreement between given answer and SHA256_VST in SHA256_Xcompare_48\0A\00", align 1
@.str.1 = private unnamed_addr constant [72 x i8] c"Disagreement between given answer and SHA256_NSS in SHA256_Xcompare_48\0A\00", align 1
@.str.2 = private unnamed_addr constant [75 x i8] c"Disagreement between given answer and SHA256_sodium in SHA256_Xcompare_48\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @SHA256_Xcompare_48() #0 {
%1 = alloca [0 x i8], align 1
%2 = alloca [32 x i8], align 16
%3 = alloca [32 x i8], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.SHA256_Xcompare_48.result0, i64 32, i1 false)
%4 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%5 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 32)
%6 = getelementptr inbounds [0 x i8], ptr %1, i64 0, i64 0
%7 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @SHA256_VST(ptr noundef %6, ptr noundef %7, i32 noundef 0)
%9 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0
%10 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%11 = call i32 @check_test(ptr noundef %9, ptr noundef %10, i32 noundef 32, ptr noundef @.str)
%12 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%13 = call i32 @memset(ptr noundef %12, i32 noundef 0, i32 noundef 32)
%14 = getelementptr inbounds [0 x i8], ptr %1, i64 0, i64 0
%15 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%16 = call i32 @SHA256_NSS(ptr noundef %14, ptr noundef %15, i32 noundef 0)
%17 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0
%18 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%19 = call i32 @check_test(ptr noundef %17, ptr noundef %18, i32 noundef 32, ptr noundef @.str.1)
%20 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%21 = call i32 @memset(ptr noundef %20, i32 noundef 0, i32 noundef 32)
%22 = getelementptr inbounds [0 x i8], ptr %1, i64 0, i64 0
%23 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%24 = call i32 @SHA256_sodium(ptr noundef %22, ptr noundef %23, i32 noundef 0)
%25 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0
%26 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%27 = call i32 @check_test(ptr noundef %25, ptr noundef %26, i32 noundef 32, ptr noundef @.str.2)
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 @memset(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @SHA256_VST(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @check_test(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @SHA256_NSS(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @SHA256_sodium(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmp69luhhr6.c'
source_filename = "/tmp/tmp69luhhr6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MPI_Get_version(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 @PMPI_Get_version(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @PMPI_Get_version(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/tmp69luhhr6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MPI_Get_version(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 @PMPI_Get_version(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @PMPI_Get_version(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/tmpqdze37z6.c'
source_filename = "/tmp/tmpqdze37z6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"[%c] is a number\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"[%c] is not a number\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %26, %0
%4 = call i32 (...) @getch()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr @EOF, align 4
%6 = icmp ne i32 %4, %5
br i1 %6, label %7, label %27
7: ; preds = %3
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 10
br i1 %9, label %10, label %11
10: ; preds = %7
br label %26
11: ; preds = %7
%12 = load i32, ptr %2, align 4
%13 = icmp sge i32 %12, 48
br i1 %13, label %14, label %22
14: ; preds = %11
%15 = load i32, ptr %2, align 4
%16 = icmp sle i32 %15, 57
br i1 %16, label %17, label %22
17: ; preds = %14
%18 = load i32, ptr %2, align 4
%19 = call i32 @ungetch(i32 noundef %18)
%20 = call i32 (...) @getch()
%21 = call i32 @printf(ptr noundef @.str, i32 noundef %20)
br label %25
22: ; preds = %14, %11
%23 = load i32, ptr %2, align 4
%24 = call i32 @printf(ptr noundef @.str.1, i32 noundef %23)
br label %25
25: ; preds = %22, %17
br label %26
26: ; preds = %25, %10
br label %3, !llvm.loop !6
27: ; preds = %3
ret i32 0
}
declare i32 @getch(...) #1
declare i32 @ungetch(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqdze37z6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"[%c] is a number\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"[%c] is not a number\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @getch()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr @EOF, align 4
%5 = icmp ne i32 %3, %4
br i1 %5, label %.lr.ph, label %29
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %25
%7 = load i32, ptr %2, align 4
%8 = icmp eq i32 %7, 10
br i1 %8, label %9, label %10
9: ; preds = %6
br label %25
10: ; preds = %6
%11 = load i32, ptr %2, align 4
%12 = icmp sge i32 %11, 48
br i1 %12, label %13, label %21
13: ; preds = %10
%14 = load i32, ptr %2, align 4
%15 = icmp sle i32 %14, 57
br i1 %15, label %16, label %21
16: ; preds = %13
%17 = load i32, ptr %2, align 4
%18 = call i32 @ungetch(i32 noundef %17)
%19 = call i32 (...) @getch()
%20 = call i32 @printf(ptr noundef @.str, i32 noundef %19)
br label %24
21: ; preds = %13, %10
%22 = load i32, ptr %2, align 4
%23 = call i32 @printf(ptr noundef @.str.1, i32 noundef %22)
br label %24
24: ; preds = %21, %16
br label %25
25: ; preds = %24, %9
%26 = call i32 (...) @getch()
store i32 %26, ptr %2, align 4
%27 = load i32, ptr @EOF, align 4
%28 = icmp ne i32 %26, %27
br i1 %28, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %29
29: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @getch(...) #1
declare i32 @ungetch(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpra_0zuez.c'
source_filename = "/tmp/tmpra_0zuez.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_print_comb() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 48, ptr %1, align 4
br label %4
4: ; preds = %29, %0
%5 = load i32, ptr %1, align 4
%6 = icmp sle i32 %5, 55
br i1 %6, label %7, label %32
7: ; preds = %4
%8 = load i32, ptr %1, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %2, align 4
br label %10
10: ; preds = %26, %7
%11 = load i32, ptr %2, align 4
%12 = icmp sle i32 %11, 56
br i1 %12, label %13, label %29
13: ; preds = %10
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
br label %16
16: ; preds = %19, %13
%17 = load i32, ptr %3, align 4
%18 = icmp sle i32 %17, 57
br i1 %18, label %19, label %26
19: ; preds = %16
%20 = load i32, ptr %1, align 4
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %3, align 4
%23 = call i32 @ft_wrap_comb(i32 noundef %20, i32 noundef %21, i32 noundef %22)
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %3, align 4
br label %16, !llvm.loop !6
26: ; preds = %16
%27 = load i32, ptr %2, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %2, align 4
br label %10, !llvm.loop !8
29: ; preds = %10
%30 = load i32, ptr %1, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %1, align 4
br label %4, !llvm.loop !9
32: ; preds = %4
ret void
}
declare i32 @ft_wrap_comb(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpra_0zuez.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_print_comb() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 48, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = icmp sle i32 %4, 55
br i1 %5, label %.lr.ph5, label %35
.lr.ph5: ; preds = %0
br label %6
6: ; preds = %.lr.ph5, %30
%7 = load i32, ptr %1, align 4
%8 = add nsw i32 %7, 1
store i32 %8, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp sle i32 %9, 56
br i1 %10, label %.lr.ph2, label %30
.lr.ph2: ; preds = %6
br label %11
11: ; preds = %.lr.ph2, %25
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp sle i32 %14, 57
br i1 %15, label %.lr.ph, label %25
.lr.ph: ; preds = %11
br label %16
16: ; preds = %.lr.ph, %16
%17 = load i32, ptr %1, align 4
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %3, align 4
%20 = call i32 @ft_wrap_comb(i32 noundef %17, i32 noundef %18, i32 noundef %19)
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
%23 = load i32, ptr %3, align 4
%24 = icmp sle i32 %23, 57
br i1 %24, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %25
25: ; preds = %._crit_edge, %11
%26 = load i32, ptr %2, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %2, align 4
%28 = load i32, ptr %2, align 4
%29 = icmp sle i32 %28, 56
br i1 %29, label %11, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %25
br label %30
30: ; preds = %._crit_edge3, %6
%31 = load i32, ptr %1, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %1, align 4
%33 = load i32, ptr %1, align 4
%34 = icmp sle i32 %33, 55
br i1 %34, label %6, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %30
br label %35
35: ; preds = %._crit_edge6, %0
ret void
}
declare i32 @ft_wrap_comb(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpqna76el5.c'
source_filename = "/tmp/tmpqna76el5.c"
target datalayout = "e-m:e-p270: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/tmpqna76el5.c"
target datalayout = "e-m:e-p270: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/tmpra_03krn.c'
source_filename = "/tmp/tmpra_03krn.c"
target datalayout = "e-m:e-p270: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.rlimit = type { i64 }
@RLIMIT_STACK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @arch_stack_max() #0 {
%1 = alloca %struct.rlimit, align 8
%2 = load i32, ptr @RLIMIT_STACK, align 4
%3 = call i32 @getrlimit(i32 noundef %2, ptr noundef %1)
%4 = getelementptr inbounds %struct.rlimit, ptr %1, i32 0, i32 0
%5 = load i64, ptr %4, align 8
ret i64 %5
}
declare i32 @getrlimit(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/tmpra_03krn.c"
target datalayout = "e-m:e-p270: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.rlimit = type { i64 }
@RLIMIT_STACK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @arch_stack_max() #0 {
%1 = alloca %struct.rlimit, align 8
%2 = load i32, ptr @RLIMIT_STACK, align 4
%3 = call i32 @getrlimit(i32 noundef %2, ptr noundef %1)
%4 = getelementptr inbounds %struct.rlimit, ptr %1, i32 0, i32 0
%5 = load i64, ptr %4, align 8
ret i64 %5
}
declare i32 @getrlimit(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/tmp7zxyvvjh.c'
source_filename = "/tmp/tmp7zxyvvjh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ULLONG_MAX = dso_local global i32 0, align 4
@ERANGE = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @strtoull(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %7, align 8
br label %15
15: ; preds = %20, %3
%16 = load ptr, ptr %7, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %7, align 8
%18 = load i8, ptr %16, align 1
%19 = zext i8 %18 to i32
store i32 %19, ptr %10, align 4
br label %20
20: ; preds = %15
%21 = load i32, ptr %10, align 4
%22 = call i64 @isspace(i32 noundef %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %15, label %24, !llvm.loop !6
24: ; preds = %20
%25 = load i32, ptr %10, align 4
%26 = icmp eq i32 %25, 45
br i1 %26, label %27, label %32
27: ; preds = %24
store i32 1, ptr %11, align 4
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %7, align 8
%30 = load i8, ptr %28, align 1
%31 = sext i8 %30 to i32
store i32 %31, ptr %10, align 4
br label %41
32: ; preds = %24
store i32 0, ptr %11, align 4
%33 = load i32, ptr %10, align 4
%34 = icmp eq i32 %33, 43
br i1 %34, label %35, label %40
35: ; preds = %32
%36 = load ptr, ptr %7, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %7, align 8
%38 = load i8, ptr %36, align 1
%39 = sext i8 %38 to i32
store i32 %39, ptr %10, align 4
br label %40
40: ; preds = %35, %32
br label %41
41: ; preds = %40, %27
%42 = load i32, ptr %6, align 4
%43 = icmp eq i32 %42, 0
br i1 %43, label %47, label %44
44: ; preds = %41
%45 = load i32, ptr %6, align 4
%46 = icmp eq i32 %45, 16
br i1 %46, label %47, label %67
47: ; preds = %44, %41
%48 = load i32, ptr %10, align 4
%49 = icmp eq i32 %48, 48
br i1 %49, label %50, label %67
50: ; preds = %47
%51 = load ptr, ptr %7, align 8
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 120
br i1 %54, label %60, label %55
55: ; preds = %50
%56 = load ptr, ptr %7, align 8
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp eq i32 %58, 88
br i1 %59, label %60, label %67
60: ; preds = %55, %50
%61 = load ptr, ptr %7, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 1
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
store i32 %64, ptr %10, align 4
%65 = load ptr, ptr %7, align 8
%66 = getelementptr inbounds i8, ptr %65, i64 2
store ptr %66, ptr %7, align 8
store i32 16, ptr %6, align 4
br label %67
67: ; preds = %60, %55, %47, %44
%68 = load i32, ptr %6, align 4
%69 = icmp eq i32 %68, 0
br i1 %69, label %70, label %75
70: ; preds = %67
%71 = load i32, ptr %10, align 4
%72 = icmp eq i32 %71, 48
%73 = zext i1 %72 to i64
%74 = select i1 %72, i32 8, i32 10
store i32 %74, ptr %6, align 4
br label %75
75: ; preds = %70, %67
%76 = load i32, ptr %6, align 4
switch i32 %76, label %101 [
i32 4, label %77
i32 8, label %83
i32 10, label %89
i32 16, label %95
]
77: ; preds = %75
%78 = load i32, ptr @ULLONG_MAX, align 4
%79 = sdiv i32 %78, 4
%80 = sext i32 %79 to i64
store i64 %80, ptr %9, align 8
%81 = load i32, ptr @ULLONG_MAX, align 4
%82 = srem i32 %81, 4
store i32 %82, ptr %13, align 4
br label %109
83: ; preds = %75
%84 = load i32, ptr @ULLONG_MAX, align 4
%85 = sdiv i32 %84, 8
%86 = sext i32 %85 to i64
store i64 %86, ptr %9, align 8
%87 = load i32, ptr @ULLONG_MAX, align 4
%88 = srem i32 %87, 8
store i32 %88, ptr %13, align 4
br label %109
89: ; preds = %75
%90 = load i32, ptr @ULLONG_MAX, align 4
%91 = sdiv i32 %90, 10
%92 = sext i32 %91 to i64
store i64 %92, ptr %9, align 8
%93 = load i32, ptr @ULLONG_MAX, align 4
%94 = srem i32 %93, 10
store i32 %94, ptr %13, align 4
br label %109
95: ; preds = %75
%96 = load i32, ptr @ULLONG_MAX, align 4
%97 = sdiv i32 %96, 16
%98 = sext i32 %97 to i64
store i64 %98, ptr %9, align 8
%99 = load i32, ptr @ULLONG_MAX, align 4
%100 = srem i32 %99, 16
store i32 %100, ptr %13, align 4
br label %109
101: ; preds = %75
%102 = load i32, ptr @ULLONG_MAX, align 4
%103 = load i32, ptr %6, align 4
%104 = sdiv i32 %102, %103
%105 = sext i32 %104 to i64
store i64 %105, ptr %9, align 8
%106 = load i32, ptr @ULLONG_MAX, align 4
%107 = load i32, ptr %6, align 4
%108 = srem i32 %106, %107
store i32 %108, ptr %13, align 4
br label %109
109: ; preds = %101, %95, %89, %83, %77
store i64 0, ptr %8, align 8
store i32 0, ptr %12, align 4
br label %110
110: ; preds = %166, %109
%111 = load i32, ptr %10, align 4
%112 = call i64 @isdigit(i32 noundef %111)
%113 = icmp ne i64 %112, 0
br i1 %113, label %114, label %117
114: ; preds = %110
%115 = load i32, ptr %10, align 4
%116 = sub nsw i32 %115, 48
store i32 %116, ptr %10, align 4
br label %131
117: ; preds = %110
%118 = load i32, ptr %10, align 4
%119 = call i64 @isalpha(i32 noundef %118)
%120 = icmp ne i64 %119, 0
br i1 %120, label %121, label %129
121: ; preds = %117
%122 = load i32, ptr %10, align 4
%123 = call i64 @isupper(i32 noundef %122)
%124 = icmp ne i64 %123, 0
%125 = zext i1 %124 to i64
%126 = select i1 %124, i32 55, i32 87
%127 = load i32, ptr %10, align 4
%128 = sub nsw i32 %127, %126
store i32 %128, ptr %10, align 4
br label %130
129: ; preds = %117
br label %171
130: ; preds = %121
br label %131
131: ; preds = %130, %114
%132 = load i32, ptr %10, align 4
%133 = load i32, ptr %6, align 4
%134 = icmp sge i32 %132, %133
br i1 %134, label %135, label %136
135: ; preds = %131
br label %171
136: ; preds = %131
%137 = load i32, ptr %12, align 4
%138 = icmp slt i32 %137, 0
br i1 %138, label %139, label %140
139: ; preds = %136
br label %166
140: ; preds = %136
%141 = load i64, ptr %8, align 8
%142 = load i64, ptr %9, align 8
%143 = icmp ugt i64 %141, %142
br i1 %143, label %152, label %144
144: ; preds = %140
%145 = load i64, ptr %8, align 8
%146 = load i64, ptr %9, align 8
%147 = icmp eq i64 %145, %146
br i1 %147, label %148, label %156
148: ; preds = %144
%149 = load i32, ptr %10, align 4
%150 = load i32, ptr %13, align 4
%151 = icmp sgt i32 %149, %150
br i1 %151, label %152, label %156
152: ; preds = %148, %140
store i32 -1, ptr %12, align 4
%153 = load i32, ptr @ULLONG_MAX, align 4
%154 = sext i32 %153 to i64
store i64 %154, ptr %8, align 8
%155 = load i32, ptr @ERANGE, align 4
store i32 %155, ptr @errno, align 4
br label %165
156: ; preds = %148, %144
store i32 1, ptr %12, align 4
%157 = load i32, ptr %6, align 4
%158 = sext i32 %157 to i64
%159 = load i64, ptr %8, align 8
%160 = mul i64 %159, %158
store i64 %160, ptr %8, align 8
%161 = load i32, ptr %10, align 4
%162 = sext i32 %161 to i64
%163 = load i64, ptr %8, align 8
%164 = add i64 %163, %162
store i64 %164, ptr %8, align 8
br label %165
165: ; preds = %156, %152
br label %166
166: ; preds = %165, %139
%167 = load ptr, ptr %7, align 8
%168 = getelementptr inbounds i8, ptr %167, i32 1
store ptr %168, ptr %7, align 8
%169 = load i8, ptr %167, align 1
%170 = zext i8 %169 to i32
store i32 %170, ptr %10, align 4
br label %110
171: ; preds = %135, %129
%172 = load i32, ptr %11, align 4
%173 = icmp ne i32 %172, 0
br i1 %173, label %174, label %180
174: ; preds = %171
%175 = load i32, ptr %12, align 4
%176 = icmp sgt i32 %175, 0
br i1 %176, label %177, label %180
177: ; preds = %174
%178 = load i64, ptr %8, align 8
%179 = sub i64 0, %178
store i64 %179, ptr %8, align 8
br label %180
180: ; preds = %177, %174, %171
%181 = load ptr, ptr %5, align 8
%182 = icmp ne ptr %181, null
br i1 %182, label %183, label %194
183: ; preds = %180
%184 = load i32, ptr %12, align 4
%185 = icmp ne i32 %184, 0
br i1 %185, label %186, label %189
186: ; preds = %183
%187 = load ptr, ptr %7, align 8
%188 = getelementptr inbounds i8, ptr %187, i64 -1
br label %191
189: ; preds = %183
%190 = load ptr, ptr %4, align 8
br label %191
191: ; preds = %189, %186
%192 = phi ptr [ %188, %186 ], [ %190, %189 ]
%193 = load ptr, ptr %5, align 8
store ptr %192, ptr %193, align 8
br label %194
194: ; preds = %191, %180
%195 = load i64, ptr %8, align 8
ret i64 %195
}
declare i64 @isspace(i32 noundef) #1
declare i64 @isdigit(i32 noundef) #1
declare i64 @isalpha(i32 noundef) #1
declare i64 @isupper(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/tmp7zxyvvjh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ULLONG_MAX = dso_local global i32 0, align 4
@ERANGE = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @strtoull(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %7, align 8
br label %15
15: ; preds = %20, %3
%16 = load ptr, ptr %7, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %7, align 8
%18 = load i8, ptr %16, align 1
%19 = zext i8 %18 to i32
store i32 %19, ptr %10, align 4
br label %20
20: ; preds = %15
%21 = load i32, ptr %10, align 4
%22 = call i64 @isspace(i32 noundef %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %15, label %24, !llvm.loop !6
24: ; preds = %20
%25 = load i32, ptr %10, align 4
%26 = icmp eq i32 %25, 45
br i1 %26, label %27, label %32
27: ; preds = %24
store i32 1, ptr %11, align 4
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %7, align 8
%30 = load i8, ptr %28, align 1
%31 = sext i8 %30 to i32
store i32 %31, ptr %10, align 4
br label %41
32: ; preds = %24
store i32 0, ptr %11, align 4
%33 = load i32, ptr %10, align 4
%34 = icmp eq i32 %33, 43
br i1 %34, label %35, label %40
35: ; preds = %32
%36 = load ptr, ptr %7, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %7, align 8
%38 = load i8, ptr %36, align 1
%39 = sext i8 %38 to i32
store i32 %39, ptr %10, align 4
br label %40
40: ; preds = %35, %32
br label %41
41: ; preds = %40, %27
%42 = load i32, ptr %6, align 4
%43 = icmp eq i32 %42, 0
br i1 %43, label %47, label %44
44: ; preds = %41
%45 = load i32, ptr %6, align 4
%46 = icmp eq i32 %45, 16
br i1 %46, label %47, label %67
47: ; preds = %44, %41
%48 = load i32, ptr %10, align 4
%49 = icmp eq i32 %48, 48
br i1 %49, label %50, label %67
50: ; preds = %47
%51 = load ptr, ptr %7, align 8
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 120
br i1 %54, label %60, label %55
55: ; preds = %50
%56 = load ptr, ptr %7, align 8
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp eq i32 %58, 88
br i1 %59, label %60, label %67
60: ; preds = %55, %50
%61 = load ptr, ptr %7, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 1
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
store i32 %64, ptr %10, align 4
%65 = load ptr, ptr %7, align 8
%66 = getelementptr inbounds i8, ptr %65, i64 2
store ptr %66, ptr %7, align 8
store i32 16, ptr %6, align 4
br label %67
67: ; preds = %60, %55, %47, %44
%68 = load i32, ptr %6, align 4
%69 = icmp eq i32 %68, 0
br i1 %69, label %70, label %75
70: ; preds = %67
%71 = load i32, ptr %10, align 4
%72 = icmp eq i32 %71, 48
%73 = zext i1 %72 to i64
%74 = select i1 %72, i32 8, i32 10
store i32 %74, ptr %6, align 4
br label %75
75: ; preds = %70, %67
%76 = load i32, ptr %6, align 4
switch i32 %76, label %101 [
i32 4, label %77
i32 8, label %83
i32 10, label %89
i32 16, label %95
]
77: ; preds = %75
%78 = load i32, ptr @ULLONG_MAX, align 4
%79 = sdiv i32 %78, 4
%80 = sext i32 %79 to i64
store i64 %80, ptr %9, align 8
%81 = load i32, ptr @ULLONG_MAX, align 4
%82 = srem i32 %81, 4
store i32 %82, ptr %13, align 4
br label %109
83: ; preds = %75
%84 = load i32, ptr @ULLONG_MAX, align 4
%85 = sdiv i32 %84, 8
%86 = sext i32 %85 to i64
store i64 %86, ptr %9, align 8
%87 = load i32, ptr @ULLONG_MAX, align 4
%88 = srem i32 %87, 8
store i32 %88, ptr %13, align 4
br label %109
89: ; preds = %75
%90 = load i32, ptr @ULLONG_MAX, align 4
%91 = sdiv i32 %90, 10
%92 = sext i32 %91 to i64
store i64 %92, ptr %9, align 8
%93 = load i32, ptr @ULLONG_MAX, align 4
%94 = srem i32 %93, 10
store i32 %94, ptr %13, align 4
br label %109
95: ; preds = %75
%96 = load i32, ptr @ULLONG_MAX, align 4
%97 = sdiv i32 %96, 16
%98 = sext i32 %97 to i64
store i64 %98, ptr %9, align 8
%99 = load i32, ptr @ULLONG_MAX, align 4
%100 = srem i32 %99, 16
store i32 %100, ptr %13, align 4
br label %109
101: ; preds = %75
%102 = load i32, ptr @ULLONG_MAX, align 4
%103 = load i32, ptr %6, align 4
%104 = sdiv i32 %102, %103
%105 = sext i32 %104 to i64
store i64 %105, ptr %9, align 8
%106 = load i32, ptr @ULLONG_MAX, align 4
%107 = load i32, ptr %6, align 4
%108 = srem i32 %106, %107
store i32 %108, ptr %13, align 4
br label %109
109: ; preds = %101, %95, %89, %83, %77
store i64 0, ptr %8, align 8
store i32 0, ptr %12, align 4
br label %110
110: ; preds = %166, %109
%111 = load i32, ptr %10, align 4
%112 = call i64 @isdigit(i32 noundef %111)
%113 = icmp ne i64 %112, 0
br i1 %113, label %114, label %117
114: ; preds = %110
%115 = load i32, ptr %10, align 4
%116 = sub nsw i32 %115, 48
store i32 %116, ptr %10, align 4
br label %131
117: ; preds = %110
%118 = load i32, ptr %10, align 4
%119 = call i64 @isalpha(i32 noundef %118)
%120 = icmp ne i64 %119, 0
br i1 %120, label %121, label %129
121: ; preds = %117
%122 = load i32, ptr %10, align 4
%123 = call i64 @isupper(i32 noundef %122)
%124 = icmp ne i64 %123, 0
%125 = zext i1 %124 to i64
%126 = select i1 %124, i32 55, i32 87
%127 = load i32, ptr %10, align 4
%128 = sub nsw i32 %127, %126
store i32 %128, ptr %10, align 4
br label %130
129: ; preds = %117
br label %171
130: ; preds = %121
br label %131
131: ; preds = %130, %114
%132 = load i32, ptr %10, align 4
%133 = load i32, ptr %6, align 4
%134 = icmp sge i32 %132, %133
br i1 %134, label %135, label %136
135: ; preds = %131
br label %171
136: ; preds = %131
%137 = load i32, ptr %12, align 4
%138 = icmp slt i32 %137, 0
br i1 %138, label %139, label %140
139: ; preds = %136
br label %166
140: ; preds = %136
%141 = load i64, ptr %8, align 8
%142 = load i64, ptr %9, align 8
%143 = icmp ugt i64 %141, %142
br i1 %143, label %152, label %144
144: ; preds = %140
%145 = load i64, ptr %8, align 8
%146 = load i64, ptr %9, align 8
%147 = icmp eq i64 %145, %146
br i1 %147, label %148, label %156
148: ; preds = %144
%149 = load i32, ptr %10, align 4
%150 = load i32, ptr %13, align 4
%151 = icmp sgt i32 %149, %150
br i1 %151, label %152, label %156
152: ; preds = %148, %140
store i32 -1, ptr %12, align 4
%153 = load i32, ptr @ULLONG_MAX, align 4
%154 = sext i32 %153 to i64
store i64 %154, ptr %8, align 8
%155 = load i32, ptr @ERANGE, align 4
store i32 %155, ptr @errno, align 4
br label %165
156: ; preds = %148, %144
store i32 1, ptr %12, align 4
%157 = load i32, ptr %6, align 4
%158 = sext i32 %157 to i64
%159 = load i64, ptr %8, align 8
%160 = mul i64 %159, %158
store i64 %160, ptr %8, align 8
%161 = load i32, ptr %10, align 4
%162 = sext i32 %161 to i64
%163 = load i64, ptr %8, align 8
%164 = add i64 %163, %162
store i64 %164, ptr %8, align 8
br label %165
165: ; preds = %156, %152
br label %166
166: ; preds = %165, %139
%167 = load ptr, ptr %7, align 8
%168 = getelementptr inbounds i8, ptr %167, i32 1
store ptr %168, ptr %7, align 8
%169 = load i8, ptr %167, align 1
%170 = zext i8 %169 to i32
store i32 %170, ptr %10, align 4
br label %110
171: ; preds = %135, %129
%172 = load i32, ptr %11, align 4
%173 = icmp ne i32 %172, 0
br i1 %173, label %174, label %180
174: ; preds = %171
%175 = load i32, ptr %12, align 4
%176 = icmp sgt i32 %175, 0
br i1 %176, label %177, label %180
177: ; preds = %174
%178 = load i64, ptr %8, align 8
%179 = sub i64 0, %178
store i64 %179, ptr %8, align 8
br label %180
180: ; preds = %177, %174, %171
%181 = load ptr, ptr %5, align 8
%182 = icmp ne ptr %181, null
br i1 %182, label %183, label %194
183: ; preds = %180
%184 = load i32, ptr %12, align 4
%185 = icmp ne i32 %184, 0
br i1 %185, label %186, label %189
186: ; preds = %183
%187 = load ptr, ptr %7, align 8
%188 = getelementptr inbounds i8, ptr %187, i64 -1
br label %191
189: ; preds = %183
%190 = load ptr, ptr %4, align 8
br label %191
191: ; preds = %189, %186
%192 = phi ptr [ %188, %186 ], [ %190, %189 ]
%193 = load ptr, ptr %5, align 8
store ptr %192, ptr %193, align 8
br label %194
194: ; preds = %191, %180
%195 = load i64, ptr %8, align 8
ret i64 %195
}
declare i64 @isspace(i32 noundef) #1
declare i64 @isdigit(i32 noundef) #1
declare i64 @isalpha(i32 noundef) #1
declare i64 @isupper(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/tmpdcihc4p0.c'
source_filename = "/tmp/tmpdcihc4p0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Queue is full\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @qFull() #0 {
%1 = call i32 @printf(ptr noundef @.str)
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/tmpdcihc4p0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Queue is full\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @qFull() #0 {
%1 = call i32 @printf(ptr noundef @.str)
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/tmp_jtvqdx5.c'
source_filename = "/tmp/tmp_jtvqdx5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bar() #0 {
%1 = call i32 @foo(i32 noundef 0, i32 noundef 0, i32 noundef 0)
ret i32 %1
}
declare i32 @foo(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/tmp_jtvqdx5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bar() #0 {
%1 = call i32 @foo(i32 noundef 0, i32 noundef 0, i32 noundef 0)
ret i32 %1
}
declare i32 @foo(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/tmph7rvtc7z.c'
source_filename = "/tmp/tmph7rvtc7z.c"
target datalayout = "e-m:e-p270: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 { i32, i64, i32, i32, i64, i32 }
%struct.sockaddr_storage = type { i32 }
@NI_MAXHOST = dso_local global i32 0, align 4
@NI_MAXSERV = dso_local global i32 0, align 4
@AI_PASSIVE = dso_local global i32 0, align 4
@AF_UNSPEC = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"getaddrinfo: %s\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [12 x i8] c"socket: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"bind: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"listen: %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"listening\0A\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"accept: %s\0A\00", align 1
@NI_NUMERICHOST = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [17 x i8] c"getnameinfo: %s\0A\00", align 1
@.str.7 = private unnamed_addr constant [20 x i8] c"host: %s, port: %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [14 x i8] c"recieved: %s\0A\00", align 1
@.str.9 = private unnamed_addr constant [16 x i8] c"Client aborted\0A\00", align 1
@.str.10 = private unnamed_addr constant [25 x i8] c"host: %s, port: %s gone\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca %struct.addrinfo, align 8
%6 = alloca ptr, align 8
%7 = alloca %struct.sockaddr_storage, align 4
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca [81 x i8], align 16
%12 = alloca i32, align 4
%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
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%20 = load i32, ptr @NI_MAXHOST, align 4
%21 = zext i32 %20 to i64
%22 = call ptr @llvm.stacksave()
store ptr %22, ptr %8, align 8
%23 = alloca i8, i64 %21, align 16
store i64 %21, ptr %9, align 8
%24 = load i32, ptr @NI_MAXSERV, align 4
%25 = zext i32 %24 to i64
%26 = alloca i8, i64 %25, align 16
store i64 %25, ptr %10, align 8
%27 = load i32, ptr @AI_PASSIVE, align 4
%28 = getelementptr inbounds %struct.addrinfo, ptr %5, i32 0, i32 5
store i32 %27, ptr %28, align 8
%29 = load i32, ptr @AF_UNSPEC, align 4
%30 = getelementptr inbounds %struct.addrinfo, ptr %5, i32 0, i32 3
store i32 %29, ptr %30, align 4
%31 = load i32, ptr @SOCK_STREAM, align 4
%32 = getelementptr inbounds %struct.addrinfo, ptr %5, i32 0, i32 2
store i32 %31, ptr %32, align 8
%33 = getelementptr inbounds %struct.addrinfo, ptr %5, i32 0, i32 4
store i64 0, ptr %33, align 8
%34 = load ptr, ptr %4, align 8
%35 = getelementptr inbounds ptr, ptr %34, i64 1
%36 = load ptr, ptr %35, align 8
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds ptr, ptr %37, i64 2
%39 = load ptr, ptr %38, align 8
%40 = call i32 @getaddrinfo(ptr noundef %36, ptr noundef %39, ptr noundef %5, ptr noundef %6)
store i32 %40, ptr %13, align 4
%41 = load i32, ptr %13, align 4
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %52
43: ; preds = %2
%44 = load i32, ptr @errno, align 4
store i32 %44, ptr %12, align 4
%45 = load i32, ptr %12, align 4
%46 = call ptr @strerror(i32 noundef %45)
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %46)
%48 = load ptr, ptr %6, align 8
%49 = call i32 @freeaddrinfo(ptr noundef %48)
%50 = load i32, ptr @EXIT_FAILURE, align 4
%51 = call i32 @exit(i32 noundef %50) #4
unreachable
52: ; preds = %2
%53 = load ptr, ptr %6, align 8
%54 = getelementptr inbounds %struct.addrinfo, ptr %53, i32 0, i32 3
%55 = load i32, ptr %54, align 4
%56 = load ptr, ptr %6, align 8
%57 = getelementptr inbounds %struct.addrinfo, ptr %56, i32 0, i32 2
%58 = load i32, ptr %57, align 8
%59 = call i32 @socket(i32 noundef %55, i32 noundef %58, i32 noundef 0)
store i32 %59, ptr %14, align 4
%60 = load i32, ptr %14, align 4
%61 = icmp eq i32 %60, -1
br i1 %61, label %62, label %71
62: ; preds = %52
%63 = load i32, ptr @errno, align 4
store i32 %63, ptr %12, align 4
%64 = load i32, ptr %12, align 4
%65 = call ptr @strerror(i32 noundef %64)
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %65)
%67 = load ptr, ptr %6, align 8
%68 = call i32 @freeaddrinfo(ptr noundef %67)
%69 = load i32, ptr @EXIT_FAILURE, align 4
%70 = call i32 @exit(i32 noundef %69) #4
unreachable
71: ; preds = %52
%72 = load i32, ptr %14, align 4
%73 = load ptr, ptr %6, align 8
%74 = getelementptr inbounds %struct.addrinfo, ptr %73, i32 0, i32 1
%75 = load i64, ptr %74, align 8
%76 = inttoptr i64 %75 to ptr
%77 = load ptr, ptr %6, align 8
%78 = getelementptr inbounds %struct.addrinfo, ptr %77, i32 0, i32 0
%79 = load i32, ptr %78, align 8
%80 = call i32 @bind(i32 noundef %72, ptr noundef %76, i32 noundef %79)
store i32 %80, ptr %13, align 4
%81 = load i32, ptr %13, align 4
%82 = icmp ne i32 %81, 0
br i1 %82, label %83, label %92
83: ; preds = %71
%84 = load i32, ptr @errno, align 4
store i32 %84, ptr %12, align 4
%85 = load i32, ptr %12, align 4
%86 = call ptr @strerror(i32 noundef %85)
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %86)
%88 = load ptr, ptr %6, align 8
%89 = call i32 @freeaddrinfo(ptr noundef %88)
%90 = load i32, ptr @EXIT_FAILURE, align 4
%91 = call i32 @exit(i32 noundef %90) #4
unreachable
92: ; preds = %71
%93 = load ptr, ptr %6, align 8
%94 = call i32 @freeaddrinfo(ptr noundef %93)
%95 = load i32, ptr %14, align 4
%96 = call i32 @listen(i32 noundef %95, i32 noundef 5)
store i32 %96, ptr %13, align 4
%97 = load i32, ptr %13, align 4
%98 = icmp ne i32 %97, 0
br i1 %98, label %99, label %106
99: ; preds = %92
%100 = load i32, ptr @errno, align 4
store i32 %100, ptr %12, align 4
%101 = load i32, ptr %12, align 4
%102 = call ptr @strerror(i32 noundef %101)
%103 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %102)
%104 = load i32, ptr @EXIT_FAILURE, align 4
%105 = call i32 @exit(i32 noundef %104) #4
unreachable
106: ; preds = %92
%107 = load i32, ptr %14, align 4
%108 = call i32 @listen(i32 noundef %107, i32 noundef 5)
%109 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %15, align 4
br label %110
110: ; preds = %170, %106
%111 = load i32, ptr %15, align 4
%112 = icmp ne i32 %111, 0
%113 = xor i1 %112, true
br i1 %113, label %114, label %174
114: ; preds = %110
store i32 4, ptr %16, align 4
%115 = load i32, ptr %14, align 4
%116 = call i32 @accept(i32 noundef %115, ptr noundef %7, ptr noundef %16)
store i32 %116, ptr %17, align 4
%117 = load i32, ptr %17, align 4
%118 = icmp eq i32 %117, -1
br i1 %118, label %119, label %126
119: ; preds = %114
%120 = load i32, ptr @errno, align 4
store i32 %120, ptr %12, align 4
%121 = load i32, ptr %12, align 4
%122 = call ptr @strerror(i32 noundef %121)
%123 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %122)
%124 = load i32, ptr @EXIT_FAILURE, align 4
%125 = call i32 @exit(i32 noundef %124) #4
unreachable
126: ; preds = %114
%127 = load i32, ptr %16, align 4
%128 = load i32, ptr @NI_MAXHOST, align 4
%129 = load i32, ptr @NI_MAXSERV, align 4
%130 = load i32, ptr @NI_NUMERICHOST, align 4
%131 = call i32 @getnameinfo(ptr noundef %7, i32 noundef %127, ptr noundef %23, i32 noundef %128, ptr noundef %26, i32 noundef %129, i32 noundef %130)
store i32 %131, ptr %13, align 4
%132 = load i32, ptr %13, align 4
%133 = icmp ne i32 %132, 0
br i1 %133, label %134, label %141
134: ; preds = %126
%135 = load i32, ptr @errno, align 4
store i32 %135, ptr %12, align 4
%136 = load i32, ptr %12, align 4
%137 = call ptr @strerror(i32 noundef %136)
%138 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %137)
%139 = load i32, ptr @EXIT_FAILURE, align 4
%140 = call i32 @exit(i32 noundef %139) #4
unreachable
141: ; preds = %126
%142 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %23, ptr noundef %26)
store i32 0, ptr %18, align 4
br label %143
143: ; preds = %169, %141
%144 = load i32, ptr %18, align 4
%145 = icmp ne i32 %144, 0
%146 = xor i1 %145, true
br i1 %146, label %147, label %170
147: ; preds = %143
%148 = load i32, ptr %17, align 4
%149 = getelementptr inbounds [81 x i8], ptr %11, i64 0, i64 0
%150 = call i32 @recv(i32 noundef %148, ptr noundef %149, i32 noundef 80, i32 noundef 0)
store i32 %150, ptr %19, align 4
%151 = load i32, ptr %19, align 4
%152 = icmp eq i32 %151, 0
br i1 %152, label %153, label %154
153: ; preds = %147
store i32 1, ptr %18, align 4
br label %154
154: ; preds = %153, %147
%155 = load i32, ptr %18, align 4
%156 = icmp ne i32 %155, 0
br i1 %156, label %167, label %157
157: ; preds = %154
%158 = load i32, ptr %19, align 4
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds [81 x i8], ptr %11, i64 0, i64 %159
store i8 0, ptr %160, align 1
%161 = getelementptr inbounds [81 x i8], ptr %11, i64 0, i64 0
%162 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %161)
%163 = load i32, ptr %17, align 4
%164 = getelementptr inbounds [81 x i8], ptr %11, i64 0, i64 0
%165 = load i32, ptr %19, align 4
%166 = call i32 @send(i32 noundef %163, ptr noundef %164, i32 noundef %165, i32 noundef 80)
br label %169
167: ; preds = %154
%168 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %169
169: ; preds = %167, %157
br label %143, !llvm.loop !6
170: ; preds = %143
%171 = load i32, ptr %17, align 4
%172 = call i32 @close(i32 noundef %171)
%173 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %23, ptr noundef %26)
store i32 1, ptr %15, align 4
br label %110, !llvm.loop !8
174: ; preds = %110
%175 = load i32, ptr %14, align 4
%176 = call i32 @close(i32 noundef %175)
%177 = load ptr, ptr %8, align 8
call void @llvm.stackrestore(ptr %177)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare ptr @strerror(i32 noundef) #2
declare i32 @freeaddrinfo(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @listen(i32 noundef, i32 noundef) #2
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @getnameinfo(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @close(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph7rvtc7z.c"
target datalayout = "e-m:e-p270: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 { i32, i64, i32, i32, i64, i32 }
%struct.sockaddr_storage = type { i32 }
@NI_MAXHOST = dso_local global i32 0, align 4
@NI_MAXSERV = dso_local global i32 0, align 4
@AI_PASSIVE = dso_local global i32 0, align 4
@AF_UNSPEC = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"getaddrinfo: %s\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [12 x i8] c"socket: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"bind: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"listen: %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"listening\0A\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"accept: %s\0A\00", align 1
@NI_NUMERICHOST = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [17 x i8] c"getnameinfo: %s\0A\00", align 1
@.str.7 = private unnamed_addr constant [20 x i8] c"host: %s, port: %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [14 x i8] c"recieved: %s\0A\00", align 1
@.str.9 = private unnamed_addr constant [16 x i8] c"Client aborted\0A\00", align 1
@.str.10 = private unnamed_addr constant [25 x i8] c"host: %s, port: %s gone\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca %struct.addrinfo, align 8
%6 = alloca ptr, align 8
%7 = alloca %struct.sockaddr_storage, align 4
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca [81 x i8], align 16
%12 = alloca i32, align 4
%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
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%20 = load i32, ptr @NI_MAXHOST, align 4
%21 = zext i32 %20 to i64
%22 = call ptr @llvm.stacksave()
store ptr %22, ptr %8, align 8
%23 = alloca i8, i64 %21, align 16
store i64 %21, ptr %9, align 8
%24 = load i32, ptr @NI_MAXSERV, align 4
%25 = zext i32 %24 to i64
%26 = alloca i8, i64 %25, align 16
store i64 %25, ptr %10, align 8
%27 = load i32, ptr @AI_PASSIVE, align 4
%28 = getelementptr inbounds %struct.addrinfo, ptr %5, i32 0, i32 5
store i32 %27, ptr %28, align 8
%29 = load i32, ptr @AF_UNSPEC, align 4
%30 = getelementptr inbounds %struct.addrinfo, ptr %5, i32 0, i32 3
store i32 %29, ptr %30, align 4
%31 = load i32, ptr @SOCK_STREAM, align 4
%32 = getelementptr inbounds %struct.addrinfo, ptr %5, i32 0, i32 2
store i32 %31, ptr %32, align 8
%33 = getelementptr inbounds %struct.addrinfo, ptr %5, i32 0, i32 4
store i64 0, ptr %33, align 8
%34 = load ptr, ptr %4, align 8
%35 = getelementptr inbounds ptr, ptr %34, i64 1
%36 = load ptr, ptr %35, align 8
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds ptr, ptr %37, i64 2
%39 = load ptr, ptr %38, align 8
%40 = call i32 @getaddrinfo(ptr noundef %36, ptr noundef %39, ptr noundef %5, ptr noundef %6)
store i32 %40, ptr %13, align 4
%41 = load i32, ptr %13, align 4
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %52
43: ; preds = %2
%44 = load i32, ptr @errno, align 4
store i32 %44, ptr %12, align 4
%45 = load i32, ptr %12, align 4
%46 = call ptr @strerror(i32 noundef %45)
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %46)
%48 = load ptr, ptr %6, align 8
%49 = call i32 @freeaddrinfo(ptr noundef %48)
%50 = load i32, ptr @EXIT_FAILURE, align 4
%51 = call i32 @exit(i32 noundef %50) #4
unreachable
52: ; preds = %2
%53 = load ptr, ptr %6, align 8
%54 = getelementptr inbounds %struct.addrinfo, ptr %53, i32 0, i32 3
%55 = load i32, ptr %54, align 4
%56 = load ptr, ptr %6, align 8
%57 = getelementptr inbounds %struct.addrinfo, ptr %56, i32 0, i32 2
%58 = load i32, ptr %57, align 8
%59 = call i32 @socket(i32 noundef %55, i32 noundef %58, i32 noundef 0)
store i32 %59, ptr %14, align 4
%60 = load i32, ptr %14, align 4
%61 = icmp eq i32 %60, -1
br i1 %61, label %62, label %71
62: ; preds = %52
%63 = load i32, ptr @errno, align 4
store i32 %63, ptr %12, align 4
%64 = load i32, ptr %12, align 4
%65 = call ptr @strerror(i32 noundef %64)
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %65)
%67 = load ptr, ptr %6, align 8
%68 = call i32 @freeaddrinfo(ptr noundef %67)
%69 = load i32, ptr @EXIT_FAILURE, align 4
%70 = call i32 @exit(i32 noundef %69) #4
unreachable
71: ; preds = %52
%72 = load i32, ptr %14, align 4
%73 = load ptr, ptr %6, align 8
%74 = getelementptr inbounds %struct.addrinfo, ptr %73, i32 0, i32 1
%75 = load i64, ptr %74, align 8
%76 = inttoptr i64 %75 to ptr
%77 = load ptr, ptr %6, align 8
%78 = getelementptr inbounds %struct.addrinfo, ptr %77, i32 0, i32 0
%79 = load i32, ptr %78, align 8
%80 = call i32 @bind(i32 noundef %72, ptr noundef %76, i32 noundef %79)
store i32 %80, ptr %13, align 4
%81 = load i32, ptr %13, align 4
%82 = icmp ne i32 %81, 0
br i1 %82, label %83, label %92
83: ; preds = %71
%84 = load i32, ptr @errno, align 4
store i32 %84, ptr %12, align 4
%85 = load i32, ptr %12, align 4
%86 = call ptr @strerror(i32 noundef %85)
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %86)
%88 = load ptr, ptr %6, align 8
%89 = call i32 @freeaddrinfo(ptr noundef %88)
%90 = load i32, ptr @EXIT_FAILURE, align 4
%91 = call i32 @exit(i32 noundef %90) #4
unreachable
92: ; preds = %71
%93 = load ptr, ptr %6, align 8
%94 = call i32 @freeaddrinfo(ptr noundef %93)
%95 = load i32, ptr %14, align 4
%96 = call i32 @listen(i32 noundef %95, i32 noundef 5)
store i32 %96, ptr %13, align 4
%97 = load i32, ptr %13, align 4
%98 = icmp ne i32 %97, 0
br i1 %98, label %99, label %106
99: ; preds = %92
%100 = load i32, ptr @errno, align 4
store i32 %100, ptr %12, align 4
%101 = load i32, ptr %12, align 4
%102 = call ptr @strerror(i32 noundef %101)
%103 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %102)
%104 = load i32, ptr @EXIT_FAILURE, align 4
%105 = call i32 @exit(i32 noundef %104) #4
unreachable
106: ; preds = %92
%107 = load i32, ptr %14, align 4
%108 = call i32 @listen(i32 noundef %107, i32 noundef 5)
%109 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %15, align 4
%110 = load i32, ptr %15, align 4
%111 = icmp ne i32 %110, 0
%112 = xor i1 %111, true
br i1 %112, label %.lr.ph2, label %178
.lr.ph2: ; preds = %106
br label %113
113: ; preds = %.lr.ph2, %171
store i32 4, ptr %16, align 4
%114 = load i32, ptr %14, align 4
%115 = call i32 @accept(i32 noundef %114, ptr noundef %7, ptr noundef %16)
store i32 %115, ptr %17, align 4
%116 = load i32, ptr %17, align 4
%117 = icmp eq i32 %116, -1
br i1 %117, label %118, label %125
118: ; preds = %113
%119 = load i32, ptr @errno, align 4
store i32 %119, ptr %12, align 4
%120 = load i32, ptr %12, align 4
%121 = call ptr @strerror(i32 noundef %120)
%122 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %121)
%123 = load i32, ptr @EXIT_FAILURE, align 4
%124 = call i32 @exit(i32 noundef %123) #4
unreachable
125: ; preds = %113
%126 = load i32, ptr %16, align 4
%127 = load i32, ptr @NI_MAXHOST, align 4
%128 = load i32, ptr @NI_MAXSERV, align 4
%129 = load i32, ptr @NI_NUMERICHOST, align 4
%130 = call i32 @getnameinfo(ptr noundef %7, i32 noundef %126, ptr noundef %23, i32 noundef %127, ptr noundef %26, i32 noundef %128, i32 noundef %129)
store i32 %130, ptr %13, align 4
%131 = load i32, ptr %13, align 4
%132 = icmp ne i32 %131, 0
br i1 %132, label %133, label %140
133: ; preds = %125
%134 = load i32, ptr @errno, align 4
store i32 %134, ptr %12, align 4
%135 = load i32, ptr %12, align 4
%136 = call ptr @strerror(i32 noundef %135)
%137 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %136)
%138 = load i32, ptr @EXIT_FAILURE, align 4
%139 = call i32 @exit(i32 noundef %138) #4
unreachable
140: ; preds = %125
%141 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %23, ptr noundef %26)
store i32 0, ptr %18, align 4
%142 = load i32, ptr %18, align 4
%143 = icmp ne i32 %142, 0
%144 = xor i1 %143, true
br i1 %144, label %.lr.ph, label %171
.lr.ph: ; preds = %140
br label %145
145: ; preds = %.lr.ph, %167
%146 = load i32, ptr %17, align 4
%147 = getelementptr inbounds [81 x i8], ptr %11, i64 0, i64 0
%148 = call i32 @recv(i32 noundef %146, ptr noundef %147, i32 noundef 80, i32 noundef 0)
store i32 %148, ptr %19, align 4
%149 = load i32, ptr %19, align 4
%150 = icmp eq i32 %149, 0
br i1 %150, label %151, label %152
151: ; preds = %145
store i32 1, ptr %18, align 4
br label %152
152: ; preds = %151, %145
%153 = load i32, ptr %18, align 4
%154 = icmp ne i32 %153, 0
br i1 %154, label %165, label %155
155: ; preds = %152
%156 = load i32, ptr %19, align 4
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds [81 x i8], ptr %11, i64 0, i64 %157
store i8 0, ptr %158, align 1
%159 = getelementptr inbounds [81 x i8], ptr %11, i64 0, i64 0
%160 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %159)
%161 = load i32, ptr %17, align 4
%162 = getelementptr inbounds [81 x i8], ptr %11, i64 0, i64 0
%163 = load i32, ptr %19, align 4
%164 = call i32 @send(i32 noundef %161, ptr noundef %162, i32 noundef %163, i32 noundef 80)
br label %167
165: ; preds = %152
%166 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %167
167: ; preds = %165, %155
%168 = load i32, ptr %18, align 4
%169 = icmp ne i32 %168, 0
%170 = xor i1 %169, true
br i1 %170, label %145, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %167
br label %171
171: ; preds = %._crit_edge, %140
%172 = load i32, ptr %17, align 4
%173 = call i32 @close(i32 noundef %172)
%174 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %23, ptr noundef %26)
store i32 1, ptr %15, align 4
%175 = load i32, ptr %15, align 4
%176 = icmp ne i32 %175, 0
%177 = xor i1 %176, true
br i1 %177, label %113, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %171
br label %178
178: ; preds = %._crit_edge3, %106
%179 = load i32, ptr %14, align 4
%180 = call i32 @close(i32 noundef %179)
%181 = load ptr, ptr %8, align 8
call void @llvm.stackrestore(ptr %181)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare ptr @strerror(i32 noundef) #2
declare i32 @freeaddrinfo(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @listen(i32 noundef, i32 noundef) #2
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @getnameinfo(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @close(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpe6bjrbja.c'
source_filename = "/tmp/tmpe6bjrbja.c"
target datalayout = "e-m:e-p270: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
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe6bjrbja.c"
target datalayout = "e-m:e-p270: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
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbcx2hz0s.c'
source_filename = "/tmp/tmpbcx2hz0s.c"
target datalayout = "e-m:e-p270: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/tmpbcx2hz0s.c"
target datalayout = "e-m:e-p270: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/tmpc4c36mpn.c'
source_filename = "/tmp/tmpc4c36mpn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @setrlimit(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @ENOSYS, align 4
store i32 %5, ptr @errno, align 4
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc4c36mpn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @setrlimit(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @ENOSYS, align 4
store i32 %5, ptr @errno, align 4
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp93t6vrwi.c'
source_filename = "/tmp/tmp93t6vrwi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LONG_MIN = dso_local global i64 0, align 8
@LONG_MAX = dso_local global i64 0, align 8
@ERANGE = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @wcstol(ptr noalias noundef %0, ptr noalias noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i8, align 1
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %7, align 8
br label %15
15: ; preds = %19, %3
%16 = load ptr, ptr %7, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %7, align 8
%18 = load i8, ptr %16, align 1
store i8 %18, ptr %9, align 1
br label %19
19: ; preds = %15
%20 = load i8, ptr %9, align 1
%21 = call i64 @iswspace(i8 noundef signext %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %15, label %23, !llvm.loop !6
23: ; preds = %19
%24 = load i8, ptr %9, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 45
br i1 %26, label %27, label %31
27: ; preds = %23
store i32 1, ptr %11, align 4
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %7, align 8
%30 = load i8, ptr %28, align 1
store i8 %30, ptr %9, align 1
br label %40
31: ; preds = %23
store i32 0, ptr %11, align 4
%32 = load i8, ptr %9, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 43
br i1 %34, label %35, label %39
35: ; preds = %31
%36 = load ptr, ptr %7, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %7, align 8
%38 = load i8, ptr %36, align 1
store i8 %38, ptr %9, align 1
br label %39
39: ; preds = %35, %31
br label %40
40: ; preds = %39, %27
%41 = load i32, ptr %6, align 4
%42 = icmp eq i32 %41, 0
br i1 %42, label %46, label %43
43: ; preds = %40
%44 = load i32, ptr %6, align 4
%45 = icmp eq i32 %44, 16
br i1 %45, label %46, label %66
46: ; preds = %43, %40
%47 = load i8, ptr %9, align 1
%48 = sext i8 %47 to i32
%49 = icmp eq i32 %48, 48
br i1 %49, label %50, label %66
50: ; preds = %46
%51 = load ptr, ptr %7, align 8
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 120
br i1 %54, label %60, label %55
55: ; preds = %50
%56 = load ptr, ptr %7, align 8
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp eq i32 %58, 88
br i1 %59, label %60, label %66
60: ; preds = %55, %50
%61 = load ptr, ptr %7, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 1
%63 = load i8, ptr %62, align 1
store i8 %63, ptr %9, align 1
%64 = load ptr, ptr %7, align 8
%65 = getelementptr inbounds i8, ptr %64, i64 2
store ptr %65, ptr %7, align 8
store i32 16, ptr %6, align 4
br label %66
66: ; preds = %60, %55, %46, %43
%67 = load i32, ptr %6, align 4
%68 = icmp eq i32 %67, 0
br i1 %68, label %69, label %75
69: ; preds = %66
%70 = load i8, ptr %9, align 1
%71 = sext i8 %70 to i32
%72 = icmp eq i32 %71, 48
%73 = zext i1 %72 to i64
%74 = select i1 %72, i32 8, i32 10
store i32 %74, ptr %6, align 4
br label %75
75: ; preds = %69, %66
store i32 0, ptr %12, align 4
store i64 0, ptr %8, align 8
%76 = load i32, ptr %6, align 4
%77 = icmp slt i32 %76, 2
br i1 %77, label %81, label %78
78: ; preds = %75
%79 = load i32, ptr %6, align 4
%80 = icmp sgt i32 %79, 36
br i1 %80, label %81, label %82
81: ; preds = %78, %75
br label %201
82: ; preds = %78
%83 = load i32, ptr %11, align 4
%84 = icmp ne i32 %83, 0
br i1 %84, label %85, label %92
85: ; preds = %82
%86 = load i64, ptr @LONG_MIN, align 8
%87 = load i64, ptr @LONG_MAX, align 8
%88 = add i64 %86, %87
%89 = sub i64 0, %88
%90 = load i64, ptr @LONG_MAX, align 8
%91 = add i64 %89, %90
br label %94
92: ; preds = %82
%93 = load i64, ptr @LONG_MAX, align 8
br label %94
94: ; preds = %92, %85
%95 = phi i64 [ %91, %85 ], [ %93, %92 ]
store i64 %95, ptr %10, align 8
%96 = load i64, ptr %10, align 8
%97 = load i32, ptr %6, align 4
%98 = sext i32 %97 to i64
%99 = urem i64 %96, %98
%100 = trunc i64 %99 to i32
store i32 %100, ptr %13, align 4
%101 = load i32, ptr %6, align 4
%102 = sext i32 %101 to i64
%103 = load i64, ptr %10, align 8
%104 = udiv i64 %103, %102
store i64 %104, ptr %10, align 8
br label %105
105: ; preds = %180, %94
%106 = load i8, ptr %9, align 1
%107 = sext i8 %106 to i32
%108 = icmp sge i32 %107, 48
br i1 %108, label %109, label %118
109: ; preds = %105
%110 = load i8, ptr %9, align 1
%111 = sext i8 %110 to i32
%112 = icmp sle i32 %111, 57
br i1 %112, label %113, label %118
113: ; preds = %109
%114 = load i8, ptr %9, align 1
%115 = sext i8 %114 to i32
%116 = sub nsw i32 %115, 48
%117 = trunc i32 %116 to i8
store i8 %117, ptr %9, align 1
br label %147
118: ; preds = %109, %105
%119 = load i8, ptr %9, align 1
%120 = sext i8 %119 to i32
%121 = icmp sge i32 %120, 65
br i1 %121, label %122, label %131
122: ; preds = %118
%123 = load i8, ptr %9, align 1
%124 = sext i8 %123 to i32
%125 = icmp sle i32 %124, 90
br i1 %125, label %126, label %131
126: ; preds = %122
%127 = load i8, ptr %9, align 1
%128 = sext i8 %127 to i32
%129 = sub nsw i32 %128, 55
%130 = trunc i32 %129 to i8
store i8 %130, ptr %9, align 1
br label %146
131: ; preds = %122, %118
%132 = load i8, ptr %9, align 1
%133 = sext i8 %132 to i32
%134 = icmp sge i32 %133, 97
br i1 %134, label %135, label %144
135: ; preds = %131
%136 = load i8, ptr %9, align 1
%137 = sext i8 %136 to i32
%138 = icmp sle i32 %137, 122
br i1 %138, label %139, label %144
139: ; preds = %135
%140 = load i8, ptr %9, align 1
%141 = sext i8 %140 to i32
%142 = sub nsw i32 %141, 87
%143 = trunc i32 %142 to i8
store i8 %143, ptr %9, align 1
br label %145
144: ; preds = %135, %131
br label %184
145: ; preds = %139
br label %146
146: ; preds = %145, %126
br label %147
147: ; preds = %146, %113
%148 = load i8, ptr %9, align 1
%149 = sext i8 %148 to i32
%150 = load i32, ptr %6, align 4
%151 = icmp sge i32 %149, %150
br i1 %151, label %152, label %153
152: ; preds = %147
br label %184
153: ; preds = %147
%154 = load i32, ptr %12, align 4
%155 = icmp slt i32 %154, 0
br i1 %155, label %169, label %156
156: ; preds = %153
%157 = load i64, ptr %8, align 8
%158 = load i64, ptr %10, align 8
%159 = icmp ugt i64 %157, %158
br i1 %159, label %169, label %160
160: ; preds = %156
%161 = load i64, ptr %8, align 8
%162 = load i64, ptr %10, align 8
%163 = icmp eq i64 %161, %162
br i1 %163, label %164, label %170
164: ; preds = %160
%165 = load i8, ptr %9, align 1
%166 = sext i8 %165 to i32
%167 = load i32, ptr %13, align 4
%168 = icmp sgt i32 %166, %167
br i1 %168, label %169, label %170
169: ; preds = %164, %156, %153
store i32 -1, ptr %12, align 4
br label %179
170: ; preds = %164, %160
store i32 1, ptr %12, align 4
%171 = load i32, ptr %6, align 4
%172 = sext i32 %171 to i64
%173 = load i64, ptr %8, align 8
%174 = mul i64 %173, %172
store i64 %174, ptr %8, align 8
%175 = load i8, ptr %9, align 1
%176 = sext i8 %175 to i64
%177 = load i64, ptr %8, align 8
%178 = add i64 %177, %176
store i64 %178, ptr %8, align 8
br label %179
179: ; preds = %170, %169
br label %180
180: ; preds = %179
%181 = load ptr, ptr %7, align 8
%182 = getelementptr inbounds i8, ptr %181, i32 1
store ptr %182, ptr %7, align 8
%183 = load i8, ptr %181, align 1
store i8 %183, ptr %9, align 1
br label %105
184: ; preds = %152, %144
%185 = load i32, ptr %12, align 4
%186 = icmp slt i32 %185, 0
br i1 %186, label %187, label %197
187: ; preds = %184
%188 = load i32, ptr %11, align 4
%189 = icmp ne i32 %188, 0
br i1 %189, label %190, label %192
190: ; preds = %187
%191 = load i64, ptr @LONG_MIN, align 8
br label %194
192: ; preds = %187
%193 = load i64, ptr @LONG_MAX, align 8
br label %194
194: ; preds = %192, %190
%195 = phi i64 [ %191, %190 ], [ %193, %192 ]
store i64 %195, ptr %8, align 8
%196 = load i32, ptr @ERANGE, align 4
store i32 %196, ptr @errno, align 4
br label %211
197: ; preds = %184
%198 = load i32, ptr %12, align 4
%199 = icmp ne i32 %198, 0
br i1 %199, label %203, label %200
200: ; preds = %197
br label %201
201: ; preds = %200, %81
%202 = load i32, ptr @EINVAL, align 4
store i32 %202, ptr @errno, align 4
br label %210
203: ; preds = %197
%204 = load i32, ptr %11, align 4
%205 = icmp ne i32 %204, 0
br i1 %205, label %206, label %209
206: ; preds = %203
%207 = load i64, ptr %8, align 8
%208 = sub i64 0, %207
store i64 %208, ptr %8, align 8
br label %209
209: ; preds = %206, %203
br label %210
210: ; preds = %209, %201
br label %211
211: ; preds = %210, %194
%212 = load ptr, ptr %5, align 8
%213 = icmp ne ptr %212, null
br i1 %213, label %214, label %225
214: ; preds = %211
%215 = load i32, ptr %12, align 4
%216 = icmp ne i32 %215, 0
br i1 %216, label %217, label %220
217: ; preds = %214
%218 = load ptr, ptr %7, align 8
%219 = getelementptr inbounds i8, ptr %218, i64 -1
br label %222
220: ; preds = %214
%221 = load ptr, ptr %4, align 8
br label %222
222: ; preds = %220, %217
%223 = phi ptr [ %219, %217 ], [ %221, %220 ]
%224 = load ptr, ptr %5, align 8
store ptr %223, ptr %224, align 8
br label %225
225: ; preds = %222, %211
%226 = load i64, ptr %8, align 8
ret i64 %226
}
declare i64 @iswspace(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/tmp93t6vrwi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LONG_MIN = dso_local global i64 0, align 8
@LONG_MAX = dso_local global i64 0, align 8
@ERANGE = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @wcstol(ptr noalias noundef %0, ptr noalias noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i8, align 1
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %7, align 8
br label %15
15: ; preds = %19, %3
%16 = load ptr, ptr %7, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %7, align 8
%18 = load i8, ptr %16, align 1
store i8 %18, ptr %9, align 1
br label %19
19: ; preds = %15
%20 = load i8, ptr %9, align 1
%21 = call i64 @iswspace(i8 noundef signext %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %15, label %23, !llvm.loop !6
23: ; preds = %19
%24 = load i8, ptr %9, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 45
br i1 %26, label %27, label %31
27: ; preds = %23
store i32 1, ptr %11, align 4
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %7, align 8
%30 = load i8, ptr %28, align 1
store i8 %30, ptr %9, align 1
br label %40
31: ; preds = %23
store i32 0, ptr %11, align 4
%32 = load i8, ptr %9, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 43
br i1 %34, label %35, label %39
35: ; preds = %31
%36 = load ptr, ptr %7, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %7, align 8
%38 = load i8, ptr %36, align 1
store i8 %38, ptr %9, align 1
br label %39
39: ; preds = %35, %31
br label %40
40: ; preds = %39, %27
%41 = load i32, ptr %6, align 4
%42 = icmp eq i32 %41, 0
br i1 %42, label %46, label %43
43: ; preds = %40
%44 = load i32, ptr %6, align 4
%45 = icmp eq i32 %44, 16
br i1 %45, label %46, label %66
46: ; preds = %43, %40
%47 = load i8, ptr %9, align 1
%48 = sext i8 %47 to i32
%49 = icmp eq i32 %48, 48
br i1 %49, label %50, label %66
50: ; preds = %46
%51 = load ptr, ptr %7, align 8
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 120
br i1 %54, label %60, label %55
55: ; preds = %50
%56 = load ptr, ptr %7, align 8
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp eq i32 %58, 88
br i1 %59, label %60, label %66
60: ; preds = %55, %50
%61 = load ptr, ptr %7, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 1
%63 = load i8, ptr %62, align 1
store i8 %63, ptr %9, align 1
%64 = load ptr, ptr %7, align 8
%65 = getelementptr inbounds i8, ptr %64, i64 2
store ptr %65, ptr %7, align 8
store i32 16, ptr %6, align 4
br label %66
66: ; preds = %60, %55, %46, %43
%67 = load i32, ptr %6, align 4
%68 = icmp eq i32 %67, 0
br i1 %68, label %69, label %75
69: ; preds = %66
%70 = load i8, ptr %9, align 1
%71 = sext i8 %70 to i32
%72 = icmp eq i32 %71, 48
%73 = zext i1 %72 to i64
%74 = select i1 %72, i32 8, i32 10
store i32 %74, ptr %6, align 4
br label %75
75: ; preds = %69, %66
store i32 0, ptr %12, align 4
store i64 0, ptr %8, align 8
%76 = load i32, ptr %6, align 4
%77 = icmp slt i32 %76, 2
br i1 %77, label %81, label %78
78: ; preds = %75
%79 = load i32, ptr %6, align 4
%80 = icmp sgt i32 %79, 36
br i1 %80, label %81, label %82
81: ; preds = %78, %75
br label %201
82: ; preds = %78
%83 = load i32, ptr %11, align 4
%84 = icmp ne i32 %83, 0
br i1 %84, label %85, label %92
85: ; preds = %82
%86 = load i64, ptr @LONG_MIN, align 8
%87 = load i64, ptr @LONG_MAX, align 8
%88 = add i64 %86, %87
%89 = sub i64 0, %88
%90 = load i64, ptr @LONG_MAX, align 8
%91 = add i64 %89, %90
br label %94
92: ; preds = %82
%93 = load i64, ptr @LONG_MAX, align 8
br label %94
94: ; preds = %92, %85
%95 = phi i64 [ %91, %85 ], [ %93, %92 ]
store i64 %95, ptr %10, align 8
%96 = load i64, ptr %10, align 8
%97 = load i32, ptr %6, align 4
%98 = sext i32 %97 to i64
%99 = urem i64 %96, %98
%100 = trunc i64 %99 to i32
store i32 %100, ptr %13, align 4
%101 = load i32, ptr %6, align 4
%102 = sext i32 %101 to i64
%103 = load i64, ptr %10, align 8
%104 = udiv i64 %103, %102
store i64 %104, ptr %10, align 8
br label %105
105: ; preds = %180, %94
%106 = load i8, ptr %9, align 1
%107 = sext i8 %106 to i32
%108 = icmp sge i32 %107, 48
br i1 %108, label %109, label %118
109: ; preds = %105
%110 = load i8, ptr %9, align 1
%111 = sext i8 %110 to i32
%112 = icmp sle i32 %111, 57
br i1 %112, label %113, label %118
113: ; preds = %109
%114 = load i8, ptr %9, align 1
%115 = sext i8 %114 to i32
%116 = sub nsw i32 %115, 48
%117 = trunc i32 %116 to i8
store i8 %117, ptr %9, align 1
br label %147
118: ; preds = %109, %105
%119 = load i8, ptr %9, align 1
%120 = sext i8 %119 to i32
%121 = icmp sge i32 %120, 65
br i1 %121, label %122, label %131
122: ; preds = %118
%123 = load i8, ptr %9, align 1
%124 = sext i8 %123 to i32
%125 = icmp sle i32 %124, 90
br i1 %125, label %126, label %131
126: ; preds = %122
%127 = load i8, ptr %9, align 1
%128 = sext i8 %127 to i32
%129 = sub nsw i32 %128, 55
%130 = trunc i32 %129 to i8
store i8 %130, ptr %9, align 1
br label %146
131: ; preds = %122, %118
%132 = load i8, ptr %9, align 1
%133 = sext i8 %132 to i32
%134 = icmp sge i32 %133, 97
br i1 %134, label %135, label %144
135: ; preds = %131
%136 = load i8, ptr %9, align 1
%137 = sext i8 %136 to i32
%138 = icmp sle i32 %137, 122
br i1 %138, label %139, label %144
139: ; preds = %135
%140 = load i8, ptr %9, align 1
%141 = sext i8 %140 to i32
%142 = sub nsw i32 %141, 87
%143 = trunc i32 %142 to i8
store i8 %143, ptr %9, align 1
br label %145
144: ; preds = %135, %131
br label %184
145: ; preds = %139
br label %146
146: ; preds = %145, %126
br label %147
147: ; preds = %146, %113
%148 = load i8, ptr %9, align 1
%149 = sext i8 %148 to i32
%150 = load i32, ptr %6, align 4
%151 = icmp sge i32 %149, %150
br i1 %151, label %152, label %153
152: ; preds = %147
br label %184
153: ; preds = %147
%154 = load i32, ptr %12, align 4
%155 = icmp slt i32 %154, 0
br i1 %155, label %169, label %156
156: ; preds = %153
%157 = load i64, ptr %8, align 8
%158 = load i64, ptr %10, align 8
%159 = icmp ugt i64 %157, %158
br i1 %159, label %169, label %160
160: ; preds = %156
%161 = load i64, ptr %8, align 8
%162 = load i64, ptr %10, align 8
%163 = icmp eq i64 %161, %162
br i1 %163, label %164, label %170
164: ; preds = %160
%165 = load i8, ptr %9, align 1
%166 = sext i8 %165 to i32
%167 = load i32, ptr %13, align 4
%168 = icmp sgt i32 %166, %167
br i1 %168, label %169, label %170
169: ; preds = %164, %156, %153
store i32 -1, ptr %12, align 4
br label %179
170: ; preds = %164, %160
store i32 1, ptr %12, align 4
%171 = load i32, ptr %6, align 4
%172 = sext i32 %171 to i64
%173 = load i64, ptr %8, align 8
%174 = mul i64 %173, %172
store i64 %174, ptr %8, align 8
%175 = load i8, ptr %9, align 1
%176 = sext i8 %175 to i64
%177 = load i64, ptr %8, align 8
%178 = add i64 %177, %176
store i64 %178, ptr %8, align 8
br label %179
179: ; preds = %170, %169
br label %180
180: ; preds = %179
%181 = load ptr, ptr %7, align 8
%182 = getelementptr inbounds i8, ptr %181, i32 1
store ptr %182, ptr %7, align 8
%183 = load i8, ptr %181, align 1
store i8 %183, ptr %9, align 1
br label %105
184: ; preds = %152, %144
%185 = load i32, ptr %12, align 4
%186 = icmp slt i32 %185, 0
br i1 %186, label %187, label %197
187: ; preds = %184
%188 = load i32, ptr %11, align 4
%189 = icmp ne i32 %188, 0
br i1 %189, label %190, label %192
190: ; preds = %187
%191 = load i64, ptr @LONG_MIN, align 8
br label %194
192: ; preds = %187
%193 = load i64, ptr @LONG_MAX, align 8
br label %194
194: ; preds = %192, %190
%195 = phi i64 [ %191, %190 ], [ %193, %192 ]
store i64 %195, ptr %8, align 8
%196 = load i32, ptr @ERANGE, align 4
store i32 %196, ptr @errno, align 4
br label %211
197: ; preds = %184
%198 = load i32, ptr %12, align 4
%199 = icmp ne i32 %198, 0
br i1 %199, label %203, label %200
200: ; preds = %197
br label %201
201: ; preds = %200, %81
%202 = load i32, ptr @EINVAL, align 4
store i32 %202, ptr @errno, align 4
br label %210
203: ; preds = %197
%204 = load i32, ptr %11, align 4
%205 = icmp ne i32 %204, 0
br i1 %205, label %206, label %209
206: ; preds = %203
%207 = load i64, ptr %8, align 8
%208 = sub i64 0, %207
store i64 %208, ptr %8, align 8
br label %209
209: ; preds = %206, %203
br label %210
210: ; preds = %209, %201
br label %211
211: ; preds = %210, %194
%212 = load ptr, ptr %5, align 8
%213 = icmp ne ptr %212, null
br i1 %213, label %214, label %225
214: ; preds = %211
%215 = load i32, ptr %12, align 4
%216 = icmp ne i32 %215, 0
br i1 %216, label %217, label %220
217: ; preds = %214
%218 = load ptr, ptr %7, align 8
%219 = getelementptr inbounds i8, ptr %218, i64 -1
br label %222
220: ; preds = %214
%221 = load ptr, ptr %4, align 8
br label %222
222: ; preds = %220, %217
%223 = phi ptr [ %219, %217 ], [ %221, %220 ]
%224 = load ptr, ptr %5, align 8
store ptr %223, ptr %224, align 8
br label %225
225: ; preds = %222, %211
%226 = load i64, ptr %8, align 8
ret i64 %226
}
declare i64 @iswspace(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/tmp1jik6deo.c'
source_filename = "/tmp/tmp1jik6deo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @malloc_int_array(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%10 = load i32, ptr %4, align 4
%11 = sext i32 %10 to i64
%12 = mul i64 8, %11
%13 = trunc i64 %12 to i32
%14 = call ptr @malloc(i32 noundef %13)
store ptr %14, ptr %9, align 8
%15 = load ptr, ptr %9, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %3
%18 = call i32 (...) @error_and_exit()
br label %19
19: ; preds = %17, %3
store i32 0, ptr %7, align 4
br label %20
20: ; preds = %78, %19
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %81
24: ; preds = %20
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = mul i64 8, %26
%28 = trunc i64 %27 to i32
%29 = call ptr @malloc(i32 noundef %28)
%30 = load ptr, ptr %9, align 8
%31 = load i32, ptr %7, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds ptr, ptr %30, i64 %32
store ptr %29, ptr %33, align 8
%34 = load ptr, ptr %9, align 8
%35 = load i32, ptr %7, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds ptr, ptr %34, i64 %36
%38 = load ptr, ptr %37, align 8
%39 = icmp eq ptr %38, null
br i1 %39, label %40, label %42
40: ; preds = %24
%41 = call i32 (...) @error_and_exit()
br label %42
42: ; preds = %40, %24
store i32 0, ptr %8, align 4
br label %43
43: ; preds = %74, %42
%44 = load i32, ptr %8, align 4
%45 = load i32, ptr %5, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %47, label %77
47: ; preds = %43
%48 = load i32, ptr %6, align 4
%49 = sext i32 %48 to i64
%50 = mul i64 4, %49
%51 = trunc i64 %50 to i32
%52 = call ptr @malloc(i32 noundef %51)
%53 = load ptr, ptr %9, align 8
%54 = load i32, ptr %7, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds ptr, ptr %53, i64 %55
%57 = load ptr, ptr %56, align 8
%58 = load i32, ptr %8, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds ptr, ptr %57, i64 %59
store ptr %52, ptr %60, align 8
%61 = load ptr, ptr %9, align 8
%62 = load i32, ptr %7, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds ptr, ptr %61, i64 %63
%65 = load ptr, ptr %64, align 8
%66 = load i32, ptr %8, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds ptr, ptr %65, i64 %67
%69 = load ptr, ptr %68, align 8
%70 = icmp eq ptr %69, null
br i1 %70, label %71, label %73
71: ; preds = %47
%72 = call i32 (...) @error_and_exit()
br label %73
73: ; preds = %71, %47
br label %74
74: ; preds = %73
%75 = load i32, ptr %8, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %8, align 4
br label %43, !llvm.loop !6
77: ; preds = %43
br label %78
78: ; preds = %77
%79 = load i32, ptr %7, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %7, align 4
br label %20, !llvm.loop !8
81: ; preds = %20
%82 = load ptr, ptr %9, align 8
ret ptr %82
}
declare ptr @malloc(i32 noundef) #1
declare i32 @error_and_exit(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp1jik6deo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @malloc_int_array(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%10 = load i32, ptr %4, align 4
%11 = sext i32 %10 to i64
%12 = mul i64 8, %11
%13 = trunc i64 %12 to i32
%14 = call ptr @malloc(i32 noundef %13)
store ptr %14, ptr %9, align 8
%15 = load ptr, ptr %9, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %3
%18 = call i32 (...) @error_and_exit()
br label %19
19: ; preds = %17, %3
store i32 0, ptr %7, align 4
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %.lr.ph2, label %85
.lr.ph2: ; preds = %19
br label %23
23: ; preds = %.lr.ph2, %79
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = mul i64 8, %25
%27 = trunc i64 %26 to i32
%28 = call ptr @malloc(i32 noundef %27)
%29 = load ptr, ptr %9, align 8
%30 = load i32, ptr %7, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds ptr, ptr %29, i64 %31
store ptr %28, ptr %32, align 8
%33 = load ptr, ptr %9, align 8
%34 = load i32, ptr %7, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds ptr, ptr %33, i64 %35
%37 = load ptr, ptr %36, align 8
%38 = icmp eq ptr %37, null
br i1 %38, label %39, label %41
39: ; preds = %23
%40 = call i32 (...) @error_and_exit()
br label %41
41: ; preds = %39, %23
store i32 0, ptr %8, align 4
%42 = load i32, ptr %8, align 4
%43 = load i32, ptr %5, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %.lr.ph, label %78
.lr.ph: ; preds = %41
br label %45
45: ; preds = %.lr.ph, %72
%46 = load i32, ptr %6, align 4
%47 = sext i32 %46 to i64
%48 = mul i64 4, %47
%49 = trunc i64 %48 to i32
%50 = call ptr @malloc(i32 noundef %49)
%51 = load ptr, ptr %9, align 8
%52 = load i32, ptr %7, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds ptr, ptr %51, i64 %53
%55 = load ptr, ptr %54, align 8
%56 = load i32, ptr %8, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds ptr, ptr %55, i64 %57
store ptr %50, ptr %58, align 8
%59 = load ptr, ptr %9, align 8
%60 = load i32, ptr %7, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds ptr, ptr %59, i64 %61
%63 = load ptr, ptr %62, align 8
%64 = load i32, ptr %8, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds ptr, ptr %63, i64 %65
%67 = load ptr, ptr %66, align 8
%68 = icmp eq ptr %67, null
br i1 %68, label %69, label %71
69: ; preds = %45
%70 = call i32 (...) @error_and_exit()
br label %71
71: ; preds = %69, %45
br label %72
72: ; preds = %71
%73 = load i32, ptr %8, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %8, align 4
%75 = load i32, ptr %8, align 4
%76 = load i32, ptr %5, align 4
%77 = icmp slt i32 %75, %76
br i1 %77, label %45, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %72
br label %78
78: ; preds = %._crit_edge, %41
br label %79
79: ; preds = %78
%80 = load i32, ptr %7, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %7, align 4
%82 = load i32, ptr %7, align 4
%83 = load i32, ptr %4, align 4
%84 = icmp slt i32 %82, %83
br i1 %84, label %23, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %79
br label %85
85: ; preds = %._crit_edge3, %19
%86 = load ptr, ptr %9, align 8
ret ptr %86
}
declare ptr @malloc(i32 noundef) #1
declare i32 @error_and_exit(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp69yky3k2.c'
source_filename = "/tmp/tmp69yky3k2.c"
target datalayout = "e-m:e-p270: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/tmp69yky3k2.c"
target datalayout = "e-m:e-p270: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/tmpjhi0yyrh.c'
source_filename = "/tmp/tmpjhi0yyrh.c"
target datalayout = "e-m:e-p270: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/tmpjhi0yyrh.c"
target datalayout = "e-m:e-p270: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/tmp2f9c93wf.c'
source_filename = "/tmp/tmp2f9c93wf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Expected boolean, got array\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mdea_array_node_get_boolean(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %6, align 8
%8 = call i32 @mdea_error(ptr noundef %7, ptr noundef @.str)
ret i32 -1
}
declare i32 @mdea_error(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/tmp2f9c93wf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Expected boolean, got array\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mdea_array_node_get_boolean(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %6, align 8
%8 = call i32 @mdea_error(ptr noundef %7, ptr noundef @.str)
ret i32 -1
}
declare i32 @mdea_error(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/tmpbt5gr6vn.c'
source_filename = "/tmp/tmpbt5gr6vn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @draw_border() #0 {
%1 = load i32, ptr @stdscr, align 4
%2 = call i32 @box(i32 noundef %1, i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @box(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/tmpbt5gr6vn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @draw_border() #0 {
%1 = load i32, ptr @stdscr, align 4
%2 = call i32 @box(i32 noundef %1, i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @box(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/tmpsv37lda5.c'
source_filename = "/tmp/tmpsv37lda5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"EHLO %s\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @smtp_sendGreeting(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [1024 x i8], align 16
%5 = alloca [1024 x i8], align 16
store i32 %0, ptr %3, align 4
%6 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%7 = call i32 @gethostname(ptr noundef %6, i32 noundef 1024)
%8 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%9 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%10 = call i32 @snprintf(ptr noundef %8, i32 noundef 1024, ptr noundef @.str, ptr noundef %9)
%11 = load i32, ptr %3, align 4
%12 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%13 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%14 = call i64 @strlen(ptr noundef %13)
%15 = add nsw i64 7, %14
%16 = call i32 @write(i32 noundef %11, ptr noundef %12, i64 noundef %15)
%17 = load i32, ptr %2, align 4
ret i32 %17
}
declare i32 @gethostname(ptr noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsv37lda5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"EHLO %s\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @smtp_sendGreeting(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [1024 x i8], align 16
%5 = alloca [1024 x i8], align 16
store i32 %0, ptr %3, align 4
%6 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%7 = call i32 @gethostname(ptr noundef %6, i32 noundef 1024)
%8 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%9 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%10 = call i32 @snprintf(ptr noundef %8, i32 noundef 1024, ptr noundef @.str, ptr noundef %9)
%11 = load i32, ptr %3, align 4
%12 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%13 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%14 = call i64 @strlen(ptr noundef %13)
%15 = add nsw i64 7, %14
%16 = call i32 @write(i32 noundef %11, ptr noundef %12, i64 noundef %15)
%17 = load i32, ptr %2, align 4
ret i32 %17
}
declare i32 @gethostname(ptr noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpekhppj7x.c'
source_filename = "/tmp/tmpekhppj7x.c"
target datalayout = "e-m:e-p270: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/tmpekhppj7x.c"
target datalayout = "e-m:e-p270: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/tmpydz0r5zy.c'
source_filename = "/tmp/tmpydz0r5zy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"JOIN %s\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"send error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @joinChannel(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [1024 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 1024, i1 false)
%6 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%7 = load ptr, ptr %3, align 8
%8 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, ptr noundef %7)
%9 = load i32, ptr %4, align 4
%10 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%11 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%12 = call i32 @strlen(ptr noundef %11)
%13 = call i64 @send(i32 noundef %9, ptr noundef %10, i32 noundef %12, i32 noundef 0)
%14 = icmp sgt i64 0, %13
br i1 %14, label %15, label %18
15: ; preds = %2
%16 = call i32 @perror(ptr noundef @.str.1)
%17 = call i32 @pthread_exit(ptr noundef null)
br label %18
18: ; preds = %15, %2
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2
declare i64 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @perror(ptr noundef) #2
declare i32 @pthread_exit(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpydz0r5zy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"JOIN %s\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"send error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @joinChannel(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [1024 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 1024, i1 false)
%6 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%7 = load ptr, ptr %3, align 8
%8 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, ptr noundef %7)
%9 = load i32, ptr %4, align 4
%10 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%11 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%12 = call i32 @strlen(ptr noundef %11)
%13 = call i64 @send(i32 noundef %9, ptr noundef %10, i32 noundef %12, i32 noundef 0)
%14 = icmp sgt i64 0, %13
br i1 %14, label %15, label %18
15: ; preds = %2
%16 = call i32 @perror(ptr noundef @.str.1)
%17 = call i32 @pthread_exit(ptr noundef null)
br label %18
18: ; preds = %15, %2
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2
declare i64 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @perror(ptr noundef) #2
declare i32 @pthread_exit(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiu1g02hy.c'
source_filename = "/tmp/tmpiu1g02hy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Error\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @error() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiu1g02hy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Error\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @error() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi_jojvk1.c'
source_filename = "/tmp/tmpi_jojvk1.c"
target datalayout = "e-m:e-p270: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/tmpi_jojvk1.c"
target datalayout = "e-m:e-p270: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/tmp5_3uktb0.c'
source_filename = "/tmp/tmp5_3uktb0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"Error when calling fopen(%s) : %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@STDOUT_FILENO = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca [34 x i8], align 16
%9 = alloca [34 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 34, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 34, i1 false)
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 2
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 1, ptr %3, align 4
br label %52
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call ptr @fopen(ptr noundef %16, ptr noundef @.str)
store ptr %17, ptr %6, align 8
%18 = load ptr, ptr %6, align 8
%19 = icmp eq ptr null, %18
br i1 %19, label %20, label %28
20: ; preds = %13
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = load i32, ptr @errno, align 4
%25 = call ptr @strerror(i32 noundef %24)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %23, ptr noundef %25)
%27 = load i32, ptr @errno, align 4
store i32 %27, ptr %3, align 4
br label %52
28: ; preds = %13
%29 = load ptr, ptr %6, align 8
%30 = call i32 @fread(ptr noundef %8, i32 noundef 1, i32 noundef 34, ptr noundef %29)
%31 = icmp ne i32 34, %30
br i1 %31, label %32, label %36
32: ; preds = %28
%33 = load ptr, ptr %6, align 8
%34 = call i32 @fclose(ptr noundef %33)
%35 = load i32, ptr @errno, align 4
store i32 %35, ptr %3, align 4
br label %52
36: ; preds = %28
%37 = getelementptr inbounds [34 x i8], ptr %8, i64 0, i64 0
%38 = call zeroext i8 @detect_key_single_line(ptr noundef %37, i32 noundef 34)
store i8 %38, ptr %7, align 1
%39 = getelementptr inbounds [34 x i8], ptr %8, i64 0, i64 0
%40 = getelementptr inbounds [34 x i8], ptr %9, i64 0, i64 0
%41 = load i8, ptr %7, align 1
%42 = zext i8 %41 to i32
%43 = xor i32 32, %42
%44 = trunc i32 %43 to i8
%45 = call i32 @decode_cipher(ptr noundef %39, ptr noundef %40, i32 noundef 34, i8 noundef signext %44)
%46 = load i32, ptr @STDOUT_FILENO, align 4
%47 = getelementptr inbounds [34 x i8], ptr %9, i64 0, i64 0
%48 = call i32 @write(i32 noundef %46, ptr noundef %47, i32 noundef 34)
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%50 = load ptr, ptr %6, align 8
%51 = call i32 @fclose(ptr noundef %50)
store i32 0, ptr %3, align 4
br label %52
52: ; preds = %36, %32, %20, %12
%53 = load i32, ptr %3, align 4
ret i32 %53
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare ptr @strerror(i32 noundef) #2
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
declare zeroext i8 @detect_key_single_line(ptr noundef, i32 noundef) #2
declare i32 @decode_cipher(ptr noundef, ptr noundef, i32 noundef, i8 noundef signext) #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5_3uktb0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"Error when calling fopen(%s) : %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@STDOUT_FILENO = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca [34 x i8], align 16
%9 = alloca [34 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 34, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 34, i1 false)
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 2
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 1, ptr %3, align 4
br label %52
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call ptr @fopen(ptr noundef %16, ptr noundef @.str)
store ptr %17, ptr %6, align 8
%18 = load ptr, ptr %6, align 8
%19 = icmp eq ptr null, %18
br i1 %19, label %20, label %28
20: ; preds = %13
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = load i32, ptr @errno, align 4
%25 = call ptr @strerror(i32 noundef %24)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %23, ptr noundef %25)
%27 = load i32, ptr @errno, align 4
store i32 %27, ptr %3, align 4
br label %52
28: ; preds = %13
%29 = load ptr, ptr %6, align 8
%30 = call i32 @fread(ptr noundef %8, i32 noundef 1, i32 noundef 34, ptr noundef %29)
%31 = icmp ne i32 34, %30
br i1 %31, label %32, label %36
32: ; preds = %28
%33 = load ptr, ptr %6, align 8
%34 = call i32 @fclose(ptr noundef %33)
%35 = load i32, ptr @errno, align 4
store i32 %35, ptr %3, align 4
br label %52
36: ; preds = %28
%37 = getelementptr inbounds [34 x i8], ptr %8, i64 0, i64 0
%38 = call zeroext i8 @detect_key_single_line(ptr noundef %37, i32 noundef 34)
store i8 %38, ptr %7, align 1
%39 = getelementptr inbounds [34 x i8], ptr %8, i64 0, i64 0
%40 = getelementptr inbounds [34 x i8], ptr %9, i64 0, i64 0
%41 = load i8, ptr %7, align 1
%42 = zext i8 %41 to i32
%43 = xor i32 32, %42
%44 = trunc i32 %43 to i8
%45 = call i32 @decode_cipher(ptr noundef %39, ptr noundef %40, i32 noundef 34, i8 noundef signext %44)
%46 = load i32, ptr @STDOUT_FILENO, align 4
%47 = getelementptr inbounds [34 x i8], ptr %9, i64 0, i64 0
%48 = call i32 @write(i32 noundef %46, ptr noundef %47, i32 noundef 34)
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%50 = load ptr, ptr %6, align 8
%51 = call i32 @fclose(ptr noundef %50)
store i32 0, ptr %3, align 4
br label %52
52: ; preds = %36, %32, %20, %12
%53 = load i32, ptr %3, align 4
ret i32 %53
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare ptr @strerror(i32 noundef) #2
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
declare zeroext i8 @detect_key_single_line(ptr noundef, i32 noundef) #2
declare i32 @decode_cipher(ptr noundef, ptr noundef, i32 noundef, i8 noundef signext) #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3e4qjd2b.c'
source_filename = "/tmp/tmp3e4qjd2b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_SC_NPROCESSORS_ONLN = 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/tmp3e4qjd2b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_SC_NPROCESSORS_ONLN = 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/tmp6fg149ax.c'
source_filename = "/tmp/tmp6fg149ax.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [70 x i8] c"Usage:\0A\09%s <number_of_elements_to_sort> <number_of_attempts_to_sort>\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 = 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/tmp6fg149ax.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [70 x i8] c"Usage:\0A\09%s <number_of_elements_to_sort> <number_of_attempts_to_sort>\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 = 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/tmpfcgh6igo.c'
source_filename = "/tmp/tmpfcgh6igo.c"
target datalayout = "e-m:e-p270: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/tmpfcgh6igo.c"
target datalayout = "e-m:e-p270: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/tmp1is87e8f.c'
source_filename = "/tmp/tmp1is87e8f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%[^\0A]s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\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 i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%6 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %6)
%8 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %10
10: ; preds = %169, %0
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %172
14: ; preds = %10
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 67
br i1 %20, label %21, label %24
21: ; preds = %14
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 100
store i32 %23, ptr %3, align 4
br label %24
24: ; preds = %21, %14
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 76
br i1 %30, label %31, label %34
31: ; preds = %24
%32 = load i32, ptr %3, align 4
%33 = add nsw i32 %32, 50
store i32 %33, ptr %3, align 4
br label %34
34: ; preds = %31, %24
%35 = load i32, ptr %5, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp eq i32 %39, 88
br i1 %40, label %41, label %44
41: ; preds = %34
%42 = load i32, ptr %3, align 4
%43 = add nsw i32 %42, 10
store i32 %43, ptr %3, align 4
br label %44
44: ; preds = %41, %34
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp eq i32 %49, 86
br i1 %50, label %51, label %54
51: ; preds = %44
%52 = load i32, ptr %3, align 4
%53 = add nsw i32 %52, 5
store i32 %53, ptr %3, align 4
br label %54
54: ; preds = %51, %44
%55 = load i32, ptr %5, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %56
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp eq i32 %59, 73
br i1 %60, label %61, label %75
61: ; preds = %54
%62 = load i32, ptr %5, align 4
%63 = add nsw i32 %62, 1
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %64
%66 = load i8, ptr %65, align 1
%67 = sext i8 %66 to i32
%68 = icmp eq i32 %67, 88
br i1 %68, label %69, label %74
69: ; preds = %61
%70 = load i32, ptr %3, align 4
%71 = add nsw i32 %70, 9
store i32 %71, ptr %3, align 4
%72 = load i32, ptr %5, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %5, align 4
br label %74
74: ; preds = %69, %61
br label %75
75: ; preds = %74, %54
%76 = load i32, ptr %5, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %77
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i32
%81 = icmp eq i32 %80, 73
br i1 %81, label %82, label %96
82: ; preds = %75
%83 = load i32, ptr %5, align 4
%84 = add nsw i32 %83, 1
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %85
%87 = load i8, ptr %86, align 1
%88 = sext i8 %87 to i32
%89 = icmp eq i32 %88, 86
br i1 %89, label %90, label %95
90: ; preds = %82
%91 = load i32, ptr %3, align 4
%92 = add nsw i32 %91, 4
store i32 %92, ptr %3, align 4
%93 = load i32, ptr %5, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %5, align 4
br label %95
95: ; preds = %90, %82
br label %96
96: ; preds = %95, %75
%97 = load i32, ptr %5, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %98
%100 = load i8, ptr %99, align 1
%101 = sext i8 %100 to i32
%102 = icmp eq i32 %101, 73
br i1 %102, label %103, label %115
103: ; preds = %96
%104 = load i32, ptr %5, align 4
%105 = add nsw i32 %104, 1
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %106
%108 = load i8, ptr %107, align 1
%109 = sext i8 %108 to i32
%110 = icmp eq i32 %109, 76
br i1 %110, label %111, label %114
111: ; preds = %103
%112 = load i32, ptr %3, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %3, align 4
br label %114
114: ; preds = %111, %103
br label %115
115: ; preds = %114, %96
%116 = load i32, ptr %5, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %117
%119 = load i8, ptr %118, align 1
%120 = sext i8 %119 to i32
%121 = icmp eq i32 %120, 73
br i1 %121, label %122, label %134
122: ; preds = %115
%123 = load i32, ptr %5, align 4
%124 = add nsw i32 %123, 1
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %125
%127 = load i8, ptr %126, align 1
%128 = sext i8 %127 to i32
%129 = icmp eq i32 %128, 67
br i1 %129, label %130, label %133
130: ; preds = %122
%131 = load i32, ptr %3, align 4
%132 = add nsw i32 %131, 1
store i32 %132, ptr %3, align 4
br label %133
133: ; preds = %130, %122
br label %134
134: ; preds = %133, %115
%135 = load i32, ptr %5, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %136
%138 = load i8, ptr %137, align 1
%139 = sext i8 %138 to i32
%140 = icmp eq i32 %139, 73
br i1 %140, label %141, label %153
141: ; preds = %134
%142 = load i32, ptr %5, align 4
%143 = add nsw i32 %142, 1
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %144
%146 = load i8, ptr %145, align 1
%147 = sext i8 %146 to i32
%148 = icmp eq i32 %147, 73
br i1 %148, label %149, label %152
149: ; preds = %141
%150 = load i32, ptr %3, align 4
%151 = add nsw i32 %150, 1
store i32 %151, ptr %3, align 4
br label %152
152: ; preds = %149, %141
br label %153
153: ; preds = %152, %134
%154 = load i32, ptr %5, align 4
%155 = load i32, ptr %4, align 4
%156 = sub nsw i32 %155, 1
%157 = icmp eq i32 %154, %156
br i1 %157, label %158, label %168
158: ; preds = %153
%159 = load i32, ptr %5, align 4
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %160
%162 = load i8, ptr %161, align 1
%163 = sext i8 %162 to i32
%164 = icmp eq i32 %163, 73
br i1 %164, label %165, label %168
165: ; preds = %158
%166 = load i32, ptr %3, align 4
%167 = add nsw i32 %166, 1
store i32 %167, ptr %3, align 4
br label %168
168: ; preds = %165, %158, %153
br label %169
169: ; preds = %168
%170 = load i32, ptr %5, align 4
%171 = add nsw i32 %170, 1
store i32 %171, ptr %5, align 4
br label %10, !llvm.loop !6
172: ; preds = %10
%173 = load i32, ptr %3, align 4
%174 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %173)
%175 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1is87e8f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%[^\0A]s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\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 i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%6 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %6)
%8 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %4, align 4
store i32 0, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %174
.lr.ph: ; preds = %0
br label %13
13: ; preds = %.lr.ph, %168
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 67
br i1 %19, label %20, label %23
20: ; preds = %13
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 100
store i32 %22, ptr %3, align 4
br label %23
23: ; preds = %20, %13
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 76
br i1 %29, label %30, label %33
30: ; preds = %23
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, 50
store i32 %32, ptr %3, align 4
br label %33
33: ; preds = %30, %23
%34 = load i32, ptr %5, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 88
br i1 %39, label %40, label %43
40: ; preds = %33
%41 = load i32, ptr %3, align 4
%42 = add nsw i32 %41, 10
store i32 %42, ptr %3, align 4
br label %43
43: ; preds = %40, %33
%44 = load i32, ptr %5, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %45
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp eq i32 %48, 86
br i1 %49, label %50, label %53
50: ; preds = %43
%51 = load i32, ptr %3, align 4
%52 = add nsw i32 %51, 5
store i32 %52, ptr %3, align 4
br label %53
53: ; preds = %50, %43
%54 = load i32, ptr %5, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %55
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp eq i32 %58, 73
br i1 %59, label %60, label %74
60: ; preds = %53
%61 = load i32, ptr %5, align 4
%62 = add nsw i32 %61, 1
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %63
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = icmp eq i32 %66, 88
br i1 %67, label %68, label %73
68: ; preds = %60
%69 = load i32, ptr %3, align 4
%70 = add nsw i32 %69, 9
store i32 %70, ptr %3, align 4
%71 = load i32, ptr %5, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %5, align 4
br label %73
73: ; preds = %68, %60
br label %74
74: ; preds = %73, %53
%75 = load i32, ptr %5, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %76
%78 = load i8, ptr %77, align 1
%79 = sext i8 %78 to i32
%80 = icmp eq i32 %79, 73
br i1 %80, label %81, label %95
81: ; preds = %74
%82 = load i32, ptr %5, align 4
%83 = add nsw i32 %82, 1
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %84
%86 = load i8, ptr %85, align 1
%87 = sext i8 %86 to i32
%88 = icmp eq i32 %87, 86
br i1 %88, label %89, label %94
89: ; preds = %81
%90 = load i32, ptr %3, align 4
%91 = add nsw i32 %90, 4
store i32 %91, ptr %3, align 4
%92 = load i32, ptr %5, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %5, align 4
br label %94
94: ; preds = %89, %81
br label %95
95: ; preds = %94, %74
%96 = load i32, ptr %5, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %97
%99 = load i8, ptr %98, align 1
%100 = sext i8 %99 to i32
%101 = icmp eq i32 %100, 73
br i1 %101, label %102, label %114
102: ; preds = %95
%103 = load i32, ptr %5, align 4
%104 = add nsw i32 %103, 1
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %105
%107 = load i8, ptr %106, align 1
%108 = sext i8 %107 to i32
%109 = icmp eq i32 %108, 76
br i1 %109, label %110, label %113
110: ; preds = %102
%111 = load i32, ptr %3, align 4
%112 = add nsw i32 %111, 1
store i32 %112, ptr %3, align 4
br label %113
113: ; preds = %110, %102
br label %114
114: ; preds = %113, %95
%115 = load i32, ptr %5, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %116
%118 = load i8, ptr %117, align 1
%119 = sext i8 %118 to i32
%120 = icmp eq i32 %119, 73
br i1 %120, label %121, label %133
121: ; preds = %114
%122 = load i32, ptr %5, align 4
%123 = add nsw i32 %122, 1
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %124
%126 = load i8, ptr %125, align 1
%127 = sext i8 %126 to i32
%128 = icmp eq i32 %127, 67
br i1 %128, label %129, label %132
129: ; preds = %121
%130 = load i32, ptr %3, align 4
%131 = add nsw i32 %130, 1
store i32 %131, ptr %3, align 4
br label %132
132: ; preds = %129, %121
br label %133
133: ; preds = %132, %114
%134 = load i32, ptr %5, align 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %135
%137 = load i8, ptr %136, align 1
%138 = sext i8 %137 to i32
%139 = icmp eq i32 %138, 73
br i1 %139, label %140, label %152
140: ; preds = %133
%141 = load i32, ptr %5, align 4
%142 = add nsw i32 %141, 1
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %143
%145 = load i8, ptr %144, align 1
%146 = sext i8 %145 to i32
%147 = icmp eq i32 %146, 73
br i1 %147, label %148, label %151
148: ; preds = %140
%149 = load i32, ptr %3, align 4
%150 = add nsw i32 %149, 1
store i32 %150, ptr %3, align 4
br label %151
151: ; preds = %148, %140
br label %152
152: ; preds = %151, %133
%153 = load i32, ptr %5, align 4
%154 = load i32, ptr %4, align 4
%155 = sub nsw i32 %154, 1
%156 = icmp eq i32 %153, %155
br i1 %156, label %157, label %167
157: ; preds = %152
%158 = load i32, ptr %5, align 4
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 %159
%161 = load i8, ptr %160, align 1
%162 = sext i8 %161 to i32
%163 = icmp eq i32 %162, 73
br i1 %163, label %164, label %167
164: ; preds = %157
%165 = load i32, ptr %3, align 4
%166 = add nsw i32 %165, 1
store i32 %166, ptr %3, align 4
br label %167
167: ; preds = %164, %157, %152
br label %168
168: ; preds = %167
%169 = load i32, ptr %5, align 4
%170 = add nsw i32 %169, 1
store i32 %170, ptr %5, align 4
%171 = load i32, ptr %5, align 4
%172 = load i32, ptr %4, align 4
%173 = icmp slt i32 %171, %172
br i1 %173, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %168
br label %174
174: ; preds = %._crit_edge, %0
%175 = load i32, ptr %3, align 4
%176 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %175)
%177 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp104v2r7j.c'
source_filename = "/tmp/tmp104v2r7j.c"
target datalayout = "e-m:e-p270: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/tmp104v2r7j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_o7n1b61.c'
source_filename = "/tmp/tmp_o7n1b61.c"
target datalayout = "e-m:e-p270: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
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_o7n1b61.c"
target datalayout = "e-m:e-p270: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
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfjk5dz1o.c'
source_filename = "/tmp/tmpfjk5dz1o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pthread_equal(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = icmp eq i64 %5, %6
%8 = zext i1 %7 to i32
ret i32 %8
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfjk5dz1o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pthread_equal(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = icmp eq i64 %5, %6
%8 = zext i1 %7 to i32
ret i32 %8
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprjl09sfe.c'
source_filename = "/tmp/tmprjl09sfe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @LPI2C3_IRQHandler() #0 {
%1 = call i32 (...) @LPI2C3_DriverIRQHandler()
ret void
}
declare i32 @LPI2C3_DriverIRQHandler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprjl09sfe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @LPI2C3_IRQHandler() #0 {
%1 = call i32 (...) @LPI2C3_DriverIRQHandler()
ret void
}
declare i32 @LPI2C3_DriverIRQHandler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2oy7z4nf.c'
source_filename = "/tmp/tmp2oy7z4nf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sinatanf_(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca float, align 4
store float %0, ptr %2, align 4
%4 = load float, ptr %2, align 4
%5 = call float @atanhf(float noundef %4) #2
store float %5, ptr %3, align 4
%6 = load float, ptr %3, align 4
%7 = call float @sinhf(float noundef %6) #2
%8 = load float, ptr %3, align 4
%9 = fadd float %7, %8
ret float %9
}
; Function Attrs: nounwind
declare float @atanhf(float noundef) #1
; Function Attrs: nounwind
declare float @sinhf(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 = { 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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2oy7z4nf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sinatanf_(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca float, align 4
store float %0, ptr %2, align 4
%4 = load float, ptr %2, align 4
%5 = call float @atanhf(float noundef %4) #2
store float %5, ptr %3, align 4
%6 = load float, ptr %3, align 4
%7 = call float @sinhf(float noundef %6) #2
%8 = load float, ptr %3, align 4
%9 = fadd float %7, %8
ret float %9
}
; Function Attrs: nounwind
declare float @atanhf(float noundef) #1
; Function Attrs: nounwind
declare float @sinhf(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 = { 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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl50jccmc.c'
source_filename = "/tmp/tmpl50jccmc.c"
target datalayout = "e-m:e-p270: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/tmpl50jccmc.c"
target datalayout = "e-m:e-p270: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/tmp9aeeusov.c'
source_filename = "/tmp/tmp9aeeusov.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pickweight(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 i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %6, align 4
br label %10
10: ; preds = %22, %2
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %25
14: ; preds = %10
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
%19 = load i32, ptr %18, align 4
%20 = load i32, ptr %7, align 4
%21 = add nsw i32 %20, %19
store i32 %21, ptr %7, align 4
br label %22
22: ; preds = %14
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %6, align 4
br label %10, !llvm.loop !6
25: ; preds = %10
%26 = load i32, ptr %7, align 4
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %32
28: ; preds = %25
%29 = call i32 (...) @random()
%30 = load i32, ptr %5, align 4
%31 = srem i32 %29, %30
store i32 %31, ptr %3, align 4
br label %54
32: ; preds = %25
%33 = call i32 (...) @random()
%34 = load i32, ptr %7, align 4
%35 = srem i32 %33, %34
store i32 %35, ptr %8, align 4
store i32 0, ptr %6, align 4
br label %36
36: ; preds = %48, %32
%37 = load i32, ptr %9, align 4
%38 = load i32, ptr %8, align 4
%39 = icmp sle i32 %37, %38
br i1 %39, label %40, label %51
40: ; preds = %36
%41 = load ptr, ptr %4, align 8
%42 = load i32, ptr %6, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %41, i64 %43
%45 = load i32, ptr %44, align 4
%46 = load i32, ptr %9, align 4
%47 = add nsw i32 %46, %45
store i32 %47, ptr %9, align 4
br label %48
48: ; preds = %40
%49 = load i32, ptr %6, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %6, align 4
br label %36, !llvm.loop !8
51: ; preds = %36
%52 = load i32, ptr %6, align 4
%53 = sub nsw i32 %52, 1
store i32 %53, ptr %3, align 4
br label %54
54: ; preds = %51, %28
%55 = load i32, ptr %3, align 4
ret i32 %55
}
declare i32 @random(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp9aeeusov.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pickweight(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 i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %27
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %21
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
%18 = load i32, ptr %17, align 4
%19 = load i32, ptr %7, align 4
%20 = add nsw i32 %19, %18
store i32 %20, ptr %7, align 4
br label %21
21: ; preds = %13
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %5, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %2
%28 = load i32, ptr %7, align 4
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %34
30: ; preds = %27
%31 = call i32 (...) @random()
%32 = load i32, ptr %5, align 4
%33 = srem i32 %31, %32
store i32 %33, ptr %3, align 4
br label %58
34: ; preds = %27
%35 = call i32 (...) @random()
%36 = load i32, ptr %7, align 4
%37 = srem i32 %35, %36
store i32 %37, ptr %8, align 4
store i32 0, ptr %6, align 4
%38 = load i32, ptr %9, align 4
%39 = load i32, ptr %8, align 4
%40 = icmp sle i32 %38, %39
br i1 %40, label %.lr.ph2, label %55
.lr.ph2: ; preds = %34
br label %41
41: ; preds = %.lr.ph2, %49
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %6, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
%46 = load i32, ptr %45, align 4
%47 = load i32, ptr %9, align 4
%48 = add nsw i32 %47, %46
store i32 %48, ptr %9, align 4
br label %49
49: ; preds = %41
%50 = load i32, ptr %6, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %6, align 4
%52 = load i32, ptr %9, align 4
%53 = load i32, ptr %8, align 4
%54 = icmp sle i32 %52, %53
br i1 %54, label %41, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %49
br label %55
55: ; preds = %._crit_edge3, %34
%56 = load i32, ptr %6, align 4
%57 = sub nsw i32 %56, 1
store i32 %57, ptr %3, align 4
br label %58
58: ; preds = %55, %30
%59 = load i32, ptr %3, align 4
ret i32 %59
}
declare i32 @random(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpvpmrfq52.c'
source_filename = "/tmp/tmpvpmrfq52.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @favestd(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca float, align 4
%16 = alloca float, align 4
store ptr %0, ptr %7, align 8
store i64 %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%17 = load ptr, ptr %12, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %26
19: ; preds = %6
%20 = load ptr, ptr %7, align 8
%21 = load i64, ptr %8, align 8
%22 = call float @floatsum(ptr noundef %20, i64 noundef %21)
store float %22, ptr %15, align 4
%23 = load ptr, ptr %7, align 8
%24 = load i64, ptr %8, align 8
%25 = call float @floatsumsquared(ptr noundef %23, i64 noundef %24)
store float %25, ptr %16, align 4
br label %41
26: ; preds = %6
%27 = load ptr, ptr %7, align 8
%28 = load ptr, ptr %12, align 8
%29 = load i64, ptr %8, align 8
%30 = call float @floatsummask(ptr noundef %27, ptr noundef %28, i64 noundef %29, ptr noundef %13)
store float %30, ptr %15, align 4
%31 = load ptr, ptr %7, align 8
%32 = load ptr, ptr %12, align 8
%33 = load i64, ptr %8, align 8
%34 = call float @floatsumsquaredmask(ptr noundef %31, ptr noundef %32, i64 noundef %33, ptr noundef %14)
store float %34, ptr %16, align 4
%35 = load i64, ptr %13, align 8
%36 = load i64, ptr %14, align 8
%37 = icmp eq i64 %35, %36
%38 = zext i1 %37 to i32
%39 = call i32 @assert(i32 noundef %38)
%40 = load i64, ptr %13, align 8
store i64 %40, ptr %8, align 8
br label %41
41: ; preds = %26, %19
%42 = load float, ptr %15, align 4
%43 = load i64, ptr %8, align 8
%44 = uitofp i64 %43 to float
%45 = fdiv float %42, %44
%46 = load ptr, ptr %9, align 8
store float %45, ptr %46, align 4
%47 = load float, ptr %16, align 4
%48 = load float, ptr %15, align 4
%49 = load float, ptr %15, align 4
%50 = fmul float %48, %49
%51 = load i64, ptr %8, align 8
%52 = uitofp i64 %51 to float
%53 = fdiv float %50, %52
%54 = fsub float %47, %53
%55 = load i64, ptr %8, align 8
%56 = uitofp i64 %55 to float
%57 = fdiv float %54, %56
%58 = call float @sqrt(float noundef %57)
%59 = load ptr, ptr %10, align 8
store float %58, ptr %59, align 4
%60 = load i64, ptr %8, align 8
%61 = load ptr, ptr %11, align 8
store i64 %60, ptr %61, align 8
ret void
}
declare float @floatsum(ptr noundef, i64 noundef) #1
declare float @floatsumsquared(ptr noundef, i64 noundef) #1
declare float @floatsummask(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1
declare float @floatsumsquaredmask(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare float @sqrt(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/tmpvpmrfq52.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @favestd(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca float, align 4
%16 = alloca float, align 4
store ptr %0, ptr %7, align 8
store i64 %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%17 = load ptr, ptr %12, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %26
19: ; preds = %6
%20 = load ptr, ptr %7, align 8
%21 = load i64, ptr %8, align 8
%22 = call float @floatsum(ptr noundef %20, i64 noundef %21)
store float %22, ptr %15, align 4
%23 = load ptr, ptr %7, align 8
%24 = load i64, ptr %8, align 8
%25 = call float @floatsumsquared(ptr noundef %23, i64 noundef %24)
store float %25, ptr %16, align 4
br label %41
26: ; preds = %6
%27 = load ptr, ptr %7, align 8
%28 = load ptr, ptr %12, align 8
%29 = load i64, ptr %8, align 8
%30 = call float @floatsummask(ptr noundef %27, ptr noundef %28, i64 noundef %29, ptr noundef %13)
store float %30, ptr %15, align 4
%31 = load ptr, ptr %7, align 8
%32 = load ptr, ptr %12, align 8
%33 = load i64, ptr %8, align 8
%34 = call float @floatsumsquaredmask(ptr noundef %31, ptr noundef %32, i64 noundef %33, ptr noundef %14)
store float %34, ptr %16, align 4
%35 = load i64, ptr %13, align 8
%36 = load i64, ptr %14, align 8
%37 = icmp eq i64 %35, %36
%38 = zext i1 %37 to i32
%39 = call i32 @assert(i32 noundef %38)
%40 = load i64, ptr %13, align 8
store i64 %40, ptr %8, align 8
br label %41
41: ; preds = %26, %19
%42 = load float, ptr %15, align 4
%43 = load i64, ptr %8, align 8
%44 = uitofp i64 %43 to float
%45 = fdiv float %42, %44
%46 = load ptr, ptr %9, align 8
store float %45, ptr %46, align 4
%47 = load float, ptr %16, align 4
%48 = load float, ptr %15, align 4
%49 = load float, ptr %15, align 4
%50 = fmul float %48, %49
%51 = load i64, ptr %8, align 8
%52 = uitofp i64 %51 to float
%53 = fdiv float %50, %52
%54 = fsub float %47, %53
%55 = load i64, ptr %8, align 8
%56 = uitofp i64 %55 to float
%57 = fdiv float %54, %56
%58 = call float @sqrt(float noundef %57)
%59 = load ptr, ptr %10, align 8
store float %58, ptr %59, align 4
%60 = load i64, ptr %8, align 8
%61 = load ptr, ptr %11, align 8
store i64 %60, ptr %61, align 8
ret void
}
declare float @floatsum(ptr noundef, i64 noundef) #1
declare float @floatsumsquared(ptr noundef, i64 noundef) #1
declare float @floatsummask(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1
declare float @floatsumsquaredmask(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare float @sqrt(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/tmpy224nrsc.c'
source_filename = "/tmp/tmpy224nrsc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c".gz\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c".Z\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c".z\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c".zip\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"-z\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"-gz\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"\1F\8B\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"PK\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"\1F\1E\00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c"\1F\9D\00", align 1
@.str.10 = private unnamed_addr constant [3 x i8] c"\1F\A0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @file_is_compressed(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [2 x i8], align 1
%6 = alloca [1025 x i8], align 16
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i64 @file_openfile(ptr noundef %7, i32 noundef 0, ptr noundef %4)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %74
10: ; preds = %1
%11 = getelementptr inbounds [1025 x i8], ptr %6, i64 0, i64 0
%12 = load ptr, ptr %3, align 8
%13 = call i32 @strcpy(ptr noundef %11, ptr noundef %12)
%14 = load ptr, ptr %3, align 8
%15 = call i32 @strcat(ptr noundef %14, ptr noundef @.str)
%16 = load ptr, ptr %3, align 8
%17 = call i64 @file_openfile(ptr noundef %16, i32 noundef 0, ptr noundef %4)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %73
19: ; preds = %10
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds [1025 x i8], ptr %6, i64 0, i64 0
%22 = call i32 @strcpy(ptr noundef %20, ptr noundef %21)
%23 = load ptr, ptr %3, align 8
%24 = call i32 @strcat(ptr noundef %23, ptr noundef @.str.1)
%25 = load ptr, ptr %3, align 8
%26 = call i64 @file_openfile(ptr noundef %25, i32 noundef 0, ptr noundef %4)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %72
28: ; preds = %19
%29 = load ptr, ptr %3, align 8
%30 = getelementptr inbounds [1025 x i8], ptr %6, i64 0, i64 0
%31 = call i32 @strcpy(ptr noundef %29, ptr noundef %30)
%32 = load ptr, ptr %3, align 8
%33 = call i32 @strcat(ptr noundef %32, ptr noundef @.str.2)
%34 = load ptr, ptr %3, align 8
%35 = call i64 @file_openfile(ptr noundef %34, i32 noundef 0, ptr noundef %4)
%36 = icmp ne i64 %35, 0
br i1 %36, label %37, label %71
37: ; preds = %28
%38 = load ptr, ptr %3, align 8
%39 = getelementptr inbounds [1025 x i8], ptr %6, i64 0, i64 0
%40 = call i32 @strcpy(ptr noundef %38, ptr noundef %39)
%41 = load ptr, ptr %3, align 8
%42 = call i32 @strcat(ptr noundef %41, ptr noundef @.str.3)
%43 = load ptr, ptr %3, align 8
%44 = call i64 @file_openfile(ptr noundef %43, i32 noundef 0, ptr noundef %4)
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %70
46: ; preds = %37
%47 = load ptr, ptr %3, align 8
%48 = getelementptr inbounds [1025 x i8], ptr %6, i64 0, i64 0
%49 = call i32 @strcpy(ptr noundef %47, ptr noundef %48)
%50 = load ptr, ptr %3, align 8
%51 = call i32 @strcat(ptr noundef %50, ptr noundef @.str.4)
%52 = load ptr, ptr %3, align 8
%53 = call i64 @file_openfile(ptr noundef %52, i32 noundef 0, ptr noundef %4)
%54 = icmp ne i64 %53, 0
br i1 %54, label %55, label %69
55: ; preds = %46
%56 = load ptr, ptr %3, align 8
%57 = getelementptr inbounds [1025 x i8], ptr %6, i64 0, i64 0
%58 = call i32 @strcpy(ptr noundef %56, ptr noundef %57)
%59 = load ptr, ptr %3, align 8
%60 = call i32 @strcat(ptr noundef %59, ptr noundef @.str.5)
%61 = load ptr, ptr %3, align 8
%62 = call i64 @file_openfile(ptr noundef %61, i32 noundef 0, ptr noundef %4)
%63 = icmp ne i64 %62, 0
br i1 %63, label %64, label %68
64: ; preds = %55
%65 = load ptr, ptr %3, align 8
%66 = getelementptr inbounds [1025 x i8], ptr %6, i64 0, i64 0
%67 = call i32 @strcpy(ptr noundef %65, ptr noundef %66)
store i32 0, ptr %2, align 4
br label %106
68: ; preds = %55
br label %69
69: ; preds = %68, %46
br label %70
70: ; preds = %69, %37
br label %71
71: ; preds = %70, %28
br label %72
72: ; preds = %71, %19
br label %73
73: ; preds = %72, %10
br label %74
74: ; preds = %73, %1
%75 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0
%76 = load ptr, ptr %4, align 8
%77 = call i32 @fread(ptr noundef %75, i32 noundef 1, i32 noundef 2, ptr noundef %76)
%78 = icmp ne i32 %77, 2
br i1 %78, label %79, label %82
79: ; preds = %74
%80 = load ptr, ptr %4, align 8
%81 = call i32 @fclose(ptr noundef %80)
store i32 0, ptr %2, align 4
br label %106
82: ; preds = %74
%83 = load ptr, ptr %4, align 8
%84 = call i32 @fclose(ptr noundef %83)
%85 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0
%86 = call i64 @memcmp(ptr noundef %85, ptr noundef @.str.6, i32 noundef 2)
%87 = icmp eq i64 %86, 0
br i1 %87, label %104, label %88
88: ; preds = %82
%89 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0
%90 = call i64 @memcmp(ptr noundef %89, ptr noundef @.str.7, i32 noundef 2)
%91 = icmp eq i64 %90, 0
br i1 %91, label %104, label %92
92: ; preds = %88
%93 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0
%94 = call i64 @memcmp(ptr noundef %93, ptr noundef @.str.8, i32 noundef 2)
%95 = icmp eq i64 %94, 0
br i1 %95, label %104, label %96
96: ; preds = %92
%97 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0
%98 = call i64 @memcmp(ptr noundef %97, ptr noundef @.str.9, i32 noundef 2)
%99 = icmp eq i64 %98, 0
br i1 %99, label %104, label %100
100: ; preds = %96
%101 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0
%102 = call i64 @memcmp(ptr noundef %101, ptr noundef @.str.10, i32 noundef 2)
%103 = icmp eq i64 %102, 0
br i1 %103, label %104, label %105
104: ; preds = %100, %96, %92, %88, %82
store i32 1, ptr %2, align 4
br label %106
105: ; preds = %100
store i32 0, ptr %2, align 4
br label %106
106: ; preds = %105, %104, %79, %64
%107 = load i32, ptr %2, align 4
ret i32 %107
}
declare i64 @file_openfile(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i64 @memcmp(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/tmpy224nrsc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c".gz\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c".Z\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c".z\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c".zip\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"-z\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"-gz\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"\1F\8B\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"PK\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"\1F\1E\00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c"\1F\9D\00", align 1
@.str.10 = private unnamed_addr constant [3 x i8] c"\1F\A0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @file_is_compressed(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [2 x i8], align 1
%6 = alloca [1025 x i8], align 16
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i64 @file_openfile(ptr noundef %7, i32 noundef 0, ptr noundef %4)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %74
10: ; preds = %1
%11 = getelementptr inbounds [1025 x i8], ptr %6, i64 0, i64 0
%12 = load ptr, ptr %3, align 8
%13 = call i32 @strcpy(ptr noundef %11, ptr noundef %12)
%14 = load ptr, ptr %3, align 8
%15 = call i32 @strcat(ptr noundef %14, ptr noundef @.str)
%16 = load ptr, ptr %3, align 8
%17 = call i64 @file_openfile(ptr noundef %16, i32 noundef 0, ptr noundef %4)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %73
19: ; preds = %10
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds [1025 x i8], ptr %6, i64 0, i64 0
%22 = call i32 @strcpy(ptr noundef %20, ptr noundef %21)
%23 = load ptr, ptr %3, align 8
%24 = call i32 @strcat(ptr noundef %23, ptr noundef @.str.1)
%25 = load ptr, ptr %3, align 8
%26 = call i64 @file_openfile(ptr noundef %25, i32 noundef 0, ptr noundef %4)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %72
28: ; preds = %19
%29 = load ptr, ptr %3, align 8
%30 = getelementptr inbounds [1025 x i8], ptr %6, i64 0, i64 0
%31 = call i32 @strcpy(ptr noundef %29, ptr noundef %30)
%32 = load ptr, ptr %3, align 8
%33 = call i32 @strcat(ptr noundef %32, ptr noundef @.str.2)
%34 = load ptr, ptr %3, align 8
%35 = call i64 @file_openfile(ptr noundef %34, i32 noundef 0, ptr noundef %4)
%36 = icmp ne i64 %35, 0
br i1 %36, label %37, label %71
37: ; preds = %28
%38 = load ptr, ptr %3, align 8
%39 = getelementptr inbounds [1025 x i8], ptr %6, i64 0, i64 0
%40 = call i32 @strcpy(ptr noundef %38, ptr noundef %39)
%41 = load ptr, ptr %3, align 8
%42 = call i32 @strcat(ptr noundef %41, ptr noundef @.str.3)
%43 = load ptr, ptr %3, align 8
%44 = call i64 @file_openfile(ptr noundef %43, i32 noundef 0, ptr noundef %4)
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %70
46: ; preds = %37
%47 = load ptr, ptr %3, align 8
%48 = getelementptr inbounds [1025 x i8], ptr %6, i64 0, i64 0
%49 = call i32 @strcpy(ptr noundef %47, ptr noundef %48)
%50 = load ptr, ptr %3, align 8
%51 = call i32 @strcat(ptr noundef %50, ptr noundef @.str.4)
%52 = load ptr, ptr %3, align 8
%53 = call i64 @file_openfile(ptr noundef %52, i32 noundef 0, ptr noundef %4)
%54 = icmp ne i64 %53, 0
br i1 %54, label %55, label %69
55: ; preds = %46
%56 = load ptr, ptr %3, align 8
%57 = getelementptr inbounds [1025 x i8], ptr %6, i64 0, i64 0
%58 = call i32 @strcpy(ptr noundef %56, ptr noundef %57)
%59 = load ptr, ptr %3, align 8
%60 = call i32 @strcat(ptr noundef %59, ptr noundef @.str.5)
%61 = load ptr, ptr %3, align 8
%62 = call i64 @file_openfile(ptr noundef %61, i32 noundef 0, ptr noundef %4)
%63 = icmp ne i64 %62, 0
br i1 %63, label %64, label %68
64: ; preds = %55
%65 = load ptr, ptr %3, align 8
%66 = getelementptr inbounds [1025 x i8], ptr %6, i64 0, i64 0
%67 = call i32 @strcpy(ptr noundef %65, ptr noundef %66)
store i32 0, ptr %2, align 4
br label %106
68: ; preds = %55
br label %69
69: ; preds = %68, %46
br label %70
70: ; preds = %69, %37
br label %71
71: ; preds = %70, %28
br label %72
72: ; preds = %71, %19
br label %73
73: ; preds = %72, %10
br label %74
74: ; preds = %73, %1
%75 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0
%76 = load ptr, ptr %4, align 8
%77 = call i32 @fread(ptr noundef %75, i32 noundef 1, i32 noundef 2, ptr noundef %76)
%78 = icmp ne i32 %77, 2
br i1 %78, label %79, label %82
79: ; preds = %74
%80 = load ptr, ptr %4, align 8
%81 = call i32 @fclose(ptr noundef %80)
store i32 0, ptr %2, align 4
br label %106
82: ; preds = %74
%83 = load ptr, ptr %4, align 8
%84 = call i32 @fclose(ptr noundef %83)
%85 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0
%86 = call i64 @memcmp(ptr noundef %85, ptr noundef @.str.6, i32 noundef 2)
%87 = icmp eq i64 %86, 0
br i1 %87, label %104, label %88
88: ; preds = %82
%89 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0
%90 = call i64 @memcmp(ptr noundef %89, ptr noundef @.str.7, i32 noundef 2)
%91 = icmp eq i64 %90, 0
br i1 %91, label %104, label %92
92: ; preds = %88
%93 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0
%94 = call i64 @memcmp(ptr noundef %93, ptr noundef @.str.8, i32 noundef 2)
%95 = icmp eq i64 %94, 0
br i1 %95, label %104, label %96
96: ; preds = %92
%97 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0
%98 = call i64 @memcmp(ptr noundef %97, ptr noundef @.str.9, i32 noundef 2)
%99 = icmp eq i64 %98, 0
br i1 %99, label %104, label %100
100: ; preds = %96
%101 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0
%102 = call i64 @memcmp(ptr noundef %101, ptr noundef @.str.10, i32 noundef 2)
%103 = icmp eq i64 %102, 0
br i1 %103, label %104, label %105
104: ; preds = %100, %96, %92, %88, %82
store i32 1, ptr %2, align 4
br label %106
105: ; preds = %100
store i32 0, ptr %2, align 4
br label %106
106: ; preds = %105, %104, %79, %64
%107 = load i32, ptr %2, align 4
ret i32 %107
}
declare i64 @file_openfile(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i64 @memcmp(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/tmpetloz8eu.c'
source_filename = "/tmp/tmpetloz8eu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
store i32 %7, ptr %4, align 4
br label %8
8: ; preds = %22, %1
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %4, align 4
%11 = add nsw i32 %10, -1
store i32 %11, ptr %4, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %9, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 32
br i1 %16, label %17, label %20
17: ; preds = %8
%18 = load i32, ptr %4, align 4
%19 = icmp sgt i32 %18, 0
br label %20
20: ; preds = %17, %8
%21 = phi i1 [ false, %8 ], [ %19, %17 ]
br i1 %21, label %22, label %23
22: ; preds = %20
br label %8, !llvm.loop !6
23: ; preds = %20
%24 = load ptr, ptr %2, align 8
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %24, i64 %27
store i8 0, ptr %28, align 1
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpetloz8eu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
store i32 %7, ptr %4, align 4
br label %8
8: ; preds = %20, %1
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %4, align 4
%11 = add nsw i32 %10, -1
store i32 %11, ptr %4, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %9, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 32
br i1 %16, label %17, label %20
17: ; preds = %8
%18 = load i32, ptr %4, align 4
%19 = icmp sgt i32 %18, 0
br label %20
20: ; preds = %17, %8
%21 = phi i1 [ false, %8 ], [ %19, %17 ]
br i1 %21, label %8, label %22, !llvm.loop !6
22: ; preds = %20
%23 = load ptr, ptr %2, align 8
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %23, i64 %26
store i8 0, ptr %27, align 1
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpu40h5vml.c'
source_filename = "/tmp/tmpu40h5vml.c"
target datalayout = "e-m:e-p270: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/tmpu40h5vml.c"
target datalayout = "e-m:e-p270: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/tmptbc8ft2p.c'
source_filename = "/tmp/tmptbc8ft2p.c"
target datalayout = "e-m:e-p270: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/tmptbc8ft2p.c"
target datalayout = "e-m:e-p270: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/tmpkdjilm6p.c'
source_filename = "/tmp/tmpkdjilm6p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @le64enc(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = and i32 %8, -1
%10 = call i32 @le32enc(ptr noundef %7, i32 noundef %9)
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds i32, ptr %11, i64 4
%13 = load i32, ptr %4, align 4
%14 = ashr i32 %13, 32
%15 = call i32 @le32enc(ptr noundef %12, i32 noundef %14)
ret void
}
declare i32 @le32enc(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/tmpkdjilm6p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @le64enc(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = and i32 %8, -1
%10 = call i32 @le32enc(ptr noundef %7, i32 noundef %9)
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds i32, ptr %11, i64 4
%13 = load i32, ptr %4, align 4
%14 = ashr i32 %13, 32
%15 = call i32 @le32enc(ptr noundef %12, i32 noundef %14)
ret void
}
declare i32 @le32enc(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/tmpcefd372d.c'
source_filename = "/tmp/tmpcefd372d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sda1\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"sda2\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"sda3\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"sda4\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"sdb1\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"sdb2\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"sdb3\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"sdb4\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c"sdc1\00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c"sdc2\00", align 1
@.str.10 = private unnamed_addr constant [5 x i8] c"sdc3\00", align 1
@.str.11 = private unnamed_addr constant [5 x i8] c"sdc4\00", align 1
@.str.12 = private unnamed_addr constant [5 x i8] c"sdd1\00", align 1
@.str.13 = private unnamed_addr constant [5 x i8] c"sdd2\00", align 1
@.str.14 = private unnamed_addr constant [5 x i8] c"sdd3\00", align 1
@.str.15 = private unnamed_addr constant [5 x i8] c"sdd4\00", align 1
@__const.dir_check.arg = private unnamed_addr constant [16 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13, ptr @.str.14, ptr @.str.15], align 16
@.str.16 = private unnamed_addr constant [10 x i8] c"path=%s\0D\0A\00", align 1
@.str.17 = private unnamed_addr constant [34 x i8] c"Do not find media directory(%s)\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dir_check(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [16 x ptr], align 16
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.dir_check.arg, i64 128, i1 false)
store i32 0, ptr %8, align 4
br label %10
10: ; preds = %24, %2
%11 = load i32, ptr %8, align 4
%12 = icmp slt i32 %11, 16
br i1 %12, label %13, label %27
13: ; preds = %10
%14 = load i32, ptr %8, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [16 x ptr], ptr %6, i64 0, i64 %15
%17 = load ptr, ptr %16, align 8
%18 = load ptr, ptr %4, align 8
%19 = call i32 @get_media_dir(ptr noundef %17, ptr noundef %18)
store i32 %19, ptr %9, align 4
%20 = load i32, ptr %9, align 4
%21 = icmp sgt i32 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %13
br label %27
23: ; preds = %13
br label %24
24: ; preds = %23
%25 = load i32, ptr %8, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %8, align 4
br label %10, !llvm.loop !6
27: ; preds = %22, %10
%28 = load i32, ptr %9, align 4
%29 = icmp sgt i32 %28, 0
br i1 %29, label %30, label %43
30: ; preds = %27
%31 = load ptr, ptr %4, align 8
%32 = call i32 @strlen(ptr noundef %31)
%33 = sub nsw i32 %32, 1
store i32 %33, ptr %8, align 4
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %8, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
store i8 0, ptr %37, align 1
%38 = load ptr, ptr %4, align 8
%39 = load ptr, ptr %5, align 8
%40 = call i32 @strcat(ptr noundef %38, ptr noundef %39)
%41 = load ptr, ptr %4, align 8
%42 = call i32 @printf(ptr noundef @.str.16, ptr noundef %41)
br label %44
43: ; preds = %27
store i32 -1, ptr %3, align 4
br label %55
44: ; preds = %30
%45 = load ptr, ptr %4, align 8
%46 = call ptr @opendir(ptr noundef %45)
store ptr %46, ptr %7, align 8
%47 = load ptr, ptr %7, align 8
%48 = icmp ne ptr %47, null
br i1 %48, label %49, label %52
49: ; preds = %44
%50 = load ptr, ptr %7, align 8
%51 = call i32 @closedir(ptr noundef %50)
store i32 1, ptr %3, align 4
br label %55
52: ; preds = %44
%53 = load ptr, ptr %4, align 8
%54 = call i32 @printf(ptr noundef @.str.17, ptr noundef %53)
store i32 -2, ptr %3, align 4
br label %55
55: ; preds = %52, %49, %43
%56 = load i32, ptr %3, align 4
ret i32 %56
}
; 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 @get_media_dir(ptr noundef, ptr noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @strcat(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
declare ptr @opendir(ptr noundef) #2
declare i32 @closedir(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcefd372d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sda1\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"sda2\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"sda3\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"sda4\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"sdb1\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"sdb2\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"sdb3\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"sdb4\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c"sdc1\00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c"sdc2\00", align 1
@.str.10 = private unnamed_addr constant [5 x i8] c"sdc3\00", align 1
@.str.11 = private unnamed_addr constant [5 x i8] c"sdc4\00", align 1
@.str.12 = private unnamed_addr constant [5 x i8] c"sdd1\00", align 1
@.str.13 = private unnamed_addr constant [5 x i8] c"sdd2\00", align 1
@.str.14 = private unnamed_addr constant [5 x i8] c"sdd3\00", align 1
@.str.15 = private unnamed_addr constant [5 x i8] c"sdd4\00", align 1
@__const.dir_check.arg = private unnamed_addr constant [16 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13, ptr @.str.14, ptr @.str.15], align 16
@.str.16 = private unnamed_addr constant [10 x i8] c"path=%s\0D\0A\00", align 1
@.str.17 = private unnamed_addr constant [34 x i8] c"Do not find media directory(%s)\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dir_check(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [16 x ptr], align 16
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.dir_check.arg, i64 128, i1 false)
store i32 0, ptr %8, align 4
%10 = load i32, ptr %8, align 4
%11 = icmp slt i32 %10, 16
br i1 %11, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %23
%13 = load i32, ptr %8, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [16 x ptr], ptr %6, i64 0, i64 %14
%16 = load ptr, ptr %15, align 8
%17 = load ptr, ptr %4, align 8
%18 = call i32 @get_media_dir(ptr noundef %16, ptr noundef %17)
store i32 %18, ptr %9, align 4
%19 = load i32, ptr %9, align 4
%20 = icmp sgt i32 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %12
br label %28
22: ; preds = %12
br label %23
23: ; preds = %22
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %8, align 4
%26 = load i32, ptr %8, align 4
%27 = icmp slt i32 %26, 16
br i1 %27, label %12, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %23
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %28
28: ; preds = %.loopexit, %21
%29 = load i32, ptr %9, align 4
%30 = icmp sgt i32 %29, 0
br i1 %30, label %31, label %44
31: ; preds = %28
%32 = load ptr, ptr %4, align 8
%33 = call i32 @strlen(ptr noundef %32)
%34 = sub nsw i32 %33, 1
store i32 %34, ptr %8, align 4
%35 = load ptr, ptr %4, align 8
%36 = load i32, ptr %8, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
store i8 0, ptr %38, align 1
%39 = load ptr, ptr %4, align 8
%40 = load ptr, ptr %5, align 8
%41 = call i32 @strcat(ptr noundef %39, ptr noundef %40)
%42 = load ptr, ptr %4, align 8
%43 = call i32 @printf(ptr noundef @.str.16, ptr noundef %42)
br label %45
44: ; preds = %28
store i32 -1, ptr %3, align 4
br label %56
45: ; preds = %31
%46 = load ptr, ptr %4, align 8
%47 = call ptr @opendir(ptr noundef %46)
store ptr %47, ptr %7, align 8
%48 = load ptr, ptr %7, align 8
%49 = icmp ne ptr %48, null
br i1 %49, label %50, label %53
50: ; preds = %45
%51 = load ptr, ptr %7, align 8
%52 = call i32 @closedir(ptr noundef %51)
store i32 1, ptr %3, align 4
br label %56
53: ; preds = %45
%54 = load ptr, ptr %4, align 8
%55 = call i32 @printf(ptr noundef @.str.17, ptr noundef %54)
store i32 -2, ptr %3, align 4
br label %56
56: ; preds = %53, %50, %44
%57 = load i32, ptr %3, align 4
ret i32 %57
}
; 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 @get_media_dir(ptr noundef, ptr noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @strcat(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
declare ptr @opendir(ptr noundef) #2
declare i32 @closedir(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpq2rtr9ts.c'
source_filename = "/tmp/tmpq2rtr9ts.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @downcase_word(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i64 @strlen(ptr noundef %5)
store i64 %6, ptr %3, align 8
store i32 0, ptr %4, align 4
br label %7
7: ; preds = %23, %1
%8 = load i32, ptr %4, align 4
%9 = sext i32 %8 to i64
%10 = load i64, ptr %3, align 8
%11 = icmp ult i64 %9, %10
br i1 %11, label %12, label %26
12: ; preds = %7
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %4, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = call signext i8 @towlower(i8 noundef signext %17)
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr %4, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
store i8 %18, ptr %22, align 1
br label %23
23: ; preds = %12
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %4, align 4
br label %7, !llvm.loop !6
26: ; preds = %7
ret void
}
declare i64 @strlen(ptr noundef) #1
declare signext i8 @towlower(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/tmpq2rtr9ts.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @downcase_word(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i64 @strlen(ptr noundef %5)
store i64 %6, ptr %3, align 8
store i32 0, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = sext i32 %7 to i64
%9 = load i64, ptr %3, align 8
%10 = icmp ult i64 %8, %9
br i1 %10, label %.lr.ph, label %29
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %22
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = call signext i8 @towlower(i8 noundef signext %16)
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
store i8 %17, ptr %21, align 1
br label %22
22: ; preds = %11
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
%25 = load i32, ptr %4, align 4
%26 = sext i32 %25 to i64
%27 = load i64, ptr %3, align 8
%28 = icmp ult i64 %26, %27
br i1 %28, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %29
29: ; preds = %._crit_edge, %1
ret void
}
declare i64 @strlen(ptr noundef) #1
declare signext i8 @towlower(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/tmp_aainuz5.c'
source_filename = "/tmp/tmp_aainuz5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qu_c_name(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @obstack_blank(ptr noundef %5, i32 noundef 0)
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @qu_append_c_name(ptr noundef %7, ptr noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = call ptr @obstack_finish(ptr noundef %10)
ret ptr %11
}
declare i32 @obstack_blank(ptr noundef, i32 noundef) #1
declare i32 @qu_append_c_name(ptr noundef, ptr noundef) #1
declare ptr @obstack_finish(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_aainuz5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qu_c_name(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @obstack_blank(ptr noundef %5, i32 noundef 0)
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @qu_append_c_name(ptr noundef %7, ptr noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = call ptr @obstack_finish(ptr noundef %10)
ret ptr %11
}
declare i32 @obstack_blank(ptr noundef, i32 noundef) #1
declare i32 @qu_append_c_name(ptr noundef, ptr noundef) #1
declare ptr @obstack_finish(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaxqiq4b8.c'
source_filename = "/tmp/tmpaxqiq4b8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @imgproj_motstr(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
%27 = alloca double, align 8
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca double, align 8
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%31 = load ptr, ptr %12, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 0
%33 = load ptr, ptr %32, align 8
store ptr %33, ptr %14, align 8
%34 = load ptr, ptr %12, align 8
%35 = getelementptr inbounds ptr, ptr %34, i64 1
%36 = load ptr, ptr %35, align 8
store ptr %36, ptr %15, align 8
%37 = load ptr, ptr %14, align 8
%38 = load i32, ptr %7, align 4
%39 = mul nsw i32 %38, 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds double, ptr %37, i64 %40
store ptr %41, ptr %13, align 8
%42 = load ptr, ptr %9, align 8
%43 = getelementptr inbounds double, ptr %42, i64 0
%44 = load double, ptr %43, align 8
%45 = call double @pow(double noundef %44, double noundef 2.000000e+00) #3
store double %45, ptr %16, align 8
%46 = load ptr, ptr %9, align 8
%47 = getelementptr inbounds double, ptr %46, i64 1
%48 = load double, ptr %47, align 8
%49 = call double @pow(double noundef %48, double noundef 2.000000e+00) #3
store double %49, ptr %17, align 8
%50 = load ptr, ptr %9, align 8
%51 = getelementptr inbounds double, ptr %50, i64 2
%52 = load double, ptr %51, align 8
%53 = call double @pow(double noundef %52, double noundef 2.000000e+00) #3
store double %53, ptr %18, align 8
%54 = load double, ptr %16, align 8
%55 = fsub double 1.000000e+00, %54
%56 = load double, ptr %17, align 8
%57 = fsub double %55, %56
%58 = load double, ptr %18, align 8
%59 = fsub double %57, %58
%60 = call double @sqrt(double noundef %59) #3
store double %60, ptr %19, align 8
%61 = load double, ptr %19, align 8
%62 = load ptr, ptr %13, align 8
%63 = getelementptr inbounds double, ptr %62, i64 1
%64 = load double, ptr %63, align 8
%65 = load ptr, ptr %13, align 8
%66 = getelementptr inbounds double, ptr %65, i64 0
%67 = load double, ptr %66, align 8
%68 = load ptr, ptr %9, align 8
%69 = getelementptr inbounds double, ptr %68, i64 0
%70 = load double, ptr %69, align 8
%71 = fmul double %67, %70
%72 = call double @llvm.fmuladd.f64(double %61, double %64, double %71)
%73 = load ptr, ptr %9, align 8
%74 = getelementptr inbounds double, ptr %73, i64 1
%75 = load double, ptr %74, align 8
%76 = load ptr, ptr %13, align 8
%77 = getelementptr inbounds double, ptr %76, i64 3
%78 = load double, ptr %77, align 8
%79 = call double @llvm.fmuladd.f64(double %75, double %78, double %72)
%80 = load ptr, ptr %9, align 8
%81 = getelementptr inbounds double, ptr %80, i64 2
%82 = load double, ptr %81, align 8
%83 = load ptr, ptr %13, align 8
%84 = getelementptr inbounds double, ptr %83, i64 2
%85 = load double, ptr %84, align 8
%86 = fneg double %82
%87 = call double @llvm.fmuladd.f64(double %86, double %85, double %79)
store double %87, ptr %20, align 8
%88 = load double, ptr %19, align 8
%89 = load ptr, ptr %13, align 8
%90 = getelementptr inbounds double, ptr %89, i64 2
%91 = load double, ptr %90, align 8
%92 = load ptr, ptr %13, align 8
%93 = getelementptr inbounds double, ptr %92, i64 0
%94 = load double, ptr %93, align 8
%95 = load ptr, ptr %9, align 8
%96 = getelementptr inbounds double, ptr %95, i64 1
%97 = load double, ptr %96, align 8
%98 = fmul double %94, %97
%99 = call double @llvm.fmuladd.f64(double %88, double %91, double %98)
%100 = load ptr, ptr %9, align 8
%101 = getelementptr inbounds double, ptr %100, i64 2
%102 = load double, ptr %101, align 8
%103 = load ptr, ptr %13, align 8
%104 = getelementptr inbounds double, ptr %103, i64 1
%105 = load double, ptr %104, align 8
%106 = call double @llvm.fmuladd.f64(double %102, double %105, double %99)
%107 = load ptr, ptr %9, align 8
%108 = getelementptr inbounds double, ptr %107, i64 0
%109 = load double, ptr %108, align 8
%110 = load ptr, ptr %13, align 8
%111 = getelementptr inbounds double, ptr %110, i64 3
%112 = load double, ptr %111, align 8
%113 = fneg double %109
%114 = call double @llvm.fmuladd.f64(double %113, double %112, double %106)
store double %114, ptr %21, align 8
%115 = load double, ptr %19, align 8
%116 = load ptr, ptr %13, align 8
%117 = getelementptr inbounds double, ptr %116, i64 3
%118 = load double, ptr %117, align 8
%119 = load ptr, ptr %13, align 8
%120 = getelementptr inbounds double, ptr %119, i64 0
%121 = load double, ptr %120, align 8
%122 = load ptr, ptr %9, align 8
%123 = getelementptr inbounds double, ptr %122, i64 2
%124 = load double, ptr %123, align 8
%125 = fmul double %121, %124
%126 = call double @llvm.fmuladd.f64(double %115, double %118, double %125)
%127 = load ptr, ptr %9, align 8
%128 = getelementptr inbounds double, ptr %127, i64 0
%129 = load double, ptr %128, align 8
%130 = load ptr, ptr %13, align 8
%131 = getelementptr inbounds double, ptr %130, i64 2
%132 = load double, ptr %131, align 8
%133 = call double @llvm.fmuladd.f64(double %129, double %132, double %126)
%134 = load ptr, ptr %9, align 8
%135 = getelementptr inbounds double, ptr %134, i64 1
%136 = load double, ptr %135, align 8
%137 = load ptr, ptr %13, align 8
%138 = getelementptr inbounds double, ptr %137, i64 1
%139 = load double, ptr %138, align 8
%140 = fneg double %136
%141 = call double @llvm.fmuladd.f64(double %140, double %139, double %133)
store double %141, ptr %22, align 8
%142 = load double, ptr %20, align 8
%143 = fneg double %142
%144 = load ptr, ptr %10, align 8
%145 = getelementptr inbounds double, ptr %144, i64 0
%146 = load double, ptr %145, align 8
%147 = load double, ptr %21, align 8
%148 = load ptr, ptr %10, align 8
%149 = getelementptr inbounds double, ptr %148, i64 1
%150 = load double, ptr %149, align 8
%151 = fmul double %147, %150
%152 = fneg double %151
%153 = call double @llvm.fmuladd.f64(double %143, double %146, double %152)
%154 = load double, ptr %22, align 8
%155 = load ptr, ptr %10, align 8
%156 = getelementptr inbounds double, ptr %155, i64 2
%157 = load double, ptr %156, align 8
%158 = fneg double %154
%159 = call double @llvm.fmuladd.f64(double %158, double %157, double %153)
store double %159, ptr %23, align 8
%160 = load double, ptr %19, align 8
%161 = load ptr, ptr %13, align 8
%162 = getelementptr inbounds double, ptr %161, i64 0
%163 = load double, ptr %162, align 8
%164 = load ptr, ptr %9, align 8
%165 = getelementptr inbounds double, ptr %164, i64 0
%166 = load double, ptr %165, align 8
%167 = load ptr, ptr %13, align 8
%168 = getelementptr inbounds double, ptr %167, i64 1
%169 = load double, ptr %168, align 8
%170 = fmul double %166, %169
%171 = fneg double %170
%172 = call double @llvm.fmuladd.f64(double %160, double %163, double %171)
%173 = load ptr, ptr %9, align 8
%174 = getelementptr inbounds double, ptr %173, i64 1
%175 = load double, ptr %174, align 8
%176 = load ptr, ptr %13, align 8
%177 = getelementptr inbounds double, ptr %176, i64 2
%178 = load double, ptr %177, align 8
%179 = fneg double %175
%180 = call double @llvm.fmuladd.f64(double %179, double %178, double %172)
%181 = load ptr, ptr %9, align 8
%182 = getelementptr inbounds double, ptr %181, i64 2
%183 = load double, ptr %182, align 8
%184 = load ptr, ptr %13, align 8
%185 = getelementptr inbounds double, ptr %184, i64 3
%186 = load double, ptr %185, align 8
%187 = fneg double %183
%188 = call double @llvm.fmuladd.f64(double %187, double %186, double %180)
store double %188, ptr %24, align 8
%189 = load double, ptr %24, align 8
%190 = load ptr, ptr %10, align 8
%191 = getelementptr inbounds double, ptr %190, i64 0
%192 = load double, ptr %191, align 8
%193 = load double, ptr %21, align 8
%194 = load ptr, ptr %10, align 8
%195 = getelementptr inbounds double, ptr %194, i64 2
%196 = load double, ptr %195, align 8
%197 = fmul double %193, %196
%198 = call double @llvm.fmuladd.f64(double %189, double %192, double %197)
%199 = load double, ptr %22, align 8
%200 = load ptr, ptr %10, align 8
%201 = getelementptr inbounds double, ptr %200, i64 1
%202 = load double, ptr %201, align 8
%203 = fneg double %199
%204 = call double @llvm.fmuladd.f64(double %203, double %202, double %198)
store double %204, ptr %25, align 8
%205 = load double, ptr %24, align 8
%206 = load ptr, ptr %10, align 8
%207 = getelementptr inbounds double, ptr %206, i64 1
%208 = load double, ptr %207, align 8
%209 = load double, ptr %22, align 8
%210 = load ptr, ptr %10, align 8
%211 = getelementptr inbounds double, ptr %210, i64 0
%212 = load double, ptr %211, align 8
%213 = fmul double %209, %212
%214 = call double @llvm.fmuladd.f64(double %205, double %208, double %213)
%215 = load double, ptr %20, align 8
%216 = load ptr, ptr %10, align 8
%217 = getelementptr inbounds double, ptr %216, i64 2
%218 = load double, ptr %217, align 8
%219 = fneg double %215
%220 = call double @llvm.fmuladd.f64(double %219, double %218, double %214)
store double %220, ptr %26, align 8
%221 = load double, ptr %24, align 8
%222 = load ptr, ptr %10, align 8
%223 = getelementptr inbounds double, ptr %222, i64 2
%224 = load double, ptr %223, align 8
%225 = load double, ptr %20, align 8
%226 = load ptr, ptr %10, align 8
%227 = getelementptr inbounds double, ptr %226, i64 1
%228 = load double, ptr %227, align 8
%229 = fmul double %225, %228
%230 = call double @llvm.fmuladd.f64(double %221, double %224, double %229)
%231 = load double, ptr %21, align 8
%232 = load ptr, ptr %10, align 8
%233 = getelementptr inbounds double, ptr %232, i64 0
%234 = load double, ptr %233, align 8
%235 = fneg double %231
%236 = call double @llvm.fmuladd.f64(double %235, double %234, double %230)
store double %236, ptr %27, align 8
%237 = load double, ptr %23, align 8
%238 = fneg double %237
%239 = load double, ptr %21, align 8
%240 = load double, ptr %24, align 8
%241 = load double, ptr %26, align 8
%242 = fmul double %240, %241
%243 = call double @llvm.fmuladd.f64(double %238, double %239, double %242)
%244 = load double, ptr %27, align 8
%245 = load double, ptr %20, align 8
%246 = fneg double %244
%247 = call double @llvm.fmuladd.f64(double %246, double %245, double %243)
%248 = load double, ptr %25, align 8
%249 = load double, ptr %22, align 8
%250 = call double @llvm.fmuladd.f64(double %248, double %249, double %247)
%251 = load ptr, ptr %9, align 8
%252 = getelementptr inbounds double, ptr %251, i64 4
%253 = load double, ptr %252, align 8
%254 = fadd double %250, %253
store double %254, ptr %28, align 8
%255 = load double, ptr %23, align 8
%256 = fneg double %255
%257 = load double, ptr %22, align 8
%258 = load double, ptr %24, align 8
%259 = load double, ptr %27, align 8
%260 = fmul double %258, %259
%261 = call double @llvm.fmuladd.f64(double %256, double %257, double %260)
%262 = load double, ptr %25, align 8
%263 = load double, ptr %21, align 8
%264 = fneg double %262
%265 = call double @llvm.fmuladd.f64(double %264, double %263, double %261)
%266 = load double, ptr %26, align 8
%267 = load double, ptr %20, align 8
%268 = call double @llvm.fmuladd.f64(double %266, double %267, double %265)
%269 = load ptr, ptr %9, align 8
%270 = getelementptr inbounds double, ptr %269, i64 5
%271 = load double, ptr %270, align 8
%272 = fadd double %268, %271
store double %272, ptr %29, align 8
%273 = load double, ptr %29, align 8
%274 = fdiv double 1.000000e+00, %273
store double %274, ptr %30, align 8
%275 = load ptr, ptr %15, align 8
%276 = getelementptr inbounds double, ptr %275, i64 0
%277 = load double, ptr %276, align 8
%278 = load double, ptr %23, align 8
%279 = fneg double %278
%280 = load double, ptr %20, align 8
%281 = load double, ptr %24, align 8
%282 = load double, ptr %25, align 8
%283 = fmul double %281, %282
%284 = call double @llvm.fmuladd.f64(double %279, double %280, double %283)
%285 = load double, ptr %26, align 8
%286 = load double, ptr %22, align 8
%287 = fneg double %285
%288 = call double @llvm.fmuladd.f64(double %287, double %286, double %284)
%289 = load double, ptr %27, align 8
%290 = load double, ptr %21, align 8
%291 = call double @llvm.fmuladd.f64(double %289, double %290, double %288)
%292 = load ptr, ptr %9, align 8
%293 = getelementptr inbounds double, ptr %292, i64 3
%294 = load double, ptr %293, align 8
%295 = fadd double %291, %294
%296 = load ptr, ptr %15, align 8
%297 = getelementptr inbounds double, ptr %296, i64 1
%298 = load double, ptr %297, align 8
%299 = load double, ptr %28, align 8
%300 = fmul double %298, %299
%301 = call double @llvm.fmuladd.f64(double %277, double %295, double %300)
%302 = load ptr, ptr %15, align 8
%303 = getelementptr inbounds double, ptr %302, i64 2
%304 = load double, ptr %303, align 8
%305 = load double, ptr %29, align 8
%306 = call double @llvm.fmuladd.f64(double %304, double %305, double %301)
%307 = load double, ptr %30, align 8
%308 = fmul double %306, %307
%309 = load ptr, ptr %11, align 8
%310 = getelementptr inbounds double, ptr %309, i64 0
store double %308, ptr %310, align 8
%311 = load ptr, ptr %15, align 8
%312 = getelementptr inbounds double, ptr %311, i64 3
%313 = load double, ptr %312, align 8
%314 = load double, ptr %28, align 8
%315 = load ptr, ptr %15, align 8
%316 = getelementptr inbounds double, ptr %315, i64 4
%317 = load double, ptr %316, align 8
%318 = load double, ptr %29, align 8
%319 = fmul double %317, %318
%320 = call double @llvm.fmuladd.f64(double %313, double %314, double %319)
%321 = load double, ptr %30, align 8
%322 = fmul double %320, %321
%323 = load ptr, ptr %11, align 8
%324 = getelementptr inbounds double, ptr %323, i64 1
store double %322, ptr %324, align 8
ret void
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaxqiq4b8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @imgproj_motstr(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca double, align 8
%27 = alloca double, align 8
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca double, align 8
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%31 = load ptr, ptr %12, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 0
%33 = load ptr, ptr %32, align 8
store ptr %33, ptr %14, align 8
%34 = load ptr, ptr %12, align 8
%35 = getelementptr inbounds ptr, ptr %34, i64 1
%36 = load ptr, ptr %35, align 8
store ptr %36, ptr %15, align 8
%37 = load ptr, ptr %14, align 8
%38 = load i32, ptr %7, align 4
%39 = mul nsw i32 %38, 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds double, ptr %37, i64 %40
store ptr %41, ptr %13, align 8
%42 = load ptr, ptr %9, align 8
%43 = getelementptr inbounds double, ptr %42, i64 0
%44 = load double, ptr %43, align 8
%45 = call double @pow(double noundef %44, double noundef 2.000000e+00) #3
store double %45, ptr %16, align 8
%46 = load ptr, ptr %9, align 8
%47 = getelementptr inbounds double, ptr %46, i64 1
%48 = load double, ptr %47, align 8
%49 = call double @pow(double noundef %48, double noundef 2.000000e+00) #3
store double %49, ptr %17, align 8
%50 = load ptr, ptr %9, align 8
%51 = getelementptr inbounds double, ptr %50, i64 2
%52 = load double, ptr %51, align 8
%53 = call double @pow(double noundef %52, double noundef 2.000000e+00) #3
store double %53, ptr %18, align 8
%54 = load double, ptr %16, align 8
%55 = fsub double 1.000000e+00, %54
%56 = load double, ptr %17, align 8
%57 = fsub double %55, %56
%58 = load double, ptr %18, align 8
%59 = fsub double %57, %58
%60 = call double @sqrt(double noundef %59) #3
store double %60, ptr %19, align 8
%61 = load double, ptr %19, align 8
%62 = load ptr, ptr %13, align 8
%63 = getelementptr inbounds double, ptr %62, i64 1
%64 = load double, ptr %63, align 8
%65 = load ptr, ptr %13, align 8
%66 = getelementptr inbounds double, ptr %65, i64 0
%67 = load double, ptr %66, align 8
%68 = load ptr, ptr %9, align 8
%69 = getelementptr inbounds double, ptr %68, i64 0
%70 = load double, ptr %69, align 8
%71 = fmul double %67, %70
%72 = call double @llvm.fmuladd.f64(double %61, double %64, double %71)
%73 = load ptr, ptr %9, align 8
%74 = getelementptr inbounds double, ptr %73, i64 1
%75 = load double, ptr %74, align 8
%76 = load ptr, ptr %13, align 8
%77 = getelementptr inbounds double, ptr %76, i64 3
%78 = load double, ptr %77, align 8
%79 = call double @llvm.fmuladd.f64(double %75, double %78, double %72)
%80 = load ptr, ptr %9, align 8
%81 = getelementptr inbounds double, ptr %80, i64 2
%82 = load double, ptr %81, align 8
%83 = load ptr, ptr %13, align 8
%84 = getelementptr inbounds double, ptr %83, i64 2
%85 = load double, ptr %84, align 8
%86 = fneg double %82
%87 = call double @llvm.fmuladd.f64(double %86, double %85, double %79)
store double %87, ptr %20, align 8
%88 = load double, ptr %19, align 8
%89 = load ptr, ptr %13, align 8
%90 = getelementptr inbounds double, ptr %89, i64 2
%91 = load double, ptr %90, align 8
%92 = load ptr, ptr %13, align 8
%93 = getelementptr inbounds double, ptr %92, i64 0
%94 = load double, ptr %93, align 8
%95 = load ptr, ptr %9, align 8
%96 = getelementptr inbounds double, ptr %95, i64 1
%97 = load double, ptr %96, align 8
%98 = fmul double %94, %97
%99 = call double @llvm.fmuladd.f64(double %88, double %91, double %98)
%100 = load ptr, ptr %9, align 8
%101 = getelementptr inbounds double, ptr %100, i64 2
%102 = load double, ptr %101, align 8
%103 = load ptr, ptr %13, align 8
%104 = getelementptr inbounds double, ptr %103, i64 1
%105 = load double, ptr %104, align 8
%106 = call double @llvm.fmuladd.f64(double %102, double %105, double %99)
%107 = load ptr, ptr %9, align 8
%108 = getelementptr inbounds double, ptr %107, i64 0
%109 = load double, ptr %108, align 8
%110 = load ptr, ptr %13, align 8
%111 = getelementptr inbounds double, ptr %110, i64 3
%112 = load double, ptr %111, align 8
%113 = fneg double %109
%114 = call double @llvm.fmuladd.f64(double %113, double %112, double %106)
store double %114, ptr %21, align 8
%115 = load double, ptr %19, align 8
%116 = load ptr, ptr %13, align 8
%117 = getelementptr inbounds double, ptr %116, i64 3
%118 = load double, ptr %117, align 8
%119 = load ptr, ptr %13, align 8
%120 = getelementptr inbounds double, ptr %119, i64 0
%121 = load double, ptr %120, align 8
%122 = load ptr, ptr %9, align 8
%123 = getelementptr inbounds double, ptr %122, i64 2
%124 = load double, ptr %123, align 8
%125 = fmul double %121, %124
%126 = call double @llvm.fmuladd.f64(double %115, double %118, double %125)
%127 = load ptr, ptr %9, align 8
%128 = getelementptr inbounds double, ptr %127, i64 0
%129 = load double, ptr %128, align 8
%130 = load ptr, ptr %13, align 8
%131 = getelementptr inbounds double, ptr %130, i64 2
%132 = load double, ptr %131, align 8
%133 = call double @llvm.fmuladd.f64(double %129, double %132, double %126)
%134 = load ptr, ptr %9, align 8
%135 = getelementptr inbounds double, ptr %134, i64 1
%136 = load double, ptr %135, align 8
%137 = load ptr, ptr %13, align 8
%138 = getelementptr inbounds double, ptr %137, i64 1
%139 = load double, ptr %138, align 8
%140 = fneg double %136
%141 = call double @llvm.fmuladd.f64(double %140, double %139, double %133)
store double %141, ptr %22, align 8
%142 = load double, ptr %20, align 8
%143 = fneg double %142
%144 = load ptr, ptr %10, align 8
%145 = getelementptr inbounds double, ptr %144, i64 0
%146 = load double, ptr %145, align 8
%147 = load double, ptr %21, align 8
%148 = load ptr, ptr %10, align 8
%149 = getelementptr inbounds double, ptr %148, i64 1
%150 = load double, ptr %149, align 8
%151 = fmul double %147, %150
%152 = fneg double %151
%153 = call double @llvm.fmuladd.f64(double %143, double %146, double %152)
%154 = load double, ptr %22, align 8
%155 = load ptr, ptr %10, align 8
%156 = getelementptr inbounds double, ptr %155, i64 2
%157 = load double, ptr %156, align 8
%158 = fneg double %154
%159 = call double @llvm.fmuladd.f64(double %158, double %157, double %153)
store double %159, ptr %23, align 8
%160 = load double, ptr %19, align 8
%161 = load ptr, ptr %13, align 8
%162 = getelementptr inbounds double, ptr %161, i64 0
%163 = load double, ptr %162, align 8
%164 = load ptr, ptr %9, align 8
%165 = getelementptr inbounds double, ptr %164, i64 0
%166 = load double, ptr %165, align 8
%167 = load ptr, ptr %13, align 8
%168 = getelementptr inbounds double, ptr %167, i64 1
%169 = load double, ptr %168, align 8
%170 = fmul double %166, %169
%171 = fneg double %170
%172 = call double @llvm.fmuladd.f64(double %160, double %163, double %171)
%173 = load ptr, ptr %9, align 8
%174 = getelementptr inbounds double, ptr %173, i64 1
%175 = load double, ptr %174, align 8
%176 = load ptr, ptr %13, align 8
%177 = getelementptr inbounds double, ptr %176, i64 2
%178 = load double, ptr %177, align 8
%179 = fneg double %175
%180 = call double @llvm.fmuladd.f64(double %179, double %178, double %172)
%181 = load ptr, ptr %9, align 8
%182 = getelementptr inbounds double, ptr %181, i64 2
%183 = load double, ptr %182, align 8
%184 = load ptr, ptr %13, align 8
%185 = getelementptr inbounds double, ptr %184, i64 3
%186 = load double, ptr %185, align 8
%187 = fneg double %183
%188 = call double @llvm.fmuladd.f64(double %187, double %186, double %180)
store double %188, ptr %24, align 8
%189 = load double, ptr %24, align 8
%190 = load ptr, ptr %10, align 8
%191 = getelementptr inbounds double, ptr %190, i64 0
%192 = load double, ptr %191, align 8
%193 = load double, ptr %21, align 8
%194 = load ptr, ptr %10, align 8
%195 = getelementptr inbounds double, ptr %194, i64 2
%196 = load double, ptr %195, align 8
%197 = fmul double %193, %196
%198 = call double @llvm.fmuladd.f64(double %189, double %192, double %197)
%199 = load double, ptr %22, align 8
%200 = load ptr, ptr %10, align 8
%201 = getelementptr inbounds double, ptr %200, i64 1
%202 = load double, ptr %201, align 8
%203 = fneg double %199
%204 = call double @llvm.fmuladd.f64(double %203, double %202, double %198)
store double %204, ptr %25, align 8
%205 = load double, ptr %24, align 8
%206 = load ptr, ptr %10, align 8
%207 = getelementptr inbounds double, ptr %206, i64 1
%208 = load double, ptr %207, align 8
%209 = load double, ptr %22, align 8
%210 = load ptr, ptr %10, align 8
%211 = getelementptr inbounds double, ptr %210, i64 0
%212 = load double, ptr %211, align 8
%213 = fmul double %209, %212
%214 = call double @llvm.fmuladd.f64(double %205, double %208, double %213)
%215 = load double, ptr %20, align 8
%216 = load ptr, ptr %10, align 8
%217 = getelementptr inbounds double, ptr %216, i64 2
%218 = load double, ptr %217, align 8
%219 = fneg double %215
%220 = call double @llvm.fmuladd.f64(double %219, double %218, double %214)
store double %220, ptr %26, align 8
%221 = load double, ptr %24, align 8
%222 = load ptr, ptr %10, align 8
%223 = getelementptr inbounds double, ptr %222, i64 2
%224 = load double, ptr %223, align 8
%225 = load double, ptr %20, align 8
%226 = load ptr, ptr %10, align 8
%227 = getelementptr inbounds double, ptr %226, i64 1
%228 = load double, ptr %227, align 8
%229 = fmul double %225, %228
%230 = call double @llvm.fmuladd.f64(double %221, double %224, double %229)
%231 = load double, ptr %21, align 8
%232 = load ptr, ptr %10, align 8
%233 = getelementptr inbounds double, ptr %232, i64 0
%234 = load double, ptr %233, align 8
%235 = fneg double %231
%236 = call double @llvm.fmuladd.f64(double %235, double %234, double %230)
store double %236, ptr %27, align 8
%237 = load double, ptr %23, align 8
%238 = fneg double %237
%239 = load double, ptr %21, align 8
%240 = load double, ptr %24, align 8
%241 = load double, ptr %26, align 8
%242 = fmul double %240, %241
%243 = call double @llvm.fmuladd.f64(double %238, double %239, double %242)
%244 = load double, ptr %27, align 8
%245 = load double, ptr %20, align 8
%246 = fneg double %244
%247 = call double @llvm.fmuladd.f64(double %246, double %245, double %243)
%248 = load double, ptr %25, align 8
%249 = load double, ptr %22, align 8
%250 = call double @llvm.fmuladd.f64(double %248, double %249, double %247)
%251 = load ptr, ptr %9, align 8
%252 = getelementptr inbounds double, ptr %251, i64 4
%253 = load double, ptr %252, align 8
%254 = fadd double %250, %253
store double %254, ptr %28, align 8
%255 = load double, ptr %23, align 8
%256 = fneg double %255
%257 = load double, ptr %22, align 8
%258 = load double, ptr %24, align 8
%259 = load double, ptr %27, align 8
%260 = fmul double %258, %259
%261 = call double @llvm.fmuladd.f64(double %256, double %257, double %260)
%262 = load double, ptr %25, align 8
%263 = load double, ptr %21, align 8
%264 = fneg double %262
%265 = call double @llvm.fmuladd.f64(double %264, double %263, double %261)
%266 = load double, ptr %26, align 8
%267 = load double, ptr %20, align 8
%268 = call double @llvm.fmuladd.f64(double %266, double %267, double %265)
%269 = load ptr, ptr %9, align 8
%270 = getelementptr inbounds double, ptr %269, i64 5
%271 = load double, ptr %270, align 8
%272 = fadd double %268, %271
store double %272, ptr %29, align 8
%273 = load double, ptr %29, align 8
%274 = fdiv double 1.000000e+00, %273
store double %274, ptr %30, align 8
%275 = load ptr, ptr %15, align 8
%276 = getelementptr inbounds double, ptr %275, i64 0
%277 = load double, ptr %276, align 8
%278 = load double, ptr %23, align 8
%279 = fneg double %278
%280 = load double, ptr %20, align 8
%281 = load double, ptr %24, align 8
%282 = load double, ptr %25, align 8
%283 = fmul double %281, %282
%284 = call double @llvm.fmuladd.f64(double %279, double %280, double %283)
%285 = load double, ptr %26, align 8
%286 = load double, ptr %22, align 8
%287 = fneg double %285
%288 = call double @llvm.fmuladd.f64(double %287, double %286, double %284)
%289 = load double, ptr %27, align 8
%290 = load double, ptr %21, align 8
%291 = call double @llvm.fmuladd.f64(double %289, double %290, double %288)
%292 = load ptr, ptr %9, align 8
%293 = getelementptr inbounds double, ptr %292, i64 3
%294 = load double, ptr %293, align 8
%295 = fadd double %291, %294
%296 = load ptr, ptr %15, align 8
%297 = getelementptr inbounds double, ptr %296, i64 1
%298 = load double, ptr %297, align 8
%299 = load double, ptr %28, align 8
%300 = fmul double %298, %299
%301 = call double @llvm.fmuladd.f64(double %277, double %295, double %300)
%302 = load ptr, ptr %15, align 8
%303 = getelementptr inbounds double, ptr %302, i64 2
%304 = load double, ptr %303, align 8
%305 = load double, ptr %29, align 8
%306 = call double @llvm.fmuladd.f64(double %304, double %305, double %301)
%307 = load double, ptr %30, align 8
%308 = fmul double %306, %307
%309 = load ptr, ptr %11, align 8
%310 = getelementptr inbounds double, ptr %309, i64 0
store double %308, ptr %310, align 8
%311 = load ptr, ptr %15, align 8
%312 = getelementptr inbounds double, ptr %311, i64 3
%313 = load double, ptr %312, align 8
%314 = load double, ptr %28, align 8
%315 = load ptr, ptr %15, align 8
%316 = getelementptr inbounds double, ptr %315, i64 4
%317 = load double, ptr %316, align 8
%318 = load double, ptr %29, align 8
%319 = fmul double %317, %318
%320 = call double @llvm.fmuladd.f64(double %313, double %314, double %319)
%321 = load double, ptr %30, align 8
%322 = fmul double %320, %321
%323 = load ptr, ptr %11, align 8
%324 = getelementptr inbounds double, ptr %323, i64 1
store double %322, ptr %324, align 8
ret void
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd1b_pk9q.c'
source_filename = "/tmp/tmpd1b_pk9q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Number length = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"Number type = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Non hex digit in PDU (%s)!\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"Number = %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pdu_get_number(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 i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i32 @hex2number(ptr noundef %10, i32 noundef 2)
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %25
14: ; preds = %2
%15 = load i32, ptr %6, align 4
%16 = srem i32 %15, 2
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %6, align 4
br label %21
21: ; preds = %18, %14
%22 = load i32, ptr %6, align 4
%23 = sdiv i32 %22, 2
%24 = add nsw i32 %23, 1
store i32 %24, ptr %6, align 4
br label %25
25: ; preds = %21, %2
%26 = load i32, ptr %6, align 4
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %26)
%28 = load i32, ptr %6, align 4
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %25
store i32 2, ptr %3, align 4
br label %130
31: ; preds = %25
%32 = load ptr, ptr %4, align 8
%33 = getelementptr inbounds i8, ptr %32, i64 2
%34 = call i32 @hex2number(ptr noundef %33, i32 noundef 2)
store i32 %34, ptr %7, align 4
%35 = load i32, ptr %7, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %35)
%37 = load i32, ptr %6, align 4
%38 = mul nsw i32 2, %37
%39 = add nsw i32 %38, 1
%40 = call i64 @malloc(i32 noundef %39)
%41 = inttoptr i64 %40 to ptr
store ptr %41, ptr %8, align 8
%42 = load ptr, ptr %8, align 8
%43 = icmp eq ptr %42, null
br i1 %43, label %44, label %45
44: ; preds = %31
store i32 -1, ptr %3, align 4
br label %130
45: ; preds = %31
%46 = load ptr, ptr %8, align 8
%47 = load i32, ptr %6, align 4
%48 = mul nsw i32 2, %47
%49 = call i32 @memset(ptr noundef %46, i32 noundef 0, i32 noundef %48)
store i32 0, ptr %9, align 4
br label %50
50: ; preds = %119, %45
%51 = load i32, ptr %9, align 4
%52 = load i32, ptr %6, align 4
%53 = sub nsw i32 %52, 1
%54 = mul nsw i32 %53, 2
%55 = icmp slt i32 %51, %54
br i1 %55, label %56, label %122
56: ; preds = %50
%57 = load ptr, ptr %4, align 8
%58 = load i32, ptr %9, align 4
%59 = add nsw i32 4, %58
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %57, i64 %60
%62 = load i8, ptr %61, align 1
%63 = sext i8 %62 to i32
%64 = call i32 @isxdigit(i32 noundef %63) #3
%65 = icmp ne i32 %64, 0
br i1 %65, label %75, label %66
66: ; preds = %56
%67 = load ptr, ptr %4, align 8
%68 = getelementptr inbounds i8, ptr %67, i64 4
%69 = load i32, ptr %9, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %68, i64 %70
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %71)
%73 = load ptr, ptr %8, align 8
%74 = call i32 @free(ptr noundef %73)
store i32 -1, ptr %3, align 4
br label %130
75: ; preds = %56
%76 = load i32, ptr %9, align 4
%77 = srem i32 %76, 2
%78 = icmp eq i32 %77, 0
br i1 %78, label %79, label %106
79: ; preds = %75
%80 = load ptr, ptr %4, align 8
%81 = load i32, ptr %9, align 4
%82 = add nsw i32 4, %81
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i8, ptr %80, i64 %83
%85 = load i8, ptr %84, align 1
%86 = load ptr, ptr %8, align 8
%87 = load i32, ptr %9, align 4
%88 = add nsw i32 %87, 1
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i8, ptr %86, i64 %89
store i8 %85, ptr %90, align 1
%91 = load ptr, ptr %8, align 8
%92 = load i32, ptr %9, align 4
%93 = add nsw i32 %92, 1
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i8, ptr %91, i64 %94
%96 = load i8, ptr %95, align 1
%97 = sext i8 %96 to i32
%98 = icmp eq i32 %97, 70
br i1 %98, label %99, label %105
99: ; preds = %79
%100 = load ptr, ptr %8, align 8
%101 = load i32, ptr %9, align 4
%102 = add nsw i32 %101, 1
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i8, ptr %100, i64 %103
store i8 0, ptr %104, align 1
br label %105
105: ; preds = %99, %79
br label %118
106: ; preds = %75
%107 = load ptr, ptr %4, align 8
%108 = load i32, ptr %9, align 4
%109 = add nsw i32 4, %108
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i8, ptr %107, i64 %110
%112 = load i8, ptr %111, align 1
%113 = load ptr, ptr %8, align 8
%114 = load i32, ptr %9, align 4
%115 = sub nsw i32 %114, 1
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i8, ptr %113, i64 %116
store i8 %112, ptr %117, align 1
br label %118
118: ; preds = %106, %105
br label %119
119: ; preds = %118
%120 = load i32, ptr %9, align 4
%121 = add nsw i32 %120, 1
store i32 %121, ptr %9, align 4
br label %50, !llvm.loop !6
122: ; preds = %50
%123 = load ptr, ptr %8, align 8
%124 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %123)
%125 = load ptr, ptr %8, align 8
%126 = call i32 @free(ptr noundef %125)
%127 = load i32, ptr %6, align 4
%128 = mul nsw i32 %127, 2
%129 = add nsw i32 %128, 2
store i32 %129, ptr %3, align 4
br label %130
130: ; preds = %122, %66, %44, %30
%131 = load i32, ptr %3, align 4
ret i32 %131
}
declare i32 @hex2number(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isxdigit(i32 noundef) #2
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd1b_pk9q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Number length = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"Number type = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Non hex digit in PDU (%s)!\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"Number = %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pdu_get_number(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 i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i32 @hex2number(ptr noundef %10, i32 noundef 2)
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %25
14: ; preds = %2
%15 = load i32, ptr %6, align 4
%16 = srem i32 %15, 2
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %6, align 4
br label %21
21: ; preds = %18, %14
%22 = load i32, ptr %6, align 4
%23 = sdiv i32 %22, 2
%24 = add nsw i32 %23, 1
store i32 %24, ptr %6, align 4
br label %25
25: ; preds = %21, %2
%26 = load i32, ptr %6, align 4
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %26)
%28 = load i32, ptr %6, align 4
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %25
store i32 2, ptr %3, align 4
br label %134
31: ; preds = %25
%32 = load ptr, ptr %4, align 8
%33 = getelementptr inbounds i8, ptr %32, i64 2
%34 = call i32 @hex2number(ptr noundef %33, i32 noundef 2)
store i32 %34, ptr %7, align 4
%35 = load i32, ptr %7, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %35)
%37 = load i32, ptr %6, align 4
%38 = mul nsw i32 2, %37
%39 = add nsw i32 %38, 1
%40 = call i64 @malloc(i32 noundef %39)
%41 = inttoptr i64 %40 to ptr
store ptr %41, ptr %8, align 8
%42 = load ptr, ptr %8, align 8
%43 = icmp eq ptr %42, null
br i1 %43, label %44, label %45
44: ; preds = %31
store i32 -1, ptr %3, align 4
br label %134
45: ; preds = %31
%46 = load ptr, ptr %8, align 8
%47 = load i32, ptr %6, align 4
%48 = mul nsw i32 2, %47
%49 = call i32 @memset(ptr noundef %46, i32 noundef 0, i32 noundef %48)
store i32 0, ptr %9, align 4
%50 = load i32, ptr %9, align 4
%51 = load i32, ptr %6, align 4
%52 = sub nsw i32 %51, 1
%53 = mul nsw i32 %52, 2
%54 = icmp slt i32 %50, %53
br i1 %54, label %.lr.ph, label %126
.lr.ph: ; preds = %45
br label %55
55: ; preds = %.lr.ph, %118
%56 = load ptr, ptr %4, align 8
%57 = load i32, ptr %9, align 4
%58 = add nsw i32 4, %57
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %56, i64 %59
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = call i32 @isxdigit(i32 noundef %62) #3
%64 = icmp ne i32 %63, 0
br i1 %64, label %74, label %65
65: ; preds = %55
%66 = load ptr, ptr %4, align 8
%67 = getelementptr inbounds i8, ptr %66, i64 4
%68 = load i32, ptr %9, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %67, i64 %69
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %70)
%72 = load ptr, ptr %8, align 8
%73 = call i32 @free(ptr noundef %72)
store i32 -1, ptr %3, align 4
br label %134
74: ; preds = %55
%75 = load i32, ptr %9, align 4
%76 = srem i32 %75, 2
%77 = icmp eq i32 %76, 0
br i1 %77, label %78, label %105
78: ; preds = %74
%79 = load ptr, ptr %4, align 8
%80 = load i32, ptr %9, align 4
%81 = add nsw i32 4, %80
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i8, ptr %79, i64 %82
%84 = load i8, ptr %83, align 1
%85 = load ptr, ptr %8, align 8
%86 = load i32, ptr %9, align 4
%87 = add nsw i32 %86, 1
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i8, ptr %85, i64 %88
store i8 %84, ptr %89, align 1
%90 = load ptr, ptr %8, align 8
%91 = load i32, ptr %9, align 4
%92 = add nsw i32 %91, 1
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i8, ptr %90, i64 %93
%95 = load i8, ptr %94, align 1
%96 = sext i8 %95 to i32
%97 = icmp eq i32 %96, 70
br i1 %97, label %98, label %104
98: ; preds = %78
%99 = load ptr, ptr %8, align 8
%100 = load i32, ptr %9, align 4
%101 = add nsw i32 %100, 1
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i8, ptr %99, i64 %102
store i8 0, ptr %103, align 1
br label %104
104: ; preds = %98, %78
br label %117
105: ; preds = %74
%106 = load ptr, ptr %4, align 8
%107 = load i32, ptr %9, align 4
%108 = add nsw i32 4, %107
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i8, ptr %106, i64 %109
%111 = load i8, ptr %110, align 1
%112 = load ptr, ptr %8, align 8
%113 = load i32, ptr %9, align 4
%114 = sub nsw i32 %113, 1
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i8, ptr %112, i64 %115
store i8 %111, ptr %116, align 1
br label %117
117: ; preds = %105, %104
br label %118
118: ; preds = %117
%119 = load i32, ptr %9, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %9, align 4
%121 = load i32, ptr %9, align 4
%122 = load i32, ptr %6, align 4
%123 = sub nsw i32 %122, 1
%124 = mul nsw i32 %123, 2
%125 = icmp slt i32 %121, %124
br i1 %125, label %55, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %118
br label %126
126: ; preds = %._crit_edge, %45
%127 = load ptr, ptr %8, align 8
%128 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %127)
%129 = load ptr, ptr %8, align 8
%130 = call i32 @free(ptr noundef %129)
%131 = load i32, ptr %6, align 4
%132 = mul nsw i32 %131, 2
%133 = add nsw i32 %132, 2
store i32 %133, ptr %3, align 4
br label %134
134: ; preds = %126, %65, %44, %30
%135 = load i32, ptr %3, align 4
ret i32 %135
}
declare i32 @hex2number(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isxdigit(i32 noundef) #2
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpmfy8u72h.c'
source_filename = "/tmp/tmpmfy8u72h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Fatal error: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fatal_error_msg(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/tmpmfy8u72h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Fatal error: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fatal_error_msg(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/tmpmhh0cp65.c'
source_filename = "/tmp/tmpmhh0cp65.c"
target datalayout = "e-m:e-p270: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.sigaction = type { i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [18 x i8] c"error, sigfillset\00", align 1
@SIGCHLD = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"error, sigdelset\00", align 1
@SIG_BLOCK = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [19 x i8] c"error, sigprocmask\00", align 1
@SIG_IGN = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [17 x i8] c"error, sigaction\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parent_signal_handling() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.sigaction, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
call void @llvm.memset.p0.i64(ptr align 4 %2, i8 0, i64 8, i1 false)
%5 = call i32 @sigfillset(ptr noundef %3)
store i32 %5, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %1, align 4
br label %34
10: ; preds = %0
%11 = load i32, ptr @SIGCHLD, align 4
%12 = call i32 @sigdelset(ptr noundef %3, i32 noundef %11)
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %17
15: ; preds = %10
%16 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %1, align 4
br label %34
17: ; preds = %10
%18 = load i32, ptr @SIG_BLOCK, align 4
%19 = call i32 @sigprocmask(i32 noundef %18, ptr noundef %3, ptr noundef null)
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp eq i32 %20, -1
br i1 %21, label %22, label %24
22: ; preds = %17
%23 = call i32 @perror(ptr noundef @.str.2)
store i32 -1, ptr %1, align 4
br label %34
24: ; preds = %17
%25 = load i32, ptr @SIG_IGN, align 4
%26 = getelementptr inbounds %struct.sigaction, ptr %2, i32 0, i32 0
store i32 %25, ptr %26, align 4
%27 = load i32, ptr @SIGCHLD, align 4
%28 = call i32 @sigaction(i32 noundef %27, ptr noundef %2, ptr noundef null)
store i32 %28, ptr %4, align 4
%29 = load i32, ptr %4, align 4
%30 = icmp eq i32 %29, -1
br i1 %30, label %31, label %33
31: ; preds = %24
%32 = call i32 @perror(ptr noundef @.str.3)
store i32 -1, ptr %1, align 4
br label %34
33: ; preds = %24
store i32 0, ptr %1, align 4
br label %34
34: ; preds = %33, %31, %22, %15, %8
%35 = load i32, ptr %1, align 4
ret i32 %35
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @sigfillset(ptr noundef) #2
declare i32 @perror(ptr noundef) #2
declare i32 @sigdelset(ptr noundef, i32 noundef) #2
declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @sigaction(i32 noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmhh0cp65.c"
target datalayout = "e-m:e-p270: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.sigaction = type { i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [18 x i8] c"error, sigfillset\00", align 1
@SIGCHLD = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"error, sigdelset\00", align 1
@SIG_BLOCK = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [19 x i8] c"error, sigprocmask\00", align 1
@SIG_IGN = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [17 x i8] c"error, sigaction\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parent_signal_handling() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.sigaction, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
call void @llvm.memset.p0.i64(ptr align 4 %2, i8 0, i64 8, i1 false)
%5 = call i32 @sigfillset(ptr noundef %3)
store i32 %5, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %1, align 4
br label %34
10: ; preds = %0
%11 = load i32, ptr @SIGCHLD, align 4
%12 = call i32 @sigdelset(ptr noundef %3, i32 noundef %11)
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %17
15: ; preds = %10
%16 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %1, align 4
br label %34
17: ; preds = %10
%18 = load i32, ptr @SIG_BLOCK, align 4
%19 = call i32 @sigprocmask(i32 noundef %18, ptr noundef %3, ptr noundef null)
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp eq i32 %20, -1
br i1 %21, label %22, label %24
22: ; preds = %17
%23 = call i32 @perror(ptr noundef @.str.2)
store i32 -1, ptr %1, align 4
br label %34
24: ; preds = %17
%25 = load i32, ptr @SIG_IGN, align 4
%26 = getelementptr inbounds %struct.sigaction, ptr %2, i32 0, i32 0
store i32 %25, ptr %26, align 4
%27 = load i32, ptr @SIGCHLD, align 4
%28 = call i32 @sigaction(i32 noundef %27, ptr noundef %2, ptr noundef null)
store i32 %28, ptr %4, align 4
%29 = load i32, ptr %4, align 4
%30 = icmp eq i32 %29, -1
br i1 %30, label %31, label %33
31: ; preds = %24
%32 = call i32 @perror(ptr noundef @.str.3)
store i32 -1, ptr %1, align 4
br label %34
33: ; preds = %24
store i32 0, ptr %1, align 4
br label %34
34: ; preds = %33, %31, %22, %15, %8
%35 = load i32, ptr %1, align 4
ret i32 %35
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @sigfillset(ptr noundef) #2
declare i32 @perror(ptr noundef) #2
declare i32 @sigdelset(ptr noundef, i32 noundef) #2
declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @sigaction(i32 noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8yvkw6s3.c'
source_filename = "/tmp/tmp8yvkw6s3.c"
target datalayout = "e-m:e-p270: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/tmp8yvkw6s3.c"
target datalayout = "e-m:e-p270: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/tmpuvj3wjuv.c'
source_filename = "/tmp/tmpuvj3wjuv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"r\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"WARNING: Duplicate region found: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @regions_load(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [1024 x i8], align 16
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %5, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %10, label %9
9: ; preds = %1
br label %61
10: ; preds = %1
%11 = call i32 (...) @regions_clear()
br label %12
12: ; preds = %57, %47, %10
%13 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%14 = load ptr, ptr %5, align 8
%15 = call i64 @fgets(ptr noundef %13, i32 noundef 1024, ptr noundef %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %58
17: ; preds = %12
%18 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%19 = call i64 @strlen(ptr noundef %18)
store i64 %19, ptr %4, align 8
%20 = load i64, ptr %4, align 8
%21 = sub i64 %20, 1
%22 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 10
br i1 %25, label %26, label %42
26: ; preds = %17
%27 = load i64, ptr %4, align 8
%28 = sub i64 %27, 2
%29 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 13
br i1 %32, label %33, label %37
33: ; preds = %26
%34 = load i64, ptr %4, align 8
%35 = sub i64 %34, 2
%36 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %35
store i8 0, ptr %36, align 1
br label %41
37: ; preds = %26
%38 = load i64, ptr %4, align 8
%39 = sub i64 %38, 1
%40 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %39
store i8 0, ptr %40, align 1
br label %41
41: ; preds = %37, %33
br label %42
42: ; preds = %41, %17
%43 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%44 = load i8, ptr %43, align 16
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %48
47: ; preds = %42
br label %12, !llvm.loop !6
48: ; preds = %42
%49 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%50 = call i32 @clean(ptr noundef %49)
%51 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%52 = call i32 @regions_add(ptr noundef %51, i32 noundef 0)
%53 = icmp ne i32 %52, 0
br i1 %53, label %57, label %54
54: ; preds = %48
%55 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%56 = call i32 @log_event(i32 noundef 0, ptr noundef @.str.1, ptr noundef %55)
br label %57
57: ; preds = %54, %48
br label %12, !llvm.loop !6
58: ; preds = %12
%59 = load ptr, ptr %5, align 8
%60 = call i32 @fclose(ptr noundef %59)
br label %61
61: ; preds = %58, %9
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @regions_clear(...) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @clean(ptr noundef) #1
declare i32 @regions_add(ptr noundef, i32 noundef) #1
declare i32 @log_event(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuvj3wjuv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"r\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"WARNING: Duplicate region found: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @regions_load(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [1024 x i8], align 16
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %5, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %10, label %9
9: ; preds = %1
br label %63
10: ; preds = %1
%11 = call i32 (...) @regions_clear()
%12 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%13 = load ptr, ptr %5, align 8
%14 = call i64 @fgets(ptr noundef %12, i32 noundef 1024, ptr noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %.lr.ph, label %60
.lr.ph: ; preds = %10
br label %16
16: ; preds = %.lr.ph, %.backedge
%17 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%18 = call i64 @strlen(ptr noundef %17)
store i64 %18, ptr %4, align 8
%19 = load i64, ptr %4, align 8
%20 = sub i64 %19, 1
%21 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 10
br i1 %24, label %25, label %41
25: ; preds = %16
%26 = load i64, ptr %4, align 8
%27 = sub i64 %26, 2
%28 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 13
br i1 %31, label %32, label %36
32: ; preds = %25
%33 = load i64, ptr %4, align 8
%34 = sub i64 %33, 2
%35 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %34
store i8 0, ptr %35, align 1
br label %40
36: ; preds = %25
%37 = load i64, ptr %4, align 8
%38 = sub i64 %37, 1
%39 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 %38
store i8 0, ptr %39, align 1
br label %40
40: ; preds = %36, %32
br label %41
41: ; preds = %40, %16
%42 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%43 = load i8, ptr %42, align 16
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %50
46: ; preds = %41
br label %.backedge
.backedge: ; preds = %46, %59
%47 = load ptr, ptr %5, align 8
%48 = call i64 @fgets(ptr noundef %12, i32 noundef 1024, ptr noundef %47)
%49 = icmp ne i64 %48, 0
br i1 %49, label %16, label %._crit_edge, !llvm.loop !6
50: ; preds = %41
%51 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%52 = call i32 @clean(ptr noundef %51)
%53 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%54 = call i32 @regions_add(ptr noundef %53, i32 noundef 0)
%55 = icmp ne i32 %54, 0
br i1 %55, label %59, label %56
56: ; preds = %50
%57 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%58 = call i32 @log_event(i32 noundef 0, ptr noundef @.str.1, ptr noundef %57)
br label %59
59: ; preds = %56, %50
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %60
60: ; preds = %._crit_edge, %10
%61 = load ptr, ptr %5, align 8
%62 = call i32 @fclose(ptr noundef %61)
br label %63
63: ; preds = %60, %9
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @regions_clear(...) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @clean(ptr noundef) #1
declare i32 @regions_add(ptr noundef, i32 noundef) #1
declare i32 @log_event(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpq09dsenp.c'
source_filename = "/tmp/tmpq09dsenp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @diagonalMatrix(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = call ptr @allocateDoubleMatrix(i32 noundef %8, i32 noundef %9)
store ptr %10, ptr %7, align 8
store i32 0, ptr %5, align 4
br label %11
11: ; preds = %56, %2
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %59
15: ; preds = %11
store i32 0, ptr %6, align 4
br label %16
16: ; preds = %52, %15
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %55
20: ; preds = %16
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %6, align 4
%23 = icmp ne i32 %21, %22
br i1 %23, label %24, label %33
24: ; preds = %20
%25 = load ptr, ptr %7, align 8
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds ptr, ptr %25, i64 %27
%29 = load ptr, ptr %28, align 8
%30 = load i32, ptr %6, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds double, ptr %29, i64 %31
store double 0.000000e+00, ptr %32, align 8
br label %51
33: ; preds = %20
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %5, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds ptr, ptr %34, i64 %36
%38 = load ptr, ptr %37, align 8
%39 = load i32, ptr %6, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds double, ptr %38, i64 %40
%42 = load double, ptr %41, align 8
%43 = load ptr, ptr %7, align 8
%44 = load i32, ptr %5, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds ptr, ptr %43, i64 %45
%47 = load ptr, ptr %46, align 8
%48 = load i32, ptr %6, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds double, ptr %47, i64 %49
store double %42, ptr %50, align 8
br label %51
51: ; preds = %33, %24
br label %52
52: ; preds = %51
%53 = load i32, ptr %6, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %6, align 4
br label %16, !llvm.loop !6
55: ; preds = %16
br label %56
56: ; preds = %55
%57 = load i32, ptr %5, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %5, align 4
br label %11, !llvm.loop !8
59: ; preds = %11
%60 = load ptr, ptr %7, align 8
ret ptr %60
}
declare ptr @allocateDoubleMatrix(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq09dsenp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @diagonalMatrix(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = call ptr @allocateDoubleMatrix(i32 noundef %8, i32 noundef %9)
store ptr %10, ptr %7, align 8
store i32 0, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph2, label %63
.lr.ph2: ; preds = %2
br label %14
14: ; preds = %.lr.ph2, %57
store i32 0, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %56
.lr.ph: ; preds = %14
br label %18
18: ; preds = %.lr.ph, %50
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp ne i32 %19, %20
br i1 %21, label %22, label %31
22: ; preds = %18
%23 = load ptr, ptr %7, align 8
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %23, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = load i32, ptr %6, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds double, ptr %27, i64 %29
store double 0.000000e+00, ptr %30, align 8
br label %49
31: ; preds = %18
%32 = load ptr, ptr %3, align 8
%33 = load i32, ptr %5, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds ptr, ptr %32, i64 %34
%36 = load ptr, ptr %35, align 8
%37 = load i32, ptr %6, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds double, ptr %36, i64 %38
%40 = load double, ptr %39, align 8
%41 = load ptr, ptr %7, align 8
%42 = load i32, ptr %5, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds ptr, ptr %41, i64 %43
%45 = load ptr, ptr %44, align 8
%46 = load i32, ptr %6, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds double, ptr %45, i64 %47
store double %40, ptr %48, align 8
br label %49
49: ; preds = %31, %22
br label %50
50: ; preds = %49
%51 = load i32, ptr %6, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %6, align 4
%53 = load i32, ptr %6, align 4
%54 = load i32, ptr %4, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %56
56: ; preds = %._crit_edge, %14
br label %57
57: ; preds = %56
%58 = load i32, ptr %5, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %5, align 4
%60 = load i32, ptr %5, align 4
%61 = load i32, ptr %4, align 4
%62 = icmp slt i32 %60, %61
br i1 %62, label %14, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %57
br label %63
63: ; preds = %._crit_edge3, %2
%64 = load ptr, ptr %7, align 8
ret ptr %64
}
declare ptr @allocateDoubleMatrix(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmph86ahn7a.c'
source_filename = "/tmp/tmph86ahn7a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [233 x i8] c"Usage: %s [options]\0AOptions are:\0A\09-h host\09\09(default = \22%s\22)\0A\09-p port\09\09(default = %d)\0A\09-r readers\09(default = %d)\0A\09-w writers\09(default = %d)\0A\09-c channels\09(default = %d)\0A\09-n messages\09(number of messages to read in total, default = %d)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0, ptr noundef %1, i16 noundef signext %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i16, align 2
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store i16 %2, ptr %10, align 2
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%15 = load ptr, ptr %8, align 8
%16 = load ptr, ptr %9, align 8
%17 = load i16, ptr %10, align 2
%18 = sext i16 %17 to i32
%19 = load i32, ptr %11, align 4
%20 = load i32, ptr %12, align 4
%21 = load i32, ptr %14, align 4
%22 = load i32, ptr %13, align 4
%23 = call i32 @printf(ptr noundef @.str, ptr noundef %15, ptr noundef %16, i32 noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %22)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph86ahn7a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [233 x i8] c"Usage: %s [options]\0AOptions are:\0A\09-h host\09\09(default = \22%s\22)\0A\09-p port\09\09(default = %d)\0A\09-r readers\09(default = %d)\0A\09-w writers\09(default = %d)\0A\09-c channels\09(default = %d)\0A\09-n messages\09(number of messages to read in total, default = %d)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0, ptr noundef %1, i16 noundef signext %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i16, align 2
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store i16 %2, ptr %10, align 2
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%15 = load ptr, ptr %8, align 8
%16 = load ptr, ptr %9, align 8
%17 = load i16, ptr %10, align 2
%18 = sext i16 %17 to i32
%19 = load i32, ptr %11, align 4
%20 = load i32, ptr %12, align 4
%21 = load i32, ptr %14, align 4
%22 = load i32, ptr %13, align 4
%23 = call i32 @printf(ptr noundef @.str, ptr noundef %15, ptr noundef %16, i32 noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %22)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnkqlz0i1.c'
source_filename = "/tmp/tmpnkqlz0i1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pffft_simd_size() #0 {
ret i32 4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnkqlz0i1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pffft_simd_size() #0 {
ret i32 4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphsd4dwo5.c'
source_filename = "/tmp/tmphsd4dwo5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [146 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/filter/append.c\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"test_append_produces_desired_effect\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"test_append_escapes\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"test_empty_value_not_appended\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @append_tests() #0 {
br label %1
1: ; preds = %0
%2 = call i32 @seatest_test_fixture_start(ptr noundef @.str)
br label %3
3: ; preds = %1
br label %4
4: ; preds = %3
%5 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.1)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %14
7: ; preds = %4
%8 = call i32 (...) @seatest_suite_setup()
%9 = call i32 (...) @seatest_setup()
%10 = call i32 (...) @test_append_produces_desired_effect()
%11 = call i32 (...) @seatest_teardown()
%12 = call i32 (...) @seatest_suite_teardown()
%13 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.1)
br label %14
14: ; preds = %7, %4
br label %15
15: ; preds = %14
br label %16
16: ; preds = %15
%17 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.2)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %26
19: ; preds = %16
%20 = call i32 (...) @seatest_suite_setup()
%21 = call i32 (...) @seatest_setup()
%22 = call i32 (...) @test_append_escapes()
%23 = call i32 (...) @seatest_teardown()
%24 = call i32 (...) @seatest_suite_teardown()
%25 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.2)
br label %26
26: ; preds = %19, %16
br label %27
27: ; preds = %26
br label %28
28: ; preds = %27
%29 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.3)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %38
31: ; preds = %28
%32 = call i32 (...) @seatest_suite_setup()
%33 = call i32 (...) @seatest_setup()
%34 = call i32 (...) @test_empty_value_not_appended()
%35 = call i32 (...) @seatest_teardown()
%36 = call i32 (...) @seatest_suite_teardown()
%37 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.3)
br label %38
38: ; preds = %31, %28
br label %39
39: ; preds = %38
br label %40
40: ; preds = %39
%41 = call i32 (...) @seatest_test_fixture_end()
br label %42
42: ; preds = %40
ret void
}
declare i32 @seatest_test_fixture_start(ptr noundef) #1
declare i64 @seatest_should_run(ptr noundef, ptr noundef) #1
declare i32 @seatest_suite_setup(...) #1
declare i32 @seatest_setup(...) #1
declare i32 @test_append_produces_desired_effect(...) #1
declare i32 @seatest_teardown(...) #1
declare i32 @seatest_suite_teardown(...) #1
declare i32 @seatest_run_test(ptr noundef, ptr noundef) #1
declare i32 @test_append_escapes(...) #1
declare i32 @test_empty_value_not_appended(...) #1
declare i32 @seatest_test_fixture_end(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphsd4dwo5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [146 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/filter/append.c\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"test_append_produces_desired_effect\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"test_append_escapes\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"test_empty_value_not_appended\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @append_tests() #0 {
br label %1
1: ; preds = %0
%2 = call i32 @seatest_test_fixture_start(ptr noundef @.str)
br label %3
3: ; preds = %1
br label %4
4: ; preds = %3
%5 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.1)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %14
7: ; preds = %4
%8 = call i32 (...) @seatest_suite_setup()
%9 = call i32 (...) @seatest_setup()
%10 = call i32 (...) @test_append_produces_desired_effect()
%11 = call i32 (...) @seatest_teardown()
%12 = call i32 (...) @seatest_suite_teardown()
%13 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.1)
br label %14
14: ; preds = %7, %4
br label %15
15: ; preds = %14
br label %16
16: ; preds = %15
%17 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.2)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %26
19: ; preds = %16
%20 = call i32 (...) @seatest_suite_setup()
%21 = call i32 (...) @seatest_setup()
%22 = call i32 (...) @test_append_escapes()
%23 = call i32 (...) @seatest_teardown()
%24 = call i32 (...) @seatest_suite_teardown()
%25 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.2)
br label %26
26: ; preds = %19, %16
br label %27
27: ; preds = %26
br label %28
28: ; preds = %27
%29 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.3)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %38
31: ; preds = %28
%32 = call i32 (...) @seatest_suite_setup()
%33 = call i32 (...) @seatest_setup()
%34 = call i32 (...) @test_empty_value_not_appended()
%35 = call i32 (...) @seatest_teardown()
%36 = call i32 (...) @seatest_suite_teardown()
%37 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.3)
br label %38
38: ; preds = %31, %28
br label %39
39: ; preds = %38
br label %40
40: ; preds = %39
%41 = call i32 (...) @seatest_test_fixture_end()
br label %42
42: ; preds = %40
ret void
}
declare i32 @seatest_test_fixture_start(ptr noundef) #1
declare i64 @seatest_should_run(ptr noundef, ptr noundef) #1
declare i32 @seatest_suite_setup(...) #1
declare i32 @seatest_setup(...) #1
declare i32 @test_append_produces_desired_effect(...) #1
declare i32 @seatest_teardown(...) #1
declare i32 @seatest_suite_teardown(...) #1
declare i32 @seatest_run_test(ptr noundef, ptr noundef) #1
declare i32 @test_append_escapes(...) #1
declare i32 @test_empty_value_not_appended(...) #1
declare i32 @seatest_test_fixture_end(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsxg1_r5d.c'
source_filename = "/tmp/tmpsxg1_r5d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strChr(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %26, %2
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %5, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i8, ptr %7, i64 %9
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %29
14: ; preds = %6
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = load i8, ptr %4, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %20, %22
br i1 %23, label %24, label %25
24: ; preds = %14
br label %29
25: ; preds = %14
br label %26
26: ; preds = %25
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %5, align 4
br label %6, !llvm.loop !6
29: ; preds = %24, %6
%30 = load ptr, ptr %3, align 8
%31 = load i32, ptr %5, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp ne i32 %35, 0
br i1 %36, label %37, label %42
37: ; preds = %29
%38 = load ptr, ptr %3, align 8
%39 = load i32, ptr %5, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
br label %43
42: ; preds = %29
br label %43
43: ; preds = %42, %37
%44 = phi ptr [ %41, %37 ], [ null, %42 ]
ret ptr %44
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsxg1_r5d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strChr(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
store i32 0, ptr %5, align 4
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %5, align 4
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds i8, ptr %6, i64 %8
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 0
br i1 %12, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %25
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = load i8, ptr %4, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %19, %21
br i1 %22, label %23, label %24
23: ; preds = %13
br label %35
24: ; preds = %13
br label %25
25: ; preds = %24
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %5, align 4
%28 = load ptr, ptr %3, align 8
%29 = load i32, ptr %5, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %33, 0
br i1 %34, label %13, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %25
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %35
35: ; preds = %.loopexit, %23
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %5, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %48
43: ; preds = %35
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
br label %49
48: ; preds = %35
br label %49
49: ; preds = %48, %43
%50 = phi ptr [ %47, %43 ], [ null, %48 ]
ret ptr %50
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpokgnrj14.c'
source_filename = "/tmp/tmpokgnrj14.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @syscon_sort_embed_symbols(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @_ada_use_c2phc(i32 noundef 292, ptr noundef %6, ptr noundef %7, ptr noundef %8)
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
ret i32 %10
}
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpokgnrj14.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @syscon_sort_embed_symbols(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @_ada_use_c2phc(i32 noundef 292, ptr noundef %6, ptr noundef %7, ptr noundef %8)
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
ret i32 %10
}
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgz48wno3.c'
source_filename = "/tmp/tmpgz48wno3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ems_setl_(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [16 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %6, align 4
%10 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%11 = call i32 @cnfImpn(ptr noundef %8, i32 noundef %9, i32 noundef 15, ptr noundef %10)
%12 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %13, align 4
%15 = call i32 @emsSetl(ptr noundef %12, i32 noundef %14)
ret void
}
declare i32 @cnfImpn(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @emsSetl(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/tmpgz48wno3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ems_setl_(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [16 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %6, align 4
%10 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%11 = call i32 @cnfImpn(ptr noundef %8, i32 noundef %9, i32 noundef 15, ptr noundef %10)
%12 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %13, align 4
%15 = call i32 @emsSetl(ptr noundef %12, i32 noundef %14)
ret void
}
declare i32 @cnfImpn(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @emsSetl(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/tmpie2s38ph.c'
source_filename = "/tmp/tmpie2s38ph.c"
target datalayout = "e-m:e-p270: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_5e.LUT = internal global [32 x i8] c"\13\08\15\01\17\10\0F\1F\1D\0D\12\03\06\0A\1C\19\1A\04\1B\02\16\1E\11\00\14\09\0C\18\05\07\0E\0B", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @yahoo_f01_5e(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_5e.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/tmpie2s38ph.c"
target datalayout = "e-m:e-p270: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_5e.LUT = internal global [32 x i8] c"\13\08\15\01\17\10\0F\1F\1D\0D\12\03\06\0A\1C\19\1A\04\1B\02\16\1E\11\00\14\09\0C\18\05\07\0E\0B", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @yahoo_f01_5e(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_5e.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/tmpq07sd3ok.c'
source_filename = "/tmp/tmpq07sd3ok.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0x%lx,%s\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"string\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gui_nicklist_send_signal(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %46
11: ; preds = %3
%12 = load ptr, ptr %6, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %17
14: ; preds = %11
%15 = load ptr, ptr %6, align 8
%16 = call i32 @strlen(ptr noundef %15)
br label %18
17: ; preds = %11
br label %18
18: ; preds = %17, %14
%19 = phi i32 [ %16, %14 ], [ 0, %17 ]
%20 = add nsw i32 128, %19
%21 = add nsw i32 %20, 1
%22 = add nsw i32 %21, 1
store i32 %22, ptr %8, align 4
%23 = load i32, ptr %8, align 4
%24 = call ptr @malloc(i32 noundef %23)
store ptr %24, ptr %7, align 8
%25 = load ptr, ptr %7, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %45
27: ; preds = %18
%28 = load ptr, ptr %7, align 8
%29 = load i32, ptr %8, align 4
%30 = load ptr, ptr %5, align 8
%31 = ptrtoint ptr %30 to i64
%32 = load ptr, ptr %6, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %34, label %36
34: ; preds = %27
%35 = load ptr, ptr %6, align 8
br label %37
36: ; preds = %27
br label %37
37: ; preds = %36, %34
%38 = phi ptr [ %35, %34 ], [ @.str.1, %36 ]
%39 = call i32 @snprintf(ptr noundef %28, i32 noundef %29, ptr noundef @.str, i64 noundef %31, ptr noundef %38)
%40 = load ptr, ptr %4, align 8
%41 = load ptr, ptr %7, align 8
%42 = call i32 @hook_signal_send(ptr noundef %40, ptr noundef @.str.2, ptr noundef %41)
%43 = load ptr, ptr %7, align 8
%44 = call i32 @free(ptr noundef %43)
br label %45
45: ; preds = %37, %18
br label %50
46: ; preds = %3
%47 = load ptr, ptr %4, align 8
%48 = load ptr, ptr %6, align 8
%49 = call i32 @hook_signal_send(ptr noundef %47, ptr noundef @.str.2, ptr noundef %48)
br label %50
50: ; preds = %46, %45
ret void
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef) #1
declare i32 @hook_signal_send(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq07sd3ok.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0x%lx,%s\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"string\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gui_nicklist_send_signal(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %46
11: ; preds = %3
%12 = load ptr, ptr %6, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %17
14: ; preds = %11
%15 = load ptr, ptr %6, align 8
%16 = call i32 @strlen(ptr noundef %15)
br label %18
17: ; preds = %11
br label %18
18: ; preds = %17, %14
%19 = phi i32 [ %16, %14 ], [ 0, %17 ]
%20 = add nsw i32 128, %19
%21 = add nsw i32 %20, 1
%22 = add nsw i32 %21, 1
store i32 %22, ptr %8, align 4
%23 = load i32, ptr %8, align 4
%24 = call ptr @malloc(i32 noundef %23)
store ptr %24, ptr %7, align 8
%25 = load ptr, ptr %7, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %45
27: ; preds = %18
%28 = load ptr, ptr %7, align 8
%29 = load i32, ptr %8, align 4
%30 = load ptr, ptr %5, align 8
%31 = ptrtoint ptr %30 to i64
%32 = load ptr, ptr %6, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %34, label %36
34: ; preds = %27
%35 = load ptr, ptr %6, align 8
br label %37
36: ; preds = %27
br label %37
37: ; preds = %36, %34
%38 = phi ptr [ %35, %34 ], [ @.str.1, %36 ]
%39 = call i32 @snprintf(ptr noundef %28, i32 noundef %29, ptr noundef @.str, i64 noundef %31, ptr noundef %38)
%40 = load ptr, ptr %4, align 8
%41 = load ptr, ptr %7, align 8
%42 = call i32 @hook_signal_send(ptr noundef %40, ptr noundef @.str.2, ptr noundef %41)
%43 = load ptr, ptr %7, align 8
%44 = call i32 @free(ptr noundef %43)
br label %45
45: ; preds = %37, %18
br label %50
46: ; preds = %3
%47 = load ptr, ptr %4, align 8
%48 = load ptr, ptr %6, align 8
%49 = call i32 @hook_signal_send(ptr noundef %47, ptr noundef @.str.2, ptr noundef %48)
br label %50
50: ; preds = %46, %45
ret void
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef) #1
declare i32 @hook_signal_send(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuu_a40vc.c'
source_filename = "/tmp/tmpuu_a40vc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOENT = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_open(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr @ENOENT, align 4
store i32 %10, ptr @errno, align 4
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuu_a40vc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOENT = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_open(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr @ENOENT, align 4
store i32 %10, ptr @errno, align 4
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9em3e1wm.c'
source_filename = "/tmp/tmp9em3e1wm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @i2c_send_slave_adrs(i8 noundef signext %0, i8 noundef signext %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i8 %0, ptr %3, align 1
store i8 %1, ptr %4, align 1
%7 = call i32 @i2c_SCL_set(i32 noundef 0)
store i32 6, ptr %5, align 4
br label %8
8: ; preds = %22, %2
%9 = load i32, ptr %5, align 4
%10 = icmp sge i32 %9, 0
br i1 %10, label %11, label %25
11: ; preds = %8
%12 = load i8, ptr %3, align 1
%13 = sext i8 %12 to i32
%14 = load i32, ptr %5, align 4
%15 = ashr i32 %13, %14
%16 = and i32 %15, 1
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %6, align 4
%18 = trunc i32 %17 to i8
%19 = call i32 @i2c_SDA_set(i8 noundef signext %18)
%20 = call i32 @i2c_SCL_set(i32 noundef 1)
%21 = call i32 @i2c_SCL_set(i32 noundef 0)
br label %22
22: ; preds = %11
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, -1
store i32 %24, ptr %5, align 4
br label %8, !llvm.loop !6
25: ; preds = %8
%26 = load i8, ptr %4, align 1
%27 = sext i8 %26 to i32
%28 = and i32 %27, 1
%29 = trunc i32 %28 to i8
%30 = call i32 @i2c_SDA_set(i8 noundef signext %29)
%31 = call i32 @i2c_SCL_set(i32 noundef 1)
%32 = call i32 @i2c_SCL_set(i32 noundef 0)
ret void
}
declare i32 @i2c_SCL_set(i32 noundef) #1
declare i32 @i2c_SDA_set(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/tmp9em3e1wm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @i2c_send_slave_adrs(i8 noundef signext %0, i8 noundef signext %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i8 %0, ptr %3, align 1
store i8 %1, ptr %4, align 1
%7 = call i32 @i2c_SCL_set(i32 noundef 0)
store i32 6, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp sge i32 %8, 0
br i1 %9, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %21
%11 = load i8, ptr %3, align 1
%12 = sext i8 %11 to i32
%13 = load i32, ptr %5, align 4
%14 = ashr i32 %12, %13
%15 = and i32 %14, 1
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = trunc i32 %16 to i8
%18 = call i32 @i2c_SDA_set(i8 noundef signext %17)
%19 = call i32 @i2c_SCL_set(i32 noundef 1)
%20 = call i32 @i2c_SCL_set(i32 noundef 0)
br label %21
21: ; preds = %10
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, -1
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %5, align 4
%25 = icmp sge i32 %24, 0
br i1 %25, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %26
26: ; preds = %._crit_edge, %2
%27 = load i8, ptr %4, align 1
%28 = sext i8 %27 to i32
%29 = and i32 %28, 1
%30 = trunc i32 %29 to i8
%31 = call i32 @i2c_SDA_set(i8 noundef signext %30)
%32 = call i32 @i2c_SCL_set(i32 noundef 1)
%33 = call i32 @i2c_SCL_set(i32 noundef 0)
ret void
}
declare i32 @i2c_SCL_set(i32 noundef) #1
declare i32 @i2c_SDA_set(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/tmp5e_1dydz.c'
source_filename = "/tmp/tmp5e_1dydz.c"
target datalayout = "e-m:e-p270: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/tmp5e_1dydz.c"
target datalayout = "e-m:e-p270: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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.