llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmptx63eoc0.c'
source_filename = "/tmp/tmptx63eoc0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"[%s]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @debugPrintf(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/tmptx63eoc0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"[%s]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @debugPrintf(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/tmp8m3id_d2.c'
source_filename = "/tmp/tmp8m3id_d2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %14, %0
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %9, label %17
9: ; preds = %5
%10 = call i64 (...) @unknown1()
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = load i32, ptr %2, align 4
store i32 %13, ptr %3, align 4
br label %14
14: ; preds = %12, %9
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %2, align 4
br label %5, !llvm.loop !6
17: ; preds = %5
%18 = load i32, ptr %4, align 4
%19 = icmp sgt i32 %18, 0
br i1 %19, label %20, label %30
20: ; preds = %17
%21 = load i32, ptr %3, align 4
%22 = icmp sle i32 0, %21
%23 = zext i1 %22 to i32
%24 = call i32 @static_assert(i32 noundef %23)
%25 = load i32, ptr %3, align 4
%26 = load i32, ptr %4, align 4
%27 = icmp slt i32 %25, %26
%28 = zext i1 %27 to i32
%29 = call i32 @static_assert(i32 noundef %28)
br label %30
30: ; preds = %20, %17
%31 = load i32, ptr %1, align 4
ret i32 %31
}
declare i64 @unknown1(...) #1
declare i32 @static_assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8m3id_d2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %5, %6
br i1 %7, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %13
%9 = call i64 (...) @unknown1()
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = load i32, ptr %2, align 4
store i32 %12, ptr %3, align 4
br label %13
13: ; preds = %11, %8
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %19
19: ; preds = %._crit_edge, %0
%20 = load i32, ptr %4, align 4
%21 = icmp sgt i32 %20, 0
br i1 %21, label %22, label %32
22: ; preds = %19
%23 = load i32, ptr %3, align 4
%24 = icmp sle i32 0, %23
%25 = zext i1 %24 to i32
%26 = call i32 @static_assert(i32 noundef %25)
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp slt i32 %27, %28
%30 = zext i1 %29 to i32
%31 = call i32 @static_assert(i32 noundef %30)
br label %32
32: ; preds = %22, %19
%33 = load i32, ptr %1, align 4
ret i32 %33
}
declare i64 @unknown1(...) #1
declare i32 @static_assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpabte43ur.c'
source_filename = "/tmp/tmpabte43ur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_or_die(ptr noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
%11 = load i64, ptr %9, align 8
%12 = call ptr @malloc(i64 noundef %11) #3
store ptr %12, ptr %10, align 8
%13 = load ptr, ptr %10, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %4
%16 = load ptr, ptr %10, align 8
store ptr %16, ptr %5, align 8
br label %31
17: ; preds = %4
%18 = call i32 (...) @nomem_rescue()
%19 = icmp ne i32 %18, 0
br i1 %19, label %26, label %20
20: ; preds = %17
%21 = load i64, ptr %9, align 8
%22 = call ptr @malloc(i64 noundef %21) #3
store ptr %22, ptr %10, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = load ptr, ptr %10, align 8
store ptr %25, ptr %5, align 8
br label %31
26: ; preds = %20, %17
%27 = load ptr, ptr %6, align 8
%28 = load i32, ptr %7, align 4
%29 = load ptr, ptr %8, align 8
%30 = call i32 @panic_nomem(ptr noundef %27, i32 noundef %28, ptr noundef %29)
store ptr null, ptr %5, align 8
br label %31
31: ; preds = %26, %24, %15
%32 = load ptr, ptr %5, align 8
ret ptr %32
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @nomem_rescue(...) #2
declare i32 @panic_nomem(ptr noundef, i32 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 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-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 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpabte43ur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_or_die(ptr noundef %0, i32 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
%11 = load i64, ptr %9, align 8
%12 = call ptr @malloc(i64 noundef %11) #3
store ptr %12, ptr %10, align 8
%13 = load ptr, ptr %10, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %4
%16 = load ptr, ptr %10, align 8
store ptr %16, ptr %5, align 8
br label %31
17: ; preds = %4
%18 = call i32 (...) @nomem_rescue()
%19 = icmp ne i32 %18, 0
br i1 %19, label %26, label %20
20: ; preds = %17
%21 = load i64, ptr %9, align 8
%22 = call ptr @malloc(i64 noundef %21) #3
store ptr %22, ptr %10, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = load ptr, ptr %10, align 8
store ptr %25, ptr %5, align 8
br label %31
26: ; preds = %20, %17
%27 = load ptr, ptr %6, align 8
%28 = load i32, ptr %7, align 4
%29 = load ptr, ptr %8, align 8
%30 = call i32 @panic_nomem(ptr noundef %27, i32 noundef %28, ptr noundef %29)
store ptr null, ptr %5, align 8
br label %31
31: ; preds = %26, %24, %15
%32 = load ptr, ptr %5, align 8
ret ptr %32
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @nomem_rescue(...) #2
declare i32 @panic_nomem(ptr noundef, i32 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 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-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 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplxijawo9.c'
source_filename = "/tmp/tmplxijawo9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @safe_basename(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @strrchr(ptr noundef %4, i8 noundef signext 47)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
store ptr %9, ptr %3, align 8
br label %13
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 1
store ptr %12, ptr %3, align 8
br label %13
13: ; preds = %10, %8
%14 = load ptr, ptr %3, align 8
ret ptr %14
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplxijawo9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @safe_basename(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @strrchr(ptr noundef %4, i8 noundef signext 47)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
store ptr %9, ptr %3, align 8
br label %13
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 1
store ptr %12, ptr %3, align 8
br label %13
13: ; preds = %10, %8
%14 = load ptr, ptr %3, align 8
ret ptr %14
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdmoahw7v.c'
source_filename = "/tmp/tmpdmoahw7v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crc32buf(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
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 -1, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %19, %2
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp ult i32 %8, %9
br i1 %10, label %11, label %22
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %6, align 4
%14 = zext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = load i32, ptr %5, align 4
%18 = call i32 @UPDC32(i8 noundef zeroext %16, i32 noundef %17)
store i32 %18, ptr %5, align 4
br label %19
19: ; preds = %11
%20 = load i32, ptr %6, align 4
%21 = add i32 %20, 1
store i32 %21, ptr %6, align 4
br label %7, !llvm.loop !6
22: ; preds = %7
%23 = load i32, ptr %5, align 4
ret i32 %23
}
declare i32 @UPDC32(i8 noundef zeroext, 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/tmpdmoahw7v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crc32buf(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
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 -1, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp ult i32 %7, %8
br i1 %9, label %.lr.ph, label %24
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %18
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %6, align 4
%13 = zext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = load i32, ptr %5, align 4
%17 = call i32 @UPDC32(i8 noundef zeroext %15, i32 noundef %16)
store i32 %17, ptr %5, align 4
br label %18
18: ; preds = %10
%19 = load i32, ptr %6, align 4
%20 = add i32 %19, 1
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp ult i32 %21, %22
br i1 %23, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %2
%25 = load i32, ptr %5, align 4
ret i32 %25
}
declare i32 @UPDC32(i8 noundef zeroext, 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/tmppb0fbh_q.c'
source_filename = "/tmp/tmppb0fbh_q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SHUT_RDWR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CloseSocket(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @SHUT_RDWR, align 4
%5 = call i32 @shutdown(i32 noundef %3, i32 noundef %4)
%6 = load i32, ptr %2, align 4
%7 = call i32 @close(i32 noundef %6)
ret void
}
declare i32 @shutdown(i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppb0fbh_q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SHUT_RDWR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CloseSocket(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @SHUT_RDWR, align 4
%5 = call i32 @shutdown(i32 noundef %3, i32 noundef %4)
%6 = load i32, ptr %2, align 4
%7 = call i32 @close(i32 noundef %6)
ret void
}
declare i32 @shutdown(i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkvyegomn.c'
source_filename = "/tmp/tmpkvyegomn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c_read(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i64 @read(i32 noundef %7, ptr noundef %8, i64 noundef %9)
%11 = trunc i64 %10 to i32
ret i32 %11
}
declare i64 @read(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkvyegomn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c_read(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i64 @read(i32 noundef %7, ptr noundef %8, i64 noundef %9)
%11 = trunc i64 %10 to i32
ret i32 %11
}
declare i64 @read(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpup_ythgb.c'
source_filename = "/tmp/tmpup_ythgb.c"
target datalayout = "e-m:e-p270: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.pieces = private unnamed_addr constant [8 x i8] c"OISZLJT\00", align 1
@__const.main.bag = private unnamed_addr constant [8 x i8] c"OISZLJT\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [8 x i8], align 1
%3 = alloca [8 x i8], align 1
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca i8, align 1
store i32 0, ptr %1, align 4
%7 = call i32 @time(ptr noundef null)
%8 = call i32 @srand(i32 noundef %7)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.pieces, i64 8, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.bag, i64 8, i1 false)
store i32 0, ptr %4, align 4
br label %9
9: ; preds = %43, %0
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 50
br i1 %11, label %12, label %46
12: ; preds = %9
%13 = load i32, ptr %4, align 4
%14 = srem i32 %13, 7
%15 = trunc i32 %14 to i8
store i8 %15, ptr %5, align 1
%16 = load i8, ptr %5, align 1
%17 = icmp ne i8 %16, 0
br i1 %17, label %22, label %18
18: ; preds = %12
%19 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0
%20 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 0
%21 = call i32 @memcpy(ptr noundef %19, ptr noundef %20, i32 noundef 7)
br label %22
22: ; preds = %18, %12
%23 = call i32 (...) @rand()
%24 = load i8, ptr %5, align 1
%25 = sext i8 %24 to i32
%26 = sub nsw i32 7, %25
%27 = srem i32 %23, %26
%28 = trunc i32 %27 to i8
store i8 %28, ptr %6, align 1
%29 = load i8, ptr %6, align 1
%30 = sext i8 %29 to i64
%31 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 %30
%32 = load i8, ptr %31, align 1
%33 = call i32 @putchar(i8 noundef signext %32)
%34 = load i8, ptr %5, align 1
%35 = sext i8 %34 to i32
%36 = sub nsw i32 6, %35
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 %37
%39 = load i8, ptr %38, align 1
%40 = load i8, ptr %6, align 1
%41 = sext i8 %40 to i64
%42 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 %41
store i8 %39, ptr %42, align 1
br label %43
43: ; preds = %22
%44 = load i32, ptr %4, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %4, align 4
br label %9, !llvm.loop !6
46: ; preds = %9
%47 = load i32, ptr %1, align 4
ret i32 %47
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr 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 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @rand(...) #1
declare i32 @putchar(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" }
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpup_ythgb.c"
target datalayout = "e-m:e-p270: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.pieces = private unnamed_addr constant [8 x i8] c"OISZLJT\00", align 1
@__const.main.bag = private unnamed_addr constant [8 x i8] c"OISZLJT\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [8 x i8], align 1
%3 = alloca [8 x i8], align 1
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca i8, align 1
store i32 0, ptr %1, align 4
%7 = call i32 @time(ptr noundef null)
%8 = call i32 @srand(i32 noundef %7)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.pieces, i64 8, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.bag, i64 8, i1 false)
store i32 0, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 50
br i1 %10, label %.lr.ph, label %47
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %42
%12 = load i32, ptr %4, align 4
%13 = srem i32 %12, 7
%14 = trunc i32 %13 to i8
store i8 %14, ptr %5, align 1
%15 = load i8, ptr %5, align 1
%16 = icmp ne i8 %15, 0
br i1 %16, label %21, label %17
17: ; preds = %11
%18 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0
%19 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 0
%20 = call i32 @memcpy(ptr noundef %18, ptr noundef %19, i32 noundef 7)
br label %21
21: ; preds = %17, %11
%22 = call i32 (...) @rand()
%23 = load i8, ptr %5, align 1
%24 = sext i8 %23 to i32
%25 = sub nsw i32 7, %24
%26 = srem i32 %22, %25
%27 = trunc i32 %26 to i8
store i8 %27, ptr %6, align 1
%28 = load i8, ptr %6, align 1
%29 = sext i8 %28 to i64
%30 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 %29
%31 = load i8, ptr %30, align 1
%32 = call i32 @putchar(i8 noundef signext %31)
%33 = load i8, ptr %5, align 1
%34 = sext i8 %33 to i32
%35 = sub nsw i32 6, %34
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 %36
%38 = load i8, ptr %37, align 1
%39 = load i8, ptr %6, align 1
%40 = sext i8 %39 to i64
%41 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 %40
store i8 %38, ptr %41, align 1
br label %42
42: ; preds = %21
%43 = load i32, ptr %4, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %4, align 4
%45 = load i32, ptr %4, align 4
%46 = icmp slt i32 %45, 50
br i1 %46, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %47
47: ; preds = %._crit_edge, %0
%48 = load i32, ptr %1, align 4
ret i32 %48
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr 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 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @rand(...) #1
declare i32 @putchar(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" }
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"}
|
; ModuleID = '/tmp/tmppikank_n.c'
source_filename = "/tmp/tmppikank_n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = 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 @link_putlstring(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 0, ptr %10, align 4
%12 = load ptr, ptr %6, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %16, label %14
14: ; preds = %4
%15 = load i32, ptr @EINVAL, align 4
store i32 %15, ptr @errno, align 4
store i32 -1, ptr %5, align 4
br label %43
16: ; preds = %4
br label %17
17: ; preds = %29, %16
%18 = load i64, ptr %8, align 8
%19 = icmp ugt i64 %18, 0
br i1 %19, label %20, label %41
20: ; preds = %17
%21 = load ptr, ptr %6, align 8
%22 = load ptr, ptr %7, align 8
%23 = load i64, ptr %8, align 8
%24 = load i32, ptr %9, align 4
%25 = call i32 @link_write(ptr noundef %21, ptr noundef %22, i64 noundef %23, i32 noundef %24)
store i32 %25, ptr %11, align 4
%26 = load i32, ptr %11, align 4
%27 = icmp eq i32 %26, -1
br i1 %27, label %28, label %29
28: ; preds = %20
store i32 -1, ptr %5, align 4
br label %43
29: ; preds = %20
%30 = load i32, ptr %11, align 4
%31 = sext i32 %30 to i64
%32 = load i64, ptr %8, align 8
%33 = sub i64 %32, %31
store i64 %33, ptr %8, align 8
%34 = load i32, ptr %11, align 4
%35 = load i32, ptr %10, align 4
%36 = add nsw i32 %35, %34
store i32 %36, ptr %10, align 4
%37 = load i32, ptr %11, align 4
%38 = load ptr, ptr %7, align 8
%39 = sext i32 %37 to i64
%40 = getelementptr inbounds i8, ptr %38, i64 %39
store ptr %40, ptr %7, align 8
br label %17, !llvm.loop !6
41: ; preds = %17
%42 = load i32, ptr %10, align 4
store i32 %42, ptr %5, align 4
br label %43
43: ; preds = %41, %28, %14
%44 = load i32, ptr %5, align 4
ret i32 %44
}
declare i32 @link_write(ptr noundef, ptr noundef, i64 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/tmppikank_n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = 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 @link_putlstring(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 0, ptr %10, align 4
%12 = load ptr, ptr %6, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %16, label %14
14: ; preds = %4
%15 = load i32, ptr @EINVAL, align 4
store i32 %15, ptr @errno, align 4
store i32 -1, ptr %5, align 4
br label %44
16: ; preds = %4
%17 = load i64, ptr %8, align 8
%18 = icmp ugt i64 %17, 0
br i1 %18, label %.lr.ph, label %42
.lr.ph: ; preds = %16
br label %19
19: ; preds = %.lr.ph, %28
%20 = load ptr, ptr %6, align 8
%21 = load ptr, ptr %7, align 8
%22 = load i64, ptr %8, align 8
%23 = load i32, ptr %9, align 4
%24 = call i32 @link_write(ptr noundef %20, ptr noundef %21, i64 noundef %22, i32 noundef %23)
store i32 %24, ptr %11, align 4
%25 = load i32, ptr %11, align 4
%26 = icmp eq i32 %25, -1
br i1 %26, label %27, label %28
27: ; preds = %19
store i32 -1, ptr %5, align 4
br label %44
28: ; preds = %19
%29 = load i32, ptr %11, align 4
%30 = sext i32 %29 to i64
%31 = load i64, ptr %8, align 8
%32 = sub i64 %31, %30
store i64 %32, ptr %8, align 8
%33 = load i32, ptr %11, align 4
%34 = load i32, ptr %10, align 4
%35 = add nsw i32 %34, %33
store i32 %35, ptr %10, align 4
%36 = load i32, ptr %11, align 4
%37 = load ptr, ptr %7, align 8
%38 = sext i32 %36 to i64
%39 = getelementptr inbounds i8, ptr %37, i64 %38
store ptr %39, ptr %7, align 8
%40 = load i64, ptr %8, align 8
%41 = icmp ugt i64 %40, 0
br i1 %41, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %42
42: ; preds = %._crit_edge, %16
%43 = load i32, ptr %10, align 4
store i32 %43, ptr %5, align 4
br label %44
44: ; preds = %42, %27, %14
%45 = load i32, ptr %5, align 4
ret i32 %45
}
declare i32 @link_write(ptr noundef, ptr noundef, i64 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/tmpqn3kh4za.c'
source_filename = "/tmp/tmpqn3kh4za.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s - %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"exN\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Brief description\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"\0AUsage: %s [-h|-v]\0A\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"\0AOptions:\0A\00", align 1
@.str.5 = private unnamed_addr constant [32 x i8] c"\09-h, --help\0A\09\09Show this help.\0A\00", align 1
@.str.6 = private unnamed_addr constant [59 x i8] c"\09-V, --version\0A\09\09Show version and copyright information.\0A\00", align 1
@.str.7 = private unnamed_addr constant [51 x i8] c"\09-v, --verbose\0A\09\09Set verbose level (cumulative).\0A\00", align 1
@.str.8 = private unnamed_addr constant [49 x i8] c"\0AExit status:\0A\090 if ok.\0A\091 some error occurred.\0A\00", align 1
@.str.9 = private unnamed_addr constant [43 x i8] c"\0ATodo:\0A\09Long options not implemented yet.\0A\00", align 1
@.str.10 = private unnamed_addr constant [31 x i8] c"\0AAuthor:\0A\09Written by %s <%s>\0A\0A\00", align 1
@.str.11 = private unnamed_addr constant [20 x i8] c"Ruben Carlo Benante\00", align 1
@.str.12 = private unnamed_addr constant [12 x i8] c"[email protected]\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef @.str.11, ptr noundef @.str.12)
%10 = load i32, ptr @EXIT_FAILURE, align 4
%11 = call i32 @exit(i32 noundef %10) #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/tmpqn3kh4za.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s - %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"exN\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Brief description\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"\0AUsage: %s [-h|-v]\0A\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"\0AOptions:\0A\00", align 1
@.str.5 = private unnamed_addr constant [32 x i8] c"\09-h, --help\0A\09\09Show this help.\0A\00", align 1
@.str.6 = private unnamed_addr constant [59 x i8] c"\09-V, --version\0A\09\09Show version and copyright information.\0A\00", align 1
@.str.7 = private unnamed_addr constant [51 x i8] c"\09-v, --verbose\0A\09\09Set verbose level (cumulative).\0A\00", align 1
@.str.8 = private unnamed_addr constant [49 x i8] c"\0AExit status:\0A\090 if ok.\0A\091 some error occurred.\0A\00", align 1
@.str.9 = private unnamed_addr constant [43 x i8] c"\0ATodo:\0A\09Long options not implemented yet.\0A\00", align 1
@.str.10 = private unnamed_addr constant [31 x i8] c"\0AAuthor:\0A\09Written by %s <%s>\0A\0A\00", align 1
@.str.11 = private unnamed_addr constant [20 x i8] c"Ruben Carlo Benante\00", align 1
@.str.12 = private unnamed_addr constant [12 x i8] c"[email protected]\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef @.str.11, ptr noundef @.str.12)
%10 = load i32, ptr @EXIT_FAILURE, align 4
%11 = call i32 @exit(i32 noundef %10) #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/tmpllieo_fl.c'
source_filename = "/tmp/tmpllieo_fl.c"
target datalayout = "e-m:e-p270: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/tmpllieo_fl.c"
target datalayout = "e-m:e-p270: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/tmpgxscej7z.c'
source_filename = "/tmp/tmpgxscej7z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgxscej7z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsq45djet.c'
source_filename = "/tmp/tmpsq45djet.c"
target datalayout = "e-m:e-p270: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/tmpsq45djet.c"
target datalayout = "e-m:e-p270: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/tmpn9vbehvi.c'
source_filename = "/tmp/tmpn9vbehvi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @goal_state_handle_input(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 10
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 @change_state(i32 noundef 0, i32 noundef 1, i32 noundef 1)
br label %7
7: ; preds = %5, %1
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 113
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = call i32 (...) @force_exit()
br label %12
12: ; preds = %10, %7
ret void
}
declare i32 @change_state(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @force_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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn9vbehvi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @goal_state_handle_input(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 10
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 @change_state(i32 noundef 0, i32 noundef 1, i32 noundef 1)
br label %7
7: ; preds = %5, %1
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 113
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = call i32 (...) @force_exit()
br label %12
12: ; preds = %10, %7
ret void
}
declare i32 @change_state(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @force_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"}
|
; ModuleID = '/tmp/tmpgt_1o6pj.c'
source_filename = "/tmp/tmpgt_1o6pj.c"
target datalayout = "e-m:e-p270: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/tmpgt_1o6pj.c"
target datalayout = "e-m:e-p270: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/tmpa7fn5lcn.c'
source_filename = "/tmp/tmpa7fn5lcn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @int_from_bytes(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
%7 = alloca ptr, align 8
%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 %2, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = sext i32 %10 to i64
%12 = mul i64 1, %11
%13 = trunc i64 %12 to i32
%14 = call ptr @malloc(i32 noundef %13)
store ptr %14, ptr %7, align 8
store i32 0, ptr %9, align 4
store i32 0, ptr %8, align 4
br label %15
15: ; preds = %31, %3
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %34
19: ; preds = %15
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %8, align 4
%23 = add nsw i32 %21, %22
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %20, i64 %24
%26 = load i8, ptr %25, align 1
%27 = load ptr, ptr %7, align 8
%28 = load i32, ptr %8, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
store i8 %26, ptr %30, align 1
br label %31
31: ; preds = %19
%32 = load i32, ptr %8, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %8, align 4
br label %15, !llvm.loop !6
34: ; preds = %15
store i32 0, ptr %8, align 4
br label %35
35: ; preds = %51, %34
%36 = load i32, ptr %8, align 4
%37 = load i32, ptr %6, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %54
39: ; preds = %35
%40 = load ptr, ptr %7, align 8
%41 = load i32, ptr %8, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = load i8, ptr %43, align 1
%45 = zext i8 %44 to i32
%46 = load i32, ptr %8, align 4
%47 = mul nsw i32 8, %46
%48 = shl i32 %45, %47
%49 = load i32, ptr %9, align 4
%50 = add i32 %49, %48
store i32 %50, ptr %9, align 4
br label %51
51: ; preds = %39
%52 = load i32, ptr %8, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %8, align 4
br label %35, !llvm.loop !8
54: ; preds = %35
%55 = load i32, ptr %9, align 4
ret i32 %55
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa7fn5lcn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @int_from_bytes(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
%7 = alloca ptr, align 8
%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 %2, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = sext i32 %10 to i64
%12 = mul i64 1, %11
%13 = trunc i64 %12 to i32
%14 = call ptr @malloc(i32 noundef %13)
store ptr %14, ptr %7, align 8
store i32 0, ptr %9, align 4
store i32 0, ptr %8, align 4
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %36
.lr.ph: ; preds = %3
br label %18
18: ; preds = %.lr.ph, %30
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %8, align 4
%22 = add nsw i32 %20, %21
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %19, i64 %23
%25 = load i8, ptr %24, align 1
%26 = load ptr, ptr %7, align 8
%27 = load i32, ptr %8, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
store i8 %25, ptr %29, align 1
br label %30
30: ; preds = %18
%31 = load i32, ptr %8, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %8, align 4
%33 = load i32, ptr %8, align 4
%34 = load i32, ptr %6, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %36
36: ; preds = %._crit_edge, %3
store i32 0, ptr %8, align 4
%37 = load i32, ptr %8, align 4
%38 = load i32, ptr %6, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %.lr.ph2, label %58
.lr.ph2: ; preds = %36
br label %40
40: ; preds = %.lr.ph2, %52
%41 = load ptr, ptr %7, align 8
%42 = load i32, ptr %8, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = zext i8 %45 to i32
%47 = load i32, ptr %8, align 4
%48 = mul nsw i32 8, %47
%49 = shl i32 %46, %48
%50 = load i32, ptr %9, align 4
%51 = add i32 %50, %49
store i32 %51, ptr %9, align 4
br label %52
52: ; preds = %40
%53 = load i32, ptr %8, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %8, align 4
%55 = load i32, ptr %8, align 4
%56 = load i32, ptr %6, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %40, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %58
58: ; preds = %._crit_edge3, %36
%59 = load i32, ptr %9, align 4
ret i32 %59
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpge_cgz1k.c'
source_filename = "/tmp/tmpge_cgz1k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@True = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @SubtractWindowFromVisibleRegion(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
%7 = 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
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr @True, align 4
%11 = call i32 @GetWindowRegion(ptr noundef %8, i32 noundef %9, i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %6, align 4
%15 = call i32 @XSubtractRegion(i32 noundef %12, i32 noundef %13, i32 noundef %14)
%16 = load i32, ptr %7, align 4
%17 = call i32 @XDestroyRegion(i32 noundef %16)
ret void
}
declare i32 @GetWindowRegion(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @XSubtractRegion(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @XDestroyRegion(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/tmpge_cgz1k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@True = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @SubtractWindowFromVisibleRegion(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
%7 = 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
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr @True, align 4
%11 = call i32 @GetWindowRegion(ptr noundef %8, i32 noundef %9, i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %6, align 4
%15 = call i32 @XSubtractRegion(i32 noundef %12, i32 noundef %13, i32 noundef %14)
%16 = load i32, ptr %7, align 4
%17 = call i32 @XDestroyRegion(i32 noundef %16)
ret void
}
declare i32 @GetWindowRegion(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @XSubtractRegion(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @XDestroyRegion(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/tmphyv5mk1j.c'
source_filename = "/tmp/tmphyv5mk1j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @set_nonblocking(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr @F_GETFL, align 4
%7 = call i32 @fcntl(i32 noundef %5, i32 noundef %6, i32 noundef 0)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %11
10: ; preds = %1
store i32 -1, ptr %2, align 4
br label %18
11: ; preds = %1
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr @F_SETFL, align 4
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr @O_NONBLOCK, align 4
%16 = or i32 %14, %15
%17 = call i32 @fcntl(i32 noundef %12, i32 noundef %13, i32 noundef %16)
store i32 %17, ptr %2, align 4
br label %18
18: ; preds = %11, %10
%19 = load i32, ptr %2, align 4
ret i32 %19
}
declare i32 @fcntl(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/tmphyv5mk1j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @set_nonblocking(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr @F_GETFL, align 4
%7 = call i32 @fcntl(i32 noundef %5, i32 noundef %6, i32 noundef 0)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %11
10: ; preds = %1
store i32 -1, ptr %2, align 4
br label %18
11: ; preds = %1
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr @F_SETFL, align 4
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr @O_NONBLOCK, align 4
%16 = or i32 %14, %15
%17 = call i32 @fcntl(i32 noundef %12, i32 noundef %13, i32 noundef %16)
store i32 %17, ptr %2, align 4
br label %18
18: ; preds = %11, %10
%19 = load i32, ptr %2, align 4
ret i32 %19
}
declare i32 @fcntl(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/tmpsopvkzde.c'
source_filename = "/tmp/tmpsopvkzde.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [52 x i8] c"Hello from subdir2/subdir3/subdir4/subdir5/prog5.c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 (...) @func5()
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @func5(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsopvkzde.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [52 x i8] c"Hello from subdir2/subdir3/subdir4/subdir5/prog5.c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 (...) @func5()
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @func5(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptlb3y42q.c'
source_filename = "/tmp/tmptlb3y42q.c"
target datalayout = "e-m:e-p270: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 [10 x i8] c"apos: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bwrite_ac3_pes(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11, ptr noundef %12, i32 noundef %13, i32 noundef %14) #0 {
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca ptr, align 8
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca i32, align 4
%33 = alloca i32, align 4
%34 = alloca i32, align 4
%35 = alloca i32, align 4
%36 = alloca i32, align 4
store i32 %0, ptr %17, align 4
store i32 %1, ptr %18, align 4
store i32 %2, ptr %19, align 4
store i32 %3, ptr %20, align 4
store i32 %4, ptr %21, align 4
store i32 %5, ptr %22, align 4
store i32 %6, ptr %23, align 4
store ptr %7, ptr %24, align 8
store ptr %8, ptr %25, align 8
store i32 %9, ptr %26, align 4
store i32 %10, ptr %27, align 4
store i32 %11, ptr %28, align 4
store ptr %12, ptr %29, align 8
store i32 %13, ptr %30, align 4
store i32 %14, ptr %31, align 4
store i32 0, ptr %33, align 4
store i32 0, ptr %34, align 4
store i32 0, ptr %35, align 4
%37 = load ptr, ptr %25, align 8
%38 = load i32, ptr %37, align 4
store i32 %38, ptr %36, align 4
%39 = load i32, ptr %36, align 4
%40 = icmp ne i32 %39, 0
br i1 %40, label %42, label %41
41: ; preds = %15
store i32 0, ptr %16, align 4
br label %195
42: ; preds = %15
store i32 23, ptr %34, align 4
%43 = load i32, ptr %26, align 4
%44 = icmp eq i32 %43, 128
br i1 %44, label %45, label %48
45: ; preds = %42
%46 = load i32, ptr %34, align 4
%47 = add nsw i32 %46, 5
store i32 %47, ptr %34, align 4
br label %48
48: ; preds = %45, %42
%49 = load i32, ptr %36, align 4
%50 = load i32, ptr %34, align 4
%51 = add nsw i32 %49, %50
%52 = load i32, ptr %17, align 4
%53 = icmp sge i32 %51, %52
br i1 %53, label %54, label %68
54: ; preds = %48
%55 = load i32, ptr %36, align 4
%56 = load i32, ptr %34, align 4
%57 = add nsw i32 %55, %56
%58 = load i32, ptr %17, align 4
%59 = sub nsw i32 %57, %58
%60 = load i32, ptr %31, align 4
%61 = sub nsw i32 %60, 4
%62 = icmp eq i32 %59, %61
br i1 %62, label %63, label %66
63: ; preds = %54
%64 = load i32, ptr %27, align 4
%65 = add nsw i32 %64, -1
store i32 %65, ptr %27, align 4
br label %66
66: ; preds = %63, %54
%67 = load i32, ptr %17, align 4
store i32 %67, ptr %36, align 4
br label %87
68: ; preds = %48
%69 = load i32, ptr %17, align 4
%70 = load i32, ptr %36, align 4
%71 = sub nsw i32 %69, %70
%72 = load i32, ptr %34, align 4
%73 = sub nsw i32 %71, %72
%74 = icmp sle i32 %73, 7
br i1 %74, label %75, label %82
75: ; preds = %68
%76 = load i32, ptr %17, align 4
%77 = load i32, ptr %36, align 4
%78 = sub nsw i32 %76, %77
%79 = load i32, ptr %34, align 4
%80 = sub nsw i32 %78, %79
store i32 %80, ptr %35, align 4
%81 = load i32, ptr %17, align 4
store i32 %81, ptr %36, align 4
br label %86
82: ; preds = %68
%83 = load i32, ptr %36, align 4
%84 = load i32, ptr %34, align 4
%85 = add nsw i32 %83, %84
store i32 %85, ptr %36, align 4
br label %86
86: ; preds = %82, %75
br label %87
87: ; preds = %86, %66
%88 = load ptr, ptr %24, align 8
%89 = load i32, ptr %22, align 4
%90 = load i32, ptr %23, align 4
%91 = load i32, ptr %18, align 4
%92 = load i32, ptr %19, align 4
%93 = add nsw i32 %91, %92
%94 = call i32 @write_ps_header(ptr noundef %88, i32 noundef %89, i32 noundef %90, i32 noundef %93, i32 noundef 0, i32 noundef 0, i32 noundef 1, i32 noundef 1, i32 noundef 1, i32 noundef 0)
store i32 %94, ptr %33, align 4
%95 = load i32, ptr %36, align 4
%96 = load i32, ptr %33, align 4
%97 = sub nsw i32 %95, %96
%98 = load i32, ptr %21, align 4
%99 = load ptr, ptr %24, align 8
%100 = load i32, ptr %33, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds i32, ptr %99, i64 %101
%103 = load i32, ptr %35, align 4
%104 = load i32, ptr %26, align 4
%105 = call i64 @write_pes_header(i32 noundef 189, i32 noundef %97, i32 noundef %98, i32 noundef 0, ptr noundef %102, i32 noundef %103, i32 noundef %104)
%106 = load i32, ptr %33, align 4
%107 = sext i32 %106 to i64
%108 = add nsw i64 %107, %105
%109 = trunc i64 %108 to i32
store i32 %109, ptr %33, align 4
%110 = load i32, ptr %20, align 4
%111 = add nsw i32 128, %110
%112 = load i32, ptr %18, align 4
%113 = add nsw i32 %111, %112
%114 = load ptr, ptr %24, align 8
%115 = load i32, ptr %33, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i32, ptr %114, i64 %116
store i32 %113, ptr %117, align 4
%118 = load i32, ptr %27, align 4
%119 = load ptr, ptr %24, align 8
%120 = load i32, ptr %33, align 4
%121 = add nsw i32 %120, 1
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds i32, ptr %119, i64 %122
store i32 %118, ptr %123, align 4
%124 = load i32, ptr %28, align 4
%125 = ashr i32 %124, 8
%126 = and i32 %125, 255
%127 = load ptr, ptr %24, align 8
%128 = load i32, ptr %33, align 4
%129 = add nsw i32 %128, 2
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds i32, ptr %127, i64 %130
store i32 %126, ptr %131, align 4
%132 = load i32, ptr %28, align 4
%133 = and i32 %132, 255
%134 = load ptr, ptr %24, align 8
%135 = load i32, ptr %33, align 4
%136 = add nsw i32 %135, 3
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds i32, ptr %134, i64 %137
store i32 %133, ptr %138, align 4
%139 = load i32, ptr %33, align 4
%140 = add nsw i32 %139, 4
store i32 %140, ptr %33, align 4
%141 = load i32, ptr %36, align 4
%142 = load i32, ptr %33, align 4
%143 = sub nsw i32 %141, %142
%144 = load i32, ptr %30, align 4
%145 = icmp sle i32 %143, %144
br i1 %145, label %146, label %161
146: ; preds = %87
%147 = load ptr, ptr %24, align 8
%148 = load i32, ptr %33, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds i32, ptr %147, i64 %149
%151 = load ptr, ptr %29, align 8
%152 = load i32, ptr %36, align 4
%153 = load i32, ptr %33, align 4
%154 = sub nsw i32 %152, %153
%155 = call i32 @memcpy(ptr noundef %150, ptr noundef %151, i32 noundef %154)
%156 = load i32, ptr %36, align 4
%157 = load i32, ptr %33, align 4
%158 = sub nsw i32 %156, %157
store i32 %158, ptr %32, align 4
%159 = load i32, ptr %32, align 4
%160 = load ptr, ptr %25, align 8
store i32 %159, ptr %160, align 4
br label %162
161: ; preds = %87
store i32 -1, ptr %16, align 4
br label %195
162: ; preds = %146
%163 = load i32, ptr %32, align 4
%164 = load i32, ptr %33, align 4
%165 = add nsw i32 %164, %163
store i32 %165, ptr %33, align 4
%166 = load i32, ptr %33, align 4
%167 = add nsw i32 %166, 7
%168 = load i32, ptr %17, align 4
%169 = icmp slt i32 %167, %168
br i1 %169, label %170, label %184
170: ; preds = %162
%171 = load i32, ptr %17, align 4
%172 = load i32, ptr %33, align 4
%173 = sub nsw i32 %171, %172
%174 = load ptr, ptr %24, align 8
%175 = load i32, ptr %33, align 4
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds i32, ptr %174, i64 %176
%178 = call i64 @write_pes_header(i32 noundef 190, i32 noundef %173, i32 noundef 0, i32 noundef 0, ptr noundef %177, i32 noundef 0, i32 noundef 0)
%179 = load i32, ptr %33, align 4
%180 = sext i32 %179 to i64
%181 = add nsw i64 %180, %178
%182 = trunc i64 %181 to i32
store i32 %182, ptr %33, align 4
%183 = load i32, ptr %17, align 4
store i32 %183, ptr %33, align 4
br label %184
184: ; preds = %170, %162
%185 = load i32, ptr %33, align 4
%186 = load i32, ptr %17, align 4
%187 = icmp ne i32 %185, %186
br i1 %187, label %188, label %193
188: ; preds = %184
%189 = load i32, ptr @stderr, align 4
%190 = load i32, ptr %33, align 4
%191 = call i32 @fprintf(i32 noundef %189, ptr noundef @.str, i32 noundef %190)
%192 = call i32 @exit(i32 noundef 1) #3
unreachable
193: ; preds = %184
%194 = load i32, ptr %33, align 4
store i32 %194, ptr %16, align 4
br label %195
195: ; preds = %193, %161, %41
%196 = load i32, ptr %16, align 4
ret i32 %196
}
declare i32 @write_ps_header(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @write_pes_header(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, 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/tmptlb3y42q.c"
target datalayout = "e-m:e-p270: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 [10 x i8] c"apos: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bwrite_ac3_pes(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11, ptr noundef %12, i32 noundef %13, i32 noundef %14) #0 {
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca ptr, align 8
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca i32, align 4
%33 = alloca i32, align 4
%34 = alloca i32, align 4
%35 = alloca i32, align 4
%36 = alloca i32, align 4
store i32 %0, ptr %17, align 4
store i32 %1, ptr %18, align 4
store i32 %2, ptr %19, align 4
store i32 %3, ptr %20, align 4
store i32 %4, ptr %21, align 4
store i32 %5, ptr %22, align 4
store i32 %6, ptr %23, align 4
store ptr %7, ptr %24, align 8
store ptr %8, ptr %25, align 8
store i32 %9, ptr %26, align 4
store i32 %10, ptr %27, align 4
store i32 %11, ptr %28, align 4
store ptr %12, ptr %29, align 8
store i32 %13, ptr %30, align 4
store i32 %14, ptr %31, align 4
store i32 0, ptr %33, align 4
store i32 0, ptr %34, align 4
store i32 0, ptr %35, align 4
%37 = load ptr, ptr %25, align 8
%38 = load i32, ptr %37, align 4
store i32 %38, ptr %36, align 4
%39 = load i32, ptr %36, align 4
%40 = icmp ne i32 %39, 0
br i1 %40, label %42, label %41
41: ; preds = %15
store i32 0, ptr %16, align 4
br label %195
42: ; preds = %15
store i32 23, ptr %34, align 4
%43 = load i32, ptr %26, align 4
%44 = icmp eq i32 %43, 128
br i1 %44, label %45, label %48
45: ; preds = %42
%46 = load i32, ptr %34, align 4
%47 = add nsw i32 %46, 5
store i32 %47, ptr %34, align 4
br label %48
48: ; preds = %45, %42
%49 = load i32, ptr %36, align 4
%50 = load i32, ptr %34, align 4
%51 = add nsw i32 %49, %50
%52 = load i32, ptr %17, align 4
%53 = icmp sge i32 %51, %52
br i1 %53, label %54, label %68
54: ; preds = %48
%55 = load i32, ptr %36, align 4
%56 = load i32, ptr %34, align 4
%57 = add nsw i32 %55, %56
%58 = load i32, ptr %17, align 4
%59 = sub nsw i32 %57, %58
%60 = load i32, ptr %31, align 4
%61 = sub nsw i32 %60, 4
%62 = icmp eq i32 %59, %61
br i1 %62, label %63, label %66
63: ; preds = %54
%64 = load i32, ptr %27, align 4
%65 = add nsw i32 %64, -1
store i32 %65, ptr %27, align 4
br label %66
66: ; preds = %63, %54
%67 = load i32, ptr %17, align 4
store i32 %67, ptr %36, align 4
br label %87
68: ; preds = %48
%69 = load i32, ptr %17, align 4
%70 = load i32, ptr %36, align 4
%71 = sub nsw i32 %69, %70
%72 = load i32, ptr %34, align 4
%73 = sub nsw i32 %71, %72
%74 = icmp sle i32 %73, 7
br i1 %74, label %75, label %82
75: ; preds = %68
%76 = load i32, ptr %17, align 4
%77 = load i32, ptr %36, align 4
%78 = sub nsw i32 %76, %77
%79 = load i32, ptr %34, align 4
%80 = sub nsw i32 %78, %79
store i32 %80, ptr %35, align 4
%81 = load i32, ptr %17, align 4
store i32 %81, ptr %36, align 4
br label %86
82: ; preds = %68
%83 = load i32, ptr %36, align 4
%84 = load i32, ptr %34, align 4
%85 = add nsw i32 %83, %84
store i32 %85, ptr %36, align 4
br label %86
86: ; preds = %82, %75
br label %87
87: ; preds = %86, %66
%88 = load ptr, ptr %24, align 8
%89 = load i32, ptr %22, align 4
%90 = load i32, ptr %23, align 4
%91 = load i32, ptr %18, align 4
%92 = load i32, ptr %19, align 4
%93 = add nsw i32 %91, %92
%94 = call i32 @write_ps_header(ptr noundef %88, i32 noundef %89, i32 noundef %90, i32 noundef %93, i32 noundef 0, i32 noundef 0, i32 noundef 1, i32 noundef 1, i32 noundef 1, i32 noundef 0)
store i32 %94, ptr %33, align 4
%95 = load i32, ptr %36, align 4
%96 = load i32, ptr %33, align 4
%97 = sub nsw i32 %95, %96
%98 = load i32, ptr %21, align 4
%99 = load ptr, ptr %24, align 8
%100 = load i32, ptr %33, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds i32, ptr %99, i64 %101
%103 = load i32, ptr %35, align 4
%104 = load i32, ptr %26, align 4
%105 = call i64 @write_pes_header(i32 noundef 189, i32 noundef %97, i32 noundef %98, i32 noundef 0, ptr noundef %102, i32 noundef %103, i32 noundef %104)
%106 = load i32, ptr %33, align 4
%107 = sext i32 %106 to i64
%108 = add nsw i64 %107, %105
%109 = trunc i64 %108 to i32
store i32 %109, ptr %33, align 4
%110 = load i32, ptr %20, align 4
%111 = add nsw i32 128, %110
%112 = load i32, ptr %18, align 4
%113 = add nsw i32 %111, %112
%114 = load ptr, ptr %24, align 8
%115 = load i32, ptr %33, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i32, ptr %114, i64 %116
store i32 %113, ptr %117, align 4
%118 = load i32, ptr %27, align 4
%119 = load ptr, ptr %24, align 8
%120 = load i32, ptr %33, align 4
%121 = add nsw i32 %120, 1
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds i32, ptr %119, i64 %122
store i32 %118, ptr %123, align 4
%124 = load i32, ptr %28, align 4
%125 = ashr i32 %124, 8
%126 = and i32 %125, 255
%127 = load ptr, ptr %24, align 8
%128 = load i32, ptr %33, align 4
%129 = add nsw i32 %128, 2
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds i32, ptr %127, i64 %130
store i32 %126, ptr %131, align 4
%132 = load i32, ptr %28, align 4
%133 = and i32 %132, 255
%134 = load ptr, ptr %24, align 8
%135 = load i32, ptr %33, align 4
%136 = add nsw i32 %135, 3
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds i32, ptr %134, i64 %137
store i32 %133, ptr %138, align 4
%139 = load i32, ptr %33, align 4
%140 = add nsw i32 %139, 4
store i32 %140, ptr %33, align 4
%141 = load i32, ptr %36, align 4
%142 = load i32, ptr %33, align 4
%143 = sub nsw i32 %141, %142
%144 = load i32, ptr %30, align 4
%145 = icmp sle i32 %143, %144
br i1 %145, label %146, label %161
146: ; preds = %87
%147 = load ptr, ptr %24, align 8
%148 = load i32, ptr %33, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds i32, ptr %147, i64 %149
%151 = load ptr, ptr %29, align 8
%152 = load i32, ptr %36, align 4
%153 = load i32, ptr %33, align 4
%154 = sub nsw i32 %152, %153
%155 = call i32 @memcpy(ptr noundef %150, ptr noundef %151, i32 noundef %154)
%156 = load i32, ptr %36, align 4
%157 = load i32, ptr %33, align 4
%158 = sub nsw i32 %156, %157
store i32 %158, ptr %32, align 4
%159 = load i32, ptr %32, align 4
%160 = load ptr, ptr %25, align 8
store i32 %159, ptr %160, align 4
br label %162
161: ; preds = %87
store i32 -1, ptr %16, align 4
br label %195
162: ; preds = %146
%163 = load i32, ptr %32, align 4
%164 = load i32, ptr %33, align 4
%165 = add nsw i32 %164, %163
store i32 %165, ptr %33, align 4
%166 = load i32, ptr %33, align 4
%167 = add nsw i32 %166, 7
%168 = load i32, ptr %17, align 4
%169 = icmp slt i32 %167, %168
br i1 %169, label %170, label %184
170: ; preds = %162
%171 = load i32, ptr %17, align 4
%172 = load i32, ptr %33, align 4
%173 = sub nsw i32 %171, %172
%174 = load ptr, ptr %24, align 8
%175 = load i32, ptr %33, align 4
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds i32, ptr %174, i64 %176
%178 = call i64 @write_pes_header(i32 noundef 190, i32 noundef %173, i32 noundef 0, i32 noundef 0, ptr noundef %177, i32 noundef 0, i32 noundef 0)
%179 = load i32, ptr %33, align 4
%180 = sext i32 %179 to i64
%181 = add nsw i64 %180, %178
%182 = trunc i64 %181 to i32
store i32 %182, ptr %33, align 4
%183 = load i32, ptr %17, align 4
store i32 %183, ptr %33, align 4
br label %184
184: ; preds = %170, %162
%185 = load i32, ptr %33, align 4
%186 = load i32, ptr %17, align 4
%187 = icmp ne i32 %185, %186
br i1 %187, label %188, label %193
188: ; preds = %184
%189 = load i32, ptr @stderr, align 4
%190 = load i32, ptr %33, align 4
%191 = call i32 @fprintf(i32 noundef %189, ptr noundef @.str, i32 noundef %190)
%192 = call i32 @exit(i32 noundef 1) #3
unreachable
193: ; preds = %184
%194 = load i32, ptr %33, align 4
store i32 %194, ptr %16, align 4
br label %195
195: ; preds = %193, %161, %41
%196 = load i32, ptr %16, align 4
ret i32 %196
}
declare i32 @write_ps_header(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @write_pes_header(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, 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/tmppypr83_6.c'
source_filename = "/tmp/tmppypr83_6.c"
target datalayout = "e-m:e-p270: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/tmppypr83_6.c"
target datalayout = "e-m:e-p270: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/tmpsi3dwqrw.c'
source_filename = "/tmp/tmpsi3dwqrw.c"
target datalayout = "e-m:e-p270: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/tmpsi3dwqrw.c"
target datalayout = "e-m:e-p270: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/tmp3kdf334c.c'
source_filename = "/tmp/tmp3kdf334c.c"
target datalayout = "e-m:e-p270: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/tmp3kdf334c.c"
target datalayout = "e-m:e-p270: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/tmpqz2z_paf.c'
source_filename = "/tmp/tmpqz2z_paf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @raised_cosine_freq(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
%6 = load double, ptr %4, align 8
%7 = call double @llvm.fabs.f64(double %6)
store double %7, ptr %4, align 8
%8 = load double, ptr %5, align 8
%9 = fsub double 1.000000e+00, %8
%10 = load double, ptr %4, align 8
%11 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %9, double %10)
store double %11, ptr %4, align 8
%12 = load double, ptr %4, align 8
%13 = fcmp ole double %12, 0.000000e+00
br i1 %13, label %14, label %15
14: ; preds = %2
store double 1.000000e+00, ptr %3, align 8
br label %32
15: ; preds = %2
%16 = load double, ptr %4, align 8
%17 = load double, ptr %5, align 8
%18 = fcmp oge double %16, %17
br i1 %18, label %19, label %20
19: ; preds = %15
store double 0.000000e+00, ptr %3, align 8
br label %32
20: ; preds = %15
%21 = load double, ptr %5, align 8
%22 = load double, ptr %4, align 8
%23 = fdiv double %22, %21
store double %23, ptr %4, align 8
%24 = load double, ptr @M_PI, align 8
%25 = load double, ptr %4, align 8
%26 = fmul double %25, %24
store double %26, ptr %4, align 8
%27 = load double, ptr %4, align 8
%28 = call i32 @cos(double noundef %27)
%29 = add nsw i32 1, %28
%30 = sitofp i32 %29 to double
%31 = fmul double 5.000000e-01, %30
store double %31, ptr %3, align 8
br label %32
32: ; preds = %20, %19, %14
%33 = load double, ptr %3, align 8
ret double %33
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare i32 @cos(double 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 nosync nounwind speculatable willreturn memory(none) }
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/tmpqz2z_paf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @raised_cosine_freq(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
%6 = load double, ptr %4, align 8
%7 = call double @llvm.fabs.f64(double %6)
store double %7, ptr %4, align 8
%8 = load double, ptr %5, align 8
%9 = fsub double 1.000000e+00, %8
%10 = load double, ptr %4, align 8
%11 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %9, double %10)
store double %11, ptr %4, align 8
%12 = load double, ptr %4, align 8
%13 = fcmp ole double %12, 0.000000e+00
br i1 %13, label %14, label %15
14: ; preds = %2
store double 1.000000e+00, ptr %3, align 8
br label %32
15: ; preds = %2
%16 = load double, ptr %4, align 8
%17 = load double, ptr %5, align 8
%18 = fcmp oge double %16, %17
br i1 %18, label %19, label %20
19: ; preds = %15
store double 0.000000e+00, ptr %3, align 8
br label %32
20: ; preds = %15
%21 = load double, ptr %5, align 8
%22 = load double, ptr %4, align 8
%23 = fdiv double %22, %21
store double %23, ptr %4, align 8
%24 = load double, ptr @M_PI, align 8
%25 = load double, ptr %4, align 8
%26 = fmul double %25, %24
store double %26, ptr %4, align 8
%27 = load double, ptr %4, align 8
%28 = call i32 @cos(double noundef %27)
%29 = add nsw i32 1, %28
%30 = sitofp i32 %29 to double
%31 = fmul double 5.000000e-01, %30
store double %31, ptr %3, align 8
br label %32
32: ; preds = %20, %19, %14
%33 = load double, ptr %3, align 8
ret double %33
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare i32 @cos(double 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 nosync nounwind speculatable willreturn memory(none) }
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/tmpnh7bxp5o.c'
source_filename = "/tmp/tmpnh7bxp5o.c"
target datalayout = "e-m:e-p270: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/tmpnh7bxp5o.c"
target datalayout = "e-m:e-p270: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/tmpysyfrtf3.c'
source_filename = "/tmp/tmpysyfrtf3.c"
target datalayout = "e-m:e-p270: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/tmpysyfrtf3.c"
target datalayout = "e-m:e-p270: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/tmpeh50x4zk.c'
source_filename = "/tmp/tmpeh50x4zk.c"
target datalayout = "e-m:e-p270: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/tmpeh50x4zk.c"
target datalayout = "e-m:e-p270: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/tmpvbcrcinl.c'
source_filename = "/tmp/tmpvbcrcinl.c"
target datalayout = "e-m:e-p270: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.u = type { %struct.v }
%struct.v = type { i32 }
%struct.anon = type { i32, [3 x i32] }
%struct.empty = type {}
%struct.s = type { %struct.u, %struct.t, i32, %struct.w, i32 }
%struct.t = type { i32, i32, i32, i32 }
%struct.w = type { i32, i32 }
@__const.main.u = private unnamed_addr constant %struct.u { %struct.v { i32 -1 } }, align 4
@.str = private unnamed_addr constant [14 x i8] c"s.u.v.j = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"s.t.e = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"s.t.f = %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"s.t.g = %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"s.t.h = %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"s.i = %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"s.w.k = %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"s.w.l = %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [12 x i8] c"s.m = %d\0A\00", align 1
@__const.main.r = private unnamed_addr constant %struct.anon { i32 1, [3 x i32] [i32 2, i32 3, i32 0] }, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.empty, align 1
%3 = alloca %struct.u, align 4
%4 = alloca %struct.s, align 4
%5 = alloca %struct.anon, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 @__const.main.u, i64 4, i1 false)
%6 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 0
%7 = getelementptr inbounds %struct.u, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.u, ptr %3, i32 0, i32 0
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %8, i64 4, i1 false)
%9 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 1
%10 = getelementptr inbounds %struct.t, ptr %9, i32 0, i32 0
store i32 1, ptr %10, align 4
%11 = getelementptr inbounds %struct.t, ptr %9, i32 0, i32 1
store i32 0, ptr %11, align 4
%12 = getelementptr inbounds %struct.t, ptr %9, i32 0, i32 2
store i32 2, ptr %12, align 4
%13 = getelementptr inbounds %struct.t, ptr %9, i32 0, i32 3
store i32 3, ptr %13, align 4
%14 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 2
store i32 4, ptr %14, align 4
%15 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 3
%16 = getelementptr inbounds %struct.w, ptr %15, i32 0, i32 0
store i32 5, ptr %16, align 4
%17 = getelementptr inbounds %struct.w, ptr %15, i32 0, i32 1
store i32 0, ptr %17, align 4
%18 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 4
store i32 0, ptr %18, align 4
%19 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 0
%20 = getelementptr inbounds %struct.u, ptr %19, i32 0, i32 0
%21 = getelementptr inbounds %struct.v, ptr %20, i32 0, i32 0
%22 = load i32, ptr %21, align 4
%23 = icmp ne i32 %22, -1
br i1 %23, label %24, label %25
24: ; preds = %0
br label %124
25: ; preds = %0
%26 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 1
%27 = getelementptr inbounds %struct.t, ptr %26, i32 0, i32 0
%28 = load i32, ptr %27, align 4
%29 = icmp ne i32 %28, 1
br i1 %29, label %30, label %31
30: ; preds = %25
br label %124
31: ; preds = %25
%32 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 1
%33 = getelementptr inbounds %struct.t, ptr %32, i32 0, i32 1
%34 = load i32, ptr %33, align 4
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %31
br label %124
37: ; preds = %31
%38 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 1
%39 = getelementptr inbounds %struct.t, ptr %38, i32 0, i32 2
%40 = load i32, ptr %39, align 4
%41 = icmp ne i32 %40, 2
br i1 %41, label %42, label %43
42: ; preds = %37
br label %124
43: ; preds = %37
%44 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 1
%45 = getelementptr inbounds %struct.t, ptr %44, i32 0, i32 3
%46 = load i32, ptr %45, align 4
%47 = icmp ne i32 %46, 3
br i1 %47, label %48, label %49
48: ; preds = %43
br label %124
49: ; preds = %43
%50 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 2
%51 = load i32, ptr %50, align 4
%52 = icmp ne i32 %51, 4
br i1 %52, label %53, label %54
53: ; preds = %49
br label %124
54: ; preds = %49
%55 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 3
%56 = getelementptr inbounds %struct.w, ptr %55, i32 0, i32 0
%57 = load i32, ptr %56, align 4
%58 = icmp ne i32 %57, 5
br i1 %58, label %59, label %60
59: ; preds = %54
br label %124
60: ; preds = %54
%61 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 3
%62 = getelementptr inbounds %struct.w, ptr %61, i32 0, i32 1
%63 = load i32, ptr %62, align 4
%64 = icmp ne i32 %63, 0
br i1 %64, label %65, label %66
65: ; preds = %60
br label %124
66: ; preds = %60
%67 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 4
%68 = load i32, ptr %67, align 4
%69 = icmp ne i32 %68, 0
br i1 %69, label %70, label %71
70: ; preds = %66
br label %124
71: ; preds = %66
%72 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 0
%73 = getelementptr inbounds %struct.u, ptr %72, i32 0, i32 0
%74 = getelementptr inbounds %struct.v, ptr %73, i32 0, i32 0
%75 = load i32, ptr %74, align 4
%76 = call i32 @printf(ptr noundef @.str, i32 noundef %75)
%77 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 1
%78 = getelementptr inbounds %struct.t, ptr %77, i32 0, i32 0
%79 = load i32, ptr %78, align 4
%80 = call i32 @printf(ptr noundef @.str.1, i32 noundef %79)
%81 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 1
%82 = getelementptr inbounds %struct.t, ptr %81, i32 0, i32 1
%83 = load i32, ptr %82, align 4
%84 = call i32 @printf(ptr noundef @.str.2, i32 noundef %83)
%85 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 1
%86 = getelementptr inbounds %struct.t, ptr %85, i32 0, i32 2
%87 = load i32, ptr %86, align 4
%88 = call i32 @printf(ptr noundef @.str.3, i32 noundef %87)
%89 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 1
%90 = getelementptr inbounds %struct.t, ptr %89, i32 0, i32 3
%91 = load i32, ptr %90, align 4
%92 = call i32 @printf(ptr noundef @.str.4, i32 noundef %91)
%93 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 2
%94 = load i32, ptr %93, align 4
%95 = call i32 @printf(ptr noundef @.str.5, i32 noundef %94)
%96 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 3
%97 = getelementptr inbounds %struct.w, ptr %96, i32 0, i32 0
%98 = load i32, ptr %97, align 4
%99 = call i32 @printf(ptr noundef @.str.6, i32 noundef %98)
%100 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 3
%101 = getelementptr inbounds %struct.w, ptr %100, i32 0, i32 1
%102 = load i32, ptr %101, align 4
%103 = call i32 @printf(ptr noundef @.str.7, i32 noundef %102)
%104 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 4
%105 = load i32, ptr %104, align 4
%106 = call i32 @printf(ptr noundef @.str.8, i32 noundef %105)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 @__const.main.r, i64 16, i1 false)
%107 = getelementptr inbounds %struct.anon, ptr %5, i32 0, i32 0
%108 = load i32, ptr %107, align 4
%109 = icmp ne i32 %108, 1
br i1 %109, label %110, label %111
110: ; preds = %71
br label %124
111: ; preds = %71
%112 = getelementptr inbounds %struct.anon, ptr %5, i32 0, i32 1
%113 = getelementptr inbounds [3 x i32], ptr %112, i64 0, i64 0
%114 = load i32, ptr %113, align 4
%115 = icmp ne i32 %114, 2
br i1 %115, label %116, label %117
116: ; preds = %111
br label %124
117: ; preds = %111
%118 = getelementptr inbounds %struct.anon, ptr %5, i32 0, i32 1
%119 = getelementptr inbounds [3 x i32], ptr %118, i64 0, i64 1
%120 = load i32, ptr %119, align 4
%121 = icmp ne i32 %120, 3
br i1 %121, label %122, label %123
122: ; preds = %117
br label %124
123: ; preds = %117
store i32 0, ptr %1, align 4
br label %125
124: ; preds = %122, %116, %110, %70, %65, %59, %53, %48, %42, %36, %30, %24
store i32 1, ptr %1, align 4
br label %125
125: ; preds = %124, %123
%126 = load i32, ptr %1, align 4
ret i32 %126
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvbcrcinl.c"
target datalayout = "e-m:e-p270: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.u = type { %struct.v }
%struct.v = type { i32 }
%struct.anon = type { i32, [3 x i32] }
%struct.empty = type {}
%struct.s = type { %struct.u, %struct.t, i32, %struct.w, i32 }
%struct.t = type { i32, i32, i32, i32 }
%struct.w = type { i32, i32 }
@__const.main.u = private unnamed_addr constant %struct.u { %struct.v { i32 -1 } }, align 4
@.str = private unnamed_addr constant [14 x i8] c"s.u.v.j = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"s.t.e = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"s.t.f = %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"s.t.g = %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"s.t.h = %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"s.i = %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"s.w.k = %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"s.w.l = %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [12 x i8] c"s.m = %d\0A\00", align 1
@__const.main.r = private unnamed_addr constant %struct.anon { i32 1, [3 x i32] [i32 2, i32 3, i32 0] }, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.empty, align 1
%3 = alloca %struct.u, align 4
%4 = alloca %struct.s, align 4
%5 = alloca %struct.anon, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 @__const.main.u, i64 4, i1 false)
%6 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 0
%7 = getelementptr inbounds %struct.u, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.u, ptr %3, i32 0, i32 0
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %8, i64 4, i1 false)
%9 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 1
%10 = getelementptr inbounds %struct.t, ptr %9, i32 0, i32 0
store i32 1, ptr %10, align 4
%11 = getelementptr inbounds %struct.t, ptr %9, i32 0, i32 1
store i32 0, ptr %11, align 4
%12 = getelementptr inbounds %struct.t, ptr %9, i32 0, i32 2
store i32 2, ptr %12, align 4
%13 = getelementptr inbounds %struct.t, ptr %9, i32 0, i32 3
store i32 3, ptr %13, align 4
%14 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 2
store i32 4, ptr %14, align 4
%15 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 3
%16 = getelementptr inbounds %struct.w, ptr %15, i32 0, i32 0
store i32 5, ptr %16, align 4
%17 = getelementptr inbounds %struct.w, ptr %15, i32 0, i32 1
store i32 0, ptr %17, align 4
%18 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 4
store i32 0, ptr %18, align 4
%19 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 0
%20 = getelementptr inbounds %struct.u, ptr %19, i32 0, i32 0
%21 = getelementptr inbounds %struct.v, ptr %20, i32 0, i32 0
%22 = load i32, ptr %21, align 4
%23 = icmp ne i32 %22, -1
br i1 %23, label %24, label %25
24: ; preds = %0
br label %124
25: ; preds = %0
%26 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 1
%27 = getelementptr inbounds %struct.t, ptr %26, i32 0, i32 0
%28 = load i32, ptr %27, align 4
%29 = icmp ne i32 %28, 1
br i1 %29, label %30, label %31
30: ; preds = %25
br label %124
31: ; preds = %25
%32 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 1
%33 = getelementptr inbounds %struct.t, ptr %32, i32 0, i32 1
%34 = load i32, ptr %33, align 4
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %31
br label %124
37: ; preds = %31
%38 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 1
%39 = getelementptr inbounds %struct.t, ptr %38, i32 0, i32 2
%40 = load i32, ptr %39, align 4
%41 = icmp ne i32 %40, 2
br i1 %41, label %42, label %43
42: ; preds = %37
br label %124
43: ; preds = %37
%44 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 1
%45 = getelementptr inbounds %struct.t, ptr %44, i32 0, i32 3
%46 = load i32, ptr %45, align 4
%47 = icmp ne i32 %46, 3
br i1 %47, label %48, label %49
48: ; preds = %43
br label %124
49: ; preds = %43
%50 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 2
%51 = load i32, ptr %50, align 4
%52 = icmp ne i32 %51, 4
br i1 %52, label %53, label %54
53: ; preds = %49
br label %124
54: ; preds = %49
%55 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 3
%56 = getelementptr inbounds %struct.w, ptr %55, i32 0, i32 0
%57 = load i32, ptr %56, align 4
%58 = icmp ne i32 %57, 5
br i1 %58, label %59, label %60
59: ; preds = %54
br label %124
60: ; preds = %54
%61 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 3
%62 = getelementptr inbounds %struct.w, ptr %61, i32 0, i32 1
%63 = load i32, ptr %62, align 4
%64 = icmp ne i32 %63, 0
br i1 %64, label %65, label %66
65: ; preds = %60
br label %124
66: ; preds = %60
%67 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 4
%68 = load i32, ptr %67, align 4
%69 = icmp ne i32 %68, 0
br i1 %69, label %70, label %71
70: ; preds = %66
br label %124
71: ; preds = %66
%72 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 0
%73 = getelementptr inbounds %struct.u, ptr %72, i32 0, i32 0
%74 = getelementptr inbounds %struct.v, ptr %73, i32 0, i32 0
%75 = load i32, ptr %74, align 4
%76 = call i32 @printf(ptr noundef @.str, i32 noundef %75)
%77 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 1
%78 = getelementptr inbounds %struct.t, ptr %77, i32 0, i32 0
%79 = load i32, ptr %78, align 4
%80 = call i32 @printf(ptr noundef @.str.1, i32 noundef %79)
%81 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 1
%82 = getelementptr inbounds %struct.t, ptr %81, i32 0, i32 1
%83 = load i32, ptr %82, align 4
%84 = call i32 @printf(ptr noundef @.str.2, i32 noundef %83)
%85 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 1
%86 = getelementptr inbounds %struct.t, ptr %85, i32 0, i32 2
%87 = load i32, ptr %86, align 4
%88 = call i32 @printf(ptr noundef @.str.3, i32 noundef %87)
%89 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 1
%90 = getelementptr inbounds %struct.t, ptr %89, i32 0, i32 3
%91 = load i32, ptr %90, align 4
%92 = call i32 @printf(ptr noundef @.str.4, i32 noundef %91)
%93 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 2
%94 = load i32, ptr %93, align 4
%95 = call i32 @printf(ptr noundef @.str.5, i32 noundef %94)
%96 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 3
%97 = getelementptr inbounds %struct.w, ptr %96, i32 0, i32 0
%98 = load i32, ptr %97, align 4
%99 = call i32 @printf(ptr noundef @.str.6, i32 noundef %98)
%100 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 3
%101 = getelementptr inbounds %struct.w, ptr %100, i32 0, i32 1
%102 = load i32, ptr %101, align 4
%103 = call i32 @printf(ptr noundef @.str.7, i32 noundef %102)
%104 = getelementptr inbounds %struct.s, ptr %4, i32 0, i32 4
%105 = load i32, ptr %104, align 4
%106 = call i32 @printf(ptr noundef @.str.8, i32 noundef %105)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 @__const.main.r, i64 16, i1 false)
%107 = getelementptr inbounds %struct.anon, ptr %5, i32 0, i32 0
%108 = load i32, ptr %107, align 4
%109 = icmp ne i32 %108, 1
br i1 %109, label %110, label %111
110: ; preds = %71
br label %124
111: ; preds = %71
%112 = getelementptr inbounds %struct.anon, ptr %5, i32 0, i32 1
%113 = getelementptr inbounds [3 x i32], ptr %112, i64 0, i64 0
%114 = load i32, ptr %113, align 4
%115 = icmp ne i32 %114, 2
br i1 %115, label %116, label %117
116: ; preds = %111
br label %124
117: ; preds = %111
%118 = getelementptr inbounds %struct.anon, ptr %5, i32 0, i32 1
%119 = getelementptr inbounds [3 x i32], ptr %118, i64 0, i64 1
%120 = load i32, ptr %119, align 4
%121 = icmp ne i32 %120, 3
br i1 %121, label %122, label %123
122: ; preds = %117
br label %124
123: ; preds = %117
store i32 0, ptr %1, align 4
br label %125
124: ; preds = %122, %116, %110, %70, %65, %59, %53, %48, %42, %36, %30, %24
store i32 1, ptr %1, align 4
br label %125
125: ; preds = %124, %123
%126 = load i32, ptr %1, align 4
ret i32 %126
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0n7qy_v9.c'
source_filename = "/tmp/tmp0n7qy_v9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"\09enter passworld>\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"\09enter balance>\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.4 = private unnamed_addr constant [29 x i8] c"===========================\0A\00", align 1
@.str.5 = private unnamed_addr constant [32 x i8] c"create account %ld successful!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @createMenu() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i64, align 8
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %1)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store double 0.000000e+00, ptr %2, align 8
%7 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %2)
%8 = load double, ptr %2, align 8
%9 = load i32, ptr %1, align 4
%10 = call i64 @create(double noundef %8, i32 noundef %9)
store i64 %10, ptr %3, align 8
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%12 = load i64, ptr %3, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef %12)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
declare i64 @create(double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0n7qy_v9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"\09enter passworld>\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"\09enter balance>\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.4 = private unnamed_addr constant [29 x i8] c"===========================\0A\00", align 1
@.str.5 = private unnamed_addr constant [32 x i8] c"create account %ld successful!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @createMenu() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i64, align 8
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %1)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store double 0.000000e+00, ptr %2, align 8
%7 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %2)
%8 = load double, ptr %2, align 8
%9 = load i32, ptr %1, align 4
%10 = call i64 @create(double noundef %8, i32 noundef %9)
store i64 %10, ptr %3, align 8
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%12 = load i64, ptr %3, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef %12)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
declare i64 @create(double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeg8mxu2f.c'
source_filename = "/tmp/tmpeg8mxu2f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @thread_func_win(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (...) @thread_func()
ret i32 0
}
declare i32 @thread_func(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeg8mxu2f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @thread_func_win(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (...) @thread_func()
ret i32 0
}
declare i32 @thread_func(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp03imks3r.c'
source_filename = "/tmp/tmp03imks3r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readSerial(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i32 @read(i32 noundef %8, ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 0, ptr %7, align 4
br label %15
15: ; preds = %14, %3
%16 = load i32, ptr %7, align 4
ret i32 %16
}
declare i32 @read(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/tmp03imks3r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readSerial(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i32 @read(i32 noundef %8, ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 0, ptr %7, align 4
br label %15
15: ; preds = %14, %3
%16 = load i32, ptr %7, align 4
ret i32 %16
}
declare i32 @read(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/tmpy5lcmhiw.c'
source_filename = "/tmp/tmpy5lcmhiw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, i32 }
%struct.hostent = type { i32, i32 }
@BUFSIZ = dso_local global i32 0, align 4
@PF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@AF_INET = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"bind\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"listen\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"accept\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"fdopen reading\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c"reading dirname\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.8 = private unnamed_addr constant [15 x i8] c"fdopen writing\00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c"ls %s\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"popen\00", align 1
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca %struct.sockaddr_in, align 4
%7 = alloca ptr, align 8
%8 = alloca [256 x i8], align 16
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%19 = load i32, ptr @BUFSIZ, align 4
%20 = zext i32 %19 to i64
%21 = call ptr @llvm.stacksave()
store ptr %21, ptr %14, align 8
%22 = alloca i8, i64 %20, align 16
store i64 %20, ptr %15, align 8
%23 = load i32, ptr @BUFSIZ, align 4
%24 = zext i32 %23 to i64
%25 = alloca i8, i64 %24, align 16
store i64 %24, ptr %16, align 8
%26 = load i32, ptr @PF_INET, align 4
%27 = load i32, ptr @SOCK_STREAM, align 4
%28 = call i32 @socket(i32 noundef %26, i32 noundef %27, i32 noundef 0)
store i32 %28, ptr %9, align 4
%29 = load i32, ptr %9, align 4
%30 = icmp eq i32 %29, -1
br i1 %30, label %31, label %34
31: ; preds = %2
%32 = call i32 @perror(ptr noundef @.str)
%33 = call i32 @exit(i32 noundef 1) #4
unreachable
34: ; preds = %2
%35 = call i32 @bzero(ptr noundef %6, i32 noundef 12)
%36 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%37 = call i32 @gethostname(ptr noundef %36, i32 noundef 256)
%38 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%39 = call ptr @gethostbyname(ptr noundef %38)
store ptr %39, ptr %7, align 8
%40 = load ptr, ptr %7, align 8
%41 = getelementptr inbounds %struct.hostent, ptr %40, i32 0, i32 1
%42 = load i32, ptr %41, align 4
%43 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
%44 = load ptr, ptr %7, align 8
%45 = getelementptr inbounds %struct.hostent, ptr %44, i32 0, i32 0
%46 = load i32, ptr %45, align 4
%47 = call i32 @bcopy(i32 noundef %42, ptr noundef %43, i32 noundef %46)
%48 = call i32 @htons(i32 noundef 15000)
%49 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1
store i32 %48, ptr %49, align 4
%50 = load i32, ptr @AF_INET, align 4
%51 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
store i32 %50, ptr %51, align 4
%52 = load i32, ptr %9, align 4
%53 = call i64 @bind(i32 noundef %52, ptr noundef %6, i32 noundef 12)
%54 = icmp ne i64 %53, 0
br i1 %54, label %55, label %58
55: ; preds = %34
%56 = call i32 @perror(ptr noundef @.str.1)
%57 = call i32 @exit(i32 noundef 1) #4
unreachable
58: ; preds = %34
%59 = load i32, ptr %9, align 4
%60 = call i64 @listen(i32 noundef %59, i32 noundef 1)
%61 = icmp ne i64 %60, 0
br i1 %61, label %62, label %65
62: ; preds = %58
%63 = call i32 @perror(ptr noundef @.str.2)
%64 = call i32 @exit(i32 noundef 1) #4
unreachable
65: ; preds = %58
br label %66
66: ; preds = %116, %65
br label %67
67: ; preds = %66
%68 = load i32, ptr %9, align 4
%69 = call i32 @accept(i32 noundef %68, ptr noundef null, ptr noundef null)
store i32 %69, ptr %10, align 4
%70 = load i32, ptr %10, align 4
%71 = icmp eq i32 %70, -1
br i1 %71, label %72, label %75
72: ; preds = %67
%73 = call i32 @perror(ptr noundef @.str.3)
%74 = call i32 @exit(i32 noundef 1) #4
unreachable
75: ; preds = %67
%76 = load i32, ptr %10, align 4
%77 = call ptr @fdopen(i32 noundef %76, ptr noundef @.str.4)
store ptr %77, ptr %11, align 8
%78 = icmp eq ptr %77, null
br i1 %78, label %79, label %82
79: ; preds = %75
%80 = call i32 @perror(ptr noundef @.str.5)
%81 = call i32 @exit(i32 noundef 1) #4
unreachable
82: ; preds = %75
%83 = load i32, ptr @BUFSIZ, align 4
%84 = sub nsw i32 %83, 5
%85 = load ptr, ptr %11, align 8
%86 = call ptr @fgets(ptr noundef %22, i32 noundef %84, ptr noundef %85)
%87 = icmp eq ptr %86, null
br i1 %87, label %88, label %91
88: ; preds = %82
%89 = call i32 @perror(ptr noundef @.str.6)
%90 = call i32 @exit(i32 noundef 1) #4
unreachable
91: ; preds = %82
%92 = call i32 @sanitize(ptr noundef %22)
%93 = load i32, ptr %10, align 4
%94 = call ptr @fdopen(i32 noundef %93, ptr noundef @.str.7)
store ptr %94, ptr %12, align 8
%95 = icmp eq ptr %94, null
br i1 %95, label %96, label %99
96: ; preds = %91
%97 = call i32 @perror(ptr noundef @.str.8)
%98 = call i32 @exit(i32 noundef 1) #4
unreachable
99: ; preds = %91
%100 = call i32 @sprintf(ptr noundef %25, ptr noundef @.str.9, ptr noundef %22)
%101 = call ptr @popen(ptr noundef %25, ptr noundef @.str.4)
store ptr %101, ptr %13, align 8
%102 = icmp eq ptr %101, null
br i1 %102, label %103, label %106
103: ; preds = %99
%104 = call i32 @perror(ptr noundef @.str.10)
%105 = call i32 @exit(i32 noundef 1) #4
unreachable
106: ; preds = %99
br label %107
107: ; preds = %112, %106
%108 = load ptr, ptr %13, align 8
%109 = call i32 @getc(ptr noundef %108)
store i32 %109, ptr %18, align 4
%110 = load i32, ptr @EOF, align 4
%111 = icmp ne i32 %109, %110
br i1 %111, label %112, label %116
112: ; preds = %107
%113 = load i32, ptr %18, align 4
%114 = load ptr, ptr %12, align 8
%115 = call i32 @putc(i32 noundef %113, ptr noundef %114)
br label %107, !llvm.loop !6
116: ; preds = %107
%117 = load ptr, ptr %13, align 8
%118 = call i32 @pclose(ptr noundef %117)
%119 = load ptr, ptr %12, align 8
%120 = call i32 @fclose(ptr noundef %119)
%121 = load ptr, ptr %11, align 8
%122 = call i32 @fclose(ptr noundef %121)
br label %66
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @perror(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @bzero(ptr noundef, i32 noundef) #2
declare i32 @gethostname(ptr noundef, i32 noundef) #2
declare ptr @gethostbyname(ptr noundef) #2
declare i32 @bcopy(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @htons(i32 noundef) #2
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #2
declare i64 @listen(i32 noundef, i32 noundef) #2
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #2
declare ptr @fdopen(i32 noundef, ptr noundef) #2
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @sanitize(ptr noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2
declare ptr @popen(ptr noundef, ptr noundef) #2
declare i32 @getc(ptr noundef) #2
declare i32 @putc(i32 noundef, ptr noundef) #2
declare i32 @pclose(ptr noundef) #2
declare i32 @fclose(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 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy5lcmhiw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, i32 }
%struct.hostent = type { i32, i32 }
@BUFSIZ = dso_local global i32 0, align 4
@PF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@AF_INET = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"bind\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"listen\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"accept\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"fdopen reading\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c"reading dirname\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.8 = private unnamed_addr constant [15 x i8] c"fdopen writing\00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c"ls %s\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"popen\00", align 1
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca %struct.sockaddr_in, align 4
%7 = alloca ptr, align 8
%8 = alloca [256 x i8], align 16
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%19 = load i32, ptr @BUFSIZ, align 4
%20 = zext i32 %19 to i64
%21 = call ptr @llvm.stacksave()
store ptr %21, ptr %14, align 8
%22 = alloca i8, i64 %20, align 16
store i64 %20, ptr %15, align 8
%23 = load i32, ptr @BUFSIZ, align 4
%24 = zext i32 %23 to i64
%25 = alloca i8, i64 %24, align 16
store i64 %24, ptr %16, align 8
%26 = load i32, ptr @PF_INET, align 4
%27 = load i32, ptr @SOCK_STREAM, align 4
%28 = call i32 @socket(i32 noundef %26, i32 noundef %27, i32 noundef 0)
store i32 %28, ptr %9, align 4
%29 = load i32, ptr %9, align 4
%30 = icmp eq i32 %29, -1
br i1 %30, label %31, label %34
31: ; preds = %2
%32 = call i32 @perror(ptr noundef @.str)
%33 = call i32 @exit(i32 noundef 1) #4
unreachable
34: ; preds = %2
%35 = call i32 @bzero(ptr noundef %6, i32 noundef 12)
%36 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%37 = call i32 @gethostname(ptr noundef %36, i32 noundef 256)
%38 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%39 = call ptr @gethostbyname(ptr noundef %38)
store ptr %39, ptr %7, align 8
%40 = load ptr, ptr %7, align 8
%41 = getelementptr inbounds %struct.hostent, ptr %40, i32 0, i32 1
%42 = load i32, ptr %41, align 4
%43 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
%44 = load ptr, ptr %7, align 8
%45 = getelementptr inbounds %struct.hostent, ptr %44, i32 0, i32 0
%46 = load i32, ptr %45, align 4
%47 = call i32 @bcopy(i32 noundef %42, ptr noundef %43, i32 noundef %46)
%48 = call i32 @htons(i32 noundef 15000)
%49 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1
store i32 %48, ptr %49, align 4
%50 = load i32, ptr @AF_INET, align 4
%51 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
store i32 %50, ptr %51, align 4
%52 = load i32, ptr %9, align 4
%53 = call i64 @bind(i32 noundef %52, ptr noundef %6, i32 noundef 12)
%54 = icmp ne i64 %53, 0
br i1 %54, label %55, label %58
55: ; preds = %34
%56 = call i32 @perror(ptr noundef @.str.1)
%57 = call i32 @exit(i32 noundef 1) #4
unreachable
58: ; preds = %34
%59 = load i32, ptr %9, align 4
%60 = call i64 @listen(i32 noundef %59, i32 noundef 1)
%61 = icmp ne i64 %60, 0
br i1 %61, label %62, label %65
62: ; preds = %58
%63 = call i32 @perror(ptr noundef @.str.2)
%64 = call i32 @exit(i32 noundef 1) #4
unreachable
65: ; preds = %58
br label %66
66: ; preds = %119, %65
br label %67
67: ; preds = %66
%68 = load i32, ptr %9, align 4
%69 = call i32 @accept(i32 noundef %68, ptr noundef null, ptr noundef null)
store i32 %69, ptr %10, align 4
%70 = load i32, ptr %10, align 4
%71 = icmp eq i32 %70, -1
br i1 %71, label %72, label %75
72: ; preds = %67
%73 = call i32 @perror(ptr noundef @.str.3)
%74 = call i32 @exit(i32 noundef 1) #4
unreachable
75: ; preds = %67
%76 = load i32, ptr %10, align 4
%77 = call ptr @fdopen(i32 noundef %76, ptr noundef @.str.4)
store ptr %77, ptr %11, align 8
%78 = icmp eq ptr %77, null
br i1 %78, label %79, label %82
79: ; preds = %75
%80 = call i32 @perror(ptr noundef @.str.5)
%81 = call i32 @exit(i32 noundef 1) #4
unreachable
82: ; preds = %75
%83 = load i32, ptr @BUFSIZ, align 4
%84 = sub nsw i32 %83, 5
%85 = load ptr, ptr %11, align 8
%86 = call ptr @fgets(ptr noundef %22, i32 noundef %84, ptr noundef %85)
%87 = icmp eq ptr %86, null
br i1 %87, label %88, label %91
88: ; preds = %82
%89 = call i32 @perror(ptr noundef @.str.6)
%90 = call i32 @exit(i32 noundef 1) #4
unreachable
91: ; preds = %82
%92 = call i32 @sanitize(ptr noundef %22)
%93 = load i32, ptr %10, align 4
%94 = call ptr @fdopen(i32 noundef %93, ptr noundef @.str.7)
store ptr %94, ptr %12, align 8
%95 = icmp eq ptr %94, null
br i1 %95, label %96, label %99
96: ; preds = %91
%97 = call i32 @perror(ptr noundef @.str.8)
%98 = call i32 @exit(i32 noundef 1) #4
unreachable
99: ; preds = %91
%100 = call i32 @sprintf(ptr noundef %25, ptr noundef @.str.9, ptr noundef %22)
%101 = call ptr @popen(ptr noundef %25, ptr noundef @.str.4)
store ptr %101, ptr %13, align 8
%102 = icmp eq ptr %101, null
br i1 %102, label %103, label %106
103: ; preds = %99
%104 = call i32 @perror(ptr noundef @.str.10)
%105 = call i32 @exit(i32 noundef 1) #4
unreachable
106: ; preds = %99
%107 = load ptr, ptr %13, align 8
%108 = call i32 @getc(ptr noundef %107)
store i32 %108, ptr %18, align 4
%109 = load i32, ptr @EOF, align 4
%110 = icmp ne i32 %108, %109
br i1 %110, label %.lr.ph, label %119
.lr.ph: ; preds = %106
br label %111
111: ; preds = %.lr.ph, %111
%112 = load i32, ptr %18, align 4
%113 = load ptr, ptr %12, align 8
%114 = call i32 @putc(i32 noundef %112, ptr noundef %113)
%115 = load ptr, ptr %13, align 8
%116 = call i32 @getc(ptr noundef %115)
store i32 %116, ptr %18, align 4
%117 = load i32, ptr @EOF, align 4
%118 = icmp ne i32 %116, %117
br i1 %118, label %111, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %111
br label %119
119: ; preds = %._crit_edge, %106
%120 = load ptr, ptr %13, align 8
%121 = call i32 @pclose(ptr noundef %120)
%122 = load ptr, ptr %12, align 8
%123 = call i32 @fclose(ptr noundef %122)
%124 = load ptr, ptr %11, align 8
%125 = call i32 @fclose(ptr noundef %124)
br label %66
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @perror(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @bzero(ptr noundef, i32 noundef) #2
declare i32 @gethostname(ptr noundef, i32 noundef) #2
declare ptr @gethostbyname(ptr noundef) #2
declare i32 @bcopy(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @htons(i32 noundef) #2
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #2
declare i64 @listen(i32 noundef, i32 noundef) #2
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #2
declare ptr @fdopen(i32 noundef, ptr noundef) #2
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @sanitize(ptr noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2
declare ptr @popen(ptr noundef, ptr noundef) #2
declare i32 @getc(ptr noundef) #2
declare i32 @putc(i32 noundef, ptr noundef) #2
declare i32 @pclose(ptr noundef) #2
declare i32 @fclose(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 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"}
|
; ModuleID = '/tmp/tmpldqhn1t3.c'
source_filename = "/tmp/tmpldqhn1t3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"longest: %d (%d)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 1, ptr %8, align 4
br label %11
11: ; preds = %42, %2
%12 = load i32, ptr %8, align 4
%13 = icmp sle i32 %12, 1000000
br i1 %13, label %14, label %45
14: ; preds = %11
%15 = load i32, ptr %8, align 4
%16 = sext i32 %15 to i64
store i64 %16, ptr %9, align 8
store i32 1, ptr %10, align 4
br label %17
17: ; preds = %40, %14
%18 = load i64, ptr %9, align 8
%19 = icmp ne i64 %18, 1
br i1 %19, label %20, label %41
20: ; preds = %17
%21 = load i32, ptr %10, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %10, align 4
%23 = load i32, ptr %10, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp sgt i32 %23, %24
br i1 %25, label %26, label %29
26: ; preds = %20
%27 = load i32, ptr %10, align 4
store i32 %27, ptr %7, align 4
%28 = load i32, ptr %8, align 4
store i32 %28, ptr %6, align 4
br label %29
29: ; preds = %26, %20
%30 = load i64, ptr %9, align 8
%31 = urem i64 %30, 2
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %36
33: ; preds = %29
%34 = load i64, ptr %9, align 8
%35 = udiv i64 %34, 2
store i64 %35, ptr %9, align 8
br label %40
36: ; preds = %29
%37 = load i64, ptr %9, align 8
%38 = mul i64 3, %37
%39 = add i64 %38, 1
store i64 %39, ptr %9, align 8
br label %40
40: ; preds = %36, %33
br label %17, !llvm.loop !6
41: ; preds = %17
br label %42
42: ; preds = %41
%43 = load i32, ptr %8, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %8, align 4
br label %11, !llvm.loop !8
45: ; preds = %11
%46 = load i32, ptr %6, align 4
%47 = load i32, ptr %7, align 4
%48 = call i32 @printf(ptr noundef @.str, i32 noundef %46, i32 noundef %47)
ret i32 0
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpldqhn1t3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"longest: %d (%d)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 1, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = icmp sle i32 %11, 1000000
br i1 %12, label %.lr.ph2, label %47
.lr.ph2: ; preds = %2
br label %13
13: ; preds = %.lr.ph2, %42
%14 = load i32, ptr %8, align 4
%15 = sext i32 %14 to i64
store i64 %15, ptr %9, align 8
store i32 1, ptr %10, align 4
%16 = load i64, ptr %9, align 8
%17 = icmp ne i64 %16, 1
br i1 %17, label %.lr.ph, label %41
.lr.ph: ; preds = %13
br label %18
18: ; preds = %.lr.ph, %38
%19 = load i32, ptr %10, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %10, align 4
%21 = load i32, ptr %10, align 4
%22 = load i32, ptr %7, align 4
%23 = icmp sgt i32 %21, %22
br i1 %23, label %24, label %27
24: ; preds = %18
%25 = load i32, ptr %10, align 4
store i32 %25, ptr %7, align 4
%26 = load i32, ptr %8, align 4
store i32 %26, ptr %6, align 4
br label %27
27: ; preds = %24, %18
%28 = load i64, ptr %9, align 8
%29 = urem i64 %28, 2
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %27
%32 = load i64, ptr %9, align 8
%33 = udiv i64 %32, 2
store i64 %33, ptr %9, align 8
br label %38
34: ; preds = %27
%35 = load i64, ptr %9, align 8
%36 = mul i64 3, %35
%37 = add i64 %36, 1
store i64 %37, ptr %9, align 8
br label %38
38: ; preds = %34, %31
%39 = load i64, ptr %9, align 8
%40 = icmp ne i64 %39, 1
br i1 %40, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %41
41: ; preds = %._crit_edge, %13
br label %42
42: ; preds = %41
%43 = load i32, ptr %8, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %8, align 4
%45 = load i32, ptr %8, align 4
%46 = icmp sle i32 %45, 1000000
br i1 %46, label %13, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %42
br label %47
47: ; preds = %._crit_edge3, %2
%48 = load i32, ptr %6, align 4
%49 = load i32, ptr %7, align 4
%50 = call i32 @printf(ptr noundef @.str, i32 noundef %48, i32 noundef %49)
ret i32 0
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpqfbri2j6.c'
source_filename = "/tmp/tmpqfbri2j6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"x = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 999, ptr %3, align 4
%5 = call i32 (...) @print_x()
%6 = load i32, ptr %3, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
store i32 0, ptr %2, align 4
br label %8
8: ; preds = %16, %0
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 5
br i1 %10, label %11, label %19
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = mul nsw i32 %12, 100
store i32 %13, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %14)
br label %16
16: ; preds = %11
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %2, align 4
br label %8, !llvm.loop !6
19: ; preds = %8
%20 = load i32, ptr %3, align 4
%21 = call i32 @printf(ptr noundef @.str, i32 noundef %20)
ret i32 0
}
declare i32 @print_x(...) #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/tmpqfbri2j6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"x = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 999, ptr %3, align 4
%5 = call i32 (...) @print_x()
%6 = load i32, ptr %3, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
store i32 0, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %8, 5
br i1 %9, label %.lr.ph, label %20
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %15
%11 = load i32, ptr %2, align 4
%12 = mul nsw i32 %11, 100
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %4, align 4
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %13)
br label %15
15: ; preds = %10
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %2, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %18, 5
br i1 %19, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %0
%21 = load i32, ptr %3, align 4
%22 = call i32 @printf(ptr noundef @.str, i32 noundef %21)
ret i32 0
}
declare i32 @print_x(...) #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/tmppgsgk5to.c'
source_filename = "/tmp/tmppgsgk5to.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inotifytools_str_to_event(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 @inotifytools_str_to_event_sep(ptr noundef %3, i8 noundef signext 44)
ret i32 %4
}
declare i32 @inotifytools_str_to_event_sep(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppgsgk5to.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inotifytools_str_to_event(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 @inotifytools_str_to_event_sep(ptr noundef %3, i8 noundef signext 44)
ret i32 %4
}
declare i32 @inotifytools_str_to_event_sep(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpss4cfj4c.c'
source_filename = "/tmp/tmpss4cfj4c.c"
target datalayout = "e-m:e-p270: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.entry = type { i32, ptr }
@.str = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.entry, align 8
%3 = alloca %struct.entry, align 8
%4 = alloca %struct.entry, align 8
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr %2, ptr %5, align 8
%6 = getelementptr inbounds %struct.entry, ptr %2, i32 0, i32 0
store i32 100, ptr %6, align 8
%7 = getelementptr inbounds %struct.entry, ptr %2, i32 0, i32 1
store ptr %3, ptr %7, align 8
%8 = getelementptr inbounds %struct.entry, ptr %3, i32 0, i32 0
store i32 200, ptr %8, align 8
%9 = getelementptr inbounds %struct.entry, ptr %3, i32 0, i32 1
store ptr %4, ptr %9, align 8
%10 = getelementptr inbounds %struct.entry, ptr %4, i32 0, i32 0
store i32 300, ptr %10, align 8
%11 = getelementptr inbounds %struct.entry, ptr %4, i32 0, i32 1
store ptr null, ptr %11, align 8
br label %12
12: ; preds = %15, %0
%13 = load ptr, ptr %5, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %23
15: ; preds = %12
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds %struct.entry, ptr %16, i32 0, i32 0
%18 = load i32, ptr %17, align 8
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %18)
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds %struct.entry, ptr %20, i32 0, i32 1
%22 = load ptr, ptr %21, align 8
store ptr %22, ptr %5, align 8
br label %12, !llvm.loop !6
23: ; preds = %12
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpss4cfj4c.c"
target datalayout = "e-m:e-p270: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.entry = type { i32, ptr }
@.str = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.entry, align 8
%3 = alloca %struct.entry, align 8
%4 = alloca %struct.entry, align 8
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr %2, ptr %5, align 8
%6 = getelementptr inbounds %struct.entry, ptr %2, i32 0, i32 0
store i32 100, ptr %6, align 8
%7 = getelementptr inbounds %struct.entry, ptr %2, i32 0, i32 1
store ptr %3, ptr %7, align 8
%8 = getelementptr inbounds %struct.entry, ptr %3, i32 0, i32 0
store i32 200, ptr %8, align 8
%9 = getelementptr inbounds %struct.entry, ptr %3, i32 0, i32 1
store ptr %4, ptr %9, align 8
%10 = getelementptr inbounds %struct.entry, ptr %4, i32 0, i32 0
store i32 300, ptr %10, align 8
%11 = getelementptr inbounds %struct.entry, ptr %4, i32 0, i32 1
store ptr null, ptr %11, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %.lr.ph, label %24
.lr.ph: ; preds = %0
br label %14
14: ; preds = %.lr.ph, %14
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds %struct.entry, ptr %15, i32 0, i32 0
%17 = load i32, ptr %16, align 8
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %17)
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds %struct.entry, ptr %19, i32 0, i32 1
%21 = load ptr, ptr %20, align 8
store ptr %21, ptr %5, align 8
%22 = load ptr, ptr %5, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %24
24: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5ruymx5d.c'
source_filename = "/tmp/tmp5ruymx5d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%s\09%s,%%eax\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"movl\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cgldgw(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 @sgen(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %3)
ret void
}
declare i32 @sgen(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/tmp5ruymx5d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%s\09%s,%%eax\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"movl\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cgldgw(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 @sgen(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %3)
ret void
}
declare i32 @sgen(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/tmp63b1c7ox.c'
source_filename = "/tmp/tmp63b1c7ox.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, i64 }
%struct.addrinfo = type { ptr, i32, i32, i32, i32, i32 }
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = 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 @connect_to(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca %struct.timeval, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 1, ptr %9, align 4
store i32 0, ptr %10, align 4
br label %11
11: ; preds = %76, %2
%12 = load ptr, ptr %4, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %80
14: ; preds = %11
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds %struct.addrinfo, ptr %15, i32 0, i32 5
%17 = load i32, ptr %16, align 8
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds %struct.addrinfo, ptr %18, i32 0, i32 4
%20 = load i32, ptr %19, align 4
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds %struct.addrinfo, ptr %21, i32 0, i32 3
%23 = load i32, ptr %22, align 8
%24 = call i32 @socket(i32 noundef %17, i32 noundef %20, i32 noundef %23)
store i32 %24, ptr %6, align 4
%25 = icmp eq i32 %24, -1
br i1 %25, label %26, label %27
26: ; preds = %14
br label %76
27: ; preds = %14
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr @SOL_SOCKET, align 4
%30 = load i32, ptr @SO_REUSEADDR, align 4
%31 = call i64 @setsockopt(i32 noundef %28, i32 noundef %29, i32 noundef %30, ptr noundef %9, i32 noundef 4)
%32 = icmp slt i64 %31, 0
br i1 %32, label %33, label %34
33: ; preds = %27
br label %73
34: ; preds = %27
%35 = call i32 @gettimeofday(ptr noundef %7, ptr noundef null)
%36 = icmp eq i32 %35, -1
br i1 %36, label %37, label %38
37: ; preds = %34
br label %73
38: ; preds = %34
%39 = load i32, ptr %6, align 4
%40 = load ptr, ptr %4, align 8
%41 = getelementptr inbounds %struct.addrinfo, ptr %40, i32 0, i32 2
%42 = load i32, ptr %41, align 4
%43 = load ptr, ptr %4, align 8
%44 = getelementptr inbounds %struct.addrinfo, ptr %43, i32 0, i32 1
%45 = load i32, ptr %44, align 8
%46 = call i32 @connect(i32 noundef %39, i32 noundef %42, i32 noundef %45)
store i32 %46, ptr %8, align 4
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %72
48: ; preds = %38
%49 = load ptr, ptr %5, align 8
%50 = call i32 @gettimeofday(ptr noundef %49, ptr noundef null)
%51 = icmp eq i32 %50, -1
br i1 %51, label %52, label %53
52: ; preds = %48
br label %73
53: ; preds = %48
%54 = load ptr, ptr %5, align 8
%55 = getelementptr inbounds %struct.timeval, ptr %54, i32 0, i32 1
%56 = load i64, ptr %55, align 8
%57 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 1
%58 = load i64, ptr %57, align 8
%59 = sub nsw i64 %56, %58
%60 = load ptr, ptr %5, align 8
%61 = getelementptr inbounds %struct.timeval, ptr %60, i32 0, i32 1
store i64 %59, ptr %61, align 8
%62 = load ptr, ptr %5, align 8
%63 = getelementptr inbounds %struct.timeval, ptr %62, i32 0, i32 0
%64 = load i64, ptr %63, align 8
%65 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0
%66 = load i64, ptr %65, align 8
%67 = sub nsw i64 %64, %66
%68 = load ptr, ptr %5, align 8
%69 = getelementptr inbounds %struct.timeval, ptr %68, i32 0, i32 0
store i64 %67, ptr %69, align 8
%70 = load i32, ptr %6, align 4
%71 = call i32 @close(i32 noundef %70)
store i32 0, ptr %3, align 4
br label %91
72: ; preds = %38
br label %73
73: ; preds = %72, %52, %37, %33
%74 = load i32, ptr %6, align 4
%75 = call i32 @close(i32 noundef %74)
br label %76
76: ; preds = %73, %26
%77 = load ptr, ptr %4, align 8
%78 = getelementptr inbounds %struct.addrinfo, ptr %77, i32 0, i32 0
%79 = load ptr, ptr %78, align 8
store ptr %79, ptr %4, align 8
br label %11, !llvm.loop !6
80: ; preds = %11
%81 = load i32, ptr %10, align 4
%82 = icmp ne i32 %81, 0
br i1 %82, label %83, label %85
83: ; preds = %80
%84 = load i32, ptr %10, align 4
br label %88
85: ; preds = %80
%86 = load i32, ptr @errno, align 4
%87 = sub nsw i32 0, %86
br label %88
88: ; preds = %85, %83
%89 = phi i32 [ %84, %83 ], [ %87, %85 ]
store i32 %89, ptr %10, align 4
%90 = load i32, ptr %10, align 4
store i32 %90, ptr %3, align 4
br label %91
91: ; preds = %88, %53
%92 = load i32, ptr %3, align 4
ret i32 %92
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @connect(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp63b1c7ox.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, i64 }
%struct.addrinfo = type { ptr, i32, i32, i32, i32, i32 }
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = 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 @connect_to(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca %struct.timeval, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 1, ptr %9, align 4
store i32 0, ptr %10, align 4
%11 = load ptr, ptr %4, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %.lr.ph, label %81
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %75
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds %struct.addrinfo, ptr %14, i32 0, i32 5
%16 = load i32, ptr %15, align 8
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds %struct.addrinfo, ptr %17, i32 0, i32 4
%19 = load i32, ptr %18, align 4
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds %struct.addrinfo, ptr %20, i32 0, i32 3
%22 = load i32, ptr %21, align 8
%23 = call i32 @socket(i32 noundef %16, i32 noundef %19, i32 noundef %22)
store i32 %23, ptr %6, align 4
%24 = icmp eq i32 %23, -1
br i1 %24, label %25, label %26
25: ; preds = %13
br label %75
26: ; preds = %13
%27 = load i32, ptr %6, align 4
%28 = load i32, ptr @SOL_SOCKET, align 4
%29 = load i32, ptr @SO_REUSEADDR, align 4
%30 = call i64 @setsockopt(i32 noundef %27, i32 noundef %28, i32 noundef %29, ptr noundef %9, i32 noundef 4)
%31 = icmp slt i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %26
br label %72
33: ; preds = %26
%34 = call i32 @gettimeofday(ptr noundef %7, ptr noundef null)
%35 = icmp eq i32 %34, -1
br i1 %35, label %36, label %37
36: ; preds = %33
br label %72
37: ; preds = %33
%38 = load i32, ptr %6, align 4
%39 = load ptr, ptr %4, align 8
%40 = getelementptr inbounds %struct.addrinfo, ptr %39, i32 0, i32 2
%41 = load i32, ptr %40, align 4
%42 = load ptr, ptr %4, align 8
%43 = getelementptr inbounds %struct.addrinfo, ptr %42, i32 0, i32 1
%44 = load i32, ptr %43, align 8
%45 = call i32 @connect(i32 noundef %38, i32 noundef %41, i32 noundef %44)
store i32 %45, ptr %8, align 4
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %71
47: ; preds = %37
%48 = load ptr, ptr %5, align 8
%49 = call i32 @gettimeofday(ptr noundef %48, ptr noundef null)
%50 = icmp eq i32 %49, -1
br i1 %50, label %51, label %52
51: ; preds = %47
br label %72
52: ; preds = %47
%53 = load ptr, ptr %5, align 8
%54 = getelementptr inbounds %struct.timeval, ptr %53, i32 0, i32 1
%55 = load i64, ptr %54, align 8
%56 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 1
%57 = load i64, ptr %56, align 8
%58 = sub nsw i64 %55, %57
%59 = load ptr, ptr %5, align 8
%60 = getelementptr inbounds %struct.timeval, ptr %59, i32 0, i32 1
store i64 %58, ptr %60, align 8
%61 = load ptr, ptr %5, align 8
%62 = getelementptr inbounds %struct.timeval, ptr %61, i32 0, i32 0
%63 = load i64, ptr %62, align 8
%64 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0
%65 = load i64, ptr %64, align 8
%66 = sub nsw i64 %63, %65
%67 = load ptr, ptr %5, align 8
%68 = getelementptr inbounds %struct.timeval, ptr %67, i32 0, i32 0
store i64 %66, ptr %68, align 8
%69 = load i32, ptr %6, align 4
%70 = call i32 @close(i32 noundef %69)
store i32 0, ptr %3, align 4
br label %92
71: ; preds = %37
br label %72
72: ; preds = %71, %51, %36, %32
%73 = load i32, ptr %6, align 4
%74 = call i32 @close(i32 noundef %73)
br label %75
75: ; preds = %72, %25
%76 = load ptr, ptr %4, align 8
%77 = getelementptr inbounds %struct.addrinfo, ptr %76, i32 0, i32 0
%78 = load ptr, ptr %77, align 8
store ptr %78, ptr %4, align 8
%79 = load ptr, ptr %4, align 8
%80 = icmp ne ptr %79, null
br i1 %80, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %75
br label %81
81: ; preds = %._crit_edge, %2
%82 = load i32, ptr %10, align 4
%83 = icmp ne i32 %82, 0
br i1 %83, label %84, label %86
84: ; preds = %81
%85 = load i32, ptr %10, align 4
br label %89
86: ; preds = %81
%87 = load i32, ptr @errno, align 4
%88 = sub nsw i32 0, %87
br label %89
89: ; preds = %86, %84
%90 = phi i32 [ %85, %84 ], [ %88, %86 ]
store i32 %90, ptr %10, align 4
%91 = load i32, ptr %10, align 4
store i32 %91, ptr %3, align 4
br label %92
92: ; preds = %89, %52
%93 = load i32, ptr %3, align 4
ret i32 %93
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @connect(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpophyjosh.c'
source_filename = "/tmp/tmpophyjosh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8vec_range_2(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %8, align 8
%10 = load double, ptr %9, align 8
%11 = load i32, ptr %5, align 4
%12 = load ptr, ptr %6, align 8
%13 = call i32 @r8vec_max(i32 noundef %11, ptr noundef %12)
%14 = call double @r8_max(double noundef %10, i32 noundef %13)
%15 = load ptr, ptr %8, align 8
store double %14, ptr %15, align 8
%16 = load ptr, ptr %7, align 8
%17 = load double, ptr %16, align 8
%18 = load i32, ptr %5, align 4
%19 = load ptr, ptr %6, align 8
%20 = call i32 @r8vec_min(i32 noundef %18, ptr noundef %19)
%21 = call double @r8_min(double noundef %17, i32 noundef %20)
%22 = load ptr, ptr %7, align 8
store double %21, ptr %22, align 8
ret void
}
declare double @r8_max(double noundef, i32 noundef) #1
declare i32 @r8vec_max(i32 noundef, ptr noundef) #1
declare double @r8_min(double noundef, i32 noundef) #1
declare i32 @r8vec_min(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/tmpophyjosh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8vec_range_2(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %8, align 8
%10 = load double, ptr %9, align 8
%11 = load i32, ptr %5, align 4
%12 = load ptr, ptr %6, align 8
%13 = call i32 @r8vec_max(i32 noundef %11, ptr noundef %12)
%14 = call double @r8_max(double noundef %10, i32 noundef %13)
%15 = load ptr, ptr %8, align 8
store double %14, ptr %15, align 8
%16 = load ptr, ptr %7, align 8
%17 = load double, ptr %16, align 8
%18 = load i32, ptr %5, align 4
%19 = load ptr, ptr %6, align 8
%20 = call i32 @r8vec_min(i32 noundef %18, ptr noundef %19)
%21 = call double @r8_min(double noundef %17, i32 noundef %20)
%22 = load ptr, ptr %7, align 8
store double %21, ptr %22, align 8
ret void
}
declare double @r8_max(double noundef, i32 noundef) #1
declare i32 @r8vec_max(i32 noundef, ptr noundef) #1
declare double @r8_min(double noundef, i32 noundef) #1
declare i32 @r8vec_min(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/tmp9_7mnzgr.c'
source_filename = "/tmp/tmp9_7mnzgr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_list(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%11 = load i32, ptr %4, align 4
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %5, align 4
%13 = sdiv i32 %12, 10
store i32 %13, ptr %10, align 4
%14 = load i32, ptr %10, align 4
store i32 %14, ptr %9, align 4
store i32 0, ptr %8, align 4
br label %15
15: ; preds = %41, %3
%16 = load i32, ptr %8, align 4
%17 = icmp ult i32 %16, 4
br i1 %17, label %18, label %44
18: ; preds = %15
%19 = load i32, ptr %9, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp ugt i32 %19, %20
br i1 %21, label %22, label %24
22: ; preds = %18
%23 = load i32, ptr %5, align 4
store i32 %23, ptr %9, align 4
br label %24
24: ; preds = %22, %18
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %9, align 4
%27 = call i32 @random1(i32 noundef %25, i32 noundef %26)
%28 = load ptr, ptr %6, align 8
%29 = load i32, ptr %8, align 4
%30 = zext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
store i32 %27, ptr %31, align 4
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr %8, align 4
%34 = zext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
%36 = load i32, ptr %35, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %7, align 4
%38 = load i32, ptr %7, align 4
%39 = load i32, ptr %10, align 4
%40 = add i32 %38, %39
store i32 %40, ptr %9, align 4
br label %41
41: ; preds = %24
%42 = load i32, ptr %8, align 4
%43 = add i32 %42, 1
store i32 %43, ptr %8, align 4
br label %15, !llvm.loop !6
44: ; preds = %15
%45 = load ptr, ptr %6, align 8
ret ptr %45
}
declare i32 @random1(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9_7mnzgr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_list(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%11 = load i32, ptr %4, align 4
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %5, align 4
%13 = sdiv i32 %12, 10
store i32 %13, ptr %10, align 4
%14 = load i32, ptr %10, align 4
store i32 %14, ptr %9, align 4
store i32 0, ptr %8, align 4
%15 = load i32, ptr %8, align 4
%16 = icmp ult i32 %15, 4
br i1 %16, label %.lr.ph, label %45
.lr.ph: ; preds = %3
br label %17
17: ; preds = %.lr.ph, %40
%18 = load i32, ptr %9, align 4
%19 = load i32, ptr %5, align 4
%20 = icmp ugt i32 %18, %19
br i1 %20, label %21, label %23
21: ; preds = %17
%22 = load i32, ptr %5, align 4
store i32 %22, ptr %9, align 4
br label %23
23: ; preds = %21, %17
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %9, align 4
%26 = call i32 @random1(i32 noundef %24, i32 noundef %25)
%27 = load ptr, ptr %6, align 8
%28 = load i32, ptr %8, align 4
%29 = zext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
store i32 %26, ptr %30, align 4
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %8, align 4
%33 = zext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %31, i64 %33
%35 = load i32, ptr %34, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %7, align 4
%37 = load i32, ptr %7, align 4
%38 = load i32, ptr %10, align 4
%39 = add i32 %37, %38
store i32 %39, ptr %9, align 4
br label %40
40: ; preds = %23
%41 = load i32, ptr %8, align 4
%42 = add i32 %41, 1
store i32 %42, ptr %8, align 4
%43 = load i32, ptr %8, align 4
%44 = icmp ult i32 %43, 4
br i1 %44, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %45
45: ; preds = %._crit_edge, %3
%46 = load ptr, ptr %6, align 8
ret ptr %46
}
declare i32 @random1(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpafw2low7.c'
source_filename = "/tmp/tmpafw2low7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isprime(i64 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i64 %0, ptr %3, align 8
%6 = load i64, ptr %3, align 8
%7 = call i32 @sqrt(i64 noundef %6)
store i32 %7, ptr %5, align 4
%8 = load i64, ptr %3, align 8
%9 = icmp eq i64 %8, 2
br i1 %9, label %10, label %11
10: ; preds = %1
store i32 1, ptr %2, align 4
br label %36
11: ; preds = %1
%12 = load i64, ptr %3, align 8
%13 = icmp slt i64 %12, 2
br i1 %13, label %18, label %14
14: ; preds = %11
%15 = load i64, ptr %3, align 8
%16 = srem i64 %15, 2
%17 = icmp ne i64 %16, 0
br i1 %17, label %19, label %18
18: ; preds = %14, %11
store i32 0, ptr %2, align 4
br label %36
19: ; preds = %14
store i32 3, ptr %4, align 4
br label %20
20: ; preds = %32, %19
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %5, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %24, label %35
24: ; preds = %20
%25 = load i64, ptr %3, align 8
%26 = load i32, ptr %4, align 4
%27 = sext i32 %26 to i64
%28 = srem i64 %25, %27
%29 = icmp ne i64 %28, 0
br i1 %29, label %31, label %30
30: ; preds = %24
store i32 0, ptr %2, align 4
br label %36
31: ; preds = %24
br label %32
32: ; preds = %31
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %33, 2
store i32 %34, ptr %4, align 4
br label %20, !llvm.loop !6
35: ; preds = %20
store i32 1, ptr %2, align 4
br label %36
36: ; preds = %35, %30, %18, %10
%37 = load i32, ptr %2, align 4
ret i32 %37
}
declare i32 @sqrt(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpafw2low7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isprime(i64 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i64 %0, ptr %3, align 8
%6 = load i64, ptr %3, align 8
%7 = call i32 @sqrt(i64 noundef %6)
store i32 %7, ptr %5, align 4
%8 = load i64, ptr %3, align 8
%9 = icmp eq i64 %8, 2
br i1 %9, label %10, label %11
10: ; preds = %1
store i32 1, ptr %2, align 4
br label %38
11: ; preds = %1
%12 = load i64, ptr %3, align 8
%13 = icmp slt i64 %12, 2
br i1 %13, label %18, label %14
14: ; preds = %11
%15 = load i64, ptr %3, align 8
%16 = srem i64 %15, 2
%17 = icmp ne i64 %16, 0
br i1 %17, label %19, label %18
18: ; preds = %14, %11
store i32 0, ptr %2, align 4
br label %38
19: ; preds = %14
store i32 3, ptr %4, align 4
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %5, align 4
%22 = icmp sle i32 %20, %21
br i1 %22, label %.lr.ph, label %37
.lr.ph: ; preds = %19
br label %23
23: ; preds = %.lr.ph, %31
%24 = load i64, ptr %3, align 8
%25 = load i32, ptr %4, align 4
%26 = sext i32 %25 to i64
%27 = srem i64 %24, %26
%28 = icmp ne i64 %27, 0
br i1 %28, label %30, label %29
29: ; preds = %23
store i32 0, ptr %2, align 4
br label %38
30: ; preds = %23
br label %31
31: ; preds = %30
%32 = load i32, ptr %4, align 4
%33 = add nsw i32 %32, 2
store i32 %33, ptr %4, align 4
%34 = load i32, ptr %4, align 4
%35 = load i32, ptr %5, align 4
%36 = icmp sle i32 %34, %35
br i1 %36, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %37
37: ; preds = %._crit_edge, %19
store i32 1, ptr %2, align 4
br label %38
38: ; preds = %37, %29, %18, %10
%39 = load i32, ptr %2, align 4
ret i32 %39
}
declare i32 @sqrt(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpy7s00mg4.c'
source_filename = "/tmp/tmpy7s00mg4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"Sum: %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"Avg: %.2f\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 float, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store float 0.000000e+00, ptr %4, align 4
store i32 0, ptr %5, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %6, align 4
br label %8
8: ; preds = %17, %0
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %20
12: ; preds = %8
%13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, %14
store i32 %16, ptr %3, align 4
br label %17
17: ; preds = %12
%18 = load i32, ptr %6, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %6, align 4
br label %8, !llvm.loop !6
20: ; preds = %8
%21 = load i32, ptr %3, align 4
%22 = sitofp i32 %21 to float
%23 = load i32, ptr %2, align 4
%24 = sitofp i32 %23 to float
%25 = fdiv float %22, %24
store float %25, ptr %4, align 4
%26 = load i32, ptr %3, align 4
%27 = sitofp i32 %26 to float
%28 = call i32 @printf(ptr noundef @.str.2, float noundef %27)
%29 = load float, ptr %4, align 4
%30 = call i32 @printf(ptr noundef @.str.3, float noundef %29)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy7s00mg4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"Sum: %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"Avg: %.2f\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 float, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store float 0.000000e+00, ptr %4, align 4
store i32 0, ptr %5, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %16
%12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, %13
store i32 %15, ptr %3, align 4
br label %16
16: ; preds = %11
%17 = load i32, ptr %6, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %2, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %22
22: ; preds = %._crit_edge, %0
%23 = load i32, ptr %3, align 4
%24 = sitofp i32 %23 to float
%25 = load i32, ptr %2, align 4
%26 = sitofp i32 %25 to float
%27 = fdiv float %24, %26
store float %27, ptr %4, align 4
%28 = load i32, ptr %3, align 4
%29 = sitofp i32 %28 to float
%30 = call i32 @printf(ptr noundef @.str.2, float noundef %29)
%31 = load float, ptr %4, align 4
%32 = call i32 @printf(ptr noundef @.str.3, float noundef %31)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptf_0a17t.c'
source_filename = "/tmp/tmptf_0a17t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tcpnonblock(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @socknonblock(i32 noundef %3)
ret i32 %4
}
declare i32 @socknonblock(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/tmptf_0a17t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tcpnonblock(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @socknonblock(i32 noundef %3)
ret i32 %4
}
declare i32 @socknonblock(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/tmptfr4moxk.c'
source_filename = "/tmp/tmptfr4moxk.c"
target datalayout = "e-m:e-p270: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/tmptfr4moxk.c"
target datalayout = "e-m:e-p270: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/tmphiu65m9q.c'
source_filename = "/tmp/tmphiu65m9q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compare_fds(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%9 = load ptr, ptr %6, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %17
11: ; preds = %3
%12 = load ptr, ptr %7, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %17
14: ; preds = %11
%15 = load i32, ptr %5, align 4
%16 = icmp sgt i32 %15, 0
br label %17
17: ; preds = %14, %11, %3
%18 = phi i1 [ false, %11 ], [ false, %3 ], [ %16, %14 ]
%19 = zext i1 %18 to i32
%20 = call i32 @assert(i32 noundef %19)
store i32 0, ptr %8, align 4
br label %21
21: ; preds = %47, %17
%22 = load i32, ptr %8, align 4
%23 = load i32, ptr %5, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %50
25: ; preds = %21
%26 = load i32, ptr %8, align 4
%27 = load ptr, ptr %6, align 8
%28 = call i64 @FD_ISSET(i32 noundef %26, ptr noundef %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %35
30: ; preds = %25
%31 = load i32, ptr %8, align 4
%32 = load ptr, ptr %7, align 8
%33 = call i64 @FD_ISSET(i32 noundef %31, ptr noundef %32)
%34 = icmp ne i64 %33, 0
br i1 %34, label %35, label %45
35: ; preds = %30, %25
%36 = load i32, ptr %8, align 4
%37 = load ptr, ptr %6, align 8
%38 = call i64 @FD_ISSET(i32 noundef %36, ptr noundef %37)
%39 = icmp ne i64 %38, 0
br i1 %39, label %46, label %40
40: ; preds = %35
%41 = load i32, ptr %8, align 4
%42 = load ptr, ptr %7, align 8
%43 = call i64 @FD_ISSET(i32 noundef %41, ptr noundef %42)
%44 = icmp ne i64 %43, 0
br i1 %44, label %45, label %46
45: ; preds = %40, %30
store i32 0, ptr %4, align 4
br label %51
46: ; preds = %40, %35
br label %47
47: ; preds = %46
%48 = load i32, ptr %8, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %8, align 4
br label %21, !llvm.loop !6
50: ; preds = %21
store i32 1, ptr %4, align 4
br label %51
51: ; preds = %50, %45
%52 = load i32, ptr %4, align 4
ret i32 %52
}
declare i32 @assert(i32 noundef) #1
declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphiu65m9q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compare_fds(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%9 = load ptr, ptr %6, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %17
11: ; preds = %3
%12 = load ptr, ptr %7, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %17
14: ; preds = %11
%15 = load i32, ptr %5, align 4
%16 = icmp sgt i32 %15, 0
br label %17
17: ; preds = %14, %11, %3
%18 = phi i1 [ false, %11 ], [ false, %3 ], [ %16, %14 ]
%19 = zext i1 %18 to i32
%20 = call i32 @assert(i32 noundef %19)
store i32 0, ptr %8, align 4
%21 = load i32, ptr %8, align 4
%22 = load i32, ptr %5, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %.lr.ph, label %52
.lr.ph: ; preds = %17
br label %24
24: ; preds = %.lr.ph, %46
%25 = load i32, ptr %8, align 4
%26 = load ptr, ptr %6, align 8
%27 = call i64 @FD_ISSET(i32 noundef %25, ptr noundef %26)
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %34
29: ; preds = %24
%30 = load i32, ptr %8, align 4
%31 = load ptr, ptr %7, align 8
%32 = call i64 @FD_ISSET(i32 noundef %30, ptr noundef %31)
%33 = icmp ne i64 %32, 0
br i1 %33, label %34, label %44
34: ; preds = %29, %24
%35 = load i32, ptr %8, align 4
%36 = load ptr, ptr %6, align 8
%37 = call i64 @FD_ISSET(i32 noundef %35, ptr noundef %36)
%38 = icmp ne i64 %37, 0
br i1 %38, label %45, label %39
39: ; preds = %34
%40 = load i32, ptr %8, align 4
%41 = load ptr, ptr %7, align 8
%42 = call i64 @FD_ISSET(i32 noundef %40, ptr noundef %41)
%43 = icmp ne i64 %42, 0
br i1 %43, label %44, label %45
44: ; preds = %39, %29
store i32 0, ptr %4, align 4
br label %53
45: ; preds = %39, %34
br label %46
46: ; preds = %45
%47 = load i32, ptr %8, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %8, align 4
%49 = load i32, ptr %8, align 4
%50 = load i32, ptr %5, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %46
br label %52
52: ; preds = %._crit_edge, %17
store i32 1, ptr %4, align 4
br label %53
53: ; preds = %52, %44
%54 = load i32, ptr %4, align 4
ret i32 %54
}
declare i32 @assert(i32 noundef) #1
declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp4fdropx3.c'
source_filename = "/tmp/tmp4fdropx3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strbuf_copy(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%8 = load i64, ptr %5, align 8
%9 = add i64 %8, 1
%10 = mul i64 8, %9
%11 = trunc i64 %10 to i32
%12 = call ptr @malloc(i32 noundef %11)
store ptr %12, ptr %6, align 8
%13 = load ptr, ptr %6, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %16
15: ; preds = %2
store ptr null, ptr %3, align 8
br label %38
16: ; preds = %2
store i64 0, ptr %7, align 8
br label %17
17: ; preds = %30, %16
%18 = load i64, ptr %7, align 8
%19 = load i64, ptr %5, align 8
%20 = icmp ult i64 %18, %19
br i1 %20, label %21, label %33
21: ; preds = %17
%22 = load ptr, ptr %4, align 8
%23 = load i64, ptr %7, align 8
%24 = getelementptr inbounds ptr, ptr %22, i64 %23
%25 = load ptr, ptr %24, align 8
%26 = call ptr @strdup(ptr noundef %25)
%27 = load ptr, ptr %6, align 8
%28 = load i64, ptr %7, align 8
%29 = getelementptr inbounds ptr, ptr %27, i64 %28
store ptr %26, ptr %29, align 8
br label %30
30: ; preds = %21
%31 = load i64, ptr %7, align 8
%32 = add i64 %31, 1
store i64 %32, ptr %7, align 8
br label %17, !llvm.loop !6
33: ; preds = %17
%34 = load ptr, ptr %6, align 8
%35 = load i64, ptr %5, align 8
%36 = getelementptr inbounds ptr, ptr %34, i64 %35
store ptr null, ptr %36, align 8
%37 = load ptr, ptr %6, align 8
store ptr %37, ptr %3, align 8
br label %38
38: ; preds = %33, %15
%39 = load ptr, ptr %3, align 8
ret ptr %39
}
declare ptr @malloc(i32 noundef) #1
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp4fdropx3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strbuf_copy(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%8 = load i64, ptr %5, align 8
%9 = add i64 %8, 1
%10 = mul i64 8, %9
%11 = trunc i64 %10 to i32
%12 = call ptr @malloc(i32 noundef %11)
store ptr %12, ptr %6, align 8
%13 = load ptr, ptr %6, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %16
15: ; preds = %2
store ptr null, ptr %3, align 8
br label %40
16: ; preds = %2
store i64 0, ptr %7, align 8
%17 = load i64, ptr %7, align 8
%18 = load i64, ptr %5, align 8
%19 = icmp ult i64 %17, %18
br i1 %19, label %.lr.ph, label %35
.lr.ph: ; preds = %16
br label %20
20: ; preds = %.lr.ph, %29
%21 = load ptr, ptr %4, align 8
%22 = load i64, ptr %7, align 8
%23 = getelementptr inbounds ptr, ptr %21, i64 %22
%24 = load ptr, ptr %23, align 8
%25 = call ptr @strdup(ptr noundef %24)
%26 = load ptr, ptr %6, align 8
%27 = load i64, ptr %7, align 8
%28 = getelementptr inbounds ptr, ptr %26, i64 %27
store ptr %25, ptr %28, align 8
br label %29
29: ; preds = %20
%30 = load i64, ptr %7, align 8
%31 = add i64 %30, 1
store i64 %31, ptr %7, align 8
%32 = load i64, ptr %7, align 8
%33 = load i64, ptr %5, align 8
%34 = icmp ult i64 %32, %33
br i1 %34, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %16
%36 = load ptr, ptr %6, align 8
%37 = load i64, ptr %5, align 8
%38 = getelementptr inbounds ptr, ptr %36, i64 %37
store ptr null, ptr %38, align 8
%39 = load ptr, ptr %6, align 8
store ptr %39, ptr %3, align 8
br label %40
40: ; preds = %35, %15
%41 = load ptr, ptr %3, align 8
ret ptr %41
}
declare ptr @malloc(i32 noundef) #1
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpc8idwzfl.c'
source_filename = "/tmp/tmpc8idwzfl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @needwun_tiling(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %10
10: ; preds = %35, %4
%11 = load i32, ptr %9, align 4
%12 = icmp slt i32 %11, 4
br i1 %12, label %13, label %38
13: ; preds = %10
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %9, align 4
%16 = mul nsw i32 %15, 128
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %14, i64 %17
%19 = load ptr, ptr %6, align 8
%20 = load i32, ptr %9, align 4
%21 = mul nsw i32 %20, 128
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %19, i64 %22
%24 = load ptr, ptr %7, align 8
%25 = load i32, ptr %9, align 4
%26 = mul nsw i32 %25, 256
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %24, i64 %27
%29 = load ptr, ptr %8, align 8
%30 = load i32, ptr %9, align 4
%31 = mul nsw i32 %30, 256
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %29, i64 %32
%34 = call i32 @needwun(ptr noundef %18, ptr noundef %23, ptr noundef %28, ptr noundef %33)
br label %35
35: ; preds = %13
%36 = load i32, ptr %9, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %9, align 4
br label %10, !llvm.loop !6
38: ; preds = %10
ret void
}
declare i32 @needwun(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc8idwzfl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @needwun_tiling(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 0, ptr %9, align 4
%10 = load i32, ptr %9, align 4
%11 = icmp slt i32 %10, 4
br i1 %11, label %.lr.ph, label %39
.lr.ph: ; preds = %4
br label %12
12: ; preds = %.lr.ph, %34
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %9, align 4
%15 = mul nsw i32 %14, 128
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %13, i64 %16
%18 = load ptr, ptr %6, align 8
%19 = load i32, ptr %9, align 4
%20 = mul nsw i32 %19, 128
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %18, i64 %21
%23 = load ptr, ptr %7, align 8
%24 = load i32, ptr %9, align 4
%25 = mul nsw i32 %24, 256
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %23, i64 %26
%28 = load ptr, ptr %8, align 8
%29 = load i32, ptr %9, align 4
%30 = mul nsw i32 %29, 256
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %28, i64 %31
%33 = call i32 @needwun(ptr noundef %17, ptr noundef %22, ptr noundef %27, ptr noundef %32)
br label %34
34: ; preds = %12
%35 = load i32, ptr %9, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %9, align 4
%37 = load i32, ptr %9, align 4
%38 = icmp slt i32 %37, 4
br i1 %38, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %39
39: ; preds = %._crit_edge, %4
ret void
}
declare i32 @needwun(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvcdyukzp.c'
source_filename = "/tmp/tmpvcdyukzp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__set_errno(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
store i32 %3, ptr @errno, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvcdyukzp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__set_errno(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
store i32 %3, ptr @errno, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppdabb7m8.c'
source_filename = "/tmp/tmppdabb7m8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @init()
%3 = call i32 (...) @display()
%4 = call i32 @find(i32 noundef 1)
ret i32 0
}
declare i32 @init(...) #1
declare i32 @display(...) #1
declare i32 @find(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/tmppdabb7m8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @init()
%3 = call i32 (...) @display()
%4 = call i32 @find(i32 noundef 1)
ret i32 0
}
declare i32 @init(...) #1
declare i32 @display(...) #1
declare i32 @find(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/tmpp76_w3rj.c'
source_filename = "/tmp/tmpp76_w3rj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [49 x i8] c"\0A----------------------------------------------\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"TEST : %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"AUTHOR : %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"REVISER : %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"DESC : %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"ID : %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"RESULT : %s\0A\00", align 1
@.str.7 = private unnamed_addr constant [48 x i8] c"----------------------------------------------\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printTestResult(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store ptr %5, ptr %12, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%14 = load ptr, ptr %7, align 8
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %14)
%16 = load ptr, ptr %8, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %16)
%18 = load ptr, ptr %9, align 8
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %18)
%20 = load ptr, ptr %10, align 8
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %20)
%22 = load i32, ptr %11, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %22)
%24 = load ptr, ptr %12, align 8
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %24)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp76_w3rj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [49 x i8] c"\0A----------------------------------------------\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"TEST : %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"AUTHOR : %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"REVISER : %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"DESC : %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"ID : %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"RESULT : %s\0A\00", align 1
@.str.7 = private unnamed_addr constant [48 x i8] c"----------------------------------------------\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printTestResult(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store ptr %5, ptr %12, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%14 = load ptr, ptr %7, align 8
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %14)
%16 = load ptr, ptr %8, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %16)
%18 = load ptr, ptr %9, align 8
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %18)
%20 = load ptr, ptr %10, align 8
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %20)
%22 = load i32, ptr %11, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %22)
%24 = load ptr, ptr %12, align 8
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %24)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2mff63qa.c'
source_filename = "/tmp/tmp2mff63qa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\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 (...) @TestEmbedChars()
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 (...) @TestEmbedString()
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 (...) @TestFiles()
ret i32 0
}
declare i32 @TestEmbedChars(...) #1
declare i32 @printf(ptr noundef) #1
declare i32 @TestEmbedString(...) #1
declare i32 @TestFiles(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2mff63qa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\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 (...) @TestEmbedChars()
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 (...) @TestEmbedString()
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 (...) @TestFiles()
ret i32 0
}
declare i32 @TestEmbedChars(...) #1
declare i32 @printf(ptr noundef) #1
declare i32 @TestEmbedString(...) #1
declare i32 @TestFiles(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbpe180i_.c'
source_filename = "/tmp/tmpbpe180i_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [60 x i8] c"(pgmReadHeaderFile) Can't open file named '%s' for reading\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pgmReadHeaderFile(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%12 = load ptr, ptr %6, align 8
%13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str)
store ptr %13, ptr %11, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %18
15: ; preds = %5
%16 = load ptr, ptr %6, align 8
%17 = call i32 @error(ptr noundef @.str.1, ptr noundef %16)
br label %18
18: ; preds = %15, %5
%19 = load ptr, ptr %11, align 8
%20 = load ptr, ptr %7, align 8
%21 = load ptr, ptr %8, align 8
%22 = load ptr, ptr %9, align 8
%23 = load ptr, ptr %10, align 8
%24 = call i32 @pgmReadHeader(ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23)
%25 = load ptr, ptr %11, align 8
%26 = call i32 @fclose(ptr noundef %25)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @error(ptr noundef, ptr noundef) #1
declare i32 @pgmReadHeader(ptr noundef, ptr noundef, ptr 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbpe180i_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [60 x i8] c"(pgmReadHeaderFile) Can't open file named '%s' for reading\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pgmReadHeaderFile(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%12 = load ptr, ptr %6, align 8
%13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str)
store ptr %13, ptr %11, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %18
15: ; preds = %5
%16 = load ptr, ptr %6, align 8
%17 = call i32 @error(ptr noundef @.str.1, ptr noundef %16)
br label %18
18: ; preds = %15, %5
%19 = load ptr, ptr %11, align 8
%20 = load ptr, ptr %7, align 8
%21 = load ptr, ptr %8, align 8
%22 = load ptr, ptr %9, align 8
%23 = load ptr, ptr %10, align 8
%24 = call i32 @pgmReadHeader(ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23)
%25 = load ptr, ptr %11, align 8
%26 = call i32 @fclose(ptr noundef %25)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @error(ptr noundef, ptr noundef) #1
declare i32 @pgmReadHeader(ptr noundef, ptr noundef, ptr 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"}
|
; ModuleID = '/tmp/tmpu4oxhb5d.c'
source_filename = "/tmp/tmpu4oxhb5d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [49 x i8] c"HTTP request for an oauth request-token failed.\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"did not receive a request-token.\0A\00", align 1
@.str.2 = private unnamed_addr constant [48 x i8] c"HTTP request for an oauth access-token failed.\0A\00", align 1
@.str.3 = private unnamed_addr constant [34 x i8] c"did not receive an access-token.\0A\00", align 1
@.str.4 = private unnamed_addr constant [49 x i8] c"test call 'echo-api' did not respond correctly.\0A\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"request ok.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @oauth_consumer_example(i32 noundef 0)
switch i32 %6, label %17 [
i32 1, label %7
i32 2, label %9
i32 3, label %11
i32 4, label %13
i32 5, label %15
]
7: ; preds = %2
%8 = call i32 @printf(ptr noundef @.str)
br label %19
9: ; preds = %2
%10 = call i32 @printf(ptr noundef @.str.1)
br label %19
11: ; preds = %2
%12 = call i32 @printf(ptr noundef @.str.2)
br label %19
13: ; preds = %2
%14 = call i32 @printf(ptr noundef @.str.3)
br label %19
15: ; preds = %2
%16 = call i32 @printf(ptr noundef @.str.4)
br label %19
17: ; preds = %2
%18 = call i32 @printf(ptr noundef @.str.5)
br label %19
19: ; preds = %17, %15, %13, %11, %9, %7
ret i32 0
}
declare i32 @oauth_consumer_example(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu4oxhb5d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [49 x i8] c"HTTP request for an oauth request-token failed.\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"did not receive a request-token.\0A\00", align 1
@.str.2 = private unnamed_addr constant [48 x i8] c"HTTP request for an oauth access-token failed.\0A\00", align 1
@.str.3 = private unnamed_addr constant [34 x i8] c"did not receive an access-token.\0A\00", align 1
@.str.4 = private unnamed_addr constant [49 x i8] c"test call 'echo-api' did not respond correctly.\0A\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"request ok.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @oauth_consumer_example(i32 noundef 0)
switch i32 %6, label %17 [
i32 1, label %7
i32 2, label %9
i32 3, label %11
i32 4, label %13
i32 5, label %15
]
7: ; preds = %2
%8 = call i32 @printf(ptr noundef @.str)
br label %19
9: ; preds = %2
%10 = call i32 @printf(ptr noundef @.str.1)
br label %19
11: ; preds = %2
%12 = call i32 @printf(ptr noundef @.str.2)
br label %19
13: ; preds = %2
%14 = call i32 @printf(ptr noundef @.str.3)
br label %19
15: ; preds = %2
%16 = call i32 @printf(ptr noundef @.str.4)
br label %19
17: ; preds = %2
%18 = call i32 @printf(ptr noundef @.str.5)
br label %19
19: ; preds = %17, %15, %13, %11, %9, %7
ret i32 0
}
declare i32 @oauth_consumer_example(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnmj90tph.c'
source_filename = "/tmp/tmpnmj90tph.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %7, align 4
%12 = call i32 @vprintf(ptr noundef inttoptr (i64 -1 to ptr), ptr noundef %9, i32 noundef %10, i32 noundef %11, ptr noundef %8, i32 noundef 0)
ret void
}
declare i32 @vprintf(ptr noundef, ptr noundef, i32 noundef, 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/tmpnmj90tph.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %7, align 4
%12 = call i32 @vprintf(ptr noundef inttoptr (i64 -1 to ptr), ptr noundef %9, i32 noundef %10, i32 noundef %11, ptr noundef %8, i32 noundef 0)
ret void
}
declare i32 @vprintf(ptr noundef, ptr noundef, i32 noundef, 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/tmpd785c3bx.c'
source_filename = "/tmp/tmpd785c3bx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_COLOR_BUFFER_BIT = dso_local global i32 0, align 4
@GL_DEPTH_BUFFER_BIT = 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/tmpd785c3bx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_COLOR_BUFFER_BIT = dso_local global i32 0, align 4
@GL_DEPTH_BUFFER_BIT = 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/tmps0_8xg0d.c'
source_filename = "/tmp/tmps0_8xg0d.c"
target datalayout = "e-m:e-p270: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/tmps0_8xg0d.c"
target datalayout = "e-m:e-p270: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/tmp62kp8w97.c'
source_filename = "/tmp/tmp62kp8w97.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Hello World!\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 (...) @ListInit()
%3 = call i32 @ListAddFirstElement(i32 noundef 80085)
%4 = call i32 @ListAddFirstElement(i32 noundef 123)
%5 = call i32 (...) @ListPrint()
%6 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @ListInit(...) #1
declare i32 @ListAddFirstElement(i32 noundef) #1
declare i32 @ListPrint(...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp62kp8w97.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Hello World!\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 (...) @ListInit()
%3 = call i32 @ListAddFirstElement(i32 noundef 80085)
%4 = call i32 @ListAddFirstElement(i32 noundef 123)
%5 = call i32 (...) @ListPrint()
%6 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @ListInit(...) #1
declare i32 @ListAddFirstElement(i32 noundef) #1
declare i32 @ListPrint(...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyn8owxfv.c'
source_filename = "/tmp/tmpyn8owxfv.c"
target datalayout = "e-m:e-p270: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/tmpyn8owxfv.c"
target datalayout = "e-m:e-p270: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/tmpwds4pyxk.c'
source_filename = "/tmp/tmpwds4pyxk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @deepInspect(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 @deepInspectOnLevel(i32 noundef %5, i32 noundef %6, i32 noundef 0)
ret void
}
declare i32 @deepInspectOnLevel(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/tmpwds4pyxk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @deepInspect(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 @deepInspectOnLevel(i32 noundef %5, i32 noundef %6, i32 noundef 0)
ret void
}
declare i32 @deepInspectOnLevel(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/tmpo6lwoww4.c'
source_filename = "/tmp/tmpo6lwoww4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"usage: %s N\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"signal %d => %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 2
br i1 %8, label %9, label %14
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 0
%12 = load ptr, ptr %11, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %12)
store i32 1, ptr %3, align 4
br label %23
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @strtol(ptr noundef %17, ptr noundef null, i32 noundef 10)
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %6, align 4
%21 = call ptr @strsignal(i32 noundef %20)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %19, ptr noundef %21)
store i32 0, ptr %3, align 4
br label %23
23: ; preds = %14, %9
%24 = load i32, ptr %3, align 4
ret i32 %24
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strsignal(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/tmpo6lwoww4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"usage: %s N\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"signal %d => %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 2
br i1 %8, label %9, label %14
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 0
%12 = load ptr, ptr %11, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %12)
store i32 1, ptr %3, align 4
br label %23
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @strtol(ptr noundef %17, ptr noundef null, i32 noundef 10)
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %6, align 4
%21 = call ptr @strsignal(i32 noundef %20)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %19, ptr noundef %21)
store i32 0, ptr %3, align 4
br label %23
23: ; preds = %14, %9
%24 = load i32, ptr %3, align 4
ret i32 %24
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strsignal(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/tmpxhbggkh5.c'
source_filename = "/tmp/tmpxhbggkh5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @bitcount(i32 noundef 12)
%2 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @bitcount(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/tmpxhbggkh5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @bitcount(i32 noundef 12)
%2 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @bitcount(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/tmp15fgle_a.c'
source_filename = "/tmp/tmp15fgle_a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"hello\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp15fgle_a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"hello\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprpdhoyhf.c'
source_filename = "/tmp/tmprpdhoyhf.c"
target datalayout = "e-m:e-p270: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/tmprpdhoyhf.c"
target datalayout = "e-m:e-p270: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/tmpi7938xl8.c'
source_filename = "/tmp/tmpi7938xl8.c"
target datalayout = "e-m:e-p270: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/tmpi7938xl8.c"
target datalayout = "e-m:e-p270: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/tmpboy_90ct.c'
source_filename = "/tmp/tmpboy_90ct.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"Hello master, I am slave %d running on %s!\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Usage: %s id\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"where id is an integer\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [80 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
%8 = load i32, ptr %4, align 4
%9 = icmp eq i32 %8, 2
br i1 %9, label %10, label %21
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i32 @atoi(ptr noundef %13)
store i32 %14, ptr %6, align 4
%15 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0
%16 = call i32 @gethostname(ptr noundef %15, i32 noundef 80)
%17 = load i32, ptr %6, align 4
%18 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %17, ptr noundef %18)
%20 = call i32 @exit(i32 noundef 0) #3
unreachable
21: ; preds = %2
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 0
%24 = load ptr, ptr %23, align 8
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %24)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%27 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @atoi(ptr noundef) #1
declare i32 @gethostname(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpboy_90ct.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"Hello master, I am slave %d running on %s!\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Usage: %s id\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"where id is an integer\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [80 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
%8 = load i32, ptr %4, align 4
%9 = icmp eq i32 %8, 2
br i1 %9, label %10, label %21
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i32 @atoi(ptr noundef %13)
store i32 %14, ptr %6, align 4
%15 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0
%16 = call i32 @gethostname(ptr noundef %15, i32 noundef 80)
%17 = load i32, ptr %6, align 4
%18 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %17, ptr noundef %18)
%20 = call i32 @exit(i32 noundef 0) #3
unreachable
21: ; preds = %2
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 0
%24 = load ptr, ptr %23, align 8
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %24)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%27 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @atoi(ptr noundef) #1
declare i32 @gethostname(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps14ik79e.c'
source_filename = "/tmp/tmps14ik79e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @I2CBitDly() #0 {
%1 = alloca i8, align 1
store i8 0, ptr %1, align 1
br label %2
2: ; preds = %8, %0
%3 = load i8, ptr %1, align 1
%4 = zext i8 %3 to i32
%5 = icmp slt i32 %4, 10
br i1 %5, label %6, label %11
6: ; preds = %2
%7 = call i32 (...) @_nop_()
br label %8
8: ; preds = %6
%9 = load i8, ptr %1, align 1
%10 = add i8 %9, 1
store i8 %10, ptr %1, align 1
br label %2, !llvm.loop !6
11: ; preds = %2
ret void
}
declare i32 @_nop_(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmps14ik79e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @I2CBitDly() #0 {
%1 = alloca i8, align 1
store i8 0, ptr %1, align 1
%2 = load i8, ptr %1, align 1
%3 = zext i8 %2 to i32
%4 = icmp slt i32 %3, 10
br i1 %4, label %.lr.ph, label %13
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %7
%6 = call i32 (...) @_nop_()
br label %7
7: ; preds = %5
%8 = load i8, ptr %1, align 1
%9 = add i8 %8, 1
store i8 %9, ptr %1, align 1
%10 = load i8, ptr %1, align 1
%11 = zext i8 %10 to i32
%12 = icmp slt i32 %11, 10
br i1 %12, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %13
13: ; preds = %._crit_edge, %0
ret void
}
declare i32 @_nop_(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmprvj1h5gb.c'
source_filename = "/tmp/tmprvj1h5gb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"://\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"https\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"http\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"socks\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"socks4\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"socks5\00", align 1
@EPROTONOSUPPORT = dso_local global i32 0, align 4
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parse_url(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store i32 %5, ptr %13, align 4
%21 = load ptr, ptr %8, align 8
store ptr %21, ptr %14, align 8
%22 = load ptr, ptr %8, align 8
%23 = call ptr @strstr(ptr noundef %22, ptr noundef @.str)
store ptr %23, ptr %15, align 8
%24 = load ptr, ptr %15, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %26, label %58
26: ; preds = %6
%27 = load ptr, ptr %15, align 8
store i8 0, ptr %27, align 1
%28 = load ptr, ptr %15, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 3
store ptr %29, ptr %15, align 8
%30 = load ptr, ptr %14, align 8
%31 = call i32 @strcasecmp(ptr noundef %30, ptr noundef @.str.1)
%32 = icmp ne i32 %31, 0
br i1 %32, label %34, label %33
33: ; preds = %26
store i32 443, ptr %18, align 4
br label %57
34: ; preds = %26
%35 = load ptr, ptr %14, align 8
%36 = call i32 @strcasecmp(ptr noundef %35, ptr noundef @.str.2)
%37 = icmp ne i32 %36, 0
br i1 %37, label %39, label %38
38: ; preds = %34
store i32 80, ptr %18, align 4
br label %56
39: ; preds = %34
%40 = load ptr, ptr %14, align 8
%41 = call i32 @strcasecmp(ptr noundef %40, ptr noundef @.str.3)
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %51
43: ; preds = %39
%44 = load ptr, ptr %14, align 8
%45 = call i32 @strcasecmp(ptr noundef %44, ptr noundef @.str.4)
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %51
47: ; preds = %43
%48 = load ptr, ptr %14, align 8
%49 = call i32 @strcasecmp(ptr noundef %48, ptr noundef @.str.5)
%50 = icmp ne i32 %49, 0
br i1 %50, label %52, label %51
51: ; preds = %47, %43, %39
store i32 1080, ptr %18, align 4
br label %55
52: ; preds = %47
%53 = load i32, ptr @EPROTONOSUPPORT, align 4
%54 = sub nsw i32 0, %53
store i32 %54, ptr %7, align 4
br label %149
55: ; preds = %51
br label %56
56: ; preds = %55, %38
br label %57
57: ; preds = %56, %33
br label %68
58: ; preds = %6
%59 = load i32, ptr %13, align 4
%60 = icmp ne i32 %59, 0
br i1 %60, label %61, label %64
61: ; preds = %58
store ptr null, ptr %14, align 8
%62 = load i32, ptr %13, align 4
store i32 %62, ptr %18, align 4
%63 = load ptr, ptr %8, align 8
store ptr %63, ptr %15, align 8
br label %67
64: ; preds = %58
%65 = load i32, ptr @EINVAL, align 4
%66 = sub nsw i32 0, %65
store i32 %66, ptr %7, align 4
br label %149
67: ; preds = %61
br label %68
68: ; preds = %67, %57
%69 = load ptr, ptr %15, align 8
%70 = call ptr @strchr(ptr noundef %69, i8 noundef signext 47)
store ptr %70, ptr %16, align 8
%71 = load ptr, ptr %16, align 8
%72 = icmp ne ptr %71, null
br i1 %72, label %73, label %76
73: ; preds = %68
%74 = load ptr, ptr %16, align 8
%75 = getelementptr inbounds i8, ptr %74, i32 1
store ptr %75, ptr %16, align 8
store i8 0, ptr %74, align 1
br label %76
76: ; preds = %73, %68
%77 = load ptr, ptr %15, align 8
%78 = call ptr @strrchr(ptr noundef %77, i8 noundef signext 58)
store ptr %78, ptr %17, align 8
%79 = load ptr, ptr %17, align 8
%80 = icmp ne ptr %79, null
br i1 %80, label %81, label %92
81: ; preds = %76
%82 = load ptr, ptr %17, align 8
%83 = getelementptr inbounds i8, ptr %82, i64 1
%84 = call i32 @strtol(ptr noundef %83, ptr noundef %19, i32 noundef 10)
store i32 %84, ptr %20, align 4
%85 = load ptr, ptr %19, align 8
%86 = load i8, ptr %85, align 1
%87 = icmp ne i8 %86, 0
br i1 %87, label %91, label %88
88: ; preds = %81
%89 = load ptr, ptr %17, align 8
store i8 0, ptr %89, align 1
%90 = load i32, ptr %20, align 4
store i32 %90, ptr %18, align 4
br label %91
91: ; preds = %88, %81
br label %92
92: ; preds = %91, %76
%93 = load ptr, ptr %9, align 8
%94 = icmp ne ptr %93, null
br i1 %94, label %95, label %105
95: ; preds = %92
%96 = load ptr, ptr %14, align 8
%97 = icmp ne ptr %96, null
br i1 %97, label %98, label %101
98: ; preds = %95
%99 = load ptr, ptr %14, align 8
%100 = call ptr @strdup(ptr noundef %99)
br label %102
101: ; preds = %95
br label %102
102: ; preds = %101, %98
%103 = phi ptr [ %100, %98 ], [ null, %101 ]
%104 = load ptr, ptr %9, align 8
store ptr %103, ptr %104, align 8
br label %105
105: ; preds = %102, %92
%106 = load ptr, ptr %10, align 8
%107 = icmp ne ptr %106, null
br i1 %107, label %108, label %112
108: ; preds = %105
%109 = load ptr, ptr %15, align 8
%110 = call ptr @strdup(ptr noundef %109)
%111 = load ptr, ptr %10, align 8
store ptr %110, ptr %111, align 8
br label %112
112: ; preds = %108, %105
%113 = load ptr, ptr %11, align 8
%114 = icmp ne ptr %113, null
br i1 %114, label %115, label %118
115: ; preds = %112
%116 = load i32, ptr %18, align 4
%117 = load ptr, ptr %11, align 8
store i32 %116, ptr %117, align 4
br label %118
118: ; preds = %115, %112
%119 = load ptr, ptr %12, align 8
%120 = icmp ne ptr %119, null
br i1 %120, label %121, label %136
121: ; preds = %118
%122 = load ptr, ptr %16, align 8
%123 = icmp ne ptr %122, null
br i1 %123, label %124, label %132
124: ; preds = %121
%125 = load ptr, ptr %16, align 8
%126 = load i8, ptr %125, align 1
%127 = sext i8 %126 to i32
%128 = icmp ne i32 %127, 0
br i1 %128, label %129, label %132
129: ; preds = %124
%130 = load ptr, ptr %16, align 8
%131 = call ptr @strdup(ptr noundef %130)
br label %133
132: ; preds = %124, %121
br label %133
133: ; preds = %132, %129
%134 = phi ptr [ %131, %129 ], [ null, %132 ]
%135 = load ptr, ptr %12, align 8
store ptr %134, ptr %135, align 8
br label %136
136: ; preds = %133, %118
%137 = load ptr, ptr %16, align 8
%138 = icmp ne ptr %137, null
br i1 %138, label %139, label %142
139: ; preds = %136
%140 = load ptr, ptr %16, align 8
%141 = getelementptr inbounds i8, ptr %140, i64 -1
store i8 47, ptr %141, align 1
br label %142
142: ; preds = %139, %136
%143 = load ptr, ptr %14, align 8
%144 = icmp ne ptr %143, null
br i1 %144, label %145, label %148
145: ; preds = %142
%146 = load ptr, ptr %15, align 8
%147 = getelementptr inbounds i8, ptr %146, i64 -3
store i8 58, ptr %147, align 1
br label %148
148: ; preds = %145, %142
store i32 0, ptr %7, align 4
br label %149
149: ; preds = %148, %64, %52
%150 = load i32, ptr %7, align 4
ret i32 %150
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strcasecmp(ptr noundef, ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprvj1h5gb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"://\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"https\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"http\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"socks\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"socks4\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"socks5\00", align 1
@EPROTONOSUPPORT = dso_local global i32 0, align 4
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parse_url(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store i32 %5, ptr %13, align 4
%21 = load ptr, ptr %8, align 8
store ptr %21, ptr %14, align 8
%22 = load ptr, ptr %8, align 8
%23 = call ptr @strstr(ptr noundef %22, ptr noundef @.str)
store ptr %23, ptr %15, align 8
%24 = load ptr, ptr %15, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %26, label %58
26: ; preds = %6
%27 = load ptr, ptr %15, align 8
store i8 0, ptr %27, align 1
%28 = load ptr, ptr %15, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 3
store ptr %29, ptr %15, align 8
%30 = load ptr, ptr %14, align 8
%31 = call i32 @strcasecmp(ptr noundef %30, ptr noundef @.str.1)
%32 = icmp ne i32 %31, 0
br i1 %32, label %34, label %33
33: ; preds = %26
store i32 443, ptr %18, align 4
br label %57
34: ; preds = %26
%35 = load ptr, ptr %14, align 8
%36 = call i32 @strcasecmp(ptr noundef %35, ptr noundef @.str.2)
%37 = icmp ne i32 %36, 0
br i1 %37, label %39, label %38
38: ; preds = %34
store i32 80, ptr %18, align 4
br label %56
39: ; preds = %34
%40 = load ptr, ptr %14, align 8
%41 = call i32 @strcasecmp(ptr noundef %40, ptr noundef @.str.3)
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %51
43: ; preds = %39
%44 = load ptr, ptr %14, align 8
%45 = call i32 @strcasecmp(ptr noundef %44, ptr noundef @.str.4)
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %51
47: ; preds = %43
%48 = load ptr, ptr %14, align 8
%49 = call i32 @strcasecmp(ptr noundef %48, ptr noundef @.str.5)
%50 = icmp ne i32 %49, 0
br i1 %50, label %52, label %51
51: ; preds = %47, %43, %39
store i32 1080, ptr %18, align 4
br label %55
52: ; preds = %47
%53 = load i32, ptr @EPROTONOSUPPORT, align 4
%54 = sub nsw i32 0, %53
store i32 %54, ptr %7, align 4
br label %149
55: ; preds = %51
br label %56
56: ; preds = %55, %38
br label %57
57: ; preds = %56, %33
br label %68
58: ; preds = %6
%59 = load i32, ptr %13, align 4
%60 = icmp ne i32 %59, 0
br i1 %60, label %61, label %64
61: ; preds = %58
store ptr null, ptr %14, align 8
%62 = load i32, ptr %13, align 4
store i32 %62, ptr %18, align 4
%63 = load ptr, ptr %8, align 8
store ptr %63, ptr %15, align 8
br label %67
64: ; preds = %58
%65 = load i32, ptr @EINVAL, align 4
%66 = sub nsw i32 0, %65
store i32 %66, ptr %7, align 4
br label %149
67: ; preds = %61
br label %68
68: ; preds = %67, %57
%69 = load ptr, ptr %15, align 8
%70 = call ptr @strchr(ptr noundef %69, i8 noundef signext 47)
store ptr %70, ptr %16, align 8
%71 = load ptr, ptr %16, align 8
%72 = icmp ne ptr %71, null
br i1 %72, label %73, label %76
73: ; preds = %68
%74 = load ptr, ptr %16, align 8
%75 = getelementptr inbounds i8, ptr %74, i32 1
store ptr %75, ptr %16, align 8
store i8 0, ptr %74, align 1
br label %76
76: ; preds = %73, %68
%77 = load ptr, ptr %15, align 8
%78 = call ptr @strrchr(ptr noundef %77, i8 noundef signext 58)
store ptr %78, ptr %17, align 8
%79 = load ptr, ptr %17, align 8
%80 = icmp ne ptr %79, null
br i1 %80, label %81, label %92
81: ; preds = %76
%82 = load ptr, ptr %17, align 8
%83 = getelementptr inbounds i8, ptr %82, i64 1
%84 = call i32 @strtol(ptr noundef %83, ptr noundef %19, i32 noundef 10)
store i32 %84, ptr %20, align 4
%85 = load ptr, ptr %19, align 8
%86 = load i8, ptr %85, align 1
%87 = icmp ne i8 %86, 0
br i1 %87, label %91, label %88
88: ; preds = %81
%89 = load ptr, ptr %17, align 8
store i8 0, ptr %89, align 1
%90 = load i32, ptr %20, align 4
store i32 %90, ptr %18, align 4
br label %91
91: ; preds = %88, %81
br label %92
92: ; preds = %91, %76
%93 = load ptr, ptr %9, align 8
%94 = icmp ne ptr %93, null
br i1 %94, label %95, label %105
95: ; preds = %92
%96 = load ptr, ptr %14, align 8
%97 = icmp ne ptr %96, null
br i1 %97, label %98, label %101
98: ; preds = %95
%99 = load ptr, ptr %14, align 8
%100 = call ptr @strdup(ptr noundef %99)
br label %102
101: ; preds = %95
br label %102
102: ; preds = %101, %98
%103 = phi ptr [ %100, %98 ], [ null, %101 ]
%104 = load ptr, ptr %9, align 8
store ptr %103, ptr %104, align 8
br label %105
105: ; preds = %102, %92
%106 = load ptr, ptr %10, align 8
%107 = icmp ne ptr %106, null
br i1 %107, label %108, label %112
108: ; preds = %105
%109 = load ptr, ptr %15, align 8
%110 = call ptr @strdup(ptr noundef %109)
%111 = load ptr, ptr %10, align 8
store ptr %110, ptr %111, align 8
br label %112
112: ; preds = %108, %105
%113 = load ptr, ptr %11, align 8
%114 = icmp ne ptr %113, null
br i1 %114, label %115, label %118
115: ; preds = %112
%116 = load i32, ptr %18, align 4
%117 = load ptr, ptr %11, align 8
store i32 %116, ptr %117, align 4
br label %118
118: ; preds = %115, %112
%119 = load ptr, ptr %12, align 8
%120 = icmp ne ptr %119, null
br i1 %120, label %121, label %136
121: ; preds = %118
%122 = load ptr, ptr %16, align 8
%123 = icmp ne ptr %122, null
br i1 %123, label %124, label %132
124: ; preds = %121
%125 = load ptr, ptr %16, align 8
%126 = load i8, ptr %125, align 1
%127 = sext i8 %126 to i32
%128 = icmp ne i32 %127, 0
br i1 %128, label %129, label %132
129: ; preds = %124
%130 = load ptr, ptr %16, align 8
%131 = call ptr @strdup(ptr noundef %130)
br label %133
132: ; preds = %124, %121
br label %133
133: ; preds = %132, %129
%134 = phi ptr [ %131, %129 ], [ null, %132 ]
%135 = load ptr, ptr %12, align 8
store ptr %134, ptr %135, align 8
br label %136
136: ; preds = %133, %118
%137 = load ptr, ptr %16, align 8
%138 = icmp ne ptr %137, null
br i1 %138, label %139, label %142
139: ; preds = %136
%140 = load ptr, ptr %16, align 8
%141 = getelementptr inbounds i8, ptr %140, i64 -1
store i8 47, ptr %141, align 1
br label %142
142: ; preds = %139, %136
%143 = load ptr, ptr %14, align 8
%144 = icmp ne ptr %143, null
br i1 %144, label %145, label %148
145: ; preds = %142
%146 = load ptr, ptr %15, align 8
%147 = getelementptr inbounds i8, ptr %146, i64 -3
store i8 58, ptr %147, align 1
br label %148
148: ; preds = %145, %142
store i32 0, ptr %7, align 4
br label %149
149: ; preds = %148, %64, %52
%150 = load i32, ptr %7, align 4
ret i32 %150
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strcasecmp(ptr noundef, ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp96xq2xer.c'
source_filename = "/tmp/tmp96xq2xer.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"How many time do you want to roll?: \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"Rolled a one %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"Rolled a two %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"Rolled a three %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"Rolled a four %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"Rolled a five %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [17 x i8] c"Rolled a six %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [27 x i8] c"Ones were the most rolled\0A\00", align 1
@.str.9 = private unnamed_addr constant [27 x i8] c"Twos were the most rolled\0A\00", align 1
@.str.10 = private unnamed_addr constant [29 x i8] c"Threes were the most rolled\0A\00", align 1
@.str.11 = private unnamed_addr constant [28 x i8] c"Fours were the most rolled\0A\00", align 1
@.str.12 = private unnamed_addr constant [28 x i8] c"Fives were the most rolled\0A\00", align 1
@.str.13 = private unnamed_addr constant [28 x i8] c"Sixes were the most rolled\0A\00", align 1
@.str.14 = private unnamed_addr constant [28 x i8] c"Ones were the least rolled\0A\00", align 1
@.str.15 = private unnamed_addr constant [28 x i8] c"Twos were the least rolled\0A\00", align 1
@.str.16 = private unnamed_addr constant [30 x i8] c"Threes were the least rolled\0A\00", align 1
@.str.17 = private unnamed_addr constant [29 x i8] c"Fours were the least rolled\0A\00", align 1
@.str.18 = private unnamed_addr constant [29 x i8] c"Fives were the least rolled\0A\00", align 1
@.str.19 = private unnamed_addr constant [29 x i8] c"Sixes were the least rolled\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%11 = call i32 @time(ptr noundef null)
%12 = call i32 @srand(i32 noundef %11)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
br label %15
15: ; preds = %60, %0
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %61
19: ; preds = %15
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
%22 = call i32 (...) @rand()
%23 = srem i32 %22, 6
%24 = add nsw i32 %23, 1
store i32 %24, ptr %2, align 4
%25 = load i32, ptr %2, align 4
%26 = icmp eq i32 %25, 1
br i1 %26, label %27, label %30
27: ; preds = %19
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %5, align 4
br label %30
30: ; preds = %27, %19
%31 = load i32, ptr %2, align 4
%32 = icmp eq i32 %31, 2
br i1 %32, label %33, label %36
33: ; preds = %30
%34 = load i32, ptr %6, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %6, align 4
br label %36
36: ; preds = %33, %30
%37 = load i32, ptr %2, align 4
%38 = icmp eq i32 %37, 3
br i1 %38, label %39, label %42
39: ; preds = %36
%40 = load i32, ptr %7, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %7, align 4
br label %42
42: ; preds = %39, %36
%43 = load i32, ptr %2, align 4
%44 = icmp eq i32 %43, 4
br i1 %44, label %45, label %48
45: ; preds = %42
%46 = load i32, ptr %8, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %8, align 4
br label %48
48: ; preds = %45, %42
%49 = load i32, ptr %2, align 4
%50 = icmp eq i32 %49, 5
br i1 %50, label %51, label %54
51: ; preds = %48
%52 = load i32, ptr %9, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %9, align 4
br label %54
54: ; preds = %51, %48
%55 = load i32, ptr %2, align 4
%56 = icmp eq i32 %55, 6
br i1 %56, label %57, label %60
57: ; preds = %54
%58 = load i32, ptr %10, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %10, align 4
br label %60
60: ; preds = %57, %54
br label %15, !llvm.loop !6
61: ; preds = %15
%62 = load i32, ptr %5, align 4
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %62)
%64 = load i32, ptr %6, align 4
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %64)
%66 = load i32, ptr %7, align 4
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %66)
%68 = load i32, ptr %8, align 4
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %68)
%70 = load i32, ptr %9, align 4
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %70)
%72 = load i32, ptr %10, align 4
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %72)
%74 = load i32, ptr %5, align 4
%75 = load i32, ptr %6, align 4
%76 = icmp sgt i32 %74, %75
br i1 %76, label %77, label %95
77: ; preds = %61
%78 = load i32, ptr %5, align 4
%79 = load i32, ptr %7, align 4
%80 = icmp sgt i32 %78, %79
br i1 %80, label %81, label %95
81: ; preds = %77
%82 = load i32, ptr %5, align 4
%83 = load i32, ptr %8, align 4
%84 = icmp sgt i32 %82, %83
br i1 %84, label %85, label %95
85: ; preds = %81
%86 = load i32, ptr %5, align 4
%87 = load i32, ptr %9, align 4
%88 = icmp sgt i32 %86, %87
br i1 %88, label %89, label %95
89: ; preds = %85
%90 = load i32, ptr %5, align 4
%91 = load i32, ptr %10, align 4
%92 = icmp sgt i32 %90, %91
br i1 %92, label %93, label %95
93: ; preds = %89
%94 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %210
95: ; preds = %89, %85, %81, %77, %61
%96 = load i32, ptr %6, align 4
%97 = load i32, ptr %5, align 4
%98 = icmp sgt i32 %96, %97
br i1 %98, label %99, label %117
99: ; preds = %95
%100 = load i32, ptr %6, align 4
%101 = load i32, ptr %7, align 4
%102 = icmp sgt i32 %100, %101
br i1 %102, label %103, label %117
103: ; preds = %99
%104 = load i32, ptr %6, align 4
%105 = load i32, ptr %8, align 4
%106 = icmp sgt i32 %104, %105
br i1 %106, label %107, label %117
107: ; preds = %103
%108 = load i32, ptr %6, align 4
%109 = load i32, ptr %9, align 4
%110 = icmp sgt i32 %108, %109
br i1 %110, label %111, label %117
111: ; preds = %107
%112 = load i32, ptr %6, align 4
%113 = load i32, ptr %10, align 4
%114 = icmp sgt i32 %112, %113
br i1 %114, label %115, label %117
115: ; preds = %111
%116 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %209
117: ; preds = %111, %107, %103, %99, %95
%118 = load i32, ptr %7, align 4
%119 = load i32, ptr %5, align 4
%120 = icmp sgt i32 %118, %119
br i1 %120, label %121, label %139
121: ; preds = %117
%122 = load i32, ptr %7, align 4
%123 = load i32, ptr %6, align 4
%124 = icmp sgt i32 %122, %123
br i1 %124, label %125, label %139
125: ; preds = %121
%126 = load i32, ptr %7, align 4
%127 = load i32, ptr %8, align 4
%128 = icmp sgt i32 %126, %127
br i1 %128, label %129, label %139
129: ; preds = %125
%130 = load i32, ptr %7, align 4
%131 = load i32, ptr %9, align 4
%132 = icmp sgt i32 %130, %131
br i1 %132, label %133, label %139
133: ; preds = %129
%134 = load i32, ptr %7, align 4
%135 = load i32, ptr %10, align 4
%136 = icmp sgt i32 %134, %135
br i1 %136, label %137, label %139
137: ; preds = %133
%138 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
br label %208
139: ; preds = %133, %129, %125, %121, %117
%140 = load i32, ptr %8, align 4
%141 = load i32, ptr %5, align 4
%142 = icmp sgt i32 %140, %141
br i1 %142, label %143, label %161
143: ; preds = %139
%144 = load i32, ptr %8, align 4
%145 = load i32, ptr %6, align 4
%146 = icmp sgt i32 %144, %145
br i1 %146, label %147, label %161
147: ; preds = %143
%148 = load i32, ptr %8, align 4
%149 = load i32, ptr %7, align 4
%150 = icmp sgt i32 %148, %149
br i1 %150, label %151, label %161
151: ; preds = %147
%152 = load i32, ptr %8, align 4
%153 = load i32, ptr %9, align 4
%154 = icmp sgt i32 %152, %153
br i1 %154, label %155, label %161
155: ; preds = %151
%156 = load i32, ptr %8, align 4
%157 = load i32, ptr %10, align 4
%158 = icmp sgt i32 %156, %157
br i1 %158, label %159, label %161
159: ; preds = %155
%160 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
br label %207
161: ; preds = %155, %151, %147, %143, %139
%162 = load i32, ptr %9, align 4
%163 = load i32, ptr %5, align 4
%164 = icmp sgt i32 %162, %163
br i1 %164, label %165, label %183
165: ; preds = %161
%166 = load i32, ptr %9, align 4
%167 = load i32, ptr %6, align 4
%168 = icmp sgt i32 %166, %167
br i1 %168, label %169, label %183
169: ; preds = %165
%170 = load i32, ptr %9, align 4
%171 = load i32, ptr %7, align 4
%172 = icmp sgt i32 %170, %171
br i1 %172, label %173, label %183
173: ; preds = %169
%174 = load i32, ptr %9, align 4
%175 = load i32, ptr %8, align 4
%176 = icmp sgt i32 %174, %175
br i1 %176, label %177, label %183
177: ; preds = %173
%178 = load i32, ptr %9, align 4
%179 = load i32, ptr %10, align 4
%180 = icmp sgt i32 %178, %179
br i1 %180, label %181, label %183
181: ; preds = %177
%182 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
br label %206
183: ; preds = %177, %173, %169, %165, %161
%184 = load i32, ptr %10, align 4
%185 = load i32, ptr %5, align 4
%186 = icmp sgt i32 %184, %185
br i1 %186, label %187, label %205
187: ; preds = %183
%188 = load i32, ptr %10, align 4
%189 = load i32, ptr %6, align 4
%190 = icmp sgt i32 %188, %189
br i1 %190, label %191, label %205
191: ; preds = %187
%192 = load i32, ptr %10, align 4
%193 = load i32, ptr %7, align 4
%194 = icmp sgt i32 %192, %193
br i1 %194, label %195, label %205
195: ; preds = %191
%196 = load i32, ptr %10, align 4
%197 = load i32, ptr %8, align 4
%198 = icmp sgt i32 %196, %197
br i1 %198, label %199, label %205
199: ; preds = %195
%200 = load i32, ptr %10, align 4
%201 = load i32, ptr %9, align 4
%202 = icmp sgt i32 %200, %201
br i1 %202, label %203, label %205
203: ; preds = %199
%204 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
br label %205
205: ; preds = %203, %199, %195, %191, %187, %183
br label %206
206: ; preds = %205, %181
br label %207
207: ; preds = %206, %159
br label %208
208: ; preds = %207, %137
br label %209
209: ; preds = %208, %115
br label %210
210: ; preds = %209, %93
%211 = load i32, ptr %5, align 4
%212 = load i32, ptr %6, align 4
%213 = icmp slt i32 %211, %212
br i1 %213, label %214, label %232
214: ; preds = %210
%215 = load i32, ptr %5, align 4
%216 = load i32, ptr %7, align 4
%217 = icmp slt i32 %215, %216
br i1 %217, label %218, label %232
218: ; preds = %214
%219 = load i32, ptr %5, align 4
%220 = load i32, ptr %8, align 4
%221 = icmp slt i32 %219, %220
br i1 %221, label %222, label %232
222: ; preds = %218
%223 = load i32, ptr %5, align 4
%224 = load i32, ptr %9, align 4
%225 = icmp slt i32 %223, %224
br i1 %225, label %226, label %232
226: ; preds = %222
%227 = load i32, ptr %5, align 4
%228 = load i32, ptr %10, align 4
%229 = icmp slt i32 %227, %228
br i1 %229, label %230, label %232
230: ; preds = %226
%231 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
br label %347
232: ; preds = %226, %222, %218, %214, %210
%233 = load i32, ptr %6, align 4
%234 = load i32, ptr %5, align 4
%235 = icmp slt i32 %233, %234
br i1 %235, label %236, label %254
236: ; preds = %232
%237 = load i32, ptr %6, align 4
%238 = load i32, ptr %7, align 4
%239 = icmp slt i32 %237, %238
br i1 %239, label %240, label %254
240: ; preds = %236
%241 = load i32, ptr %6, align 4
%242 = load i32, ptr %8, align 4
%243 = icmp slt i32 %241, %242
br i1 %243, label %244, label %254
244: ; preds = %240
%245 = load i32, ptr %6, align 4
%246 = load i32, ptr %9, align 4
%247 = icmp slt i32 %245, %246
br i1 %247, label %248, label %254
248: ; preds = %244
%249 = load i32, ptr %6, align 4
%250 = load i32, ptr %10, align 4
%251 = icmp slt i32 %249, %250
br i1 %251, label %252, label %254
252: ; preds = %248
%253 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
br label %346
254: ; preds = %248, %244, %240, %236, %232
%255 = load i32, ptr %7, align 4
%256 = load i32, ptr %5, align 4
%257 = icmp slt i32 %255, %256
br i1 %257, label %258, label %276
258: ; preds = %254
%259 = load i32, ptr %7, align 4
%260 = load i32, ptr %6, align 4
%261 = icmp slt i32 %259, %260
br i1 %261, label %262, label %276
262: ; preds = %258
%263 = load i32, ptr %7, align 4
%264 = load i32, ptr %8, align 4
%265 = icmp slt i32 %263, %264
br i1 %265, label %266, label %276
266: ; preds = %262
%267 = load i32, ptr %7, align 4
%268 = load i32, ptr %9, align 4
%269 = icmp slt i32 %267, %268
br i1 %269, label %270, label %276
270: ; preds = %266
%271 = load i32, ptr %7, align 4
%272 = load i32, ptr %10, align 4
%273 = icmp slt i32 %271, %272
br i1 %273, label %274, label %276
274: ; preds = %270
%275 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
br label %345
276: ; preds = %270, %266, %262, %258, %254
%277 = load i32, ptr %8, align 4
%278 = load i32, ptr %5, align 4
%279 = icmp slt i32 %277, %278
br i1 %279, label %280, label %298
280: ; preds = %276
%281 = load i32, ptr %8, align 4
%282 = load i32, ptr %6, align 4
%283 = icmp slt i32 %281, %282
br i1 %283, label %284, label %298
284: ; preds = %280
%285 = load i32, ptr %8, align 4
%286 = load i32, ptr %7, align 4
%287 = icmp slt i32 %285, %286
br i1 %287, label %288, label %298
288: ; preds = %284
%289 = load i32, ptr %8, align 4
%290 = load i32, ptr %9, align 4
%291 = icmp slt i32 %289, %290
br i1 %291, label %292, label %298
292: ; preds = %288
%293 = load i32, ptr %8, align 4
%294 = load i32, ptr %10, align 4
%295 = icmp slt i32 %293, %294
br i1 %295, label %296, label %298
296: ; preds = %292
%297 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
br label %344
298: ; preds = %292, %288, %284, %280, %276
%299 = load i32, ptr %9, align 4
%300 = load i32, ptr %5, align 4
%301 = icmp slt i32 %299, %300
br i1 %301, label %302, label %320
302: ; preds = %298
%303 = load i32, ptr %9, align 4
%304 = load i32, ptr %6, align 4
%305 = icmp slt i32 %303, %304
br i1 %305, label %306, label %320
306: ; preds = %302
%307 = load i32, ptr %9, align 4
%308 = load i32, ptr %7, align 4
%309 = icmp slt i32 %307, %308
br i1 %309, label %310, label %320
310: ; preds = %306
%311 = load i32, ptr %9, align 4
%312 = load i32, ptr %8, align 4
%313 = icmp slt i32 %311, %312
br i1 %313, label %314, label %320
314: ; preds = %310
%315 = load i32, ptr %9, align 4
%316 = load i32, ptr %10, align 4
%317 = icmp slt i32 %315, %316
br i1 %317, label %318, label %320
318: ; preds = %314
%319 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
br label %343
320: ; preds = %314, %310, %306, %302, %298
%321 = load i32, ptr %10, align 4
%322 = load i32, ptr %5, align 4
%323 = icmp slt i32 %321, %322
br i1 %323, label %324, label %342
324: ; preds = %320
%325 = load i32, ptr %10, align 4
%326 = load i32, ptr %6, align 4
%327 = icmp slt i32 %325, %326
br i1 %327, label %328, label %342
328: ; preds = %324
%329 = load i32, ptr %10, align 4
%330 = load i32, ptr %7, align 4
%331 = icmp slt i32 %329, %330
br i1 %331, label %332, label %342
332: ; preds = %328
%333 = load i32, ptr %10, align 4
%334 = load i32, ptr %8, align 4
%335 = icmp slt i32 %333, %334
br i1 %335, label %336, label %342
336: ; preds = %332
%337 = load i32, ptr %10, align 4
%338 = load i32, ptr %9, align 4
%339 = icmp slt i32 %337, %338
br i1 %339, label %340, label %342
340: ; preds = %336
%341 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
br label %342
342: ; preds = %340, %336, %332, %328, %324, %320
br label %343
343: ; preds = %342, %318
br label %344
344: ; preds = %343, %296
br label %345
345: ; preds = %344, %274
br label %346
346: ; preds = %345, %252
br label %347
347: ; preds = %346, %230
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp96xq2xer.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"How many time do you want to roll?: \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"Rolled a one %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"Rolled a two %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"Rolled a three %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"Rolled a four %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"Rolled a five %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [17 x i8] c"Rolled a six %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [27 x i8] c"Ones were the most rolled\0A\00", align 1
@.str.9 = private unnamed_addr constant [27 x i8] c"Twos were the most rolled\0A\00", align 1
@.str.10 = private unnamed_addr constant [29 x i8] c"Threes were the most rolled\0A\00", align 1
@.str.11 = private unnamed_addr constant [28 x i8] c"Fours were the most rolled\0A\00", align 1
@.str.12 = private unnamed_addr constant [28 x i8] c"Fives were the most rolled\0A\00", align 1
@.str.13 = private unnamed_addr constant [28 x i8] c"Sixes were the most rolled\0A\00", align 1
@.str.14 = private unnamed_addr constant [28 x i8] c"Ones were the least rolled\0A\00", align 1
@.str.15 = private unnamed_addr constant [28 x i8] c"Twos were the least rolled\0A\00", align 1
@.str.16 = private unnamed_addr constant [30 x i8] c"Threes were the least rolled\0A\00", align 1
@.str.17 = private unnamed_addr constant [29 x i8] c"Fours were the least rolled\0A\00", align 1
@.str.18 = private unnamed_addr constant [29 x i8] c"Fives were the least rolled\0A\00", align 1
@.str.19 = private unnamed_addr constant [29 x i8] c"Sixes were the least rolled\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%11 = call i32 @time(ptr noundef null)
%12 = call i32 @srand(i32 noundef %11)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %63
.lr.ph: ; preds = %0
br label %18
18: ; preds = %.lr.ph, %59
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
%21 = call i32 (...) @rand()
%22 = srem i32 %21, 6
%23 = add nsw i32 %22, 1
store i32 %23, ptr %2, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp eq i32 %24, 1
br i1 %25, label %26, label %29
26: ; preds = %18
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %5, align 4
br label %29
29: ; preds = %26, %18
%30 = load i32, ptr %2, align 4
%31 = icmp eq i32 %30, 2
br i1 %31, label %32, label %35
32: ; preds = %29
%33 = load i32, ptr %6, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %6, align 4
br label %35
35: ; preds = %32, %29
%36 = load i32, ptr %2, align 4
%37 = icmp eq i32 %36, 3
br i1 %37, label %38, label %41
38: ; preds = %35
%39 = load i32, ptr %7, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %7, align 4
br label %41
41: ; preds = %38, %35
%42 = load i32, ptr %2, align 4
%43 = icmp eq i32 %42, 4
br i1 %43, label %44, label %47
44: ; preds = %41
%45 = load i32, ptr %8, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %8, align 4
br label %47
47: ; preds = %44, %41
%48 = load i32, ptr %2, align 4
%49 = icmp eq i32 %48, 5
br i1 %49, label %50, label %53
50: ; preds = %47
%51 = load i32, ptr %9, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %9, align 4
br label %53
53: ; preds = %50, %47
%54 = load i32, ptr %2, align 4
%55 = icmp eq i32 %54, 6
br i1 %55, label %56, label %59
56: ; preds = %53
%57 = load i32, ptr %10, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %10, align 4
br label %59
59: ; preds = %56, %53
%60 = load i32, ptr %3, align 4
%61 = load i32, ptr %4, align 4
%62 = icmp slt i32 %60, %61
br i1 %62, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %59
br label %63
63: ; preds = %._crit_edge, %0
%64 = load i32, ptr %5, align 4
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %64)
%66 = load i32, ptr %6, align 4
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %66)
%68 = load i32, ptr %7, align 4
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %68)
%70 = load i32, ptr %8, align 4
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %70)
%72 = load i32, ptr %9, align 4
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %72)
%74 = load i32, ptr %10, align 4
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %74)
%76 = load i32, ptr %5, align 4
%77 = load i32, ptr %6, align 4
%78 = icmp sgt i32 %76, %77
br i1 %78, label %79, label %97
79: ; preds = %63
%80 = load i32, ptr %5, align 4
%81 = load i32, ptr %7, align 4
%82 = icmp sgt i32 %80, %81
br i1 %82, label %83, label %97
83: ; preds = %79
%84 = load i32, ptr %5, align 4
%85 = load i32, ptr %8, align 4
%86 = icmp sgt i32 %84, %85
br i1 %86, label %87, label %97
87: ; preds = %83
%88 = load i32, ptr %5, align 4
%89 = load i32, ptr %9, align 4
%90 = icmp sgt i32 %88, %89
br i1 %90, label %91, label %97
91: ; preds = %87
%92 = load i32, ptr %5, align 4
%93 = load i32, ptr %10, align 4
%94 = icmp sgt i32 %92, %93
br i1 %94, label %95, label %97
95: ; preds = %91
%96 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %212
97: ; preds = %91, %87, %83, %79, %63
%98 = load i32, ptr %6, align 4
%99 = load i32, ptr %5, align 4
%100 = icmp sgt i32 %98, %99
br i1 %100, label %101, label %119
101: ; preds = %97
%102 = load i32, ptr %6, align 4
%103 = load i32, ptr %7, align 4
%104 = icmp sgt i32 %102, %103
br i1 %104, label %105, label %119
105: ; preds = %101
%106 = load i32, ptr %6, align 4
%107 = load i32, ptr %8, align 4
%108 = icmp sgt i32 %106, %107
br i1 %108, label %109, label %119
109: ; preds = %105
%110 = load i32, ptr %6, align 4
%111 = load i32, ptr %9, align 4
%112 = icmp sgt i32 %110, %111
br i1 %112, label %113, label %119
113: ; preds = %109
%114 = load i32, ptr %6, align 4
%115 = load i32, ptr %10, align 4
%116 = icmp sgt i32 %114, %115
br i1 %116, label %117, label %119
117: ; preds = %113
%118 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %211
119: ; preds = %113, %109, %105, %101, %97
%120 = load i32, ptr %7, align 4
%121 = load i32, ptr %5, align 4
%122 = icmp sgt i32 %120, %121
br i1 %122, label %123, label %141
123: ; preds = %119
%124 = load i32, ptr %7, align 4
%125 = load i32, ptr %6, align 4
%126 = icmp sgt i32 %124, %125
br i1 %126, label %127, label %141
127: ; preds = %123
%128 = load i32, ptr %7, align 4
%129 = load i32, ptr %8, align 4
%130 = icmp sgt i32 %128, %129
br i1 %130, label %131, label %141
131: ; preds = %127
%132 = load i32, ptr %7, align 4
%133 = load i32, ptr %9, align 4
%134 = icmp sgt i32 %132, %133
br i1 %134, label %135, label %141
135: ; preds = %131
%136 = load i32, ptr %7, align 4
%137 = load i32, ptr %10, align 4
%138 = icmp sgt i32 %136, %137
br i1 %138, label %139, label %141
139: ; preds = %135
%140 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
br label %210
141: ; preds = %135, %131, %127, %123, %119
%142 = load i32, ptr %8, align 4
%143 = load i32, ptr %5, align 4
%144 = icmp sgt i32 %142, %143
br i1 %144, label %145, label %163
145: ; preds = %141
%146 = load i32, ptr %8, align 4
%147 = load i32, ptr %6, align 4
%148 = icmp sgt i32 %146, %147
br i1 %148, label %149, label %163
149: ; preds = %145
%150 = load i32, ptr %8, align 4
%151 = load i32, ptr %7, align 4
%152 = icmp sgt i32 %150, %151
br i1 %152, label %153, label %163
153: ; preds = %149
%154 = load i32, ptr %8, align 4
%155 = load i32, ptr %9, align 4
%156 = icmp sgt i32 %154, %155
br i1 %156, label %157, label %163
157: ; preds = %153
%158 = load i32, ptr %8, align 4
%159 = load i32, ptr %10, align 4
%160 = icmp sgt i32 %158, %159
br i1 %160, label %161, label %163
161: ; preds = %157
%162 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
br label %209
163: ; preds = %157, %153, %149, %145, %141
%164 = load i32, ptr %9, align 4
%165 = load i32, ptr %5, align 4
%166 = icmp sgt i32 %164, %165
br i1 %166, label %167, label %185
167: ; preds = %163
%168 = load i32, ptr %9, align 4
%169 = load i32, ptr %6, align 4
%170 = icmp sgt i32 %168, %169
br i1 %170, label %171, label %185
171: ; preds = %167
%172 = load i32, ptr %9, align 4
%173 = load i32, ptr %7, align 4
%174 = icmp sgt i32 %172, %173
br i1 %174, label %175, label %185
175: ; preds = %171
%176 = load i32, ptr %9, align 4
%177 = load i32, ptr %8, align 4
%178 = icmp sgt i32 %176, %177
br i1 %178, label %179, label %185
179: ; preds = %175
%180 = load i32, ptr %9, align 4
%181 = load i32, ptr %10, align 4
%182 = icmp sgt i32 %180, %181
br i1 %182, label %183, label %185
183: ; preds = %179
%184 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
br label %208
185: ; preds = %179, %175, %171, %167, %163
%186 = load i32, ptr %10, align 4
%187 = load i32, ptr %5, align 4
%188 = icmp sgt i32 %186, %187
br i1 %188, label %189, label %207
189: ; preds = %185
%190 = load i32, ptr %10, align 4
%191 = load i32, ptr %6, align 4
%192 = icmp sgt i32 %190, %191
br i1 %192, label %193, label %207
193: ; preds = %189
%194 = load i32, ptr %10, align 4
%195 = load i32, ptr %7, align 4
%196 = icmp sgt i32 %194, %195
br i1 %196, label %197, label %207
197: ; preds = %193
%198 = load i32, ptr %10, align 4
%199 = load i32, ptr %8, align 4
%200 = icmp sgt i32 %198, %199
br i1 %200, label %201, label %207
201: ; preds = %197
%202 = load i32, ptr %10, align 4
%203 = load i32, ptr %9, align 4
%204 = icmp sgt i32 %202, %203
br i1 %204, label %205, label %207
205: ; preds = %201
%206 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
br label %207
207: ; preds = %205, %201, %197, %193, %189, %185
br label %208
208: ; preds = %207, %183
br label %209
209: ; preds = %208, %161
br label %210
210: ; preds = %209, %139
br label %211
211: ; preds = %210, %117
br label %212
212: ; preds = %211, %95
%213 = load i32, ptr %5, align 4
%214 = load i32, ptr %6, align 4
%215 = icmp slt i32 %213, %214
br i1 %215, label %216, label %234
216: ; preds = %212
%217 = load i32, ptr %5, align 4
%218 = load i32, ptr %7, align 4
%219 = icmp slt i32 %217, %218
br i1 %219, label %220, label %234
220: ; preds = %216
%221 = load i32, ptr %5, align 4
%222 = load i32, ptr %8, align 4
%223 = icmp slt i32 %221, %222
br i1 %223, label %224, label %234
224: ; preds = %220
%225 = load i32, ptr %5, align 4
%226 = load i32, ptr %9, align 4
%227 = icmp slt i32 %225, %226
br i1 %227, label %228, label %234
228: ; preds = %224
%229 = load i32, ptr %5, align 4
%230 = load i32, ptr %10, align 4
%231 = icmp slt i32 %229, %230
br i1 %231, label %232, label %234
232: ; preds = %228
%233 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
br label %349
234: ; preds = %228, %224, %220, %216, %212
%235 = load i32, ptr %6, align 4
%236 = load i32, ptr %5, align 4
%237 = icmp slt i32 %235, %236
br i1 %237, label %238, label %256
238: ; preds = %234
%239 = load i32, ptr %6, align 4
%240 = load i32, ptr %7, align 4
%241 = icmp slt i32 %239, %240
br i1 %241, label %242, label %256
242: ; preds = %238
%243 = load i32, ptr %6, align 4
%244 = load i32, ptr %8, align 4
%245 = icmp slt i32 %243, %244
br i1 %245, label %246, label %256
246: ; preds = %242
%247 = load i32, ptr %6, align 4
%248 = load i32, ptr %9, align 4
%249 = icmp slt i32 %247, %248
br i1 %249, label %250, label %256
250: ; preds = %246
%251 = load i32, ptr %6, align 4
%252 = load i32, ptr %10, align 4
%253 = icmp slt i32 %251, %252
br i1 %253, label %254, label %256
254: ; preds = %250
%255 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
br label %348
256: ; preds = %250, %246, %242, %238, %234
%257 = load i32, ptr %7, align 4
%258 = load i32, ptr %5, align 4
%259 = icmp slt i32 %257, %258
br i1 %259, label %260, label %278
260: ; preds = %256
%261 = load i32, ptr %7, align 4
%262 = load i32, ptr %6, align 4
%263 = icmp slt i32 %261, %262
br i1 %263, label %264, label %278
264: ; preds = %260
%265 = load i32, ptr %7, align 4
%266 = load i32, ptr %8, align 4
%267 = icmp slt i32 %265, %266
br i1 %267, label %268, label %278
268: ; preds = %264
%269 = load i32, ptr %7, align 4
%270 = load i32, ptr %9, align 4
%271 = icmp slt i32 %269, %270
br i1 %271, label %272, label %278
272: ; preds = %268
%273 = load i32, ptr %7, align 4
%274 = load i32, ptr %10, align 4
%275 = icmp slt i32 %273, %274
br i1 %275, label %276, label %278
276: ; preds = %272
%277 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
br label %347
278: ; preds = %272, %268, %264, %260, %256
%279 = load i32, ptr %8, align 4
%280 = load i32, ptr %5, align 4
%281 = icmp slt i32 %279, %280
br i1 %281, label %282, label %300
282: ; preds = %278
%283 = load i32, ptr %8, align 4
%284 = load i32, ptr %6, align 4
%285 = icmp slt i32 %283, %284
br i1 %285, label %286, label %300
286: ; preds = %282
%287 = load i32, ptr %8, align 4
%288 = load i32, ptr %7, align 4
%289 = icmp slt i32 %287, %288
br i1 %289, label %290, label %300
290: ; preds = %286
%291 = load i32, ptr %8, align 4
%292 = load i32, ptr %9, align 4
%293 = icmp slt i32 %291, %292
br i1 %293, label %294, label %300
294: ; preds = %290
%295 = load i32, ptr %8, align 4
%296 = load i32, ptr %10, align 4
%297 = icmp slt i32 %295, %296
br i1 %297, label %298, label %300
298: ; preds = %294
%299 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
br label %346
300: ; preds = %294, %290, %286, %282, %278
%301 = load i32, ptr %9, align 4
%302 = load i32, ptr %5, align 4
%303 = icmp slt i32 %301, %302
br i1 %303, label %304, label %322
304: ; preds = %300
%305 = load i32, ptr %9, align 4
%306 = load i32, ptr %6, align 4
%307 = icmp slt i32 %305, %306
br i1 %307, label %308, label %322
308: ; preds = %304
%309 = load i32, ptr %9, align 4
%310 = load i32, ptr %7, align 4
%311 = icmp slt i32 %309, %310
br i1 %311, label %312, label %322
312: ; preds = %308
%313 = load i32, ptr %9, align 4
%314 = load i32, ptr %8, align 4
%315 = icmp slt i32 %313, %314
br i1 %315, label %316, label %322
316: ; preds = %312
%317 = load i32, ptr %9, align 4
%318 = load i32, ptr %10, align 4
%319 = icmp slt i32 %317, %318
br i1 %319, label %320, label %322
320: ; preds = %316
%321 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
br label %345
322: ; preds = %316, %312, %308, %304, %300
%323 = load i32, ptr %10, align 4
%324 = load i32, ptr %5, align 4
%325 = icmp slt i32 %323, %324
br i1 %325, label %326, label %344
326: ; preds = %322
%327 = load i32, ptr %10, align 4
%328 = load i32, ptr %6, align 4
%329 = icmp slt i32 %327, %328
br i1 %329, label %330, label %344
330: ; preds = %326
%331 = load i32, ptr %10, align 4
%332 = load i32, ptr %7, align 4
%333 = icmp slt i32 %331, %332
br i1 %333, label %334, label %344
334: ; preds = %330
%335 = load i32, ptr %10, align 4
%336 = load i32, ptr %8, align 4
%337 = icmp slt i32 %335, %336
br i1 %337, label %338, label %344
338: ; preds = %334
%339 = load i32, ptr %10, align 4
%340 = load i32, ptr %9, align 4
%341 = icmp slt i32 %339, %340
br i1 %341, label %342, label %344
342: ; preds = %338
%343 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
br label %344
344: ; preds = %342, %338, %334, %330, %326, %322
br label %345
345: ; preds = %344, %320
br label %346
346: ; preds = %345, %298
br label %347
347: ; preds = %346, %276
br label %348
348: ; preds = %347, %254
br label %349
349: ; preds = %348, %232
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpievky5jz.c'
source_filename = "/tmp/tmpievky5jz.c"
target datalayout = "e-m:e-p270: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/tmpievky5jz.c"
target datalayout = "e-m:e-p270: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/tmpedjfcmyr.c'
source_filename = "/tmp/tmpedjfcmyr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"fork() failed\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"execvp() failed\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"Child exited with status %d, %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @execute(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = call i32 (...) @fork()
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
switch i32 %7, label %19 [
i32 -1, label %8
i32 0, label %11
]
8: ; preds = %1
%9 = call i32 @perror(ptr noundef @.str)
%10 = call i32 @exit(i32 noundef 1) #3
unreachable
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = load ptr, ptr %3, align 8
%16 = call i32 @execvp(ptr noundef %14, ptr noundef %15)
%17 = call i32 @perror(ptr noundef @.str.1)
%18 = call i32 @exit(i32 noundef 1) #3
unreachable
19: ; preds = %1
br label %20
20: ; preds = %19
br label %21
21: ; preds = %20, %26
%22 = call i32 @wait(ptr noundef %5)
%23 = load i32, ptr %4, align 4
%24 = icmp eq i32 %22, %23
br i1 %24, label %25, label %26
25: ; preds = %21
br label %27
26: ; preds = %21
br label %21
27: ; preds = %25
%28 = load i32, ptr %5, align 4
%29 = ashr i32 %28, 8
%30 = load i32, ptr %5, align 4
%31 = and i32 %30, 127
%32 = call i32 @printf(ptr noundef @.str.2, i32 noundef %29, i32 noundef %31)
%33 = load i32, ptr %2, align 4
ret i32 %33
}
declare i32 @fork(...) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @execvp(ptr noundef, ptr noundef) #1
declare i32 @wait(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpedjfcmyr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"fork() failed\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"execvp() failed\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"Child exited with status %d, %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @execute(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = call i32 (...) @fork()
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
switch i32 %7, label %19 [
i32 -1, label %8
i32 0, label %11
]
8: ; preds = %1
%9 = call i32 @perror(ptr noundef @.str)
%10 = call i32 @exit(i32 noundef 1) #3
unreachable
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = load ptr, ptr %3, align 8
%16 = call i32 @execvp(ptr noundef %14, ptr noundef %15)
%17 = call i32 @perror(ptr noundef @.str.1)
%18 = call i32 @exit(i32 noundef 1) #3
unreachable
19: ; preds = %1
br label %20
20: ; preds = %19
br label %21
21: ; preds = %21, %20
%22 = call i32 @wait(ptr noundef %5)
%23 = load i32, ptr %4, align 4
%24 = icmp eq i32 %22, %23
br i1 %24, label %25, label %21
25: ; preds = %21
br label %26
26: ; preds = %25
%27 = load i32, ptr %5, align 4
%28 = ashr i32 %27, 8
%29 = load i32, ptr %5, align 4
%30 = and i32 %29, 127
%31 = call i32 @printf(ptr noundef @.str.2, i32 noundef %28, i32 noundef %30)
%32 = load i32, ptr %2, align 4
ret i32 %32
}
declare i32 @fork(...) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @execvp(ptr noundef, ptr noundef) #1
declare i32 @wait(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpv9uinn_d.c'
source_filename = "/tmp/tmpv9uinn_d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"NOT IMPLEMENTED:pa_memblockq_pop_missing\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_memblockq_pop_missing() #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/tmpv9uinn_d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"NOT IMPLEMENTED:pa_memblockq_pop_missing\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_memblockq_pop_missing() #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/tmphvnx65h7.c'
source_filename = "/tmp/tmphvnx65h7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xreallocarray(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = load i64, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = mul i64 %9, %10
%12 = call ptr @realloc(ptr noundef %8, i64 noundef %11) #3
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %7, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %3
%16 = call i32 (...) @abort() #4
unreachable
17: ; preds = %3
%18 = load ptr, ptr %7, align 8
ret ptr %18
}
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { allocsize(1) }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphvnx65h7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xreallocarray(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = load i64, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = mul i64 %9, %10
%12 = call ptr @realloc(ptr noundef %8, i64 noundef %11) #3
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %7, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %3
%16 = call i32 (...) @abort() #4
unreachable
17: ; preds = %3
%18 = load ptr, ptr %7, align 8
ret ptr %18
}
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { allocsize(1) }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphz9f9tzn.c'
source_filename = "/tmp/tmphz9f9tzn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"No libexec. Backtrace disabled\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_backtrace() #0 {
%1 = call i64 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 32)
%2 = icmp slt i64 %1, 0
br i1 %2, label %3, label %4
3: ; preds = %0
br label %4
4: ; preds = %3, %0
ret void
}
declare i64 @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/tmphz9f9tzn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"No libexec. Backtrace disabled\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_backtrace() #0 {
%1 = call i64 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 32)
%2 = icmp slt i64 %1, 0
br i1 %2, label %3, label %4
3: ; preds = %0
br label %4
4: ; preds = %3, %0
ret void
}
declare i64 @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/tmpgap4oyu5.c'
source_filename = "/tmp/tmpgap4oyu5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%02x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @str2md5(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 [16 x i8], align 16
%8 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%9 = call i64 @malloc(i32 noundef 33)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %8, align 8
%11 = call i32 @MD5_Init(ptr noundef %6)
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %4, align 4
%14 = call i32 @MD5_Update(ptr noundef %6, ptr noundef %12, i32 noundef %13)
%15 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%16 = call i32 @MD5_Final(ptr noundef %15, ptr noundef %6)
store i32 0, ptr %5, align 4
br label %17
17: ; preds = %32, %2
%18 = load i32, ptr %5, align 4
%19 = icmp slt i32 %18, 16
br i1 %19, label %20, label %35
20: ; preds = %17
%21 = load ptr, ptr %8, align 8
%22 = load i32, ptr %5, align 4
%23 = mul nsw i32 %22, 2
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %21, i64 %24
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 %27
%29 = load i8, ptr %28, align 1
%30 = zext i8 %29 to i32
%31 = call i32 @snprintf(ptr noundef %25, i32 noundef 32, ptr noundef @.str, i32 noundef %30)
br label %32
32: ; preds = %20
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4
br label %17, !llvm.loop !6
35: ; preds = %17
%36 = load ptr, ptr %8, align 8
ret ptr %36
}
declare i64 @malloc(i32 noundef) #1
declare i32 @MD5_Init(ptr noundef) #1
declare i32 @MD5_Update(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @MD5_Final(ptr noundef, ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgap4oyu5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%02x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @str2md5(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 [16 x i8], align 16
%8 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%9 = call i64 @malloc(i32 noundef 33)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %8, align 8
%11 = call i32 @MD5_Init(ptr noundef %6)
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %4, align 4
%14 = call i32 @MD5_Update(ptr noundef %6, ptr noundef %12, i32 noundef %13)
%15 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 0
%16 = call i32 @MD5_Final(ptr noundef %15, ptr noundef %6)
store i32 0, ptr %5, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp slt i32 %17, 16
br i1 %18, label %.lr.ph, label %36
.lr.ph: ; preds = %2
br label %19
19: ; preds = %.lr.ph, %31
%20 = load ptr, ptr %8, align 8
%21 = load i32, ptr %5, align 4
%22 = mul nsw i32 %21, 2
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %20, i64 %23
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [16 x i8], ptr %7, i64 0, i64 %26
%28 = load i8, ptr %27, align 1
%29 = zext i8 %28 to i32
%30 = call i32 @snprintf(ptr noundef %24, i32 noundef 32, ptr noundef @.str, i32 noundef %29)
br label %31
31: ; preds = %19
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
%34 = load i32, ptr %5, align 4
%35 = icmp slt i32 %34, 16
br i1 %35, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %36
36: ; preds = %._crit_edge, %2
%37 = load ptr, ptr %8, align 8
ret ptr %37
}
declare i64 @malloc(i32 noundef) #1
declare i32 @MD5_Init(ptr noundef) #1
declare i32 @MD5_Update(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @MD5_Final(ptr noundef, ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpy2olevr6.c'
source_filename = "/tmp/tmpy2olevr6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[5m\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @blinkOn() #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/tmpy2olevr6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[5m\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @blinkOn() #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/tmpdhb8ayrq.c'
source_filename = "/tmp/tmpdhb8ayrq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sckDestroy(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr %3, align 4
%5 = call i32 @close(i32 noundef %4)
ret void
}
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdhb8ayrq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sckDestroy(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i32, ptr %3, align 4
%5 = call i32 @close(i32 noundef %4)
ret void
}
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps6ip1lks.c'
source_filename = "/tmp/tmps6ip1lks.c"
target datalayout = "e-m:e-p270: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/tmps6ip1lks.c"
target datalayout = "e-m:e-p270: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/tmp9an_84jb.c'
source_filename = "/tmp/tmp9an_84jb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"/dev/i2c-1\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 @initI2cBus(ptr noundef @.str, i32 noundef 28)
store i32 %3, ptr %2, align 4
ret i32 0
}
declare i32 @initI2cBus(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/tmp9an_84jb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"/dev/i2c-1\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 @initI2cBus(ptr noundef @.str, i32 noundef 28)
store i32 %3, ptr %2, align 4
ret i32 0
}
declare i32 @initI2cBus(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/tmp0rlrdap_.c'
source_filename = "/tmp/tmp0rlrdap_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_TOML_cstringCopy(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 %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %9, label %8
8: ; preds = %1
store ptr null, ptr %2, align 8
br label %24
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = add nsw i32 %12, 1
%14 = call ptr @malloc(i32 noundef %13)
store ptr %14, ptr %5, align 8
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %4, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
store i8 0, ptr %18, align 1
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %4, align 4
%22 = call i32 @strncpy(ptr noundef %19, ptr noundef %20, i32 noundef %21)
%23 = load ptr, ptr %5, align 8
store ptr %23, ptr %2, align 8
br label %24
24: ; preds = %9, %8
%25 = load ptr, ptr %2, align 8
ret ptr %25
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0rlrdap_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_TOML_cstringCopy(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 %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %9, label %8
8: ; preds = %1
store ptr null, ptr %2, align 8
br label %24
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = add nsw i32 %12, 1
%14 = call ptr @malloc(i32 noundef %13)
store ptr %14, ptr %5, align 8
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %4, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
store i8 0, ptr %18, align 1
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %4, align 4
%22 = call i32 @strncpy(ptr noundef %19, ptr noundef %20, i32 noundef %21)
%23 = load ptr, ptr %5, align 8
store ptr %23, ptr %2, align 8
br label %24
24: ; preds = %9, %8
%25 = load ptr, ptr %2, align 8
ret ptr %25
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgfhf7vft.c'
source_filename = "/tmp/tmpgfhf7vft.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/tmp/test\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"open()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr @O_RDWR, align 4
%8 = load i32, ptr @O_CREAT, align 4
%9 = or i32 %7, %8
%10 = call i32 @open(ptr noundef @.str, i32 noundef %9, i32 noundef 0)
store i32 %10, ptr %6, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 @perror(ptr noundef @.str.1)
br label %14
14: ; preds = %12, %2
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgfhf7vft.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/tmp/test\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"open()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr @O_RDWR, align 4
%8 = load i32, ptr @O_CREAT, align 4
%9 = or i32 %7, %8
%10 = call i32 @open(ptr noundef @.str, i32 noundef %9, i32 noundef 0)
store i32 %10, ptr %6, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 @perror(ptr noundef @.str.1)
br label %14
14: ; preds = %12, %2
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcl4n0vuu.c'
source_filename = "/tmp/tmpcl4n0vuu.c"
target datalayout = "e-m:e-p270: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/tmpcl4n0vuu.c"
target datalayout = "e-m:e-p270: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/tmpag3rrai7.c'
source_filename = "/tmp/tmpag3rrai7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"- \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%02x \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_buf(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %6, align 8
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %32, %2
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %35
12: ; preds = %8
%13 = load i32, ptr %5, align 4
%14 = srem i32 %13, 16
%15 = icmp eq i32 %14, 8
br i1 %15, label %16, label %18
16: ; preds = %12
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %18
18: ; preds = %16, %12
%19 = load i32, ptr %5, align 4
%20 = srem i32 %19, 16
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %18
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %24
24: ; preds = %22, %18
%25 = load ptr, ptr %6, align 8
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %28, align 1
%30 = zext i8 %29 to i32
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %30)
br label %32
32: ; preds = %24
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4
br label %8, !llvm.loop !6
35: ; preds = %8
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpag3rrai7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"- \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%02x \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_buf(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %6, align 8
store i32 0, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %37
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %31
%12 = load i32, ptr %5, align 4
%13 = srem i32 %12, 16
%14 = icmp eq i32 %13, 8
br i1 %14, label %15, label %17
15: ; preds = %11
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %17
17: ; preds = %15, %11
%18 = load i32, ptr %5, align 4
%19 = srem i32 %18, 16
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %17
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %23
23: ; preds = %21, %17
%24 = load ptr, ptr %6, align 8
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = zext i8 %28 to i32
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %29)
br label %31
31: ; preds = %23
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
%34 = load i32, ptr %5, align 4
%35 = load i32, ptr %4, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %37
37: ; preds = %._crit_edge, %2
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp51js4dzy.c'
source_filename = "/tmp/tmp51js4dzy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"127.0.0.1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @Send(i32 noundef 8080, ptr noundef @.str)
ret i32 0
}
declare i32 @Send(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/tmp51js4dzy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"127.0.0.1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @Send(i32 noundef 8080, ptr noundef @.str)
ret i32 0
}
declare i32 @Send(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/tmpraget1o3.c'
source_filename = "/tmp/tmpraget1o3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"thread 1 will sleep %d ms\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"thread 1 wake up \0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"thread 1 returning\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @thr_fn1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 5)
%4 = call i32 @sleep(i32 noundef 5)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret ptr inttoptr (i64 1 to ptr)
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpraget1o3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"thread 1 will sleep %d ms\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"thread 1 wake up \0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"thread 1 returning\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @thr_fn1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 5)
%4 = call i32 @sleep(i32 noundef 5)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret ptr inttoptr (i64 1 to ptr)
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyc05bh3w.c'
source_filename = "/tmp/tmpyc05bh3w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @colle(i32 noundef 4, i32 noundef 4)
ret i32 0
}
declare i32 @colle(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/tmpyc05bh3w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @colle(i32 noundef 4, i32 noundef 4)
ret i32 0
}
declare i32 @colle(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/tmp5kng1dv9.c'
source_filename = "/tmp/tmp5kng1dv9.c"
target datalayout = "e-m:e-p270: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 [35 x i8] c"usage: rs_encoding n m r w size \0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [46 x i8] c"Output format: n m mult_xor bandwidth(MB/s).\0A\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"Here, the bandwidth is the avg of 10 runs.\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @rs_usage(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 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.1)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str.2)
%9 = load ptr, ptr %2, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %15
11: ; preds = %1
%12 = load i32, ptr @stderr, align 4
%13 = load ptr, ptr %2, align 8
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.3, ptr noundef %13)
br label %15
15: ; preds = %11, %1
%16 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5kng1dv9.c"
target datalayout = "e-m:e-p270: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 [35 x i8] c"usage: rs_encoding n m r w size \0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [46 x i8] c"Output format: n m mult_xor bandwidth(MB/s).\0A\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"Here, the bandwidth is the avg of 10 runs.\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @rs_usage(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 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.1)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str.2)
%9 = load ptr, ptr %2, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %15
11: ; preds = %1
%12 = load i32, ptr @stderr, align 4
%13 = load ptr, ptr %2, align 8
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.3, ptr noundef %13)
br label %15
15: ; preds = %11, %1
%16 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzqq25g19.c'
source_filename = "/tmp/tmpzqq25g19.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [76 x i8] c"\22At the end of the day, my goal was to be the best hacker\22\0A\09- Kevin Mitnick\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 @_puts(ptr noundef @.str)
ret i32 0
}
declare i32 @_puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzqq25g19.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [76 x i8] c"\22At the end of the day, my goal was to be the best hacker\22\0A\09- Kevin Mitnick\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 @_puts(ptr noundef @.str)
ret i32 0
}
declare i32 @_puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmj06ols1.c'
source_filename = "/tmp/tmpmj06ols1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %8, align 8
br label %11
11: ; preds = %15, %3
%12 = load i64, ptr %6, align 8
%13 = add i64 %12, -1
store i64 %13, ptr %6, align 8
%14 = icmp ugt i64 %12, 0
br i1 %14, label %15, label %21
15: ; preds = %11
%16 = load ptr, ptr %8, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %8, align 8
%18 = load i8, ptr %16, align 1
%19 = load ptr, ptr %7, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %7, align 8
store i8 %18, ptr %19, align 1
br label %11, !llvm.loop !6
21: ; preds = %11
%22 = load ptr, ptr %4, align 8
ret ptr %22
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmj06ols1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %8, align 8
%11 = load i64, ptr %6, align 8
%12 = add i64 %11, -1
store i64 %12, ptr %6, align 8
%13 = icmp ugt i64 %11, 0
br i1 %13, label %.lr.ph, label %23
.lr.ph: ; preds = %3
br label %14
14: ; preds = %.lr.ph, %14
%15 = load ptr, ptr %8, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 1
store ptr %16, ptr %8, align 8
%17 = load i8, ptr %15, align 1
%18 = load ptr, ptr %7, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %7, align 8
store i8 %17, ptr %18, align 1
%20 = load i64, ptr %6, align 8
%21 = add i64 %20, -1
store i64 %21, ptr %6, align 8
%22 = icmp ugt i64 %20, 0
br i1 %22, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %23
23: ; preds = %._crit_edge, %3
%24 = load ptr, ptr %4, align 8
ret ptr %24
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxjkz0150.c'
source_filename = "/tmp/tmpxjkz0150.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fcopy(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca [1024 x i8], align 16
%8 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i64 0, ptr %6, align 8
br label %9
9: ; preds = %25, %2
%10 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%11 = load ptr, ptr %4, align 8
%12 = call i64 @fread(ptr noundef %10, i32 noundef 1, i32 noundef 1024, ptr noundef %11)
store i64 %12, ptr %5, align 8
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %26
14: ; preds = %9
%15 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%16 = load i64, ptr %5, align 8
%17 = load ptr, ptr %3, align 8
%18 = call i64 @fwrite(ptr noundef %15, i32 noundef 1, i64 noundef %16, ptr noundef %17)
store i64 %18, ptr %8, align 8
%19 = load i64, ptr %8, align 8
%20 = load i64, ptr %6, align 8
%21 = add i64 %20, %19
store i64 %21, ptr %6, align 8
%22 = load i64, ptr %8, align 8
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %14
br label %26
25: ; preds = %14
br label %9, !llvm.loop !6
26: ; preds = %24, %9
%27 = load i64, ptr %6, align 8
ret i64 %27
}
declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxjkz0150.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fcopy(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca [1024 x i8], align 16
%8 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i64 0, ptr %6, align 8
%9 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%10 = load ptr, ptr %4, align 8
%11 = call i64 @fread(ptr noundef %9, i32 noundef 1, i32 noundef 1024, ptr noundef %10)
store i64 %11, ptr %5, align 8
%12 = icmp ne i64 %11, 0
br i1 %12, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %17
13: ; preds = %17
%14 = load ptr, ptr %4, align 8
%15 = call i64 @fread(ptr noundef %9, i32 noundef 1, i32 noundef 1024, ptr noundef %14)
store i64 %15, ptr %5, align 8
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %..loopexit_crit_edge, !llvm.loop !6
17: ; preds = %.lr.ph, %13
%18 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%19 = load i64, ptr %5, align 8
%20 = load ptr, ptr %3, align 8
%21 = call i64 @fwrite(ptr noundef %18, i32 noundef 1, i64 noundef %19, ptr noundef %20)
store i64 %21, ptr %8, align 8
%22 = load i64, ptr %8, align 8
%23 = load i64, ptr %6, align 8
%24 = add i64 %23, %22
store i64 %24, ptr %6, align 8
%25 = load i64, ptr %8, align 8
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %13
27: ; preds = %17
br label %28
..loopexit_crit_edge: ; preds = %13
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %28
28: ; preds = %.loopexit, %27
%29 = load i64, ptr %6, align 8
ret i64 %29
}
declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_2llyww7.c'
source_filename = "/tmp/tmp_2llyww7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isprint.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isprint should be 0 for 0x8b\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isprint_0x8b() #0 {
%1 = call i64 @isprint(i32 noundef 139)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 700, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isprint(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_2llyww7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isprint.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isprint should be 0 for 0x8b\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isprint_0x8b() #0 {
%1 = call i64 @isprint(i32 noundef 139)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 700, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isprint(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/tmpxgzxhdo5.c'
source_filename = "/tmp/tmpxgzxhdo5.c"
target datalayout = "e-m:e-p270: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/tmpxgzxhdo5.c"
target datalayout = "e-m:e-p270: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/tmptbw8npm3.c'
source_filename = "/tmp/tmptbw8npm3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [57 x i8] c"usage: %s <device_addr> <reg_addr>. sample: %s 0x56 0x0\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"/dev/gpioi2c\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Open gpioi2c dev error!\0A\00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c"device_addr:0x%2x; reg_addr:0x%2x.\0A\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"sccb_read\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"sccb read.\0A\00", align 1
@.str.6 = private unnamed_addr constant [10 x i8] c"i2c read\0A\00", align 1
@.str.7 = private unnamed_addr constant [7 x i8] c"0x%2x\0A\00", align 1
@.str.8 = private unnamed_addr constant [54 x i8] c"end addr(0x%2x) should bigger than start addr(0x%2x)\0A\00", align 1
@.str.9 = private unnamed_addr constant [62 x i8] c"device_addr:0x%2x; reg_addr_start:0x%2x; reg_addr_end:0x%2x.\0A\00", align 1
@.str.10 = private unnamed_addr constant [11 x i8] c"0x%x 0x%x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca 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
%13 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 -1, ptr %6, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 3
br i1 %15, label %16, label %27
16: ; preds = %2
%17 = load i32, ptr %4, align 4
%18 = icmp ne i32 %17, 4
br i1 %18, label %19, label %27
19: ; preds = %16
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 0
%22 = load ptr, ptr %21, align 8
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 0
%25 = load ptr, ptr %24, align 8
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %22, ptr noundef %25)
store i32 -1, ptr %3, align 4
br label %141
27: ; preds = %16, %2
%28 = call i32 @open(ptr noundef @.str.1, i32 noundef 0)
store i32 %28, ptr %6, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp slt i32 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %27
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 -1, ptr %3, align 4
br label %141
33: ; preds = %27
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds ptr, ptr %34, i64 1
%36 = load ptr, ptr %35, align 8
%37 = call i64 @StrToNumber(ptr noundef %36, ptr noundef %8)
%38 = icmp ne i64 %37, 0
br i1 %38, label %39, label %40
39: ; preds = %33
store i32 0, ptr %3, align 4
br label %141
40: ; preds = %33
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds ptr, ptr %41, i64 2
%43 = load ptr, ptr %42, align 8
%44 = call i64 @StrToNumber(ptr noundef %43, ptr noundef %9)
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %40
store i32 0, ptr %3, align 4
br label %141
47: ; preds = %40
%48 = load i32, ptr %4, align 4
%49 = icmp eq i32 3, %48
br i1 %49, label %50, label %79
50: ; preds = %47
%51 = load i32, ptr %8, align 4
%52 = load i32, ptr %9, align 4
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %51, i32 noundef %52)
%54 = load i32, ptr %8, align 4
%55 = and i32 %54, 255
%56 = shl i32 %55, 24
%57 = load i32, ptr %9, align 4
%58 = and i32 %57, 255
%59 = shl i32 %58, 16
%60 = or i32 %56, %59
store i32 %60, ptr %12, align 4
%61 = load ptr, ptr %5, align 8
%62 = getelementptr inbounds ptr, ptr %61, i64 0
%63 = load ptr, ptr %62, align 8
%64 = call i64 @strstr(ptr noundef %63, ptr noundef @.str.4)
%65 = icmp ne i64 %64, 0
br i1 %65, label %66, label %70
66: ; preds = %50
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%68 = load i32, ptr %6, align 4
%69 = call i32 @ioctl(i32 noundef %68, i32 noundef 5, ptr noundef %12)
store i32 %69, ptr %7, align 4
br label %74
70: ; preds = %50
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%72 = load i32, ptr %6, align 4
%73 = call i32 @ioctl(i32 noundef %72, i32 noundef 1, ptr noundef %12)
store i32 %73, ptr %7, align 4
br label %74
74: ; preds = %70, %66
%75 = load i32, ptr %12, align 4
%76 = and i32 %75, 255
store i32 %76, ptr %11, align 4
%77 = load i32, ptr %11, align 4
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %77)
br label %140
79: ; preds = %47
%80 = load i32, ptr %4, align 4
%81 = icmp eq i32 4, %80
br i1 %81, label %82, label %139
82: ; preds = %79
%83 = load ptr, ptr %5, align 8
%84 = getelementptr inbounds ptr, ptr %83, i64 3
%85 = load ptr, ptr %84, align 8
%86 = call i64 @StrToNumber(ptr noundef %85, ptr noundef %10)
%87 = icmp ne i64 %86, 0
br i1 %87, label %88, label %89
88: ; preds = %82
store i32 0, ptr %3, align 4
br label %141
89: ; preds = %82
%90 = load i32, ptr %10, align 4
%91 = load i32, ptr %9, align 4
%92 = icmp ult i32 %90, %91
br i1 %92, label %93, label %97
93: ; preds = %89
%94 = load i32, ptr %10, align 4
%95 = load i32, ptr %9, align 4
%96 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %94, i32 noundef %95)
store i32 0, ptr %3, align 4
br label %141
97: ; preds = %89
%98 = load i32, ptr %8, align 4
%99 = load i32, ptr %9, align 4
%100 = load i32, ptr %10, align 4
%101 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %98, i32 noundef %99, i32 noundef %100)
%102 = load i32, ptr %9, align 4
store i32 %102, ptr %13, align 4
br label %103
103: ; preds = %135, %97
%104 = load i32, ptr %13, align 4
%105 = load i32, ptr %10, align 4
%106 = add i32 %105, 1
%107 = icmp ult i32 %104, %106
br i1 %107, label %108, label %138
108: ; preds = %103
%109 = load i32, ptr %8, align 4
%110 = and i32 %109, 255
%111 = shl i32 %110, 24
%112 = load i32, ptr %13, align 4
%113 = and i32 %112, 255
%114 = shl i32 %113, 16
%115 = or i32 %111, %114
store i32 %115, ptr %12, align 4
%116 = load ptr, ptr %5, align 8
%117 = getelementptr inbounds ptr, ptr %116, i64 0
%118 = load ptr, ptr %117, align 8
%119 = call i64 @strstr(ptr noundef %118, ptr noundef @.str.4)
%120 = icmp ne i64 %119, 0
br i1 %120, label %121, label %125
121: ; preds = %108
%122 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%123 = load i32, ptr %6, align 4
%124 = call i32 @ioctl(i32 noundef %123, i32 noundef 5, ptr noundef %12)
store i32 %124, ptr %7, align 4
br label %129
125: ; preds = %108
%126 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%127 = load i32, ptr %6, align 4
%128 = call i32 @ioctl(i32 noundef %127, i32 noundef 1, ptr noundef %12)
store i32 %128, ptr %7, align 4
br label %129
129: ; preds = %125, %121
%130 = load i32, ptr %12, align 4
%131 = and i32 %130, 255
store i32 %131, ptr %11, align 4
%132 = load i32, ptr %13, align 4
%133 = load i32, ptr %11, align 4
%134 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %132, i32 noundef %133)
br label %135
135: ; preds = %129
%136 = load i32, ptr %13, align 4
%137 = add nsw i32 %136, 1
store i32 %137, ptr %13, align 4
br label %103, !llvm.loop !6
138: ; preds = %103
br label %139
139: ; preds = %138, %79
br label %140
140: ; preds = %139, %74
store i32 0, ptr %3, align 4
br label %141
141: ; preds = %140, %93, %88, %46, %39, %31, %19
%142 = load i32, ptr %3, align 4
ret i32 %142
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i64 @StrToNumber(ptr noundef, ptr noundef) #1
declare i64 @strstr(ptr noundef, ptr noundef) #1
declare i32 @ioctl(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptbw8npm3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [57 x i8] c"usage: %s <device_addr> <reg_addr>. sample: %s 0x56 0x0\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"/dev/gpioi2c\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Open gpioi2c dev error!\0A\00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c"device_addr:0x%2x; reg_addr:0x%2x.\0A\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"sccb_read\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"sccb read.\0A\00", align 1
@.str.6 = private unnamed_addr constant [10 x i8] c"i2c read\0A\00", align 1
@.str.7 = private unnamed_addr constant [7 x i8] c"0x%2x\0A\00", align 1
@.str.8 = private unnamed_addr constant [54 x i8] c"end addr(0x%2x) should bigger than start addr(0x%2x)\0A\00", align 1
@.str.9 = private unnamed_addr constant [62 x i8] c"device_addr:0x%2x; reg_addr_start:0x%2x; reg_addr_end:0x%2x.\0A\00", align 1
@.str.10 = private unnamed_addr constant [11 x i8] c"0x%x 0x%x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca 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
%13 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 -1, ptr %6, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 3
br i1 %15, label %16, label %27
16: ; preds = %2
%17 = load i32, ptr %4, align 4
%18 = icmp ne i32 %17, 4
br i1 %18, label %19, label %27
19: ; preds = %16
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 0
%22 = load ptr, ptr %21, align 8
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 0
%25 = load ptr, ptr %24, align 8
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %22, ptr noundef %25)
store i32 -1, ptr %3, align 4
br label %144
27: ; preds = %16, %2
%28 = call i32 @open(ptr noundef @.str.1, i32 noundef 0)
store i32 %28, ptr %6, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp slt i32 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %27
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 -1, ptr %3, align 4
br label %144
33: ; preds = %27
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds ptr, ptr %34, i64 1
%36 = load ptr, ptr %35, align 8
%37 = call i64 @StrToNumber(ptr noundef %36, ptr noundef %8)
%38 = icmp ne i64 %37, 0
br i1 %38, label %39, label %40
39: ; preds = %33
store i32 0, ptr %3, align 4
br label %144
40: ; preds = %33
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds ptr, ptr %41, i64 2
%43 = load ptr, ptr %42, align 8
%44 = call i64 @StrToNumber(ptr noundef %43, ptr noundef %9)
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %40
store i32 0, ptr %3, align 4
br label %144
47: ; preds = %40
%48 = load i32, ptr %4, align 4
%49 = icmp eq i32 3, %48
br i1 %49, label %50, label %79
50: ; preds = %47
%51 = load i32, ptr %8, align 4
%52 = load i32, ptr %9, align 4
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %51, i32 noundef %52)
%54 = load i32, ptr %8, align 4
%55 = and i32 %54, 255
%56 = shl i32 %55, 24
%57 = load i32, ptr %9, align 4
%58 = and i32 %57, 255
%59 = shl i32 %58, 16
%60 = or i32 %56, %59
store i32 %60, ptr %12, align 4
%61 = load ptr, ptr %5, align 8
%62 = getelementptr inbounds ptr, ptr %61, i64 0
%63 = load ptr, ptr %62, align 8
%64 = call i64 @strstr(ptr noundef %63, ptr noundef @.str.4)
%65 = icmp ne i64 %64, 0
br i1 %65, label %66, label %70
66: ; preds = %50
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%68 = load i32, ptr %6, align 4
%69 = call i32 @ioctl(i32 noundef %68, i32 noundef 5, ptr noundef %12)
store i32 %69, ptr %7, align 4
br label %74
70: ; preds = %50
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%72 = load i32, ptr %6, align 4
%73 = call i32 @ioctl(i32 noundef %72, i32 noundef 1, ptr noundef %12)
store i32 %73, ptr %7, align 4
br label %74
74: ; preds = %70, %66
%75 = load i32, ptr %12, align 4
%76 = and i32 %75, 255
store i32 %76, ptr %11, align 4
%77 = load i32, ptr %11, align 4
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %77)
br label %143
79: ; preds = %47
%80 = load i32, ptr %4, align 4
%81 = icmp eq i32 4, %80
br i1 %81, label %82, label %142
82: ; preds = %79
%83 = load ptr, ptr %5, align 8
%84 = getelementptr inbounds ptr, ptr %83, i64 3
%85 = load ptr, ptr %84, align 8
%86 = call i64 @StrToNumber(ptr noundef %85, ptr noundef %10)
%87 = icmp ne i64 %86, 0
br i1 %87, label %88, label %89
88: ; preds = %82
store i32 0, ptr %3, align 4
br label %144
89: ; preds = %82
%90 = load i32, ptr %10, align 4
%91 = load i32, ptr %9, align 4
%92 = icmp ult i32 %90, %91
br i1 %92, label %93, label %97
93: ; preds = %89
%94 = load i32, ptr %10, align 4
%95 = load i32, ptr %9, align 4
%96 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %94, i32 noundef %95)
store i32 0, ptr %3, align 4
br label %144
97: ; preds = %89
%98 = load i32, ptr %8, align 4
%99 = load i32, ptr %9, align 4
%100 = load i32, ptr %10, align 4
%101 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %98, i32 noundef %99, i32 noundef %100)
%102 = load i32, ptr %9, align 4
store i32 %102, ptr %13, align 4
%103 = load i32, ptr %13, align 4
%104 = load i32, ptr %10, align 4
%105 = add i32 %104, 1
%106 = icmp ult i32 %103, %105
br i1 %106, label %.lr.ph, label %141
.lr.ph: ; preds = %97
br label %107
107: ; preds = %.lr.ph, %134
%108 = load i32, ptr %8, align 4
%109 = and i32 %108, 255
%110 = shl i32 %109, 24
%111 = load i32, ptr %13, align 4
%112 = and i32 %111, 255
%113 = shl i32 %112, 16
%114 = or i32 %110, %113
store i32 %114, ptr %12, align 4
%115 = load ptr, ptr %5, align 8
%116 = getelementptr inbounds ptr, ptr %115, i64 0
%117 = load ptr, ptr %116, align 8
%118 = call i64 @strstr(ptr noundef %117, ptr noundef @.str.4)
%119 = icmp ne i64 %118, 0
br i1 %119, label %120, label %124
120: ; preds = %107
%121 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%122 = load i32, ptr %6, align 4
%123 = call i32 @ioctl(i32 noundef %122, i32 noundef 5, ptr noundef %12)
store i32 %123, ptr %7, align 4
br label %128
124: ; preds = %107
%125 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%126 = load i32, ptr %6, align 4
%127 = call i32 @ioctl(i32 noundef %126, i32 noundef 1, ptr noundef %12)
store i32 %127, ptr %7, align 4
br label %128
128: ; preds = %124, %120
%129 = load i32, ptr %12, align 4
%130 = and i32 %129, 255
store i32 %130, ptr %11, align 4
%131 = load i32, ptr %13, align 4
%132 = load i32, ptr %11, align 4
%133 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %131, i32 noundef %132)
br label %134
134: ; preds = %128
%135 = load i32, ptr %13, align 4
%136 = add nsw i32 %135, 1
store i32 %136, ptr %13, align 4
%137 = load i32, ptr %13, align 4
%138 = load i32, ptr %10, align 4
%139 = add i32 %138, 1
%140 = icmp ult i32 %137, %139
br i1 %140, label %107, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %134
br label %141
141: ; preds = %._crit_edge, %97
br label %142
142: ; preds = %141, %79
br label %143
143: ; preds = %142, %74
store i32 0, ptr %3, align 4
br label %144
144: ; preds = %143, %93, %88, %46, %39, %31, %19
%145 = load i32, ptr %3, align 4
ret i32 %145
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i64 @StrToNumber(ptr noundef, ptr noundef) #1
declare i64 @strstr(ptr noundef, ptr noundef) #1
declare i32 @ioctl(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_z0xehlb.c'
source_filename = "/tmp/tmp_z0xehlb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_z0xehlb.c"
target datalayout = "e-m:e-p270: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/tmp16he3i_s.c'
source_filename = "/tmp/tmp16he3i_s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"open_listenfd error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @csapp_open_listenfd(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @open_listenfd(i32 noundef %4)
store i32 %5, ptr %3, align 4
%6 = icmp slt i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @unix_error(ptr noundef @.str)
br label %9
9: ; preds = %7, %1
%10 = load i32, ptr %3, align 4
ret i32 %10
}
declare i32 @open_listenfd(i32 noundef) #1
declare i32 @unix_error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp16he3i_s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"open_listenfd error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @csapp_open_listenfd(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @open_listenfd(i32 noundef %4)
store i32 %5, ptr %3, align 4
%6 = icmp slt i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @unix_error(ptr noundef @.str)
br label %9
9: ; preds = %7, %1
%10 = load i32, ptr %3, align 4
ret i32 %10
}
declare i32 @open_listenfd(i32 noundef) #1
declare i32 @unix_error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphak1d2cj.c'
source_filename = "/tmp/tmphak1d2cj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @foo(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = call i32 @f(ptr noundef %3, ptr noundef %4, ptr noundef %3, ptr noundef %3)
ret void
}
declare i32 @f(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphak1d2cj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @foo(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = call i32 @f(ptr noundef %3, ptr noundef %4, ptr noundef %3, ptr noundef %3)
ret void
}
declare i32 @f(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfftbzc8e.c'
source_filename = "/tmp/tmpfftbzc8e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__aeabi_memclr8(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @__aeabi_memset8(ptr noundef %5, i64 noundef %6, i32 noundef 0)
ret void
}
declare i32 @__aeabi_memset8(ptr noundef, i64 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/tmpfftbzc8e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__aeabi_memclr8(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @__aeabi_memset8(ptr noundef %5, i64 noundef %6, i32 noundef 0)
ret void
}
declare i32 @__aeabi_memset8(ptr noundef, i64 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/tmpah6wng1m.c'
source_filename = "/tmp/tmpah6wng1m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"eth: %02x:%02x:%02x:%02x:%02x:%02x\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"eth: '%s' - INVALID\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @checketh(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca [6 x i32], align 16
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = getelementptr inbounds [6 x i32], ptr %4, i64 0, i64 0
%7 = call i64 @parse_octet(ptr noundef %5, ptr noundef %6, i8 noundef signext 58, i32 noundef 6, i32 noundef 0, i32 noundef 255, i32 noundef 16)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %23
9: ; preds = %1
%10 = getelementptr inbounds [6 x i32], ptr %4, i64 0, i64 0
%11 = load i32, ptr %10, align 16
%12 = getelementptr inbounds [6 x i32], ptr %4, i64 0, i64 1
%13 = load i32, ptr %12, align 4
%14 = getelementptr inbounds [6 x i32], ptr %4, i64 0, i64 2
%15 = load i32, ptr %14, align 8
%16 = getelementptr inbounds [6 x i32], ptr %4, i64 0, i64 3
%17 = load i32, ptr %16, align 4
%18 = getelementptr inbounds [6 x i32], ptr %4, i64 0, i64 4
%19 = load i32, ptr %18, align 16
%20 = getelementptr inbounds [6 x i32], ptr %4, i64 0, i64 5
%21 = load i32, ptr %20, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %13, i32 noundef %15, i32 noundef %17, i32 noundef %19, i32 noundef %21)
br label %26
23: ; preds = %1
%24 = load ptr, ptr %3, align 8
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %24)
br label %26
26: ; preds = %23, %9
%27 = load i32, ptr %2, align 4
ret i32 %27
}
declare i64 @parse_octet(ptr noundef, ptr noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpah6wng1m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"eth: %02x:%02x:%02x:%02x:%02x:%02x\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"eth: '%s' - INVALID\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @checketh(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca [6 x i32], align 16
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = getelementptr inbounds [6 x i32], ptr %4, i64 0, i64 0
%7 = call i64 @parse_octet(ptr noundef %5, ptr noundef %6, i8 noundef signext 58, i32 noundef 6, i32 noundef 0, i32 noundef 255, i32 noundef 16)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %23
9: ; preds = %1
%10 = getelementptr inbounds [6 x i32], ptr %4, i64 0, i64 0
%11 = load i32, ptr %10, align 16
%12 = getelementptr inbounds [6 x i32], ptr %4, i64 0, i64 1
%13 = load i32, ptr %12, align 4
%14 = getelementptr inbounds [6 x i32], ptr %4, i64 0, i64 2
%15 = load i32, ptr %14, align 8
%16 = getelementptr inbounds [6 x i32], ptr %4, i64 0, i64 3
%17 = load i32, ptr %16, align 4
%18 = getelementptr inbounds [6 x i32], ptr %4, i64 0, i64 4
%19 = load i32, ptr %18, align 16
%20 = getelementptr inbounds [6 x i32], ptr %4, i64 0, i64 5
%21 = load i32, ptr %20, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %13, i32 noundef %15, i32 noundef %17, i32 noundef %19, i32 noundef %21)
br label %26
23: ; preds = %1
%24 = load ptr, ptr %3, align 8
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %24)
br label %26
26: ; preds = %23, %9
%27 = load i32, ptr %2, align 4
ret i32 %27
}
declare i64 @parse_octet(ptr noundef, ptr noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp21bp8nsg.c'
source_filename = "/tmp/tmp21bp8nsg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Vuvedete n: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c" * \00", align 1
@.str.4 = 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 i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
store i32 1, ptr %2, align 4
br label %8
8: ; preds = %37, %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 %40
12: ; preds = %8
store i32 1, ptr %3, align 4
br label %13
13: ; preds = %21, %12
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %2, align 4
%17 = sub nsw i32 %15, %16
%18 = icmp sle i32 %14, %17
br i1 %18, label %19, label %24
19: ; preds = %13
%20 = call i32 @printf(ptr noundef @.str.2)
br label %21
21: ; preds = %19
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
br label %13, !llvm.loop !6
24: ; preds = %13
br label %25
25: ; preds = %31, %24
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %2, align 4
%28 = mul nsw i32 2, %27
%29 = sub nsw i32 %28, 1
%30 = icmp ne i32 %26, %29
br i1 %30, label %31, label %35
31: ; preds = %25
%32 = call i32 @printf(ptr noundef @.str.3)
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4
br label %25, !llvm.loop !8
35: ; preds = %25
store i32 0, ptr %5, align 4
%36 = call i32 @printf(ptr noundef @.str.4)
br label %37
37: ; preds = %35
%38 = load i32, ptr %2, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %2, align 4
br label %8, !llvm.loop !9
40: ; preds = %8
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp21bp8nsg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Vuvedete n: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c" * \00", align 1
@.str.4 = 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 i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
store i32 1, 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.ph5, label %50
.lr.ph5: ; preds = %0
br label %11
11: ; preds = %.lr.ph5, %44
store i32 1, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %2, align 4
%15 = sub nsw i32 %13, %14
%16 = icmp sle i32 %12, %15
br i1 %16, label %.lr.ph, label %27
.lr.ph: ; preds = %11
br label %17
17: ; preds = %.lr.ph, %19
%18 = call i32 @printf(ptr noundef @.str.2)
br label %19
19: ; preds = %17
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = load i32, ptr %4, align 4
%24 = load i32, ptr %2, align 4
%25 = sub nsw i32 %23, %24
%26 = icmp sle i32 %22, %25
br i1 %26, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %27
27: ; preds = %._crit_edge, %11
%28 = load i32, ptr %5, align 4
%29 = load i32, ptr %2, align 4
%30 = mul nsw i32 2, %29
%31 = sub nsw i32 %30, 1
%32 = icmp ne i32 %28, %31
br i1 %32, label %.lr.ph2, label %42
.lr.ph2: ; preds = %27
br label %33
33: ; preds = %.lr.ph2, %33
%34 = call i32 @printf(ptr noundef @.str.3)
%35 = load i32, ptr %5, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %5, align 4
%37 = load i32, ptr %5, align 4
%38 = load i32, ptr %2, align 4
%39 = mul nsw i32 2, %38
%40 = sub nsw i32 %39, 1
%41 = icmp ne i32 %37, %40
br i1 %41, label %33, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %33
br label %42
42: ; preds = %._crit_edge3, %27
store i32 0, ptr %5, align 4
%43 = call i32 @printf(ptr noundef @.str.4)
br label %44
44: ; preds = %42
%45 = load i32, ptr %2, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %2, align 4
%47 = load i32, ptr %2, align 4
%48 = load i32, ptr %4, align 4
%49 = icmp sle i32 %47, %48
br i1 %49, label %11, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %44
br label %50
50: ; preds = %._crit_edge6, %0
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpefl39giw.c'
source_filename = "/tmp/tmpefl39giw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dosignal(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
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %3
%10 = call i32 @exit(i32 noundef 0) #2
unreachable
11: ; preds = %3
%12 = call i32 @exit(i32 noundef 1) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(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 = { 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 #2 = { 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/tmpefl39giw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dosignal(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
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %3
%10 = call i32 @exit(i32 noundef 0) #2
unreachable
11: ; preds = %3
%12 = call i32 @exit(i32 noundef 1) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(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 = { 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 #2 = { 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/tmp7d5rgmg_.c'
source_filename = "/tmp/tmp7d5rgmg_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d leds\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @processarLinha() #0 {
%1 = alloca [128 x i8], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 0
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
br label %6
6: ; preds = %13, %0
%7 = load i32, ptr %3, align 4
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds [128 x i8], ptr %1, i64 0, 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 %13, label %25
13: ; preds = %6
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 %15
%17 = load i8, ptr %16, align 1
%18 = call i64 @processarCaractere(i8 noundef signext %17)
%19 = load i32, ptr %2, align 4
%20 = sext i32 %19 to i64
%21 = add nsw i64 %20, %18
%22 = trunc i64 %21 to i32
store i32 %22, ptr %2, align 4
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
br label %6, !llvm.loop !6
25: ; preds = %6
%26 = load i32, ptr %2, align 4
%27 = call i32 @printf(ptr noundef @.str.1, i32 noundef %26)
ret void
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @processarCaractere(i8 noundef signext) #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/tmp7d5rgmg_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d leds\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @processarLinha() #0 {
%1 = alloca [128 x i8], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 0
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr %3, align 4
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 %7
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %.lr.ph, label %30
.lr.ph: ; preds = %0
br label %12
12: ; preds = %.lr.ph, %12
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 %14
%16 = load i8, ptr %15, align 1
%17 = call i64 @processarCaractere(i8 noundef signext %16)
%18 = load i32, ptr %2, align 4
%19 = sext i32 %18 to i64
%20 = add nsw i64 %19, %17
%21 = trunc i64 %20 to i32
store i32 %21, ptr %2, align 4
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
%24 = load i32, ptr %3, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [128 x i8], ptr %1, i64 0, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 0
br i1 %29, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %30
30: ; preds = %._crit_edge, %0
%31 = load i32, ptr %2, align 4
%32 = call i32 @printf(ptr noundef @.str.1, i32 noundef %31)
ret void
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @processarCaractere(i8 noundef signext) #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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.