llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmphsqto4tq.c'
source_filename = "/tmp/tmphsqto4tq.c"
target datalayout = "e-m:e-p270: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/tmphsqto4tq.c"
target datalayout = "e-m:e-p270: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/tmpt2bu2c94.c'
source_filename = "/tmp/tmpt2bu2c94.c"
target datalayout = "e-m:e-p270: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_DUPFD = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fcntl_dupfd(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 @F_DUPFD, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @fcntl(i32 noundef %5, i32 noundef %6, i32 noundef %7)
ret i32 %8
}
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/tmpt2bu2c94.c"
target datalayout = "e-m:e-p270: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_DUPFD = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fcntl_dupfd(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 @F_DUPFD, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @fcntl(i32 noundef %5, i32 noundef %6, i32 noundef %7)
ret i32 %8
}
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/tmpi24helmu.c'
source_filename = "/tmp/tmpi24helmu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sysErr(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 @rp_fatal(ptr noundef %3)
ret void
}
declare i32 @rp_fatal(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi24helmu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sysErr(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 @rp_fatal(ptr noundef %3)
ret void
}
declare i32 @rp_fatal(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9m642ash.c'
source_filename = "/tmp/tmp9m642ash.c"
target datalayout = "e-m:e-p270: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/tmp9m642ash.c"
target datalayout = "e-m:e-p270: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/tmpht2kls3i.c'
source_filename = "/tmp/tmpht2kls3i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jsonp_isint(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 @jsonp_isnint(ptr noundef %3, i32 noundef 4096)
ret i32 %4
}
declare i32 @jsonp_isnint(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/tmpht2kls3i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jsonp_isint(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 @jsonp_isnint(ptr noundef %3, i32 noundef 4096)
ret i32 %4
}
declare i32 @jsonp_isnint(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/tmprg8c_mv9.c'
source_filename = "/tmp/tmprg8c_mv9.c"
target datalayout = "e-m:e-p270: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/tmprg8c_mv9.c"
target datalayout = "e-m:e-p270: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/tmpa4dg70s0.c'
source_filename = "/tmp/tmpa4dg70s0.c"
target datalayout = "e-m:e-p270: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
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa4dg70s0.c"
target datalayout = "e-m:e-p270: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
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnpzu97nr.c'
source_filename = "/tmp/tmpnpzu97nr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @const_cpu(i32 noundef %0, float noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca float, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store float %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %10
10: ; preds = %22, %4
%11 = load i32, ptr %9, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %25
14: ; preds = %10
%15 = load float, ptr %6, align 4
%16 = load ptr, ptr %7, align 8
%17 = load i32, ptr %9, align 4
%18 = load i32, ptr %8, align 4
%19 = mul nsw i32 %17, %18
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds float, ptr %16, i64 %20
store float %15, ptr %21, align 4
br label %22
22: ; preds = %14
%23 = load i32, ptr %9, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %9, align 4
br label %10, !llvm.loop !6
25: ; preds = %10
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnpzu97nr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @const_cpu(i32 noundef %0, float noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca float, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store float %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
%10 = load i32, ptr %9, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %27
.lr.ph: ; preds = %4
br label %13
13: ; preds = %.lr.ph, %21
%14 = load float, ptr %6, align 4
%15 = load ptr, ptr %7, align 8
%16 = load i32, ptr %9, align 4
%17 = load i32, ptr %8, align 4
%18 = mul nsw i32 %16, %17
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds float, ptr %15, i64 %19
store float %14, ptr %20, align 4
br label %21
21: ; preds = %13
%22 = load i32, ptr %9, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %9, align 4
%24 = load i32, ptr %9, align 4
%25 = load i32, ptr %5, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkm7dyegs.c'
source_filename = "/tmp/tmpkm7dyegs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_dbg_level() #0 {
%1 = call i32 (...) @_clear_error_stack()
%2 = call i32 (...) @_get_dbg_level()
ret i32 %2
}
declare i32 @_clear_error_stack(...) #1
declare i32 @_get_dbg_level(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkm7dyegs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_dbg_level() #0 {
%1 = call i32 (...) @_clear_error_stack()
%2 = call i32 (...) @_get_dbg_level()
ret i32 %2
}
declare i32 @_clear_error_stack(...) #1
declare i32 @_get_dbg_level(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3leo8fpb.c'
source_filename = "/tmp/tmp3leo8fpb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"%4s (%7.3f,%7.3f)-(%7.3f,%7.3f)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @writeEntry(ptr noundef %0, ptr noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store double %2, ptr %9, align 8
store double %3, ptr %10, align 8
store double %4, ptr %11, align 8
store double %5, ptr %12, align 8
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %8, align 8
%15 = load double, ptr %9, align 8
%16 = load double, ptr %10, align 8
%17 = load double, ptr %11, align 8
%18 = load double, ptr %12, align 8
%19 = call i32 @fprintf(ptr noundef %13, ptr noundef @.str, ptr noundef %14, double noundef %15, double noundef %16, double noundef %17, double noundef %18)
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3leo8fpb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"%4s (%7.3f,%7.3f)-(%7.3f,%7.3f)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @writeEntry(ptr noundef %0, ptr noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store double %2, ptr %9, align 8
store double %3, ptr %10, align 8
store double %4, ptr %11, align 8
store double %5, ptr %12, align 8
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %8, align 8
%15 = load double, ptr %9, align 8
%16 = load double, ptr %10, align 8
%17 = load double, ptr %11, align 8
%18 = load double, ptr %12, align 8
%19 = call i32 @fprintf(ptr noundef %13, ptr noundef @.str, ptr noundef %14, double noundef %15, double noundef %16, double noundef %17, double noundef %18)
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdaualhuw.c'
source_filename = "/tmp/tmpdaualhuw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tag_get_ns_reg() #0 {
%1 = alloca i8, align 1
store i8 0, ptr %1, align 1
%2 = call i32 @tag_enable(i32 noundef 1)
%3 = call i32 @tag_read_sessionreg(i32 noundef 6, ptr noundef %1)
%4 = icmp ne i32 %3, 0
br i1 %4, label %6, label %5
5: ; preds = %0
store i8 -1, ptr %1, align 1
br label %6
6: ; preds = %5, %0
%7 = call i32 @tag_enable(i32 noundef 0)
%8 = load i8, ptr %1, align 1
%9 = sext i8 %8 to i32
ret i32 %9
}
declare i32 @tag_enable(i32 noundef) #1
declare i32 @tag_read_sessionreg(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/tmpdaualhuw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tag_get_ns_reg() #0 {
%1 = alloca i8, align 1
store i8 0, ptr %1, align 1
%2 = call i32 @tag_enable(i32 noundef 1)
%3 = call i32 @tag_read_sessionreg(i32 noundef 6, ptr noundef %1)
%4 = icmp ne i32 %3, 0
br i1 %4, label %6, label %5
5: ; preds = %0
store i8 -1, ptr %1, align 1
br label %6
6: ; preds = %5, %0
%7 = call i32 @tag_enable(i32 noundef 0)
%8 = load i8, ptr %1, align 1
%9 = sext i8 %8 to i32
ret i32 %9
}
declare i32 @tag_enable(i32 noundef) #1
declare i32 @tag_read_sessionreg(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/tmpgtvymy25.c'
source_filename = "/tmp/tmpgtvymy25.c"
target datalayout = "e-m:e-p270: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/tmpgtvymy25.c"
target datalayout = "e-m:e-p270: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/tmpk5i6w_3y.c'
source_filename = "/tmp/tmpk5i6w_3y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"=\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c" \09\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_var(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
%7 = call ptr @str_to_wordtab_delim(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %4, align 8
store ptr null, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @my_tablen(ptr noundef %8)
%10 = icmp sge i32 %9, 2
br i1 %10, label %11, label %27
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i64 @my_str_isalnum(ptr noundef %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %27
17: ; preds = %11
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call ptr @str_to_wordtab_delim(ptr noundef %20, ptr noundef @.str.1)
store ptr %21, ptr %5, align 8
%22 = load ptr, ptr %5, align 8
%23 = call i32 @my_tablen(ptr noundef %22)
%24 = icmp sge i32 %23, 1
br i1 %24, label %25, label %26
25: ; preds = %17
store i32 1, ptr %3, align 4
br label %26
26: ; preds = %25, %17
br label %27
27: ; preds = %26, %11, %1
%28 = load ptr, ptr %4, align 8
%29 = call i32 @my_free_wordtab(ptr noundef %28)
%30 = load ptr, ptr %5, align 8
%31 = call i32 @my_free_wordtab(ptr noundef %30)
%32 = load i32, ptr %3, align 4
ret i32 %32
}
declare ptr @str_to_wordtab_delim(ptr noundef, ptr noundef) #1
declare i32 @my_tablen(ptr noundef) #1
declare i64 @my_str_isalnum(ptr noundef) #1
declare i32 @my_free_wordtab(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk5i6w_3y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"=\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c" \09\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_var(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
%7 = call ptr @str_to_wordtab_delim(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %4, align 8
store ptr null, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @my_tablen(ptr noundef %8)
%10 = icmp sge i32 %9, 2
br i1 %10, label %11, label %27
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i64 @my_str_isalnum(ptr noundef %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %27
17: ; preds = %11
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call ptr @str_to_wordtab_delim(ptr noundef %20, ptr noundef @.str.1)
store ptr %21, ptr %5, align 8
%22 = load ptr, ptr %5, align 8
%23 = call i32 @my_tablen(ptr noundef %22)
%24 = icmp sge i32 %23, 1
br i1 %24, label %25, label %26
25: ; preds = %17
store i32 1, ptr %3, align 4
br label %26
26: ; preds = %25, %17
br label %27
27: ; preds = %26, %11, %1
%28 = load ptr, ptr %4, align 8
%29 = call i32 @my_free_wordtab(ptr noundef %28)
%30 = load ptr, ptr %5, align 8
%31 = call i32 @my_free_wordtab(ptr noundef %30)
%32 = load i32, ptr %3, align 4
ret i32 %32
}
declare ptr @str_to_wordtab_delim(ptr noundef, ptr noundef) #1
declare i32 @my_tablen(ptr noundef) #1
declare i64 @my_str_isalnum(ptr noundef) #1
declare i32 @my_free_wordtab(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprg0dc_kn.c'
source_filename = "/tmp/tmprg0dc_kn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @to_int(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %28, %1
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp ult i32 %9, %10
br i1 %11, label %12, label %31
12: ; preds = %8
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %5, align 4
%15 = zext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %5, align 4
%21 = sub i32 %19, %20
%22 = sub i32 %21, 1
%23 = call signext i8 @pow(i32 noundef 128, i32 noundef %22)
%24 = sext i8 %23 to i32
%25 = mul nsw i32 %18, %24
%26 = load i32, ptr %3, align 4
%27 = add i32 %26, %25
store i32 %27, ptr %3, align 4
br label %28
28: ; preds = %12
%29 = load i32, ptr %5, align 4
%30 = add i32 %29, 1
store i32 %30, ptr %5, align 4
br label %8, !llvm.loop !6
31: ; preds = %8
%32 = load i32, ptr %3, align 4
ret i32 %32
}
declare i32 @strlen(ptr noundef) #1
declare signext i8 @pow(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/tmprg0dc_kn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @to_int(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %4, align 4
store i32 0, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp ult i32 %8, %9
br i1 %10, label %.lr.ph, label %33
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %27
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %5, align 4
%14 = zext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %5, align 4
%20 = sub i32 %18, %19
%21 = sub i32 %20, 1
%22 = call signext i8 @pow(i32 noundef 128, i32 noundef %21)
%23 = sext i8 %22 to i32
%24 = mul nsw i32 %17, %23
%25 = load i32, ptr %3, align 4
%26 = add i32 %25, %24
store i32 %26, ptr %3, align 4
br label %27
27: ; preds = %11
%28 = load i32, ptr %5, align 4
%29 = add i32 %28, 1
store i32 %29, ptr %5, align 4
%30 = load i32, ptr %5, align 4
%31 = load i32, ptr %4, align 4
%32 = icmp ult i32 %30, %31
br i1 %32, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %1
%34 = load i32, ptr %3, align 4
ret i32 %34
}
declare i32 @strlen(ptr noundef) #1
declare signext i8 @pow(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/tmpy2bo28aa.c'
source_filename = "/tmp/tmpy2bo28aa.c"
target datalayout = "e-m:e-p270: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/tmpy2bo28aa.c"
target datalayout = "e-m:e-p270: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/tmpwm1x6cpu.c'
source_filename = "/tmp/tmpwm1x6cpu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ehrpwm_hr_duty_config(i32 noundef %0, i64 noundef %1, i16 noundef zeroext %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca i16, align 2
%8 = alloca i8, align 1
%9 = alloca i16, align 2
store i32 %0, ptr %5, align 4
store i64 %1, ptr %6, align 8
store i16 %2, ptr %7, align 2
%10 = load i64, ptr %6, align 8
%11 = icmp ne i64 %10, 0
br i1 %11, label %13, label %12
12: ; preds = %3
store i32 -1, ptr %4, align 4
br label %48
13: ; preds = %3
%14 = load i64, ptr %6, align 8
%15 = sdiv i64 %14, 1000000
%16 = mul nsw i64 %15, 63
%17 = sdiv i64 1000000, %16
%18 = trunc i64 %17 to i8
store i8 %18, ptr %8, align 1
%19 = load i64, ptr %6, align 8
%20 = sdiv i64 %19, 1000000
%21 = trunc i64 %20 to i16
store i16 %21, ptr %9, align 2
%22 = load i16, ptr %7, align 2
%23 = zext i16 %22 to i32
%24 = load i16, ptr %9, align 2
%25 = zext i16 %24 to i32
%26 = mul nsw i32 %23, %25
%27 = sext i32 %26 to i64
%28 = srem i64 %27, 1000
%29 = trunc i64 %28 to i16
store i16 %29, ptr %9, align 2
%30 = load i16, ptr %9, align 2
%31 = zext i16 %30 to i32
%32 = load i8, ptr %8, align 1
%33 = zext i8 %32 to i32
%34 = mul nsw i32 %31, %33
%35 = sdiv i32 %34, 1000
%36 = trunc i32 %35 to i16
store i16 %36, ptr %9, align 2
%37 = load i16, ptr %9, align 2
%38 = zext i16 %37 to i32
%39 = shl i32 %38, 8
%40 = add nsw i32 %39, 384
%41 = trunc i32 %40 to i16
store i16 %41, ptr %9, align 2
%42 = load i32, ptr %5, align 4
%43 = load i16, ptr %9, align 2
%44 = zext i16 %43 to i32
%45 = call i32 @ehrpwm_write(i32 noundef %42, i32 noundef 16, i32 noundef %44)
%46 = load i32, ptr %5, align 4
%47 = call i32 @ehrpwm_write(i32 noundef %46, i32 noundef 4160, i32 noundef 2)
store i32 0, ptr %4, align 4
br label %48
48: ; preds = %13, %12
%49 = load i32, ptr %4, align 4
ret i32 %49
}
declare i32 @ehrpwm_write(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/tmpwm1x6cpu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ehrpwm_hr_duty_config(i32 noundef %0, i64 noundef %1, i16 noundef zeroext %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca i16, align 2
%8 = alloca i8, align 1
%9 = alloca i16, align 2
store i32 %0, ptr %5, align 4
store i64 %1, ptr %6, align 8
store i16 %2, ptr %7, align 2
%10 = load i64, ptr %6, align 8
%11 = icmp ne i64 %10, 0
br i1 %11, label %13, label %12
12: ; preds = %3
store i32 -1, ptr %4, align 4
br label %48
13: ; preds = %3
%14 = load i64, ptr %6, align 8
%15 = sdiv i64 %14, 1000000
%16 = mul nsw i64 %15, 63
%17 = sdiv i64 1000000, %16
%18 = trunc i64 %17 to i8
store i8 %18, ptr %8, align 1
%19 = load i64, ptr %6, align 8
%20 = sdiv i64 %19, 1000000
%21 = trunc i64 %20 to i16
store i16 %21, ptr %9, align 2
%22 = load i16, ptr %7, align 2
%23 = zext i16 %22 to i32
%24 = load i16, ptr %9, align 2
%25 = zext i16 %24 to i32
%26 = mul nsw i32 %23, %25
%27 = sext i32 %26 to i64
%28 = srem i64 %27, 1000
%29 = trunc i64 %28 to i16
store i16 %29, ptr %9, align 2
%30 = load i16, ptr %9, align 2
%31 = zext i16 %30 to i32
%32 = load i8, ptr %8, align 1
%33 = zext i8 %32 to i32
%34 = mul nsw i32 %31, %33
%35 = sdiv i32 %34, 1000
%36 = trunc i32 %35 to i16
store i16 %36, ptr %9, align 2
%37 = load i16, ptr %9, align 2
%38 = zext i16 %37 to i32
%39 = shl i32 %38, 8
%40 = add nsw i32 %39, 384
%41 = trunc i32 %40 to i16
store i16 %41, ptr %9, align 2
%42 = load i32, ptr %5, align 4
%43 = load i16, ptr %9, align 2
%44 = zext i16 %43 to i32
%45 = call i32 @ehrpwm_write(i32 noundef %42, i32 noundef 16, i32 noundef %44)
%46 = load i32, ptr %5, align 4
%47 = call i32 @ehrpwm_write(i32 noundef %46, i32 noundef 4160, i32 noundef 2)
store i32 0, ptr %4, align 4
br label %48
48: ; preds = %13, %12
%49 = load i32, ptr %4, align 4
ret i32 %49
}
declare i32 @ehrpwm_write(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/tmp46k9ngo9.c'
source_filename = "/tmp/tmp46k9ngo9.c"
target datalayout = "e-m:e-p270: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/tmp46k9ngo9.c"
target datalayout = "e-m:e-p270: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/tmpei5mw27b.c'
source_filename = "/tmp/tmpei5mw27b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_ij(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [256 x i8], align 16
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 20, ptr %7, align 4
store i32 0, ptr %8, align 4
%11 = load i32, ptr %7, align 4
%12 = zext i32 %11 to i64
%13 = mul i64 %12, 4
%14 = trunc i64 %13 to i32
%15 = call ptr @malloc(i32 noundef %14)
%16 = load ptr, ptr %5, align 8
store ptr %15, ptr %16, align 8
%17 = load i32, ptr %7, align 4
%18 = zext i32 %17 to i64
%19 = mul i64 %18, 4
%20 = trunc i64 %19 to i32
%21 = call ptr @malloc(i32 noundef %20)
%22 = load ptr, ptr %6, align 8
store ptr %21, ptr %22, align 8
br label %23
23: ; preds = %57, %33, %3
%24 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%25 = load ptr, ptr %4, align 8
%26 = call i64 @fgets(ptr noundef %24, i32 noundef 256, ptr noundef %25)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %77
28: ; preds = %23
%29 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%30 = load i8, ptr %29, align 16
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 35
br i1 %32, label %33, label %34
33: ; preds = %28
br label %23, !llvm.loop !6
34: ; preds = %28
%35 = load i32, ptr %8, align 4
%36 = load i32, ptr %7, align 4
%37 = icmp eq i32 %35, %36
br i1 %37, label %38, label %57
38: ; preds = %34
%39 = load i32, ptr %7, align 4
%40 = add i32 %39, 20
store i32 %40, ptr %7, align 4
%41 = load ptr, ptr %5, align 8
%42 = load ptr, ptr %41, align 8
%43 = load i32, ptr %7, align 4
%44 = zext i32 %43 to i64
%45 = mul i64 %44, 4
%46 = trunc i64 %45 to i32
%47 = call ptr @realloc(ptr noundef %42, i32 noundef %46)
%48 = load ptr, ptr %5, align 8
store ptr %47, ptr %48, align 8
%49 = load ptr, ptr %6, align 8
%50 = load ptr, ptr %49, align 8
%51 = load i32, ptr %7, align 4
%52 = zext i32 %51 to i64
%53 = mul i64 %52, 4
%54 = trunc i64 %53 to i32
%55 = call ptr @realloc(ptr noundef %50, i32 noundef %54)
%56 = load ptr, ptr %6, align 8
store ptr %55, ptr %56, align 8
br label %57
57: ; preds = %38, %34
%58 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%59 = call ptr @strtok(ptr noundef %58, ptr noundef @.str)
store ptr %59, ptr %10, align 8
%60 = load ptr, ptr %10, align 8
%61 = call i32 @atoi(ptr noundef %60)
%62 = load ptr, ptr %5, align 8
%63 = load ptr, ptr %62, align 8
%64 = load i32, ptr %8, align 4
%65 = zext i32 %64 to i64
%66 = getelementptr inbounds i32, ptr %63, i64 %65
store i32 %61, ptr %66, align 4
%67 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %67, ptr %10, align 8
%68 = load ptr, ptr %10, align 8
%69 = call i32 @atoi(ptr noundef %68)
%70 = load ptr, ptr %6, align 8
%71 = load ptr, ptr %70, align 8
%72 = load i32, ptr %8, align 4
%73 = zext i32 %72 to i64
%74 = getelementptr inbounds i32, ptr %71, i64 %73
store i32 %69, ptr %74, align 4
%75 = load i32, ptr %8, align 4
%76 = add i32 %75, 1
store i32 %76, ptr %8, align 4
br label %23, !llvm.loop !6
77: ; preds = %23
%78 = load ptr, ptr %5, align 8
%79 = load ptr, ptr %78, align 8
%80 = load i32, ptr %8, align 4
%81 = zext i32 %80 to i64
%82 = mul i64 %81, 4
%83 = trunc i64 %82 to i32
%84 = call ptr @realloc(ptr noundef %79, i32 noundef %83)
%85 = load ptr, ptr %5, align 8
store ptr %84, ptr %85, align 8
%86 = load ptr, ptr %6, align 8
%87 = load ptr, ptr %86, align 8
%88 = load i32, ptr %8, align 4
%89 = zext i32 %88 to i64
%90 = mul i64 %89, 4
%91 = trunc i64 %90 to i32
%92 = call ptr @realloc(ptr noundef %87, i32 noundef %91)
%93 = load ptr, ptr %6, align 8
store ptr %92, ptr %93, align 8
%94 = load i32, ptr %8, align 4
ret i32 %94
}
declare ptr @malloc(i32 noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpei5mw27b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_ij(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [256 x i8], align 16
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 20, ptr %7, align 4
store i32 0, ptr %8, align 4
%11 = load i32, ptr %7, align 4
%12 = zext i32 %11 to i64
%13 = mul i64 %12, 4
%14 = trunc i64 %13 to i32
%15 = call ptr @malloc(i32 noundef %14)
%16 = load ptr, ptr %5, align 8
store ptr %15, ptr %16, align 8
%17 = load i32, ptr %7, align 4
%18 = zext i32 %17 to i64
%19 = mul i64 %18, 4
%20 = trunc i64 %19 to i32
%21 = call ptr @malloc(i32 noundef %20)
%22 = load ptr, ptr %6, align 8
store ptr %21, ptr %22, align 8
%23 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%24 = load ptr, ptr %4, align 8
%25 = call i64 @fgets(ptr noundef %23, i32 noundef 256, ptr noundef %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %.lr.ph, label %79
.lr.ph: ; preds = %3
br label %27
27: ; preds = %.lr.ph, %.backedge
%28 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%29 = load i8, ptr %28, align 16
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 35
br i1 %31, label %32, label %36
32: ; preds = %27
br label %.backedge
.backedge: ; preds = %32, %59
%33 = load ptr, ptr %4, align 8
%34 = call i64 @fgets(ptr noundef %23, i32 noundef 256, ptr noundef %33)
%35 = icmp ne i64 %34, 0
br i1 %35, label %27, label %._crit_edge, !llvm.loop !6
36: ; preds = %27
%37 = load i32, ptr %8, align 4
%38 = load i32, ptr %7, align 4
%39 = icmp eq i32 %37, %38
br i1 %39, label %40, label %59
40: ; preds = %36
%41 = load i32, ptr %7, align 4
%42 = add i32 %41, 20
store i32 %42, ptr %7, align 4
%43 = load ptr, ptr %5, align 8
%44 = load ptr, ptr %43, align 8
%45 = load i32, ptr %7, align 4
%46 = zext i32 %45 to i64
%47 = mul i64 %46, 4
%48 = trunc i64 %47 to i32
%49 = call ptr @realloc(ptr noundef %44, i32 noundef %48)
%50 = load ptr, ptr %5, align 8
store ptr %49, ptr %50, align 8
%51 = load ptr, ptr %6, align 8
%52 = load ptr, ptr %51, align 8
%53 = load i32, ptr %7, align 4
%54 = zext i32 %53 to i64
%55 = mul i64 %54, 4
%56 = trunc i64 %55 to i32
%57 = call ptr @realloc(ptr noundef %52, i32 noundef %56)
%58 = load ptr, ptr %6, align 8
store ptr %57, ptr %58, align 8
br label %59
59: ; preds = %40, %36
%60 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%61 = call ptr @strtok(ptr noundef %60, ptr noundef @.str)
store ptr %61, ptr %10, align 8
%62 = load ptr, ptr %10, align 8
%63 = call i32 @atoi(ptr noundef %62)
%64 = load ptr, ptr %5, align 8
%65 = load ptr, ptr %64, align 8
%66 = load i32, ptr %8, align 4
%67 = zext i32 %66 to i64
%68 = getelementptr inbounds i32, ptr %65, i64 %67
store i32 %63, ptr %68, align 4
%69 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %69, ptr %10, align 8
%70 = load ptr, ptr %10, align 8
%71 = call i32 @atoi(ptr noundef %70)
%72 = load ptr, ptr %6, align 8
%73 = load ptr, ptr %72, align 8
%74 = load i32, ptr %8, align 4
%75 = zext i32 %74 to i64
%76 = getelementptr inbounds i32, ptr %73, i64 %75
store i32 %71, ptr %76, align 4
%77 = load i32, ptr %8, align 4
%78 = add i32 %77, 1
store i32 %78, ptr %8, align 4
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %79
79: ; preds = %._crit_edge, %3
%80 = load ptr, ptr %5, align 8
%81 = load ptr, ptr %80, align 8
%82 = load i32, ptr %8, align 4
%83 = zext i32 %82 to i64
%84 = mul i64 %83, 4
%85 = trunc i64 %84 to i32
%86 = call ptr @realloc(ptr noundef %81, i32 noundef %85)
%87 = load ptr, ptr %5, align 8
store ptr %86, ptr %87, align 8
%88 = load ptr, ptr %6, align 8
%89 = load ptr, ptr %88, align 8
%90 = load i32, ptr %8, align 4
%91 = zext i32 %90 to i64
%92 = mul i64 %91, 4
%93 = trunc i64 %92 to i32
%94 = call ptr @realloc(ptr noundef %89, i32 noundef %93)
%95 = load ptr, ptr %6, align 8
store ptr %94, ptr %95, align 8
%96 = load i32, ptr %8, align 4
ret i32 %96
}
declare ptr @malloc(i32 noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpzfxcr3c7.c'
source_filename = "/tmp/tmpzfxcr3c7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @octave_umask_wrapper(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 @umask(i32 noundef %3)
ret i32 %4
}
declare i32 @umask(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzfxcr3c7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @octave_umask_wrapper(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 @umask(i32 noundef %3)
ret i32 %4
}
declare i32 @umask(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy_ybgyx3.c'
source_filename = "/tmp/tmpy_ybgyx3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"HTTP/1.1 403 Forbidden\0ADate: \00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"\0AContent-Type: text/html\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"Content-Length: 130\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"<html><body>\0A<h2>Permission Denied\00", align 1
@.str.4 = private unnamed_addr constant [36 x i8] c"</h2>\0AYou asked for a document you \00", align 1
@.str.5 = private unnamed_addr constant [39 x i8] c"are not permitted to see. It sucks to \00", align 1
@.str.6 = private unnamed_addr constant [23 x i8] c"be you.\0A</body></html>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_FORBIDDEN(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [4096 x i8], align 16
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 4096, i1 false)
%6 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%7 = call i32 @strcat(ptr noundef %6, ptr noundef @.str)
%8 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strcat(ptr noundef %8, ptr noundef %9)
%11 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%12 = call i32 @strcat(ptr noundef %11, ptr noundef @.str.1)
%13 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%14 = call i32 @strcat(ptr noundef %13, ptr noundef @.str.2)
%15 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%16 = call i32 @strcat(ptr noundef %15, ptr noundef @.str.3)
%17 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%18 = call i32 @strcat(ptr noundef %17, ptr noundef @.str.4)
%19 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%20 = call i32 @strcat(ptr noundef %19, ptr noundef @.str.5)
%21 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%22 = call i32 @strcat(ptr noundef %21, ptr noundef @.str.6)
%23 = load i32, ptr %3, align 4
%24 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%25 = call i32 @write_to_client(i32 noundef %23, ptr noundef %24)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @strcat(ptr noundef, ptr noundef) #2
declare i32 @write_to_client(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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy_ybgyx3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"HTTP/1.1 403 Forbidden\0ADate: \00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"\0AContent-Type: text/html\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"Content-Length: 130\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"<html><body>\0A<h2>Permission Denied\00", align 1
@.str.4 = private unnamed_addr constant [36 x i8] c"</h2>\0AYou asked for a document you \00", align 1
@.str.5 = private unnamed_addr constant [39 x i8] c"are not permitted to see. It sucks to \00", align 1
@.str.6 = private unnamed_addr constant [23 x i8] c"be you.\0A</body></html>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_FORBIDDEN(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [4096 x i8], align 16
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 4096, i1 false)
%6 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%7 = call i32 @strcat(ptr noundef %6, ptr noundef @.str)
%8 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strcat(ptr noundef %8, ptr noundef %9)
%11 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%12 = call i32 @strcat(ptr noundef %11, ptr noundef @.str.1)
%13 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%14 = call i32 @strcat(ptr noundef %13, ptr noundef @.str.2)
%15 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%16 = call i32 @strcat(ptr noundef %15, ptr noundef @.str.3)
%17 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%18 = call i32 @strcat(ptr noundef %17, ptr noundef @.str.4)
%19 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%20 = call i32 @strcat(ptr noundef %19, ptr noundef @.str.5)
%21 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%22 = call i32 @strcat(ptr noundef %21, ptr noundef @.str.6)
%23 = load i32, ptr %3, align 4
%24 = getelementptr inbounds [4096 x i8], ptr %5, i64 0, i64 0
%25 = call i32 @write_to_client(i32 noundef %23, ptr noundef %24)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @strcat(ptr noundef, ptr noundef) #2
declare i32 @write_to_client(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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm1_khouq.c'
source_filename = "/tmp/tmpm1_khouq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extract(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = load ptr, ptr %7, align 8
%12 = load i32, ptr %8, align 4
%13 = call i32 @read_archive(i32 noundef %9, i32 noundef %10, ptr noundef %11, i8 noundef signext 120, i32 noundef %12)
ret void
}
declare i32 @read_archive(i32 noundef, i32 noundef, ptr noundef, i8 noundef signext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm1_khouq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extract(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = load ptr, ptr %7, align 8
%12 = load i32, ptr %8, align 4
%13 = call i32 @read_archive(i32 noundef %9, i32 noundef %10, ptr noundef %11, i8 noundef signext 120, i32 noundef %12)
ret void
}
declare i32 @read_archive(i32 noundef, i32 noundef, ptr noundef, i8 noundef signext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx3kxdl1t.c'
source_filename = "/tmp/tmpx3kxdl1t.c"
target datalayout = "e-m:e-p270: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/tmpx3kxdl1t.c"
target datalayout = "e-m:e-p270: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/tmpy7d8z8by.c'
source_filename = "/tmp/tmpy7d8z8by.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"INFO - %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @logger_info(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/tmpy7d8z8by.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"INFO - %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @logger_info(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/tmp707m6vp9.c'
source_filename = "/tmp/tmp707m6vp9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"0123456789abcdef\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_hex_memory(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %8, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp ult i32 %9, %10
br i1 %11, label %12, label %41
12: ; preds = %3
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %14, align 4
%16 = zext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %13, i64 %16
%18 = load i8, ptr %17, align 1
%19 = zext i8 %18 to i32
%20 = call i32 @ft_putnbr_base(i32 noundef %19, ptr noundef @.str)
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %21, align 4
%23 = add i32 %22, 1
%24 = load i32, ptr %6, align 4
%25 = icmp ult i32 %23, %24
br i1 %25, label %26, label %36
26: ; preds = %12
%27 = load ptr, ptr %5, align 8
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %28, align 4
%30 = add i32 %29, 1
%31 = zext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %27, i64 %31
%33 = load i8, ptr %32, align 1
%34 = zext i8 %33 to i32
%35 = call i32 @ft_putnbr_base(i32 noundef %34, ptr noundef @.str)
br label %39
36: ; preds = %12
%37 = call i32 @ft_putchar(i8 noundef signext 32)
%38 = call i32 @ft_putchar(i8 noundef signext 32)
br label %39
39: ; preds = %36, %26
%40 = call i32 @ft_putchar(i8 noundef signext 32)
br label %49
41: ; preds = %3
store i32 0, ptr %7, align 4
br label %42
42: ; preds = %46, %41
%43 = load i32, ptr %7, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %7, align 4
%45 = icmp slt i32 %43, 5
br i1 %45, label %46, label %48
46: ; preds = %42
%47 = call i32 @ft_putchar(i8 noundef signext 32)
br label %42, !llvm.loop !6
48: ; preds = %42
br label %49
49: ; preds = %48, %39
%50 = load ptr, ptr %4, align 8
%51 = load i32, ptr %50, align 4
%52 = add i32 %51, 2
%53 = load ptr, ptr %4, align 8
store i32 %52, ptr %53, align 4
ret void
}
declare i32 @ft_putnbr_base(i32 noundef, ptr noundef) #1
declare i32 @ft_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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp707m6vp9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"0123456789abcdef\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_hex_memory(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %8, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp ult i32 %9, %10
br i1 %11, label %12, label %41
12: ; preds = %3
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %14, align 4
%16 = zext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %13, i64 %16
%18 = load i8, ptr %17, align 1
%19 = zext i8 %18 to i32
%20 = call i32 @ft_putnbr_base(i32 noundef %19, ptr noundef @.str)
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %21, align 4
%23 = add i32 %22, 1
%24 = load i32, ptr %6, align 4
%25 = icmp ult i32 %23, %24
br i1 %25, label %26, label %36
26: ; preds = %12
%27 = load ptr, ptr %5, align 8
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %28, align 4
%30 = add i32 %29, 1
%31 = zext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %27, i64 %31
%33 = load i8, ptr %32, align 1
%34 = zext i8 %33 to i32
%35 = call i32 @ft_putnbr_base(i32 noundef %34, ptr noundef @.str)
br label %39
36: ; preds = %12
%37 = call i32 @ft_putchar(i8 noundef signext 32)
%38 = call i32 @ft_putchar(i8 noundef signext 32)
br label %39
39: ; preds = %36, %26
%40 = call i32 @ft_putchar(i8 noundef signext 32)
br label %51
41: ; preds = %3
store i32 0, ptr %7, align 4
%42 = load i32, ptr %7, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %7, align 4
%44 = icmp slt i32 %42, 5
br i1 %44, label %.lr.ph, label %50
.lr.ph: ; preds = %41
br label %45
45: ; preds = %.lr.ph, %45
%46 = call i32 @ft_putchar(i8 noundef signext 32)
%47 = load i32, ptr %7, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %7, align 4
%49 = icmp slt i32 %47, 5
br i1 %49, label %45, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %45
br label %50
50: ; preds = %._crit_edge, %41
br label %51
51: ; preds = %50, %39
%52 = load ptr, ptr %4, align 8
%53 = load i32, ptr %52, align 4
%54 = add i32 %53, 2
%55 = load ptr, ptr %4, align 8
store i32 %54, ptr %55, align 4
ret void
}
declare i32 @ft_putnbr_base(i32 noundef, ptr noundef) #1
declare i32 @ft_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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpltj2k6xv.c'
source_filename = "/tmp/tmpltj2k6xv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"shm-sync\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @setup_parent(ptr noundef @.str, i32 noundef %5, ptr noundef %6)
ret i32 0
}
declare i32 @setup_parent(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpltj2k6xv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"shm-sync\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @setup_parent(ptr noundef @.str, i32 noundef %5, ptr noundef %6)
ret i32 0
}
declare i32 @setup_parent(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm88pchc5.c'
source_filename = "/tmp/tmpm88pchc5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @psw_encrypt(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i8, align 1
%12 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%13 = load ptr, ptr %6, align 8
%14 = call i32 @strlen(ptr noundef %13)
store i32 %14, ptr %7, align 4
%15 = load ptr, ptr %6, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 0
%17 = load i8, ptr %16, align 1
store i8 %17, ptr %12, align 1
store i32 0, ptr %9, align 4
store i32 0, ptr %8, align 4
br label %18
18: ; preds = %103, %3
%19 = load i32, ptr %8, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %106
22: ; preds = %18
%23 = load ptr, ptr %6, align 8
%24 = load i32, ptr %9, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
store i8 %27, ptr %11, align 1
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %8, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = zext i8 %32 to i32
%34 = load i8, ptr %11, align 1
%35 = zext i8 %34 to i32
%36 = xor i32 %33, %35
%37 = load i32, ptr %9, align 4
%38 = sub nsw i32 %36, %37
%39 = trunc i32 %38 to i8
%40 = load ptr, ptr %4, align 8
%41 = load i32, ptr %8, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
store i8 %39, ptr %43, align 1
%44 = load i8, ptr %12, align 1
%45 = zext i8 %44 to i32
%46 = srem i32 %45, 8
store i32 %46, ptr %10, align 4
%47 = load ptr, ptr %4, align 8
%48 = load i32, ptr %8, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
%51 = load i8, ptr %50, align 1
%52 = zext i8 %51 to i32
%53 = load i32, ptr %10, align 4
%54 = ashr i32 %52, %53
%55 = load ptr, ptr %4, align 8
%56 = load i32, ptr %8, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
%59 = load i8, ptr %58, align 1
%60 = zext i8 %59 to i32
%61 = load i32, ptr %10, align 4
%62 = sub nsw i32 8, %61
%63 = shl i32 %60, %62
%64 = and i32 %63, 255
%65 = add nsw i32 %54, %64
%66 = trunc i32 %65 to i8
%67 = load ptr, ptr %4, align 8
%68 = load i32, ptr %8, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %67, i64 %69
store i8 %66, ptr %70, align 1
%71 = load i8, ptr %12, align 1
%72 = zext i8 %71 to i32
%73 = load ptr, ptr %6, align 8
%74 = load i32, ptr %7, align 4
%75 = load i32, ptr %9, align 4
%76 = sub nsw i32 %74, %75
%77 = sub nsw i32 %76, 1
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i8, ptr %73, i64 %78
%80 = load i8, ptr %79, align 1
%81 = zext i8 %80 to i32
%82 = add nsw i32 %72, %81
%83 = load ptr, ptr %4, align 8
%84 = load i32, ptr %8, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i8, ptr %83, i64 %85
%87 = load i8, ptr %86, align 1
%88 = zext i8 %87 to i32
%89 = xor i32 %88, %82
%90 = trunc i32 %89 to i8
store i8 %90, ptr %86, align 1
%91 = load ptr, ptr %6, align 8
%92 = load i32, ptr %9, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i8, ptr %91, i64 %93
%95 = load i8, ptr %94, align 1
store i8 %95, ptr %12, align 1
%96 = load i32, ptr %9, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %9, align 4
%98 = load i32, ptr %9, align 4
%99 = load i32, ptr %7, align 4
%100 = icmp eq i32 %98, %99
br i1 %100, label %101, label %102
101: ; preds = %22
store i32 0, ptr %9, align 4
br label %102
102: ; preds = %101, %22
br label %103
103: ; preds = %102
%104 = load i32, ptr %8, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %8, align 4
br label %18, !llvm.loop !6
106: ; preds = %18
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm88pchc5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @psw_encrypt(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i8, align 1
%12 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%13 = load ptr, ptr %6, align 8
%14 = call i32 @strlen(ptr noundef %13)
store i32 %14, ptr %7, align 4
%15 = load ptr, ptr %6, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 0
%17 = load i8, ptr %16, align 1
store i8 %17, ptr %12, align 1
store i32 0, ptr %9, align 4
store i32 0, ptr %8, align 4
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %5, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %108
.lr.ph: ; preds = %3
br label %21
21: ; preds = %.lr.ph, %102
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %9, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
store i8 %26, ptr %11, align 1
%27 = load ptr, ptr %4, align 8
%28 = load i32, ptr %8, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = zext i8 %31 to i32
%33 = load i8, ptr %11, align 1
%34 = zext i8 %33 to i32
%35 = xor i32 %32, %34
%36 = load i32, ptr %9, align 4
%37 = sub nsw i32 %35, %36
%38 = trunc i32 %37 to i8
%39 = load ptr, ptr %4, align 8
%40 = load i32, ptr %8, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
store i8 %38, ptr %42, align 1
%43 = load i8, ptr %12, align 1
%44 = zext i8 %43 to i32
%45 = srem i32 %44, 8
store i32 %45, ptr %10, align 4
%46 = load ptr, ptr %4, align 8
%47 = load i32, ptr %8, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %46, i64 %48
%50 = load i8, ptr %49, align 1
%51 = zext i8 %50 to i32
%52 = load i32, ptr %10, align 4
%53 = ashr i32 %51, %52
%54 = load ptr, ptr %4, align 8
%55 = load i32, ptr %8, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
%58 = load i8, ptr %57, align 1
%59 = zext i8 %58 to i32
%60 = load i32, ptr %10, align 4
%61 = sub nsw i32 8, %60
%62 = shl i32 %59, %61
%63 = and i32 %62, 255
%64 = add nsw i32 %53, %63
%65 = trunc i32 %64 to i8
%66 = load ptr, ptr %4, align 8
%67 = load i32, ptr %8, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i8, ptr %66, i64 %68
store i8 %65, ptr %69, align 1
%70 = load i8, ptr %12, align 1
%71 = zext i8 %70 to i32
%72 = load ptr, ptr %6, align 8
%73 = load i32, ptr %7, align 4
%74 = load i32, ptr %9, align 4
%75 = sub nsw i32 %73, %74
%76 = sub nsw i32 %75, 1
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i8, ptr %72, i64 %77
%79 = load i8, ptr %78, align 1
%80 = zext i8 %79 to i32
%81 = add nsw i32 %71, %80
%82 = load ptr, ptr %4, align 8
%83 = load i32, ptr %8, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i8, ptr %82, i64 %84
%86 = load i8, ptr %85, align 1
%87 = zext i8 %86 to i32
%88 = xor i32 %87, %81
%89 = trunc i32 %88 to i8
store i8 %89, ptr %85, align 1
%90 = load ptr, ptr %6, align 8
%91 = load i32, ptr %9, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i8, ptr %90, i64 %92
%94 = load i8, ptr %93, align 1
store i8 %94, ptr %12, align 1
%95 = load i32, ptr %9, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %9, align 4
%97 = load i32, ptr %9, align 4
%98 = load i32, ptr %7, align 4
%99 = icmp eq i32 %97, %98
br i1 %99, label %100, label %101
100: ; preds = %21
store i32 0, ptr %9, align 4
br label %101
101: ; preds = %100, %21
br label %102
102: ; preds = %101
%103 = load i32, ptr %8, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %8, align 4
%105 = load i32, ptr %8, align 4
%106 = load i32, ptr %5, align 4
%107 = icmp slt i32 %105, %106
br i1 %107, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %102
br label %108
108: ; preds = %._crit_edge, %3
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpne5ktvxv.c'
source_filename = "/tmp/tmpne5ktvxv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_strcpy(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %6, align 4
store i32 0, ptr %5, align 4
br label %9
9: ; preds = %23, %2
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %26
13: ; preds = %9
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
store i8 %18, ptr %22, align 1
br label %23
23: ; preds = %13
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %5, align 4
br label %9, !llvm.loop !6
26: ; preds = %9
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpne5ktvxv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_strcpy(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %6, align 4
store i32 0, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %28
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %22
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
store i8 %17, ptr %21, align 1
br label %22
22: ; preds = %12
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %5, align 4
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %2
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfq5lvmem.c'
source_filename = "/tmp/tmpfq5lvmem.c"
target datalayout = "e-m:e-p270: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/tmpfq5lvmem.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_1pi8v7x.c'
source_filename = "/tmp/tmp_1pi8v7x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy_str(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
store ptr null, ptr %2, align 8
br label %17
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strlen(ptr noundef %9)
%11 = add nsw i64 %10, 1
%12 = call ptr @malloc(i64 noundef %11)
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %3, align 8
%15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14)
%16 = load ptr, ptr %4, align 8
store ptr %16, ptr %2, align 8
br label %17
17: ; preds = %8, %7
%18 = load ptr, ptr %2, align 8
ret ptr %18
}
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_1pi8v7x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy_str(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
store ptr null, ptr %2, align 8
br label %17
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strlen(ptr noundef %9)
%11 = add nsw i64 %10, 1
%12 = call ptr @malloc(i64 noundef %11)
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %3, align 8
%15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14)
%16 = load ptr, ptr %4, align 8
store ptr %16, ptr %2, align 8
br label %17
17: ; preds = %8, %7
%18 = load ptr, ptr %2, align 8
ret ptr %18
}
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxq2e28kh.c'
source_filename = "/tmp/tmpxq2e28kh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @deldrive(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 @index(ptr noundef %4, i32 noundef 58)
store ptr %5, ptr %3, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %12
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 1
%11 = call i32 @strcpy(ptr noundef %8, ptr noundef %10)
br label %12
12: ; preds = %7, %1
ret void
}
declare ptr @index(ptr noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxq2e28kh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @deldrive(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 @index(ptr noundef %4, i32 noundef 58)
store ptr %5, ptr %3, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %12
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 1
%11 = call i32 @strcpy(ptr noundef %8, ptr noundef %10)
br label %12
12: ; preds = %7, %1
ret void
}
declare ptr @index(ptr noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp17yl24k2.c'
source_filename = "/tmp/tmp17yl24k2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"|\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_clone_flags(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store ptr null, ptr %4, align 8
%5 = load ptr, ptr %2, align 8
%6 = call ptr @strtok(ptr noundef %5, ptr noundef @.str)
store ptr %6, ptr %4, align 8
br label %7
7: ; preds = %10, %1
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %16
10: ; preds = %7
%11 = load ptr, ptr %4, align 8
%12 = call i32 @read_clone_flag(ptr noundef %11)
%13 = load i32, ptr %3, align 4
%14 = or i32 %13, %12
store i32 %14, ptr %3, align 4
%15 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %15, ptr %4, align 8
br label %7, !llvm.loop !6
16: ; preds = %7
%17 = load i32, ptr %3, align 4
ret i32 %17
}
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @read_clone_flag(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp17yl24k2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"|\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_clone_flags(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store ptr null, ptr %4, align 8
%5 = load ptr, ptr %2, align 8
%6 = call ptr @strtok(ptr noundef %5, ptr noundef @.str)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %.lr.ph, label %17
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %9
%10 = load ptr, ptr %4, align 8
%11 = call i32 @read_clone_flag(ptr noundef %10)
%12 = load i32, ptr %3, align 4
%13 = or i32 %12, %11
store i32 %13, ptr %3, align 4
%14 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %14, ptr %4, align 8
%15 = load ptr, ptr %4, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %17
17: ; preds = %._crit_edge, %1
%18 = load i32, ptr %3, align 4
ret i32 %18
}
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @read_clone_flag(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp9xnmuy7p.c'
source_filename = "/tmp/tmp9xnmuy7p.c"
target datalayout = "e-m:e-p270: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/tmp9xnmuy7p.c"
target datalayout = "e-m:e-p270: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/tmp2yg20zdc.c'
source_filename = "/tmp/tmp2yg20zdc.c"
target datalayout = "e-m:e-p270: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.ether_addr = type { ptr }
@ether_aton.ep = internal global ptr null, align 8
@.str = private unnamed_addr constant [19 x i8] c" %x:%x:%x:%x:%x:%x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ether_aton(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [6 x i32], align 16
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr @ether_aton.ep, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %15
8: ; preds = %1
%9 = call i64 @calloc(i32 noundef 1, i32 noundef 8)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr @ether_aton.ep, align 8
%11 = load ptr, ptr @ether_aton.ep, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %14
13: ; preds = %8
store ptr null, ptr %2, align 8
br label %47
14: ; preds = %8
br label %15
15: ; preds = %14, %1
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 0
%18 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 1
%19 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 2
%20 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 3
%21 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 4
%22 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 5
%23 = call i32 @sscanf(ptr noundef %16, ptr noundef @.str, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22)
store i32 %23, ptr %4, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp ne i32 %24, 6
br i1 %25, label %26, label %27
26: ; preds = %15
store ptr null, ptr %2, align 8
br label %47
27: ; preds = %15
store i32 0, ptr %4, align 4
br label %28
28: ; preds = %42, %27
%29 = load i32, ptr %4, align 4
%30 = icmp slt i32 %29, 6
br i1 %30, label %31, label %45
31: ; preds = %28
%32 = load i32, ptr %4, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 %33
%35 = load i32, ptr %34, align 4
%36 = load ptr, ptr @ether_aton.ep, align 8
%37 = getelementptr inbounds %struct.ether_addr, ptr %36, i32 0, i32 0
%38 = load ptr, ptr %37, align 8
%39 = load i32, ptr %4, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
store i32 %35, ptr %41, align 4
br label %42
42: ; preds = %31
%43 = load i32, ptr %4, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %4, align 4
br label %28, !llvm.loop !6
45: ; preds = %28
%46 = load ptr, ptr @ether_aton.ep, align 8
store ptr %46, ptr %2, align 8
br label %47
47: ; preds = %45, %26, %13
%48 = load ptr, ptr %2, align 8
ret ptr %48
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2yg20zdc.c"
target datalayout = "e-m:e-p270: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.ether_addr = type { ptr }
@ether_aton.ep = internal global ptr null, align 8
@.str = private unnamed_addr constant [19 x i8] c" %x:%x:%x:%x:%x:%x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ether_aton(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [6 x i32], align 16
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr @ether_aton.ep, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %15
8: ; preds = %1
%9 = call i64 @calloc(i32 noundef 1, i32 noundef 8)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr @ether_aton.ep, align 8
%11 = load ptr, ptr @ether_aton.ep, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %14
13: ; preds = %8
store ptr null, ptr %2, align 8
br label %48
14: ; preds = %8
br label %15
15: ; preds = %14, %1
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 0
%18 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 1
%19 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 2
%20 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 3
%21 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 4
%22 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 5
%23 = call i32 @sscanf(ptr noundef %16, ptr noundef @.str, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22)
store i32 %23, ptr %4, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp ne i32 %24, 6
br i1 %25, label %26, label %27
26: ; preds = %15
store ptr null, ptr %2, align 8
br label %48
27: ; preds = %15
store i32 0, ptr %4, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp slt i32 %28, 6
br i1 %29, label %.lr.ph, label %46
.lr.ph: ; preds = %27
br label %30
30: ; preds = %.lr.ph, %41
%31 = load i32, ptr %4, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [6 x i32], ptr %5, i64 0, i64 %32
%34 = load i32, ptr %33, align 4
%35 = load ptr, ptr @ether_aton.ep, align 8
%36 = getelementptr inbounds %struct.ether_addr, ptr %35, i32 0, i32 0
%37 = load ptr, ptr %36, align 8
%38 = load i32, ptr %4, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
store i32 %34, ptr %40, align 4
br label %41
41: ; preds = %30
%42 = load i32, ptr %4, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %4, align 4
%44 = load i32, ptr %4, align 4
%45 = icmp slt i32 %44, 6
br i1 %45, label %30, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %46
46: ; preds = %._crit_edge, %27
%47 = load ptr, ptr @ether_aton.ep, align 8
store ptr %47, ptr %2, align 8
br label %48
48: ; preds = %46, %26, %13
%49 = load ptr, ptr %2, align 8
ret ptr %49
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpbo73ulnw.c'
source_filename = "/tmp/tmpbo73ulnw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"ERROR [line: %d] %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @error(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [256 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %3, align 8
%9 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef %7, ptr noundef %8)
%10 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%11 = call i32 @perror(ptr noundef %10)
%12 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @perror(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/tmpbo73ulnw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"ERROR [line: %d] %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @error(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [256 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %3, align 8
%9 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef %7, ptr noundef %8)
%10 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%11 = call i32 @perror(ptr noundef %10)
%12 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @perror(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/tmpvwd7cqe2.c'
source_filename = "/tmp/tmpvwd7cqe2.c"
target datalayout = "e-m:e-p270: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.usbdevfs_bulktransfer = type { i32, i32, i64, ptr, i32 }
@USBDEVFS_BULK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dobulk(i32 noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca %struct.usbdevfs_bulktransfer, align 8
%11 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
call void @llvm.memset.p0.i64(ptr align 8 %10, i8 0, i64 32, i1 false)
%12 = load i32, ptr %6, align 4
%13 = getelementptr inbounds %struct.usbdevfs_bulktransfer, ptr %10, i32 0, i32 0
store i32 %12, ptr %13, align 8
%14 = getelementptr inbounds %struct.usbdevfs_bulktransfer, ptr %10, i32 0, i32 1
store i32 1000, ptr %14, align 4
%15 = load i64, ptr %8, align 8
%16 = getelementptr inbounds %struct.usbdevfs_bulktransfer, ptr %10, i32 0, i32 2
store i64 %15, ptr %16, align 8
%17 = load ptr, ptr %7, align 8
%18 = getelementptr inbounds %struct.usbdevfs_bulktransfer, ptr %10, i32 0, i32 3
store ptr %17, ptr %18, align 8
%19 = load i32, ptr @USBDEVFS_BULK, align 4
%20 = load ptr, ptr %9, align 8
%21 = call i32 @doioctl(i32 noundef %19, ptr noundef %10, ptr noundef %20)
store i32 %21, ptr %11, align 4
%22 = load i32, ptr %11, align 4
%23 = icmp sge i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %4
%25 = load i32, ptr %11, align 4
store i32 %25, ptr %5, align 4
br label %27
26: ; preds = %4
store i32 -1, ptr %5, align 4
br label %27
27: ; preds = %26, %24
%28 = load i32, ptr %5, align 4
ret i32 %28
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @doioctl(i32 noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvwd7cqe2.c"
target datalayout = "e-m:e-p270: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.usbdevfs_bulktransfer = type { i32, i32, i64, ptr, i32 }
@USBDEVFS_BULK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dobulk(i32 noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca %struct.usbdevfs_bulktransfer, align 8
%11 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
call void @llvm.memset.p0.i64(ptr align 8 %10, i8 0, i64 32, i1 false)
%12 = load i32, ptr %6, align 4
%13 = getelementptr inbounds %struct.usbdevfs_bulktransfer, ptr %10, i32 0, i32 0
store i32 %12, ptr %13, align 8
%14 = getelementptr inbounds %struct.usbdevfs_bulktransfer, ptr %10, i32 0, i32 1
store i32 1000, ptr %14, align 4
%15 = load i64, ptr %8, align 8
%16 = getelementptr inbounds %struct.usbdevfs_bulktransfer, ptr %10, i32 0, i32 2
store i64 %15, ptr %16, align 8
%17 = load ptr, ptr %7, align 8
%18 = getelementptr inbounds %struct.usbdevfs_bulktransfer, ptr %10, i32 0, i32 3
store ptr %17, ptr %18, align 8
%19 = load i32, ptr @USBDEVFS_BULK, align 4
%20 = load ptr, ptr %9, align 8
%21 = call i32 @doioctl(i32 noundef %19, ptr noundef %10, ptr noundef %20)
store i32 %21, ptr %11, align 4
%22 = load i32, ptr %11, align 4
%23 = icmp sge i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %4
%25 = load i32, ptr %11, align 4
store i32 %25, ptr %5, align 4
br label %27
26: ; preds = %4
store i32 -1, ptr %5, align 4
br label %27
27: ; preds = %26, %24
%28 = load i32, ptr %5, align 4
ret i32 %28
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @doioctl(i32 noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9_42vv5k.c'
source_filename = "/tmp/tmp9_42vv5k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"4islo\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"\0A%f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%12 = load float, ptr %2, align 4
store float %12, ptr %5, align 4
%13 = load float, ptr %3, align 4
%14 = load float, ptr %2, align 4
%15 = fcmp ogt float %13, %14
br i1 %15, label %16, label %18
16: ; preds = %0
%17 = load float, ptr %3, align 4
store float %17, ptr %5, align 4
br label %18
18: ; preds = %16, %0
%19 = load float, ptr %4, align 4
%20 = load float, ptr %5, align 4
%21 = fcmp ogt float %19, %20
br i1 %21, label %22, label %24
22: ; preds = %18
%23 = load float, ptr %4, align 4
store float %23, ptr %5, align 4
br label %24
24: ; preds = %22, %18
%25 = load float, ptr %5, align 4
%26 = fpext float %25 to double
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %26)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9_42vv5k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"4islo\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"\0A%f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%12 = load float, ptr %2, align 4
store float %12, ptr %5, align 4
%13 = load float, ptr %3, align 4
%14 = load float, ptr %2, align 4
%15 = fcmp ogt float %13, %14
br i1 %15, label %16, label %18
16: ; preds = %0
%17 = load float, ptr %3, align 4
store float %17, ptr %5, align 4
br label %18
18: ; preds = %16, %0
%19 = load float, ptr %4, align 4
%20 = load float, ptr %5, align 4
%21 = fcmp ogt float %19, %20
br i1 %21, label %22, label %24
22: ; preds = %18
%23 = load float, ptr %4, align 4
store float %23, ptr %5, align 4
br label %24
24: ; preds = %22, %18
%25 = load float, ptr %5, align 4
%26 = fpext float %25 to double
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %26)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyjq1kuny.c'
source_filename = "/tmp/tmpyjq1kuny.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [171 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/grantathon/computational_fluid_dynamics/refs/heads/master/03_assignment/helper.c\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"Storage cannot be allocated\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @matrix(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %5, align 4
%16 = sub nsw i32 %14, %15
%17 = add nsw i32 %16, 1
store i32 %17, ptr %10, align 4
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %7, align 4
%20 = sub nsw i32 %18, %19
%21 = add nsw i32 %20, 1
store i32 %21, ptr %11, align 4
%22 = load i32, ptr %10, align 4
%23 = sext i32 %22 to i64
%24 = mul i64 %23, 8
%25 = call i64 @malloc(i64 noundef %24)
%26 = inttoptr i64 %25 to ptr
store ptr %26, ptr %12, align 8
%27 = load i32, ptr %10, align 4
%28 = load i32, ptr %11, align 4
%29 = mul nsw i32 %27, %28
%30 = sext i32 %29 to i64
%31 = mul i64 %30, 8
%32 = call i64 @malloc(i64 noundef %31)
%33 = inttoptr i64 %32 to ptr
store ptr %33, ptr %13, align 8
%34 = load ptr, ptr %12, align 8
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %38
36: ; preds = %4
%37 = call i32 @errhandler(i32 noundef 340, ptr noundef @.str, ptr noundef @.str.1)
br label %38
38: ; preds = %36, %4
%39 = load ptr, ptr %13, align 8
%40 = icmp eq ptr %39, null
br i1 %40, label %41, label %43
41: ; preds = %38
%42 = call i32 @errhandler(i32 noundef 341, ptr noundef @.str, ptr noundef @.str.1)
br label %43
43: ; preds = %41, %38
%44 = load ptr, ptr %13, align 8
%45 = load i32, ptr %7, align 4
%46 = sext i32 %45 to i64
%47 = sub i64 0, %46
%48 = getelementptr inbounds double, ptr %44, i64 %47
%49 = load ptr, ptr %12, align 8
%50 = getelementptr inbounds ptr, ptr %49, i64 0
store ptr %48, ptr %50, align 8
store i32 1, ptr %9, align 4
br label %51
51: ; preds = %69, %43
%52 = load i32, ptr %9, align 4
%53 = load i32, ptr %10, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %55, label %72
55: ; preds = %51
%56 = load ptr, ptr %12, align 8
%57 = load i32, ptr %9, align 4
%58 = sub nsw i32 %57, 1
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds ptr, ptr %56, i64 %59
%61 = load ptr, ptr %60, align 8
%62 = load i32, ptr %11, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds double, ptr %61, i64 %63
%65 = load ptr, ptr %12, align 8
%66 = load i32, ptr %9, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds ptr, ptr %65, i64 %67
store ptr %64, ptr %68, align 8
br label %69
69: ; preds = %55
%70 = load i32, ptr %9, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %9, align 4
br label %51, !llvm.loop !6
72: ; preds = %51
%73 = load ptr, ptr %12, align 8
%74 = load i32, ptr %5, align 4
%75 = sext i32 %74 to i64
%76 = sub i64 0, %75
%77 = getelementptr inbounds ptr, ptr %73, i64 %76
ret ptr %77
}
declare i64 @malloc(i64 noundef) #1
declare i32 @errhandler(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyjq1kuny.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [171 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/grantathon/computational_fluid_dynamics/refs/heads/master/03_assignment/helper.c\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"Storage cannot be allocated\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @matrix(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %5, align 4
%16 = sub nsw i32 %14, %15
%17 = add nsw i32 %16, 1
store i32 %17, ptr %10, align 4
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %7, align 4
%20 = sub nsw i32 %18, %19
%21 = add nsw i32 %20, 1
store i32 %21, ptr %11, align 4
%22 = load i32, ptr %10, align 4
%23 = sext i32 %22 to i64
%24 = mul i64 %23, 8
%25 = call i64 @malloc(i64 noundef %24)
%26 = inttoptr i64 %25 to ptr
store ptr %26, ptr %12, align 8
%27 = load i32, ptr %10, align 4
%28 = load i32, ptr %11, align 4
%29 = mul nsw i32 %27, %28
%30 = sext i32 %29 to i64
%31 = mul i64 %30, 8
%32 = call i64 @malloc(i64 noundef %31)
%33 = inttoptr i64 %32 to ptr
store ptr %33, ptr %13, align 8
%34 = load ptr, ptr %12, align 8
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %38
36: ; preds = %4
%37 = call i32 @errhandler(i32 noundef 340, ptr noundef @.str, ptr noundef @.str.1)
br label %38
38: ; preds = %36, %4
%39 = load ptr, ptr %13, align 8
%40 = icmp eq ptr %39, null
br i1 %40, label %41, label %43
41: ; preds = %38
%42 = call i32 @errhandler(i32 noundef 341, ptr noundef @.str, ptr noundef @.str.1)
br label %43
43: ; preds = %41, %38
%44 = load ptr, ptr %13, align 8
%45 = load i32, ptr %7, align 4
%46 = sext i32 %45 to i64
%47 = sub i64 0, %46
%48 = getelementptr inbounds double, ptr %44, i64 %47
%49 = load ptr, ptr %12, align 8
%50 = getelementptr inbounds ptr, ptr %49, i64 0
store ptr %48, ptr %50, align 8
store i32 1, ptr %9, align 4
%51 = load i32, ptr %9, align 4
%52 = load i32, ptr %10, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %.lr.ph, label %74
.lr.ph: ; preds = %43
br label %54
54: ; preds = %.lr.ph, %68
%55 = load ptr, ptr %12, align 8
%56 = load i32, ptr %9, align 4
%57 = sub nsw i32 %56, 1
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds ptr, ptr %55, i64 %58
%60 = load ptr, ptr %59, align 8
%61 = load i32, ptr %11, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds double, ptr %60, i64 %62
%64 = load ptr, ptr %12, align 8
%65 = load i32, ptr %9, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds ptr, ptr %64, i64 %66
store ptr %63, ptr %67, align 8
br label %68
68: ; preds = %54
%69 = load i32, ptr %9, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %9, align 4
%71 = load i32, ptr %9, align 4
%72 = load i32, ptr %10, align 4
%73 = icmp slt i32 %71, %72
br i1 %73, label %54, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %68
br label %74
74: ; preds = %._crit_edge, %43
%75 = load ptr, ptr %12, align 8
%76 = load i32, ptr %5, align 4
%77 = sext i32 %76 to i64
%78 = sub i64 0, %77
%79 = getelementptr inbounds ptr, ptr %75, i64 %78
ret ptr %79
}
declare i64 @malloc(i64 noundef) #1
declare i32 @errhandler(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp6b6ko2kq.c'
source_filename = "/tmp/tmp6b6ko2kq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AT_FDCWD = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @__opendir(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @AT_FDCWD, align 4
%4 = load ptr, ptr %2, align 8
%5 = call ptr @__opendirat(i32 noundef %3, ptr noundef %4)
ret ptr %5
}
declare ptr @__opendirat(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/tmp6b6ko2kq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AT_FDCWD = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @__opendir(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @AT_FDCWD, align 4
%4 = load ptr, ptr %2, align 8
%5 = call ptr @__opendirat(i32 noundef %3, ptr noundef %4)
ret ptr %5
}
declare ptr @__opendirat(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/tmph9tb9ck7.c'
source_filename = "/tmp/tmph9tb9ck7.c"
target datalayout = "e-m:e-p270: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/tmph9tb9ck7.c"
target datalayout = "e-m:e-p270: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/tmp7ui93e7m.c'
source_filename = "/tmp/tmp7ui93e7m.c"
target datalayout = "e-m:e-p270: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/tmp7ui93e7m.c"
target datalayout = "e-m:e-p270: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/tmpmeky14_i.c'
source_filename = "/tmp/tmpmeky14_i.c"
target datalayout = "e-m:e-p270: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/tmpmeky14_i.c"
target datalayout = "e-m:e-p270: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/tmp2v58q5al.c'
source_filename = "/tmp/tmp2v58q5al.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"rpath-dlopen-indirect\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @bar()
%3 = call i32 @PASS(ptr noundef @.str)
%4 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %4
}
declare i32 @bar(...) #1
declare i32 @PASS(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2v58q5al.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"rpath-dlopen-indirect\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @bar()
%3 = call i32 @PASS(ptr noundef @.str)
%4 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %4
}
declare i32 @bar(...) #1
declare i32 @PASS(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp21r9nzqn.c'
source_filename = "/tmp/tmp21r9nzqn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"please install fftw and try again\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
ret i32 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/tmp21r9nzqn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"please install fftw and try again\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
ret i32 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/tmpq24ya7un.c'
source_filename = "/tmp/tmpq24ya7un.c"
target datalayout = "e-m:e-p270: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/tmpq24ya7un.c"
target datalayout = "e-m:e-p270: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/tmpfc63q_u7.c'
source_filename = "/tmp/tmpfc63q_u7.c"
target datalayout = "e-m:e-p270: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/tmpfc63q_u7.c"
target datalayout = "e-m:e-p270: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/tmp5azklko1.c'
source_filename = "/tmp/tmp5azklko1.c"
target datalayout = "e-m:e-p270: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/tmp5azklko1.c"
target datalayout = "e-m:e-p270: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/tmp8o5vt6_o.c'
source_filename = "/tmp/tmp8o5vt6_o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"domain: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @findDomain(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds i8, ptr %7, i64 7
%9 = call i32 @strcpy(ptr noundef %6, ptr noundef %8)
%10 = load ptr, ptr %4, align 8
%11 = call i32 @printf(ptr noundef @.str, ptr noundef %10)
%12 = load ptr, ptr %4, align 8
%13 = call ptr @strchr(ptr noundef %12, i8 noundef signext 47)
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %5, align 8
%16 = load ptr, ptr %4, align 8
%17 = ptrtoint ptr %15 to i64
%18 = ptrtoint ptr %16 to i64
%19 = sub i64 %17, %18
%20 = getelementptr inbounds i8, ptr %14, i64 %19
store i8 0, ptr %20, align 1
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8o5vt6_o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"domain: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @findDomain(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds i8, ptr %7, i64 7
%9 = call i32 @strcpy(ptr noundef %6, ptr noundef %8)
%10 = load ptr, ptr %4, align 8
%11 = call i32 @printf(ptr noundef @.str, ptr noundef %10)
%12 = load ptr, ptr %4, align 8
%13 = call ptr @strchr(ptr noundef %12, i8 noundef signext 47)
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %5, align 8
%16 = load ptr, ptr %4, align 8
%17 = ptrtoint ptr %15 to i64
%18 = ptrtoint ptr %16 to i64
%19 = sub i64 %17, %18
%20 = getelementptr inbounds i8, ptr %14, i64 %19
store i8 0, ptr %20, align 1
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnm923q2x.c'
source_filename = "/tmp/tmpnm923q2x.c"
target datalayout = "e-m:e-p270: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/tmpnm923q2x.c"
target datalayout = "e-m:e-p270: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/tmpb9cmf74u.c'
source_filename = "/tmp/tmpb9cmf74u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pthread_cond_init(ptr noalias noundef %0, ptr noalias noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb9cmf74u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pthread_cond_init(ptr noalias noundef %0, ptr noalias noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmo6gluqm.c'
source_filename = "/tmp/tmpmo6gluqm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %9, %1
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i8, ptr %5, i32 1
store ptr %6, ptr %2, align 8
%7 = load i8, ptr %5, align 1
%8 = icmp ne i8 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %4
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %3, align 4
br label %4, !llvm.loop !6
12: ; preds = %4
%13 = load i32, ptr %3, align 4
ret i32 %13
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmo6gluqm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i8, ptr %4, i32 1
store ptr %5, ptr %2, align 8
%6 = load i8, ptr %4, align 1
%7 = icmp ne i8 %6, 0
br i1 %7, label %.lr.ph, label %15
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %8
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %3, align 4
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %2, align 8
%13 = load i8, ptr %11, align 1
%14 = icmp ne i8 %13, 0
br i1 %14, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %15
15: ; preds = %._crit_edge, %1
%16 = load i32, ptr %3, align 4
ret i32 %16
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpqnhu36d3.c'
source_filename = "/tmp/tmpqnhu36d3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"Expected printf to return %d, got %d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @DoStrTest(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i32 @printf(ptr noundef %8, ptr noundef %9)
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = load ptr, ptr %6, align 8
%13 = call i32 @strlen(ptr noundef %12)
%14 = icmp ne i32 %11, %13
br i1 %14, label %15, label %20
15: ; preds = %3
%16 = load ptr, ptr %6, align 8
%17 = call i32 @strlen(ptr noundef %16)
%18 = load i32, ptr %7, align 4
%19 = call i32 @Fail(ptr noundef @.str, i32 noundef %17, i32 noundef %18)
br label %20
20: ; preds = %15, %3
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @Fail(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqnhu36d3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"Expected printf to return %d, got %d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @DoStrTest(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i32 @printf(ptr noundef %8, ptr noundef %9)
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = load ptr, ptr %6, align 8
%13 = call i32 @strlen(ptr noundef %12)
%14 = icmp ne i32 %11, %13
br i1 %14, label %15, label %20
15: ; preds = %3
%16 = load ptr, ptr %6, align 8
%17 = call i32 @strlen(ptr noundef %16)
%18 = load i32, ptr %7, align 4
%19 = call i32 @Fail(ptr noundef @.str, i32 noundef %17, i32 noundef %18)
br label %20
20: ; preds = %15, %3
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @Fail(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1xtmyz8j.c'
source_filename = "/tmp/tmp1xtmyz8j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @io_set_interrupt_defaults(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 @set_port(i32 noundef %5, i32 noundef %6, i32 noundef 6, i32 noundef 7)
ret void
}
declare i32 @set_port(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1xtmyz8j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @io_set_interrupt_defaults(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 @set_port(i32 noundef %5, i32 noundef %6, i32 noundef 6, i32 noundef 7)
ret void
}
declare i32 @set_port(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpniy5u_x4.c'
source_filename = "/tmp/tmpniy5u_x4.c"
target datalayout = "e-m:e-p270: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/tmpniy5u_x4.c"
target datalayout = "e-m:e-p270: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/tmp8lybcht7.c'
source_filename = "/tmp/tmp8lybcht7.c"
target datalayout = "e-m:e-p270: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, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca %struct.sockaddr_in, align 4
%8 = alloca ptr, align 8
%9 = alloca [128 x i8], align 16
store i32 0, ptr %1, align 4
%10 = load i32, ptr @AF_INET, align 4
%11 = load i32, ptr @SOCK_STREAM, align 4
%12 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef 0)
store i32 %12, ptr %2, align 4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %16
14: ; preds = %0
%15 = call i32 @exit(i32 noundef 1) #3
unreachable
16: ; preds = %0
%17 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 12)
%18 = load i32, ptr @AF_INET, align 4
%19 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2
store i32 %18, ptr %19, align 4
%20 = load i32, ptr @INADDR_ANY, align 4
%21 = call i32 @htonl(i32 noundef %20)
%22 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1
%23 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i32 0, i32 0
store i32 %21, ptr %23, align 4
%24 = call i32 @htons(i32 noundef 59000)
%25 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0
store i32 %24, ptr %25, align 4
%26 = load i32, ptr %2, align 4
%27 = call i32 @bind(i32 noundef %26, ptr noundef %7, i32 noundef 12)
%28 = icmp eq i32 %27, -1
br i1 %28, label %29, label %31
29: ; preds = %16
%30 = call i32 @exit(i32 noundef 1) #3
unreachable
31: ; preds = %16
br label %32
32: ; preds = %31, %71
store i32 12, ptr %3, align 4
%33 = load i32, ptr %2, align 4
%34 = call i32 @accept(i32 noundef %33, ptr noundef %7, ptr noundef %3)
store i32 %34, ptr %4, align 4
%35 = icmp eq i32 %34, -1
br i1 %35, label %36, label %38
36: ; preds = %32
%37 = call i32 @exit(i32 noundef 1) #3
unreachable
38: ; preds = %32
br label %39
39: ; preds = %70, %38
%40 = load i32, ptr %4, align 4
%41 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%42 = call i32 @read(i32 noundef %40, ptr noundef %41, i32 noundef 128)
store i32 %42, ptr %5, align 4
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %71
44: ; preds = %39
%45 = load i32, ptr %5, align 4
%46 = icmp eq i32 %45, 1
br i1 %46, label %47, label %49
47: ; preds = %44
%48 = call i32 @exit(i32 noundef 1) #3
unreachable
49: ; preds = %44
%50 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
store ptr %50, ptr %8, align 8
br label %51
51: ; preds = %62, %49
%52 = load i32, ptr %5, align 4
%53 = icmp sgt i32 %52, 0
br i1 %53, label %54, label %70
54: ; preds = %51
%55 = load i32, ptr %4, align 4
%56 = load ptr, ptr %8, align 8
%57 = load i32, ptr %5, align 4
%58 = call i32 @write(i32 noundef %55, ptr noundef %56, i32 noundef %57)
store i32 %58, ptr %6, align 4
%59 = icmp sle i32 %58, 0
br i1 %59, label %60, label %62
60: ; preds = %54
%61 = call i32 @exit(i32 noundef 1) #3
unreachable
62: ; preds = %54
%63 = load i32, ptr %6, align 4
%64 = load i32, ptr %5, align 4
%65 = sub nsw i32 %64, %63
store i32 %65, ptr %5, align 4
%66 = load i32, ptr %6, align 4
%67 = load ptr, ptr %8, align 8
%68 = sext i32 %66 to i64
%69 = getelementptr inbounds i8, ptr %67, i64 %68
store ptr %69, ptr %8, align 8
br label %51, !llvm.loop !6
70: ; preds = %51
br label %39, !llvm.loop !8
71: ; preds = %39
%72 = load i32, ptr %4, align 4
%73 = call i32 @close(i32 noundef %72)
br label %32
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr 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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8lybcht7.c"
target datalayout = "e-m:e-p270: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, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca %struct.sockaddr_in, align 4
%8 = alloca ptr, align 8
%9 = alloca [128 x i8], align 16
store i32 0, ptr %1, align 4
%10 = load i32, ptr @AF_INET, align 4
%11 = load i32, ptr @SOCK_STREAM, align 4
%12 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef 0)
store i32 %12, ptr %2, align 4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %16
14: ; preds = %0
%15 = call i32 @exit(i32 noundef 1) #3
unreachable
16: ; preds = %0
%17 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 12)
%18 = load i32, ptr @AF_INET, align 4
%19 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2
store i32 %18, ptr %19, align 4
%20 = load i32, ptr @INADDR_ANY, align 4
%21 = call i32 @htonl(i32 noundef %20)
%22 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1
%23 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i32 0, i32 0
store i32 %21, ptr %23, align 4
%24 = call i32 @htons(i32 noundef 59000)
%25 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0
store i32 %24, ptr %25, align 4
%26 = load i32, ptr %2, align 4
%27 = call i32 @bind(i32 noundef %26, ptr noundef %7, i32 noundef 12)
%28 = icmp eq i32 %27, -1
br i1 %28, label %29, label %31
29: ; preds = %16
%30 = call i32 @exit(i32 noundef 1) #3
unreachable
31: ; preds = %16
store i32 12, ptr %3, align 4
%32 = load i32, ptr %2, align 4
%33 = call i32 @accept(i32 noundef %32, ptr noundef %7, ptr noundef %3)
store i32 %33, ptr %4, align 4
%34 = icmp eq i32 %33, -1
br i1 %34, label %35, label %.lr.ph5
.lr.ph5: ; preds = %31
br label %37
._crit_edge6: ; preds = %73
br label %35
35: ; preds = %._crit_edge6, %31
%36 = call i32 @exit(i32 noundef 1) #3
unreachable
37: ; preds = %.lr.ph5, %73
%38 = load i32, ptr %4, align 4
%39 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%40 = call i32 @read(i32 noundef %38, ptr noundef %39, i32 noundef 128)
store i32 %40, ptr %5, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %.lr.ph2, label %73
.lr.ph2: ; preds = %37
br label %42
42: ; preds = %.lr.ph2, %69
%43 = load i32, ptr %5, align 4
%44 = icmp eq i32 %43, 1
br i1 %44, label %45, label %47
45: ; preds = %42
%46 = call i32 @exit(i32 noundef 1) #3
unreachable
47: ; preds = %42
%48 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
store ptr %48, ptr %8, align 8
%49 = load i32, ptr %5, align 4
%50 = icmp sgt i32 %49, 0
br i1 %50, label %.lr.ph, label %69
.lr.ph: ; preds = %47
br label %51
51: ; preds = %.lr.ph, %59
%52 = load i32, ptr %4, align 4
%53 = load ptr, ptr %8, align 8
%54 = load i32, ptr %5, align 4
%55 = call i32 @write(i32 noundef %52, ptr noundef %53, i32 noundef %54)
store i32 %55, ptr %6, align 4
%56 = icmp sle i32 %55, 0
br i1 %56, label %57, label %59
57: ; preds = %51
%58 = call i32 @exit(i32 noundef 1) #3
unreachable
59: ; preds = %51
%60 = load i32, ptr %6, align 4
%61 = load i32, ptr %5, align 4
%62 = sub nsw i32 %61, %60
store i32 %62, ptr %5, align 4
%63 = load i32, ptr %6, align 4
%64 = load ptr, ptr %8, align 8
%65 = sext i32 %63 to i64
%66 = getelementptr inbounds i8, ptr %64, i64 %65
store ptr %66, ptr %8, align 8
%67 = load i32, ptr %5, align 4
%68 = icmp sgt i32 %67, 0
br i1 %68, label %51, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %59
br label %69
69: ; preds = %._crit_edge, %47
%70 = load i32, ptr %4, align 4
%71 = call i32 @read(i32 noundef %70, ptr noundef %39, i32 noundef 128)
store i32 %71, ptr %5, align 4
%72 = icmp ne i32 %71, 0
br i1 %72, label %42, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %69
br label %73
73: ; preds = %._crit_edge3, %37
%74 = load i32, ptr %4, align 4
%75 = call i32 @close(i32 noundef %74)
store i32 12, ptr %3, align 4
%76 = load i32, ptr %2, align 4
%77 = call i32 @accept(i32 noundef %76, ptr noundef %7, ptr noundef %3)
store i32 %77, ptr %4, align 4
%78 = icmp eq i32 %77, -1
br i1 %78, label %._crit_edge6, label %37
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr 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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmphb387aoi.c'
source_filename = "/tmp/tmphb387aoi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RNAplex_cmdline_parser_init(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 @clear_given(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @clear_args(ptr noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @init_args_info(ptr noundef %7)
ret void
}
declare i32 @clear_given(ptr noundef) #1
declare i32 @clear_args(ptr noundef) #1
declare i32 @init_args_info(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphb387aoi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RNAplex_cmdline_parser_init(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 @clear_given(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @clear_args(ptr noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @init_args_info(ptr noundef %7)
ret void
}
declare i32 @clear_given(ptr noundef) #1
declare i32 @clear_args(ptr noundef) #1
declare i32 @init_args_info(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjk570rv_.c'
source_filename = "/tmp/tmpjk570rv_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"/proc/sys/vm/compact_unevictable_allowed\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [57 x i8] c"Failed to open\0A/proc/sys/vm/compact_unevictable_allowed\0A\00", align 1
@.str.2 = private unnamed_addr constant [62 x i8] c"Failed to read from\0A/proc/sys/vm/compact_unevictable_allowed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @prereq() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i32, align 4
%4 = load i32, ptr @O_RDONLY, align 4
%5 = load i32, ptr @O_NONBLOCK, align 4
%6 = or i32 %4, %5
%7 = call i32 @open(ptr noundef @.str, i32 noundef %6)
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %0
%11 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %1, align 4
br label %29
12: ; preds = %0
%13 = load i32, ptr %3, align 4
%14 = call i32 @read(i32 noundef %13, ptr noundef %2, i32 noundef 1)
%15 = sext i32 %14 to i64
%16 = icmp ne i64 %15, 1
br i1 %16, label %17, label %21
17: ; preds = %12
%18 = call i32 @perror(ptr noundef @.str.2)
%19 = load i32, ptr %3, align 4
%20 = call i32 @close(i32 noundef %19)
store i32 -1, ptr %1, align 4
br label %29
21: ; preds = %12
%22 = load i32, ptr %3, align 4
%23 = call i32 @close(i32 noundef %22)
%24 = load i8, ptr %2, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 49
br i1 %26, label %27, label %28
27: ; preds = %21
store i32 0, ptr %1, align 4
br label %29
28: ; preds = %21
store i32 -1, ptr %1, align 4
br label %29
29: ; preds = %28, %27, %17, %10
%30 = load i32, ptr %1, align 4
ret i32 %30
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @read(i32 noundef, ptr 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/tmpjk570rv_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"/proc/sys/vm/compact_unevictable_allowed\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [57 x i8] c"Failed to open\0A/proc/sys/vm/compact_unevictable_allowed\0A\00", align 1
@.str.2 = private unnamed_addr constant [62 x i8] c"Failed to read from\0A/proc/sys/vm/compact_unevictable_allowed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @prereq() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i32, align 4
%4 = load i32, ptr @O_RDONLY, align 4
%5 = load i32, ptr @O_NONBLOCK, align 4
%6 = or i32 %4, %5
%7 = call i32 @open(ptr noundef @.str, i32 noundef %6)
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %0
%11 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %1, align 4
br label %29
12: ; preds = %0
%13 = load i32, ptr %3, align 4
%14 = call i32 @read(i32 noundef %13, ptr noundef %2, i32 noundef 1)
%15 = sext i32 %14 to i64
%16 = icmp ne i64 %15, 1
br i1 %16, label %17, label %21
17: ; preds = %12
%18 = call i32 @perror(ptr noundef @.str.2)
%19 = load i32, ptr %3, align 4
%20 = call i32 @close(i32 noundef %19)
store i32 -1, ptr %1, align 4
br label %29
21: ; preds = %12
%22 = load i32, ptr %3, align 4
%23 = call i32 @close(i32 noundef %22)
%24 = load i8, ptr %2, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 49
br i1 %26, label %27, label %28
27: ; preds = %21
store i32 0, ptr %1, align 4
br label %29
28: ; preds = %21
store i32 -1, ptr %1, align 4
br label %29
29: ; preds = %28, %27, %17, %10
%30 = load i32, ptr %1, align 4
ret i32 %30
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @read(i32 noundef, ptr 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/tmp4mjiblgx.c'
source_filename = "/tmp/tmp4mjiblgx.c"
target datalayout = "e-m:e-p270: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/tmp4mjiblgx.c"
target datalayout = "e-m:e-p270: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/tmpqq2_duok.c'
source_filename = "/tmp/tmpqq2_duok.c"
target datalayout = "e-m:e-p270: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/tmpqq2_duok.c"
target datalayout = "e-m:e-p270: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/tmp4y7cgdwi.c'
source_filename = "/tmp/tmp4y7cgdwi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4y7cgdwi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp98bks9nu.c'
source_filename = "/tmp/tmp98bks9nu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @slowprint(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %5, align 8
br label %7
7: ; preds = %12, %2
%8 = load ptr, ptr %3, align 8
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %23
12: ; preds = %7
%13 = load i32, ptr @stdout, align 4
%14 = call i32 @fflush(i32 noundef %13)
%15 = load ptr, ptr %3, align 8
%16 = load i8, ptr %15, align 1
%17 = call i32 @putchar(i8 noundef signext %16)
%18 = load i32, ptr %4, align 4
%19 = mul i32 %18, 1000
%20 = call i32 @usleep(i32 noundef %19)
%21 = load ptr, ptr %3, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %3, align 8
br label %7, !llvm.loop !6
23: ; preds = %7
%24 = load ptr, ptr %3, align 8
%25 = load ptr, ptr %5, align 8
%26 = ptrtoint ptr %24 to i64
%27 = ptrtoint ptr %25 to i64
%28 = sub i64 %26, %27
%29 = trunc i64 %28 to i32
ret i32 %29
}
declare i32 @fflush(i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
declare i32 @usleep(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/tmp98bks9nu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @slowprint(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %5, align 8
%7 = load ptr, ptr %3, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %11
%12 = load i32, ptr @stdout, align 4
%13 = call i32 @fflush(i32 noundef %12)
%14 = load ptr, ptr %3, align 8
%15 = load i8, ptr %14, align 1
%16 = call i32 @putchar(i8 noundef signext %15)
%17 = load i32, ptr %4, align 4
%18 = mul i32 %17, 1000
%19 = call i32 @usleep(i32 noundef %18)
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %3, align 8
%22 = load ptr, ptr %3, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 0
br i1 %25, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %26
26: ; preds = %._crit_edge, %2
%27 = load ptr, ptr %3, align 8
%28 = load ptr, ptr %5, align 8
%29 = ptrtoint ptr %27 to i64
%30 = ptrtoint ptr %28 to i64
%31 = sub i64 %29, %30
%32 = trunc i64 %31 to i32
ret i32 %32
}
declare i32 @fflush(i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
declare i32 @usleep(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/tmpp0cmfsv8.c'
source_filename = "/tmp/tmpp0cmfsv8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dijkstra(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [9 x i32], align 16
%6 = alloca [9 x i32], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %7, align 4
br label %10
10: ; preds = %21, %2
%11 = load i32, ptr %7, align 4
%12 = icmp slt i32 %11, 9
br i1 %12, label %13, label %24
13: ; preds = %10
%14 = load i32, ptr @INT_MAX, align 4
%15 = load i32, ptr %7, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [9 x i32], ptr %5, i64 0, i64 %16
store i32 %14, ptr %17, align 4
%18 = load i32, ptr %7, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [9 x i32], ptr %6, i64 0, i64 %19
store i32 0, ptr %20, align 4
br label %21
21: ; preds = %13
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %7, align 4
br label %10, !llvm.loop !6
24: ; preds = %10
%25 = load i32, ptr %4, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [9 x i32], ptr %5, i64 0, i64 %26
store i32 0, ptr %27, align 4
store i32 0, ptr %7, align 4
br label %28
28: ; preds = %105, %24
%29 = load i32, ptr %7, align 4
%30 = icmp slt i32 %29, 8
br i1 %30, label %31, label %108
31: ; preds = %28
%32 = getelementptr inbounds [9 x i32], ptr %5, i64 0, i64 0
%33 = getelementptr inbounds [9 x i32], ptr %6, i64 0, i64 0
%34 = call i32 @min_dist(ptr noundef %32, ptr noundef %33)
store i32 %34, ptr %8, align 4
%35 = load i32, ptr %8, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [9 x i32], ptr %6, i64 0, i64 %36
store i32 1, ptr %37, align 4
store i32 0, ptr %9, align 4
br label %38
38: ; preds = %101, %31
%39 = load i32, ptr %9, align 4
%40 = icmp slt i32 %39, 9
br i1 %40, label %41, label %104
41: ; preds = %38
%42 = load i32, ptr %9, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [9 x i32], ptr %6, i64 0, i64 %43
%45 = load i32, ptr %44, align 4
%46 = icmp ne i32 %45, 0
br i1 %46, label %100, label %47
47: ; preds = %41
%48 = load ptr, ptr %3, align 8
%49 = load i32, ptr %8, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [9 x i32], ptr %48, i64 %50
%52 = load i32, ptr %9, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [9 x i32], ptr %51, i64 0, i64 %53
%55 = load i32, ptr %54, align 4
%56 = icmp ne i32 %55, 0
br i1 %56, label %57, label %100
57: ; preds = %47
%58 = load i32, ptr %8, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [9 x i32], ptr %5, i64 0, i64 %59
%61 = load i32, ptr %60, align 4
%62 = load i32, ptr @INT_MAX, align 4
%63 = icmp ne i32 %61, %62
br i1 %63, label %64, label %100
64: ; preds = %57
%65 = load i32, ptr %8, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [9 x i32], ptr %5, i64 0, i64 %66
%68 = load i32, ptr %67, align 4
%69 = load ptr, ptr %3, align 8
%70 = load i32, ptr %8, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [9 x i32], ptr %69, i64 %71
%73 = load i32, ptr %9, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [9 x i32], ptr %72, i64 0, i64 %74
%76 = load i32, ptr %75, align 4
%77 = add nsw i32 %68, %76
%78 = load i32, ptr %9, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [9 x i32], ptr %5, i64 0, i64 %79
%81 = load i32, ptr %80, align 4
%82 = icmp slt i32 %77, %81
br i1 %82, label %83, label %100
83: ; preds = %64
%84 = load i32, ptr %8, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [9 x i32], ptr %5, i64 0, i64 %85
%87 = load i32, ptr %86, align 4
%88 = load ptr, ptr %3, align 8
%89 = load i32, ptr %8, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [9 x i32], ptr %88, i64 %90
%92 = load i32, ptr %9, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds [9 x i32], ptr %91, i64 0, i64 %93
%95 = load i32, ptr %94, align 4
%96 = add nsw i32 %87, %95
%97 = load i32, ptr %9, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds [9 x i32], ptr %5, i64 0, i64 %98
store i32 %96, ptr %99, align 4
br label %100
100: ; preds = %83, %64, %57, %47, %41
br label %101
101: ; preds = %100
%102 = load i32, ptr %9, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %9, align 4
br label %38, !llvm.loop !8
104: ; preds = %38
br label %105
105: ; preds = %104
%106 = load i32, ptr %7, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %7, align 4
br label %28, !llvm.loop !9
108: ; preds = %28
%109 = getelementptr inbounds [9 x i32], ptr %5, i64 0, i64 0
%110 = call i32 @print(ptr noundef %109, i32 noundef 9)
ret void
}
declare i32 @min_dist(ptr noundef, ptr noundef) #1
declare i32 @print(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp0cmfsv8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dijkstra(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [9 x i32], align 16
%6 = alloca [9 x i32], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp slt i32 %10, 9
br i1 %11, label %.lr.ph, label %25
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %20
%13 = load i32, ptr @INT_MAX, align 4
%14 = load i32, ptr %7, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [9 x i32], ptr %5, i64 0, i64 %15
store i32 %13, ptr %16, align 4
%17 = load i32, ptr %7, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [9 x i32], ptr %6, i64 0, i64 %18
store i32 0, ptr %19, align 4
br label %20
20: ; preds = %12
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
%23 = load i32, ptr %7, align 4
%24 = icmp slt i32 %23, 9
br i1 %24, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %25
25: ; preds = %._crit_edge, %2
%26 = load i32, ptr %4, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [9 x i32], ptr %5, i64 0, i64 %27
store i32 0, ptr %28, align 4
store i32 0, ptr %7, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp slt i32 %29, 8
br i1 %30, label %.lr.ph5, label %111
.lr.ph5: ; preds = %25
br label %31
31: ; preds = %.lr.ph5, %106
%32 = getelementptr inbounds [9 x i32], ptr %5, i64 0, i64 0
%33 = getelementptr inbounds [9 x i32], ptr %6, i64 0, i64 0
%34 = call i32 @min_dist(ptr noundef %32, ptr noundef %33)
store i32 %34, ptr %8, align 4
%35 = load i32, ptr %8, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [9 x i32], ptr %6, i64 0, i64 %36
store i32 1, ptr %37, align 4
store i32 0, ptr %9, align 4
%38 = load i32, ptr %9, align 4
%39 = icmp slt i32 %38, 9
br i1 %39, label %.lr.ph2, label %105
.lr.ph2: ; preds = %31
br label %40
40: ; preds = %.lr.ph2, %100
%41 = load i32, ptr %9, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [9 x i32], ptr %6, i64 0, i64 %42
%44 = load i32, ptr %43, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %99, label %46
46: ; preds = %40
%47 = load ptr, ptr %3, align 8
%48 = load i32, ptr %8, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [9 x i32], ptr %47, i64 %49
%51 = load i32, ptr %9, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [9 x i32], ptr %50, i64 0, i64 %52
%54 = load i32, ptr %53, align 4
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %99
56: ; preds = %46
%57 = load i32, ptr %8, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [9 x i32], ptr %5, i64 0, i64 %58
%60 = load i32, ptr %59, align 4
%61 = load i32, ptr @INT_MAX, align 4
%62 = icmp ne i32 %60, %61
br i1 %62, label %63, label %99
63: ; preds = %56
%64 = load i32, ptr %8, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [9 x i32], ptr %5, i64 0, i64 %65
%67 = load i32, ptr %66, align 4
%68 = load ptr, ptr %3, align 8
%69 = load i32, ptr %8, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [9 x i32], ptr %68, i64 %70
%72 = load i32, ptr %9, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [9 x i32], ptr %71, i64 0, i64 %73
%75 = load i32, ptr %74, align 4
%76 = add nsw i32 %67, %75
%77 = load i32, ptr %9, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [9 x i32], ptr %5, i64 0, i64 %78
%80 = load i32, ptr %79, align 4
%81 = icmp slt i32 %76, %80
br i1 %81, label %82, label %99
82: ; preds = %63
%83 = load i32, ptr %8, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [9 x i32], ptr %5, i64 0, i64 %84
%86 = load i32, ptr %85, align 4
%87 = load ptr, ptr %3, align 8
%88 = load i32, ptr %8, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds [9 x i32], ptr %87, i64 %89
%91 = load i32, ptr %9, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds [9 x i32], ptr %90, i64 0, i64 %92
%94 = load i32, ptr %93, align 4
%95 = add nsw i32 %86, %94
%96 = load i32, ptr %9, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [9 x i32], ptr %5, i64 0, i64 %97
store i32 %95, ptr %98, align 4
br label %99
99: ; preds = %82, %63, %56, %46, %40
br label %100
100: ; preds = %99
%101 = load i32, ptr %9, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %9, align 4
%103 = load i32, ptr %9, align 4
%104 = icmp slt i32 %103, 9
br i1 %104, label %40, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %100
br label %105
105: ; preds = %._crit_edge3, %31
br label %106
106: ; preds = %105
%107 = load i32, ptr %7, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %7, align 4
%109 = load i32, ptr %7, align 4
%110 = icmp slt i32 %109, 8
br i1 %110, label %31, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %106
br label %111
111: ; preds = %._crit_edge6, %25
%112 = getelementptr inbounds [9 x i32], ptr %5, i64 0, i64 0
%113 = call i32 @print(ptr noundef %112, i32 noundef 9)
ret void
}
declare i32 @min_dist(ptr noundef, ptr noundef) #1
declare i32 @print(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmppq15rxmx.c'
source_filename = "/tmp/tmppq15rxmx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isupper.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isupper should be 1 for J\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isupper_0x4a() #0 {
%1 = call i32 @isupper(i32 noundef 74) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 375, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isupper(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppq15rxmx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isupper.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isupper should be 1 for J\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isupper_0x4a() #0 {
%1 = call i32 @isupper(i32 noundef 74) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 375, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isupper(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5gf3cxde.c'
source_filename = "/tmp/tmp5gf3cxde.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pthread_cond_signal\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tw_pthread_cond_signal(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @pthread_cond_signal(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @do_error(ptr noundef @.str)
br label %9
9: ; preds = %7, %1
%10 = load i32, ptr %3, align 4
ret i32 %10
}
declare i32 @pthread_cond_signal(ptr noundef) #1
declare i32 @do_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/tmp5gf3cxde.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pthread_cond_signal\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tw_pthread_cond_signal(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @pthread_cond_signal(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @do_error(ptr noundef @.str)
br label %9
9: ; preds = %7, %1
%10 = load i32, ptr %3, align 4
ret i32 %10
}
declare i32 @pthread_cond_signal(ptr noundef) #1
declare i32 @do_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/tmpal6bmn7u.c'
source_filename = "/tmp/tmpal6bmn7u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fadd_preg64_qword(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @put8(i32 noundef 220)
%4 = load i32, ptr %2, align 4
%5 = call i32 @put8(i32 noundef %4)
ret void
}
declare i32 @put8(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/tmpal6bmn7u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fadd_preg64_qword(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @put8(i32 noundef 220)
%4 = load i32, ptr %2, align 4
%5 = call i32 @put8(i32 noundef %4)
ret void
}
declare i32 @put8(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/tmpkbk5j8ro.c'
source_filename = "/tmp/tmpkbk5j8ro.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [190 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Aaron0927/xen-4.2.1/refs/heads/master/Codes/xen-4.3.1/tools/qemu-xen-traditional/tests/linux-test.c\00", align 1
@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 void @test_pipe() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [2 x i32], align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i8, align 1
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%10 = call i32 @pipe(ptr noundef %9)
%11 = call i32 @__chk_error(ptr noundef @.str, i32 noundef 360, i32 noundef %10)
%12 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%13 = load i32, ptr %12, align 4
%14 = load i32, ptr @F_SETFL, align 4
%15 = load i32, ptr @O_NONBLOCK, align 4
%16 = call i32 @fcntl(i32 noundef %13, i32 noundef %14, i32 noundef %15)
%17 = call i32 @__chk_error(ptr noundef @.str, i32 noundef 361, i32 noundef %16)
%18 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1
%19 = load i32, ptr %18, align 4
%20 = load i32, ptr @F_SETFL, align 4
%21 = load i32, ptr @O_NONBLOCK, align 4
%22 = call i32 @fcntl(i32 noundef %19, i32 noundef %20, i32 noundef %21)
%23 = call i32 @__chk_error(ptr noundef @.str, i32 noundef 362, i32 noundef %22)
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %24
24: ; preds = %78, %0
%25 = call i32 @FD_ZERO(ptr noundef %1)
%26 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%27 = load i32, ptr %26, align 4
store i32 %27, ptr %4, align 4
%28 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%29 = load i32, ptr %28, align 4
%30 = call i32 @FD_SET(i32 noundef %29, ptr noundef %1)
%31 = call i32 @FD_ZERO(ptr noundef %2)
%32 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1
%33 = load i32, ptr %32, align 4
%34 = call i32 @FD_SET(i32 noundef %33, ptr noundef %2)
%35 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1
%36 = load i32, ptr %35, align 4
%37 = load i32, ptr %4, align 4
%38 = icmp sgt i32 %36, %37
br i1 %38, label %39, label %42
39: ; preds = %24
%40 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1
%41 = load i32, ptr %40, align 4
store i32 %41, ptr %4, align 4
br label %42
42: ; preds = %39, %24
%43 = load i32, ptr %4, align 4
%44 = add nsw i32 %43, 1
%45 = call i32 @select(i32 noundef %44, ptr noundef %1, ptr noundef %2, ptr noundef null, ptr noundef null)
%46 = call i32 @__chk_error(ptr noundef @.str, i32 noundef 375, i32 noundef %45)
store i32 %46, ptr %5, align 4
%47 = load i32, ptr %5, align 4
%48 = icmp sgt i32 %47, 0
br i1 %48, label %49, label %78
49: ; preds = %42
%50 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%51 = load i32, ptr %50, align 4
%52 = call i64 @FD_ISSET(i32 noundef %51, ptr noundef %1)
%53 = icmp ne i64 %52, 0
br i1 %53, label %54, label %65
54: ; preds = %49
%55 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%56 = load i32, ptr %55, align 4
%57 = call i32 @read(i32 noundef %56, ptr noundef %6, i32 noundef 1)
%58 = call i32 @__chk_error(ptr noundef @.str, i32 noundef 378, i32 noundef %57)
%59 = load i32, ptr %8, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %8, align 4
%61 = load i32, ptr %8, align 4
%62 = icmp sge i32 %61, 512
br i1 %62, label %63, label %64
63: ; preds = %54
br label %79
64: ; preds = %54
br label %65
65: ; preds = %64, %49
%66 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1
%67 = load i32, ptr %66, align 4
%68 = call i64 @FD_ISSET(i32 noundef %67, ptr noundef %2)
%69 = icmp ne i64 %68, 0
br i1 %69, label %70, label %77
70: ; preds = %65
store i8 97, ptr %6, align 1
%71 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%72 = load i32, ptr %71, align 4
%73 = call i32 @write(i32 noundef %72, ptr noundef %6, i32 noundef 1)
%74 = call i32 @__chk_error(ptr noundef @.str, i32 noundef 385, i32 noundef %73)
%75 = load i32, ptr %7, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %7, align 4
br label %77
77: ; preds = %70, %65
br label %78
78: ; preds = %77, %42
br label %24
79: ; preds = %63
%80 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%81 = load i32, ptr %80, align 4
%82 = call i32 @close(i32 noundef %81)
%83 = call i32 @__chk_error(ptr noundef @.str, i32 noundef 390, i32 noundef %82)
%84 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1
%85 = load i32, ptr %84, align 4
%86 = call i32 @close(i32 noundef %85)
%87 = call i32 @__chk_error(ptr noundef @.str, i32 noundef 391, i32 noundef %86)
ret void
}
declare i32 @__chk_error(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @pipe(ptr noundef) #1
declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @FD_ZERO(ptr noundef) #1
declare i32 @FD_SET(i32 noundef, ptr noundef) #1
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr 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/tmpkbk5j8ro.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [190 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Aaron0927/xen-4.2.1/refs/heads/master/Codes/xen-4.3.1/tools/qemu-xen-traditional/tests/linux-test.c\00", align 1
@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 void @test_pipe() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [2 x i32], align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i8, align 1
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%10 = call i32 @pipe(ptr noundef %9)
%11 = call i32 @__chk_error(ptr noundef @.str, i32 noundef 360, i32 noundef %10)
%12 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%13 = load i32, ptr %12, align 4
%14 = load i32, ptr @F_SETFL, align 4
%15 = load i32, ptr @O_NONBLOCK, align 4
%16 = call i32 @fcntl(i32 noundef %13, i32 noundef %14, i32 noundef %15)
%17 = call i32 @__chk_error(ptr noundef @.str, i32 noundef 361, i32 noundef %16)
%18 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1
%19 = load i32, ptr %18, align 4
%20 = load i32, ptr @F_SETFL, align 4
%21 = load i32, ptr @O_NONBLOCK, align 4
%22 = call i32 @fcntl(i32 noundef %19, i32 noundef %20, i32 noundef %21)
%23 = call i32 @__chk_error(ptr noundef @.str, i32 noundef 362, i32 noundef %22)
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%24 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
br label %25
25: ; preds = %78, %0
%26 = call i32 @FD_ZERO(ptr noundef %1)
%27 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%28 = load i32, ptr %27, align 4
store i32 %28, ptr %4, align 4
%29 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%30 = load i32, ptr %29, align 4
%31 = call i32 @FD_SET(i32 noundef %30, ptr noundef %1)
%32 = call i32 @FD_ZERO(ptr noundef %2)
%33 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1
%34 = load i32, ptr %33, align 4
%35 = call i32 @FD_SET(i32 noundef %34, ptr noundef %2)
%36 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1
%37 = load i32, ptr %36, align 4
%38 = load i32, ptr %4, align 4
%39 = icmp sgt i32 %37, %38
br i1 %39, label %40, label %43
40: ; preds = %25
%41 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1
%42 = load i32, ptr %41, align 4
store i32 %42, ptr %4, align 4
br label %43
43: ; preds = %40, %25
%44 = load i32, ptr %4, align 4
%45 = add nsw i32 %44, 1
%46 = call i32 @select(i32 noundef %45, ptr noundef %1, ptr noundef %2, ptr noundef null, ptr noundef null)
%47 = call i32 @__chk_error(ptr noundef @.str, i32 noundef 375, i32 noundef %46)
store i32 %47, ptr %5, align 4
%48 = load i32, ptr %5, align 4
%49 = icmp sgt i32 %48, 0
br i1 %49, label %50, label %78
50: ; preds = %43
%51 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%52 = load i32, ptr %51, align 4
%53 = call i64 @FD_ISSET(i32 noundef %52, ptr noundef %1)
%54 = icmp ne i64 %53, 0
br i1 %54, label %55, label %65
55: ; preds = %50
%56 = load i32, ptr %24, align 4
%57 = call i32 @read(i32 noundef %56, ptr noundef %6, i32 noundef 1)
%58 = call i32 @__chk_error(ptr noundef @.str, i32 noundef 378, i32 noundef %57)
%59 = load i32, ptr %8, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %8, align 4
%61 = load i32, ptr %8, align 4
%62 = icmp sge i32 %61, 512
br i1 %62, label %63, label %64
63: ; preds = %55
br label %79
64: ; preds = %55
br label %65
65: ; preds = %64, %50
%66 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1
%67 = load i32, ptr %66, align 4
%68 = call i64 @FD_ISSET(i32 noundef %67, ptr noundef %2)
%69 = icmp ne i64 %68, 0
br i1 %69, label %70, label %77
70: ; preds = %65
store i8 97, ptr %6, align 1
%71 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%72 = load i32, ptr %71, align 4
%73 = call i32 @write(i32 noundef %72, ptr noundef %6, i32 noundef 1)
%74 = call i32 @__chk_error(ptr noundef @.str, i32 noundef 385, i32 noundef %73)
%75 = load i32, ptr %7, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %7, align 4
br label %77
77: ; preds = %70, %65
br label %78
78: ; preds = %77, %43
br label %25
79: ; preds = %63
%80 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0
%81 = load i32, ptr %80, align 4
%82 = call i32 @close(i32 noundef %81)
%83 = call i32 @__chk_error(ptr noundef @.str, i32 noundef 390, i32 noundef %82)
%84 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1
%85 = load i32, ptr %84, align 4
%86 = call i32 @close(i32 noundef %85)
%87 = call i32 @__chk_error(ptr noundef @.str, i32 noundef 391, i32 noundef %86)
ret void
}
declare i32 @__chk_error(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @pipe(ptr noundef) #1
declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @FD_ZERO(ptr noundef) #1
declare i32 @FD_SET(i32 noundef, ptr noundef) #1
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr 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/tmp3yspy6kb.c'
source_filename = "/tmp/tmp3yspy6kb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"path\00", align 1
@.str.1 = private unnamed_addr constant [141 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/fukamachi/roswell/refs/heads/master/src/util_dir.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @file_namestring(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = sub nsw i32 %6, 1
store i32 %7, ptr %3, align 4
br label %8
8: ; preds = %22, %1
%9 = load i32, ptr %3, align 4
%10 = icmp sge i32 %9, 0
br i1 %10, label %11, label %19
11: ; preds = %8
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 47
br label %19
19: ; preds = %11, %8
%20 = phi i1 [ false, %8 ], [ %18, %11 ]
br i1 %20, label %21, label %25
21: ; preds = %19
br label %22
22: ; preds = %21
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, -1
store i32 %24, ptr %3, align 4
br label %8, !llvm.loop !6
25: ; preds = %19
%26 = load ptr, ptr %2, align 8
%27 = load i32, ptr %3, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 47
br i1 %32, label %33, label %40
33: ; preds = %25
%34 = load ptr, ptr %2, align 8
%35 = load i32, ptr %3, align 4
%36 = add nsw i32 %35, 1
%37 = call ptr @subseq(ptr noundef %34, i32 noundef %36, i32 noundef 0)
store ptr %37, ptr %4, align 8
%38 = load ptr, ptr %2, align 8
%39 = call i32 @s_internal(ptr noundef %38, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 65)
br label %42
40: ; preds = %25
%41 = load ptr, ptr %2, align 8
store ptr %41, ptr %4, align 8
br label %42
42: ; preds = %40, %33
%43 = load ptr, ptr %4, align 8
ret ptr %43
}
declare i32 @strlen(ptr noundef) #1
declare ptr @subseq(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @s_internal(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3yspy6kb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"path\00", align 1
@.str.1 = private unnamed_addr constant [141 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/fukamachi/roswell/refs/heads/master/src/util_dir.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @file_namestring(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = sub nsw i32 %6, 1
store i32 %7, ptr %3, align 4
br label %8
8: ; preds = %22, %1
%9 = load i32, ptr %3, align 4
%10 = icmp sge i32 %9, 0
br i1 %10, label %11, label %19
11: ; preds = %8
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 47
br label %19
19: ; preds = %11, %8
%20 = phi i1 [ false, %8 ], [ %18, %11 ]
br i1 %20, label %21, label %25
21: ; preds = %19
br label %22
22: ; preds = %21
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, -1
store i32 %24, ptr %3, align 4
br label %8, !llvm.loop !6
25: ; preds = %19
%26 = load ptr, ptr %2, align 8
%27 = load i32, ptr %3, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 47
br i1 %32, label %33, label %40
33: ; preds = %25
%34 = load ptr, ptr %2, align 8
%35 = load i32, ptr %3, align 4
%36 = add nsw i32 %35, 1
%37 = call ptr @subseq(ptr noundef %34, i32 noundef %36, i32 noundef 0)
store ptr %37, ptr %4, align 8
%38 = load ptr, ptr %2, align 8
%39 = call i32 @s_internal(ptr noundef %38, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 65)
br label %42
40: ; preds = %25
%41 = load ptr, ptr %2, align 8
store ptr %41, ptr %4, align 8
br label %42
42: ; preds = %40, %33
%43 = load ptr, ptr %4, align 8
ret ptr %43
}
declare i32 @strlen(ptr noundef) #1
declare ptr @subseq(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @s_internal(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpx6wkmiv_.c'
source_filename = "/tmp/tmpx6wkmiv_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"tcp\00", align 1
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [4 x i8] c"udp\00", align 1
@SOCK_DGRAM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @prototype(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = load i32, ptr @SOCK_STREAM, align 4
store i32 %8, ptr %2, align 4
br label %16
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call i64 @strcmp(ptr noundef %10, ptr noundef @.str.1)
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = load i32, ptr @SOCK_DGRAM, align 4
store i32 %14, ptr %2, align 4
br label %16
15: ; preds = %9
store i32 -1, ptr %2, align 4
br label %16
16: ; preds = %15, %13, %7
%17 = load i32, ptr %2, align 4
ret i32 %17
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx6wkmiv_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"tcp\00", align 1
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [4 x i8] c"udp\00", align 1
@SOCK_DGRAM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @prototype(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = load i32, ptr @SOCK_STREAM, align 4
store i32 %8, ptr %2, align 4
br label %16
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call i64 @strcmp(ptr noundef %10, ptr noundef @.str.1)
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = load i32, ptr @SOCK_DGRAM, align 4
store i32 %14, ptr %2, align 4
br label %16
15: ; preds = %9
store i32 -1, ptr %2, align 4
br label %16
16: ; preds = %15, %13, %7
%17 = load i32, ptr %2, align 4
ret i32 %17
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkpfinlez.c'
source_filename = "/tmp/tmpkpfinlez.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @puts(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr @stdout, align 4
%6 = call i32 @fputs(ptr noundef %4, i32 noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr @stdout, align 4
%8 = call i32 @fputs(ptr noundef @.str, i32 noundef %7)
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkpfinlez.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @puts(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr @stdout, align 4
%6 = call i32 @fputs(ptr noundef %4, i32 noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr @stdout, align 4
%8 = call i32 @fputs(ptr noundef @.str, i32 noundef %7)
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl1bi7eu2.c'
source_filename = "/tmp/tmpl1bi7eu2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skipnops() #0 {
%1 = alloca i32, align 4
br label %2
2: ; preds = %6, %0
%3 = call i64 @num(i32 noundef 1)
%4 = trunc i64 %3 to i32
store i32 %4, ptr %1, align 4
%5 = icmp eq i32 %4, 138
br i1 %5, label %6, label %7
6: ; preds = %2
br label %2, !llvm.loop !6
7: ; preds = %2
%8 = load i32, ptr %1, align 4
ret i32 %8
}
declare i64 @num(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/tmpl1bi7eu2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skipnops() #0 {
%1 = alloca i32, align 4
br label %2
2: ; preds = %2, %0
%3 = call i64 @num(i32 noundef 1)
%4 = trunc i64 %3 to i32
store i32 %4, ptr %1, align 4
%5 = icmp eq i32 %4, 138
br i1 %5, label %2, label %6, !llvm.loop !6
6: ; preds = %2
%7 = load i32, ptr %1, align 4
ret i32 %7
}
declare i64 @num(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/tmppq8zyhg9.c'
source_filename = "/tmp/tmppq8zyhg9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"hello\00", align 1
; 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 @strcmp(ptr noundef @.str, ptr noundef @.str)
%7 = icmp ne i32 %6, 0
%8 = xor i1 %7, true
%9 = zext i1 %8 to i32
ret i32 %9
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppq8zyhg9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"hello\00", align 1
; 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 @strcmp(ptr noundef @.str, ptr noundef @.str)
%7 = icmp ne i32 %6, 0
%8 = xor i1 %7, true
%9 = zext i1 %8 to i32
ret i32 %9
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2juxveqi.c'
source_filename = "/tmp/tmp2juxveqi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @i2c_sendSlaveCommand(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca [1 x i8], align 1
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%10 = load i32, ptr %6, align 4
%11 = trunc i32 %10 to i8
%12 = getelementptr inbounds [1 x i8], ptr %9, i64 0, i64 0
store i8 %11, ptr %12, align 1
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds [1 x i8], ptr %9, i64 0, i64 0
%15 = load ptr, ptr %7, align 8
%16 = load i32, ptr %8, align 4
%17 = call i32 @i2c_sendSlaveCommand2(ptr noundef %13, ptr noundef %14, i32 noundef 1, ptr noundef %15, i32 noundef %16)
ret i32 %17
}
declare i32 @i2c_sendSlaveCommand2(ptr noundef, 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2juxveqi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @i2c_sendSlaveCommand(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca [1 x i8], align 1
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%10 = load i32, ptr %6, align 4
%11 = trunc i32 %10 to i8
%12 = getelementptr inbounds [1 x i8], ptr %9, i64 0, i64 0
store i8 %11, ptr %12, align 1
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds [1 x i8], ptr %9, i64 0, i64 0
%15 = load ptr, ptr %7, align 8
%16 = load i32, ptr %8, align 4
%17 = call i32 @i2c_sendSlaveCommand2(ptr noundef %13, ptr noundef %14, i32 noundef 1, ptr noundef %15, i32 noundef %16)
ret i32 %17
}
declare i32 @i2c_sendSlaveCommand2(ptr noundef, 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"}
|
; ModuleID = '/tmp/tmpsvciyl6c.c'
source_filename = "/tmp/tmpsvciyl6c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo2(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 5, ptr %9, align 4
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = call i32 @foo1(ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %9)
ret i32 %14
}
declare i32 @foo1(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsvciyl6c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo2(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 5, ptr %9, align 4
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = call i32 @foo1(ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %9)
ret i32 %14
}
declare i32 @foo1(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4l4toonr.c'
source_filename = "/tmp/tmp4l4toonr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @_abs(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @fabs(float noundef %3)
ret float %4
}
declare float @fabs(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4l4toonr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @_abs(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @fabs(float noundef %3)
ret float %4
}
declare float @fabs(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph3j7i6u6.c'
source_filename = "/tmp/tmph3j7i6u6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%3d\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i32, ptr %5, i64 0
%7 = load i32, ptr %6, align 4
store i32 %7, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %8
8: ; preds = %19, %1
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %22
12: ; preds = %8
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %4, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %17)
br label %19
19: ; preds = %12
%20 = load i32, ptr %4, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %4, align 4
br label %8, !llvm.loop !6
22: ; preds = %8
%23 = 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/tmph3j7i6u6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%3d\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i32, ptr %5, i64 0
%7 = load i32, ptr %6, align 4
store i32 %7, ptr %3, align 4
store i32 0, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %24
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %18
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %12, i64 %14
%16 = load i32, ptr %15, align 4
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16)
br label %18
18: ; preds = %11
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %4, align 4
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %3, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %1
%25 = 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/tmpv95uc2tt.c'
source_filename = "/tmp/tmpv95uc2tt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_cursor(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i16, align 2
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = call zeroext i16 @vga_offset(i32 noundef %6, i32 noundef %7)
store i16 %8, ptr %5, align 2
%9 = call i32 @outb(i32 noundef 980, i16 noundef zeroext 15)
%10 = load i16, ptr %5, align 2
%11 = zext i16 %10 to i32
%12 = and i32 %11, 255
%13 = trunc i32 %12 to i16
%14 = call i32 @outb(i32 noundef 981, i16 noundef zeroext %13)
%15 = call i32 @outb(i32 noundef 980, i16 noundef zeroext 14)
%16 = load i16, ptr %5, align 2
%17 = zext i16 %16 to i32
%18 = ashr i32 %17, 8
%19 = and i32 %18, 255
%20 = trunc i32 %19 to i16
%21 = call i32 @outb(i32 noundef 981, i16 noundef zeroext %20)
ret void
}
declare zeroext i16 @vga_offset(i32 noundef, i32 noundef) #1
declare i32 @outb(i32 noundef, i16 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv95uc2tt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_cursor(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i16, align 2
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = call zeroext i16 @vga_offset(i32 noundef %6, i32 noundef %7)
store i16 %8, ptr %5, align 2
%9 = call i32 @outb(i32 noundef 980, i16 noundef zeroext 15)
%10 = load i16, ptr %5, align 2
%11 = zext i16 %10 to i32
%12 = and i32 %11, 255
%13 = trunc i32 %12 to i16
%14 = call i32 @outb(i32 noundef 981, i16 noundef zeroext %13)
%15 = call i32 @outb(i32 noundef 980, i16 noundef zeroext 14)
%16 = load i16, ptr %5, align 2
%17 = zext i16 %16 to i32
%18 = ashr i32 %17, 8
%19 = and i32 %18, 255
%20 = trunc i32 %19 to i16
%21 = call i32 @outb(i32 noundef 981, i16 noundef zeroext %20)
ret void
}
declare zeroext i16 @vga_offset(i32 noundef, i32 noundef) #1
declare i32 @outb(i32 noundef, i16 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0puadvo6.c'
source_filename = "/tmp/tmp0puadvo6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%016llX\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 (...) @sysflake_generate()
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sysflake_generate(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0puadvo6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%016llX\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 (...) @sysflake_generate()
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sysflake_generate(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx64lhl7f.c'
source_filename = "/tmp/tmpx64lhl7f.c"
target datalayout = "e-m:e-p270: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/tmpx64lhl7f.c"
target datalayout = "e-m:e-p270: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/tmpjhb8kvsb.c'
source_filename = "/tmp/tmpjhb8kvsb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"clear\00", align 1
@.str.1 = private unnamed_addr constant [47 x i8] c"\1B[34m _______ _____ _____ _ _ \0A\00", align 1
@.str.2 = private unnamed_addr constant [42 x i8] c" |__ __| / ____/ ____| | | |\0A\00", align 1
@.str.3 = private unnamed_addr constant [42 x i8] c" | |_ ___ _| (___| (___ | |__| |\0A\00", align 1
@.str.4 = private unnamed_addr constant [42 x i8] c" | | | | \\ \\/ /\\___ \\___ \\| __ |\0A\00", align 1
@.str.5 = private unnamed_addr constant [42 x i8] c" | | |_| |> < ____) |___) | | | |\0A\00", align 1
@.str.6 = private unnamed_addr constant [48 x i8] c" |_|\\__,_/_/\\_\\_____/_____/|_| |_|\0A\0A\0A\1B[0m\00", align 1
@.str.7 = private unnamed_addr constant [50 x i8] c"Developed and Created by Brendan Wilson (c) 2018\0A\00", align 1
@.str.8 = private unnamed_addr constant [96 x i8] c"Managed as a FOSS program, maintained at https://github.com/bmw417/projects/tree/master/TuxSSH\0A\00", align 1
@.str.9 = private unnamed_addr constant [104 x i8] c"Licensing and License Information at https://github.com/bmw417/projects/blob/master/TuxSSH/LICENSE.md\0A\0A\00", align 1
@.str.10 = private unnamed_addr constant [73 x i8] c"Contact me at brendan.wilson@student.nmt.edu for questions or comments\0A\0A\00", align 1
@.str.11 = private unnamed_addr constant [33 x i8] c"Enter anything to quit to menu: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.12 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @about() #0 {
%1 = alloca [100 x i8], align 16
%2 = alloca i8, align 1
br label %3
3: ; preds = %0, %26
%4 = call i32 @system(ptr noundef @.str)
%5 = call i32 @printf(ptr noundef @.str.1)
%6 = call i32 @printf(ptr noundef @.str.2)
%7 = call i32 @printf(ptr noundef @.str.3)
%8 = call i32 @printf(ptr noundef @.str.4)
%9 = call i32 @printf(ptr noundef @.str.5)
%10 = call i32 @printf(ptr noundef @.str.6)
%11 = call i32 @printf(ptr noundef @.str.7)
%12 = call i32 @printf(ptr noundef @.str.8)
%13 = call i32 @printf(ptr noundef @.str.9)
%14 = call i32 @printf(ptr noundef @.str.10)
%15 = call i32 @printf(ptr noundef @.str.11)
%16 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0
%17 = load i32, ptr @stdin, align 4
%18 = call i32 @fgets(ptr noundef %16, i32 noundef 100, i32 noundef %17)
%19 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0
%20 = call i32 @sscanf(ptr noundef %19, ptr noundef @.str.12, ptr noundef %2)
%21 = load i8, ptr %2, align 1
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %3
%25 = call i32 @system(ptr noundef @.str)
br label %27
26: ; preds = %3
br label %3
27: ; preds = %24
ret void
}
declare i32 @system(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjhb8kvsb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"clear\00", align 1
@.str.1 = private unnamed_addr constant [47 x i8] c"\1B[34m _______ _____ _____ _ _ \0A\00", align 1
@.str.2 = private unnamed_addr constant [42 x i8] c" |__ __| / ____/ ____| | | |\0A\00", align 1
@.str.3 = private unnamed_addr constant [42 x i8] c" | |_ ___ _| (___| (___ | |__| |\0A\00", align 1
@.str.4 = private unnamed_addr constant [42 x i8] c" | | | | \\ \\/ /\\___ \\___ \\| __ |\0A\00", align 1
@.str.5 = private unnamed_addr constant [42 x i8] c" | | |_| |> < ____) |___) | | | |\0A\00", align 1
@.str.6 = private unnamed_addr constant [48 x i8] c" |_|\\__,_/_/\\_\\_____/_____/|_| |_|\0A\0A\0A\1B[0m\00", align 1
@.str.7 = private unnamed_addr constant [50 x i8] c"Developed and Created by Brendan Wilson (c) 2018\0A\00", align 1
@.str.8 = private unnamed_addr constant [96 x i8] c"Managed as a FOSS program, maintained at https://github.com/bmw417/projects/tree/master/TuxSSH\0A\00", align 1
@.str.9 = private unnamed_addr constant [104 x i8] c"Licensing and License Information at https://github.com/bmw417/projects/blob/master/TuxSSH/LICENSE.md\0A\0A\00", align 1
@.str.10 = private unnamed_addr constant [73 x i8] c"Contact me at brendan.wilson@student.nmt.edu for questions or comments\0A\0A\00", align 1
@.str.11 = private unnamed_addr constant [33 x i8] c"Enter anything to quit to menu: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.12 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @about() #0 {
%1 = alloca [100 x i8], align 16
%2 = alloca i8, align 1
br label %3
3: ; preds = %3, %0
%4 = call i32 @system(ptr noundef @.str)
%5 = call i32 @printf(ptr noundef @.str.1)
%6 = call i32 @printf(ptr noundef @.str.2)
%7 = call i32 @printf(ptr noundef @.str.3)
%8 = call i32 @printf(ptr noundef @.str.4)
%9 = call i32 @printf(ptr noundef @.str.5)
%10 = call i32 @printf(ptr noundef @.str.6)
%11 = call i32 @printf(ptr noundef @.str.7)
%12 = call i32 @printf(ptr noundef @.str.8)
%13 = call i32 @printf(ptr noundef @.str.9)
%14 = call i32 @printf(ptr noundef @.str.10)
%15 = call i32 @printf(ptr noundef @.str.11)
%16 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0
%17 = load i32, ptr @stdin, align 4
%18 = call i32 @fgets(ptr noundef %16, i32 noundef 100, i32 noundef %17)
%19 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0
%20 = call i32 @sscanf(ptr noundef %19, ptr noundef @.str.12, ptr noundef %2)
%21 = load i8, ptr %2, align 1
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %3
24: ; preds = %3
%25 = call i32 @system(ptr noundef @.str)
br label %26
26: ; preds = %24
ret void
}
declare i32 @system(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiairkn5_.c'
source_filename = "/tmp/tmpiairkn5_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @r8vec_distance(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca double, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store double 0.000000e+00, ptr %8, align 8
store i32 0, ptr %7, align 4
br label %9
9: ; preds = %26, %3
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %29
13: ; preds = %9
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %7, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds double, ptr %14, i64 %16
%18 = load double, ptr %17, align 8
%19 = load ptr, ptr %6, align 8
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds double, ptr %19, i64 %21
%23 = load double, ptr %22, align 8
%24 = fsub double %18, %23
%25 = call double @pow(double noundef %24, i32 noundef 2)
store double %25, ptr %8, align 8
br label %26
26: ; preds = %13
%27 = load i32, ptr %7, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %7, align 4
br label %9, !llvm.loop !6
29: ; preds = %9
%30 = load double, ptr %8, align 8
%31 = call double @sqrt(double noundef %30) #3
store double %31, ptr %8, align 8
%32 = load double, ptr %8, align 8
ret double %32
}
declare double @pow(double noundef, i32 noundef) #1
; Function Attrs: nounwind
declare double @sqrt(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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpiairkn5_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @r8vec_distance(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca double, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store double 0.000000e+00, ptr %8, align 8
store i32 0, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %31
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %25
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %7, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds double, ptr %13, i64 %15
%17 = load double, ptr %16, align 8
%18 = load ptr, ptr %6, align 8
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds double, ptr %18, i64 %20
%22 = load double, ptr %21, align 8
%23 = fsub double %17, %22
%24 = call double @pow(double noundef %23, i32 noundef 2)
store double %24, ptr %8, align 8
br label %25
25: ; preds = %12
%26 = load i32, ptr %7, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %7, align 4
%28 = load i32, ptr %7, align 4
%29 = load i32, ptr %4, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %3
%32 = load double, ptr %8, align 8
%33 = call double @sqrt(double noundef %32) #3
store double %33, ptr %8, align 8
%34 = load double, ptr %8, align 8
ret double %34
}
declare double @pow(double noundef, i32 noundef) #1
; Function Attrs: nounwind
declare double @sqrt(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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp262swcl2.c'
source_filename = "/tmp/tmp262swcl2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [70 x i8] c"usage: mkdir <opt><arg> <dirname>\0A -h show help\0A -m XXX specify mode\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 @write(i32 noundef 2, ptr noundef @.str, i32 noundef 70)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp262swcl2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [70 x i8] c"usage: mkdir <opt><arg> <dirname>\0A -h show help\0A -m XXX specify mode\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 @write(i32 noundef 2, ptr noundef @.str, i32 noundef 70)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2x7ed1iu.c'
source_filename = "/tmp/tmp2x7ed1iu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [56 x i8] c"Usage: codepages [-m]\0A\09-m Create isomini.cp only\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"build date: Mar 15 2022\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2x7ed1iu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [56 x i8] c"Usage: codepages [-m]\0A\09-m Create isomini.cp only\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"build date: Mar 15 2022\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @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"}
|
; ModuleID = '/tmp/tmp6k3rb6t1.c'
source_filename = "/tmp/tmp6k3rb6t1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Showing paths for %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_paths(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/tmp6k3rb6t1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Showing paths for %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_paths(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/tmpys73jqpg.c'
source_filename = "/tmp/tmpys73jqpg.c"
target datalayout = "e-m:e-p270: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/tmpys73jqpg.c"
target datalayout = "e-m:e-p270: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/tmp7_z3cxbf.c'
source_filename = "/tmp/tmp7_z3cxbf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @le64_to_native(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = call i64 (...) @__is_big_endian()
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr %3, align 4
%8 = call i32 @__swab64(i32 noundef %7)
store i32 %8, ptr %2, align 4
br label %11
9: ; preds = %1
%10 = load i32, ptr %3, align 4
store i32 %10, ptr %2, align 4
br label %11
11: ; preds = %9, %6
%12 = load i32, ptr %2, align 4
ret i32 %12
}
declare i64 @__is_big_endian(...) #1
declare i32 @__swab64(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/tmp7_z3cxbf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @le64_to_native(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = call i64 (...) @__is_big_endian()
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr %3, align 4
%8 = call i32 @__swab64(i32 noundef %7)
store i32 %8, ptr %2, align 4
br label %11
9: ; preds = %1
%10 = load i32, ptr %3, align 4
store i32 %10, ptr %2, align 4
br label %11
11: ; preds = %9, %6
%12 = load i32, ptr %2, align 4
ret i32 %12
}
declare i64 @__is_big_endian(...) #1
declare i32 @__swab64(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/tmp2kqg4xgv.c'
source_filename = "/tmp/tmp2kqg4xgv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"Unable to allocate %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @mem_alloc(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = call i64 @malloc(i64 noundef %6)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = load i64, ptr %3, align 8
%14 = call i32 @memset(ptr noundef %12, i32 noundef 0, i64 noundef %13)
br label %20
15: ; preds = %2
%16 = load i32, ptr @stderr, align 4
%17 = load ptr, ptr %4, align 8
%18 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %17)
%19 = call i32 @exit(i32 noundef 0) #3
unreachable
20: ; preds = %11
%21 = load ptr, ptr %5, align 8
ret ptr %21
}
declare i64 @malloc(i64 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2kqg4xgv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"Unable to allocate %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @mem_alloc(i64 noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = call i64 @malloc(i64 noundef %6)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = load i64, ptr %3, align 8
%14 = call i32 @memset(ptr noundef %12, i32 noundef 0, i64 noundef %13)
br label %20
15: ; preds = %2
%16 = load i32, ptr @stderr, align 4
%17 = load ptr, ptr %4, align 8
%18 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %17)
%19 = call i32 @exit(i32 noundef 0) #3
unreachable
20: ; preds = %11
%21 = load ptr, ptr %5, align 8
ret ptr %21
}
declare i64 @malloc(i64 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmply0t0im6.c'
source_filename = "/tmp/tmply0t0im6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XReparentEvent_event(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 i64, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i64 %5, ptr %7, align 8
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/tmply0t0im6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XReparentEvent_event(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 i64, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i64 %5, ptr %7, align 8
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/tmp72z8n3g5.c'
source_filename = "/tmp/tmp72z8n3g5.c"
target datalayout = "e-m:e-p270: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/tmp72z8n3g5.c"
target datalayout = "e-m:e-p270: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/tmpsow6zr3c.c'
source_filename = "/tmp/tmpsow6zr3c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-a\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"read1 error!\00", align 1
@O_CREAT = dso_local global i32 0, align 4
@O_RDWR = dso_local global i32 0, align 4
@O_APPEND = dso_local global i32 0, align 4
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [14 x i8] c"open error! \0A\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"write error! \0A\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"close error! \0A\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"read2 error!\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 ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%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 64, ptr %6, align 4
store i32 0, ptr %8, align 4
%11 = load i32, ptr %6, align 4
%12 = sext i32 %11 to i64
%13 = mul i64 %12, 1
%14 = trunc i64 %13 to i32
%15 = call i64 @malloc(i32 noundef %14)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %7, align 8
%17 = load i32, ptr %4, align 4
%18 = icmp sgt i32 %17, 1
br i1 %18, label %19, label %73
19: ; preds = %2
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = load ptr, ptr %21, align 8
%23 = call i64 @strcmp(ptr noundef %22, ptr noundef @.str)
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %73
25: ; preds = %19
%26 = load ptr, ptr %7, align 8
%27 = load i32, ptr %6, align 4
%28 = call i32 @read(i32 noundef 0, ptr noundef %26, i32 noundef %27)
store i32 %28, ptr %8, align 4
%29 = load i32, ptr %8, align 4
%30 = icmp eq i32 %29, -1
br i1 %30, label %31, label %33
31: ; preds = %25
%32 = call i32 @printf(ptr noundef @.str.1)
store i32 -1, ptr %3, align 4
br label %90
33: ; preds = %25
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds ptr, ptr %34, i64 2
%36 = load ptr, ptr %35, align 8
%37 = load i32, ptr @O_CREAT, align 4
%38 = load i32, ptr @O_RDWR, align 4
%39 = or i32 %37, %38
%40 = load i32, ptr @O_APPEND, align 4
%41 = or i32 %39, %40
%42 = load i32, ptr @S_IRUSR, align 4
%43 = load i32, ptr @S_IWUSR, align 4
%44 = or i32 %42, %43
%45 = call i32 @open(ptr noundef %36, i32 noundef %41, i32 noundef %44)
store i32 %45, ptr %10, align 4
%46 = load i32, ptr %10, align 4
%47 = icmp eq i32 %46, -1
br i1 %47, label %48, label %50
48: ; preds = %33
%49 = call i32 @printf(ptr noundef @.str.2)
store i32 -1, ptr %3, align 4
br label %90
50: ; preds = %33
%51 = load ptr, ptr %7, align 8
%52 = load i32, ptr %8, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %51, i64 %53
store i8 0, ptr %54, align 1
%55 = load i32, ptr @stdout, align 4
%56 = load ptr, ptr %7, align 8
%57 = call i32 @fprintf(i32 noundef %55, ptr noundef @.str.3, ptr noundef %56)
%58 = load i32, ptr %10, align 4
%59 = load ptr, ptr %7, align 8
%60 = load i32, ptr %8, align 4
%61 = call i32 @write(i32 noundef %58, ptr noundef %59, i32 noundef %60)
store i32 %61, ptr %9, align 4
%62 = load i32, ptr %9, align 4
%63 = icmp eq i32 %62, -1
br i1 %63, label %64, label %66
64: ; preds = %50
%65 = call i32 @printf(ptr noundef @.str.4)
store i32 -1, ptr %3, align 4
br label %90
66: ; preds = %50
%67 = load i32, ptr %10, align 4
%68 = call i32 @close(i32 noundef %67)
%69 = icmp eq i32 %68, -1
br i1 %69, label %70, label %72
70: ; preds = %66
%71 = call i32 @printf(ptr noundef @.str.5)
store i32 -1, ptr %3, align 4
br label %90
72: ; preds = %66
store i32 0, ptr %3, align 4
br label %90
73: ; preds = %19, %2
%74 = load ptr, ptr %7, align 8
%75 = load i32, ptr %6, align 4
%76 = call i32 @read(i32 noundef 0, ptr noundef %74, i32 noundef %75)
store i32 %76, ptr %8, align 4
%77 = load i32, ptr %8, align 4
%78 = icmp eq i32 %77, -1
br i1 %78, label %79, label %81
79: ; preds = %73
%80 = call i32 @printf(ptr noundef @.str.6)
store i32 -1, ptr %3, align 4
br label %90
81: ; preds = %73
%82 = load ptr, ptr %7, align 8
%83 = load i32, ptr %8, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i8, ptr %82, i64 %84
store i8 0, ptr %85, align 1
%86 = load i32, ptr @stdout, align 4
%87 = load ptr, ptr %7, align 8
%88 = call i32 @fprintf(i32 noundef %86, ptr noundef @.str.3, ptr noundef %87)
br label %89
89: ; preds = %81
store i32 0, ptr %3, align 4
br label %90
90: ; preds = %89, %79, %72, %70, %64, %48, %31
%91 = load i32, ptr %3, align 4
ret i32 %91
}
declare i64 @malloc(i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr 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/tmpsow6zr3c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-a\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"read1 error!\00", align 1
@O_CREAT = dso_local global i32 0, align 4
@O_RDWR = dso_local global i32 0, align 4
@O_APPEND = dso_local global i32 0, align 4
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [14 x i8] c"open error! \0A\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"write error! \0A\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"close error! \0A\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"read2 error!\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 ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%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 64, ptr %6, align 4
store i32 0, ptr %8, align 4
%11 = load i32, ptr %6, align 4
%12 = sext i32 %11 to i64
%13 = mul i64 %12, 1
%14 = trunc i64 %13 to i32
%15 = call i64 @malloc(i32 noundef %14)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %7, align 8
%17 = load i32, ptr %4, align 4
%18 = icmp sgt i32 %17, 1
br i1 %18, label %19, label %73
19: ; preds = %2
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = load ptr, ptr %21, align 8
%23 = call i64 @strcmp(ptr noundef %22, ptr noundef @.str)
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %73
25: ; preds = %19
%26 = load ptr, ptr %7, align 8
%27 = load i32, ptr %6, align 4
%28 = call i32 @read(i32 noundef 0, ptr noundef %26, i32 noundef %27)
store i32 %28, ptr %8, align 4
%29 = load i32, ptr %8, align 4
%30 = icmp eq i32 %29, -1
br i1 %30, label %31, label %33
31: ; preds = %25
%32 = call i32 @printf(ptr noundef @.str.1)
store i32 -1, ptr %3, align 4
br label %90
33: ; preds = %25
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds ptr, ptr %34, i64 2
%36 = load ptr, ptr %35, align 8
%37 = load i32, ptr @O_CREAT, align 4
%38 = load i32, ptr @O_RDWR, align 4
%39 = or i32 %37, %38
%40 = load i32, ptr @O_APPEND, align 4
%41 = or i32 %39, %40
%42 = load i32, ptr @S_IRUSR, align 4
%43 = load i32, ptr @S_IWUSR, align 4
%44 = or i32 %42, %43
%45 = call i32 @open(ptr noundef %36, i32 noundef %41, i32 noundef %44)
store i32 %45, ptr %10, align 4
%46 = load i32, ptr %10, align 4
%47 = icmp eq i32 %46, -1
br i1 %47, label %48, label %50
48: ; preds = %33
%49 = call i32 @printf(ptr noundef @.str.2)
store i32 -1, ptr %3, align 4
br label %90
50: ; preds = %33
%51 = load ptr, ptr %7, align 8
%52 = load i32, ptr %8, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %51, i64 %53
store i8 0, ptr %54, align 1
%55 = load i32, ptr @stdout, align 4
%56 = load ptr, ptr %7, align 8
%57 = call i32 @fprintf(i32 noundef %55, ptr noundef @.str.3, ptr noundef %56)
%58 = load i32, ptr %10, align 4
%59 = load ptr, ptr %7, align 8
%60 = load i32, ptr %8, align 4
%61 = call i32 @write(i32 noundef %58, ptr noundef %59, i32 noundef %60)
store i32 %61, ptr %9, align 4
%62 = load i32, ptr %9, align 4
%63 = icmp eq i32 %62, -1
br i1 %63, label %64, label %66
64: ; preds = %50
%65 = call i32 @printf(ptr noundef @.str.4)
store i32 -1, ptr %3, align 4
br label %90
66: ; preds = %50
%67 = load i32, ptr %10, align 4
%68 = call i32 @close(i32 noundef %67)
%69 = icmp eq i32 %68, -1
br i1 %69, label %70, label %72
70: ; preds = %66
%71 = call i32 @printf(ptr noundef @.str.5)
store i32 -1, ptr %3, align 4
br label %90
72: ; preds = %66
store i32 0, ptr %3, align 4
br label %90
73: ; preds = %19, %2
%74 = load ptr, ptr %7, align 8
%75 = load i32, ptr %6, align 4
%76 = call i32 @read(i32 noundef 0, ptr noundef %74, i32 noundef %75)
store i32 %76, ptr %8, align 4
%77 = load i32, ptr %8, align 4
%78 = icmp eq i32 %77, -1
br i1 %78, label %79, label %81
79: ; preds = %73
%80 = call i32 @printf(ptr noundef @.str.6)
store i32 -1, ptr %3, align 4
br label %90
81: ; preds = %73
%82 = load ptr, ptr %7, align 8
%83 = load i32, ptr %8, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i8, ptr %82, i64 %84
store i8 0, ptr %85, align 1
%86 = load i32, ptr @stdout, align 4
%87 = load ptr, ptr %7, align 8
%88 = call i32 @fprintf(i32 noundef %86, ptr noundef @.str.3, ptr noundef %87)
br label %89
89: ; preds = %81
store i32 0, ptr %3, align 4
br label %90
90: ; preds = %89, %79, %72, %70, %64, %48, %31
%91 = load i32, ptr %3, align 4
ret i32 %91
}
declare i64 @malloc(i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr 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/tmp4d6rpvvt.c'
source_filename = "/tmp/tmp4d6rpvvt.c"
target datalayout = "e-m:e-p270: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 i64 0, align 8
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"Usage: measure-corr [1-30]\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [9 x i8] c"/dev/mem\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [23 x i8] c"Cannot open /dev/mem.\0A\00", align 1
@_SC_PAGESIZE = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [24 x i8] c"Not enough PPS pulses.\0A\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"Correction value is out of range.\0A\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"%.2f\0A\00", align 1
@EXIT_SUCCESS = 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 i32, align 4
%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 ptr, align 8
%14 = alloca i64, align 8
%15 = alloca double, align 8
%16 = alloca float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr @errno, align 8
%17 = load i32, ptr %4, align 4
%18 = icmp eq i32 %17, 2
br i1 %18, label %19, label %24
19: ; preds = %2
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = load ptr, ptr %21, align 8
%23 = call i32 @strtol(ptr noundef %22, ptr noundef %8, i32 noundef 10)
br label %25
24: ; preds = %2
br label %25
25: ; preds = %24, %19
%26 = phi i32 [ %23, %19 ], [ -1, %24 ]
%27 = sext i32 %26 to i64
store i64 %27, ptr %14, align 8
%28 = load i64, ptr @errno, align 8
%29 = icmp ne i64 %28, 0
br i1 %29, label %42, label %30
30: ; preds = %25
%31 = load ptr, ptr %8, align 8
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 1
%34 = load ptr, ptr %33, align 8
%35 = icmp eq ptr %31, %34
br i1 %35, label %42, label %36
36: ; preds = %30
%37 = load i64, ptr %14, align 8
%38 = icmp slt i64 %37, 1
br i1 %38, label %42, label %39
39: ; preds = %36
%40 = load i64, ptr %14, align 8
%41 = icmp sgt i64 %40, 30
br i1 %41, label %42, label %46
42: ; preds = %39, %36, %30, %25
%43 = load i32, ptr @stderr, align 4
%44 = call i32 @fprintf(i32 noundef %43, ptr noundef @.str)
%45 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %45, ptr %3, align 4
br label %139
46: ; preds = %39
%47 = load i32, ptr @O_RDWR, align 4
%48 = call i32 @open(ptr noundef @.str.1, i32 noundef %47)
store i32 %48, ptr %6, align 4
%49 = icmp slt i32 %48, 0
br i1 %49, label %50, label %54
50: ; preds = %46
%51 = load i32, ptr @stderr, align 4
%52 = call i32 @fprintf(i32 noundef %51, ptr noundef @.str.2)
%53 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %53, ptr %3, align 4
br label %139
54: ; preds = %46
%55 = load i32, ptr @_SC_PAGESIZE, align 4
%56 = call i32 @sysconf(i32 noundef %55)
%57 = load i32, ptr @PROT_READ, align 4
%58 = load i32, ptr @PROT_WRITE, align 4
%59 = or i32 %57, %58
%60 = load i32, ptr @MAP_SHARED, align 4
%61 = load i32, ptr %6, align 4
%62 = call ptr @mmap(ptr noundef null, i32 noundef %56, i32 noundef %59, i32 noundef %60, i32 noundef %61, i32 noundef 1073741824)
store ptr %62, ptr %10, align 8
%63 = load i32, ptr @_SC_PAGESIZE, align 4
%64 = call i32 @sysconf(i32 noundef %63)
%65 = load i32, ptr @PROT_READ, align 4
%66 = load i32, ptr @PROT_WRITE, align 4
%67 = or i32 %65, %66
%68 = load i32, ptr @MAP_SHARED, align 4
%69 = load i32, ptr %6, align 4
%70 = call ptr @mmap(ptr noundef null, i32 noundef %64, i32 noundef %67, i32 noundef %68, i32 noundef %69, i32 noundef 1073745920)
store ptr %70, ptr %9, align 8
%71 = load i32, ptr @_SC_PAGESIZE, align 4
%72 = call i32 @sysconf(i32 noundef %71)
%73 = load i32, ptr @PROT_READ, align 4
%74 = load i32, ptr @PROT_WRITE, align 4
%75 = or i32 %73, %74
%76 = load i32, ptr @MAP_SHARED, align 4
%77 = load i32, ptr %6, align 4
%78 = call ptr @mmap(ptr noundef null, i32 noundef %72, i32 noundef %75, i32 noundef %76, i32 noundef %77, i32 noundef 1073786880)
store ptr %78, ptr %11, align 8
%79 = load ptr, ptr %9, align 8
%80 = getelementptr i8, ptr %79, i64 3
store ptr %80, ptr %12, align 8
%81 = load ptr, ptr %10, align 8
%82 = getelementptr i8, ptr %81, i64 28
store ptr %82, ptr %13, align 8
%83 = load ptr, ptr %12, align 8
%84 = load volatile i32, ptr %83, align 4
%85 = and i32 %84, -2
store volatile i32 %85, ptr %83, align 4
%86 = load ptr, ptr %12, align 8
%87 = load volatile i32, ptr %86, align 4
%88 = or i32 %87, 1
store volatile i32 %88, ptr %86, align 4
%89 = load i64, ptr %14, align 8
%90 = add nsw i64 %89, 1
%91 = call i32 @sleep(i64 noundef %90)
%92 = load ptr, ptr %13, align 8
%93 = load volatile i64, ptr %92, align 8
%94 = load i64, ptr %14, align 8
%95 = icmp slt i64 %93, %94
br i1 %95, label %96, label %100
96: ; preds = %54
%97 = load i32, ptr @stderr, align 4
%98 = call i32 @fprintf(i32 noundef %97, ptr noundef @.str.3)
%99 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %99, ptr %3, align 4
br label %139
100: ; preds = %54
store double 0.000000e+00, ptr %15, align 8
store i32 0, ptr %7, align 4
br label %101
101: ; preds = %112, %100
%102 = load i32, ptr %7, align 4
%103 = sext i32 %102 to i64
%104 = load i64, ptr %14, align 8
%105 = icmp slt i64 %103, %104
br i1 %105, label %106, label %115
106: ; preds = %101
%107 = load ptr, ptr %11, align 8
%108 = load volatile double, ptr %107, align 8
%109 = fadd double %108, 1.000000e+00
%110 = load double, ptr %15, align 8
%111 = fadd double %110, %109
store double %111, ptr %15, align 8
br label %112
112: ; preds = %106
%113 = load i32, ptr %7, align 4
%114 = add nsw i32 %113, 1
store i32 %114, ptr %7, align 4
br label %101, !llvm.loop !6
115: ; preds = %101
%116 = load i64, ptr %14, align 8
%117 = sitofp i64 %116 to double
%118 = fmul double 1.250000e+08, %117
%119 = load double, ptr %15, align 8
%120 = fdiv double %118, %119
%121 = fsub double %120, 1.000000e+00
%122 = fmul double %121, 1.000000e+06
%123 = fptrunc double %122 to float
store float %123, ptr %16, align 4
%124 = load float, ptr %16, align 4
%125 = fpext float %124 to double
%126 = fcmp olt double %125, -1.000000e+02
br i1 %126, label %131, label %127
127: ; preds = %115
%128 = load float, ptr %16, align 4
%129 = fpext float %128 to double
%130 = fcmp ogt double %129, 1.000000e+02
br i1 %130, label %131, label %135
131: ; preds = %127, %115
%132 = load i32, ptr @stderr, align 4
%133 = call i32 @fprintf(i32 noundef %132, ptr noundef @.str.4)
%134 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %134, ptr %3, align 4
br label %139
135: ; preds = %127
%136 = load float, ptr %16, align 4
%137 = call i32 @printf(ptr noundef @.str.5, float noundef %136)
%138 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %138, ptr %3, align 4
br label %139
139: ; preds = %135, %131, %96, %50, %42
%140 = load i32, ptr %3, align 4
ret i32 %140
}
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @sysconf(i32 noundef) #1
declare i32 @sleep(i64 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/tmp4d6rpvvt.c"
target datalayout = "e-m:e-p270: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 i64 0, align 8
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"Usage: measure-corr [1-30]\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [9 x i8] c"/dev/mem\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [23 x i8] c"Cannot open /dev/mem.\0A\00", align 1
@_SC_PAGESIZE = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [24 x i8] c"Not enough PPS pulses.\0A\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"Correction value is out of range.\0A\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"%.2f\0A\00", align 1
@EXIT_SUCCESS = 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 i32, align 4
%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 ptr, align 8
%14 = alloca i64, align 8
%15 = alloca double, align 8
%16 = alloca float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr @errno, align 8
%17 = load i32, ptr %4, align 4
%18 = icmp eq i32 %17, 2
br i1 %18, label %19, label %24
19: ; preds = %2
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = load ptr, ptr %21, align 8
%23 = call i32 @strtol(ptr noundef %22, ptr noundef %8, i32 noundef 10)
br label %25
24: ; preds = %2
br label %25
25: ; preds = %24, %19
%26 = phi i32 [ %23, %19 ], [ -1, %24 ]
%27 = sext i32 %26 to i64
store i64 %27, ptr %14, align 8
%28 = load i64, ptr @errno, align 8
%29 = icmp ne i64 %28, 0
br i1 %29, label %42, label %30
30: ; preds = %25
%31 = load ptr, ptr %8, align 8
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 1
%34 = load ptr, ptr %33, align 8
%35 = icmp eq ptr %31, %34
br i1 %35, label %42, label %36
36: ; preds = %30
%37 = load i64, ptr %14, align 8
%38 = icmp slt i64 %37, 1
br i1 %38, label %42, label %39
39: ; preds = %36
%40 = load i64, ptr %14, align 8
%41 = icmp sgt i64 %40, 30
br i1 %41, label %42, label %46
42: ; preds = %39, %36, %30, %25
%43 = load i32, ptr @stderr, align 4
%44 = call i32 @fprintf(i32 noundef %43, ptr noundef @.str)
%45 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %45, ptr %3, align 4
br label %142
46: ; preds = %39
%47 = load i32, ptr @O_RDWR, align 4
%48 = call i32 @open(ptr noundef @.str.1, i32 noundef %47)
store i32 %48, ptr %6, align 4
%49 = icmp slt i32 %48, 0
br i1 %49, label %50, label %54
50: ; preds = %46
%51 = load i32, ptr @stderr, align 4
%52 = call i32 @fprintf(i32 noundef %51, ptr noundef @.str.2)
%53 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %53, ptr %3, align 4
br label %142
54: ; preds = %46
%55 = load i32, ptr @_SC_PAGESIZE, align 4
%56 = call i32 @sysconf(i32 noundef %55)
%57 = load i32, ptr @PROT_READ, align 4
%58 = load i32, ptr @PROT_WRITE, align 4
%59 = or i32 %57, %58
%60 = load i32, ptr @MAP_SHARED, align 4
%61 = load i32, ptr %6, align 4
%62 = call ptr @mmap(ptr noundef null, i32 noundef %56, i32 noundef %59, i32 noundef %60, i32 noundef %61, i32 noundef 1073741824)
store ptr %62, ptr %10, align 8
%63 = load i32, ptr @_SC_PAGESIZE, align 4
%64 = call i32 @sysconf(i32 noundef %63)
%65 = load i32, ptr @PROT_READ, align 4
%66 = load i32, ptr @PROT_WRITE, align 4
%67 = or i32 %65, %66
%68 = load i32, ptr @MAP_SHARED, align 4
%69 = load i32, ptr %6, align 4
%70 = call ptr @mmap(ptr noundef null, i32 noundef %64, i32 noundef %67, i32 noundef %68, i32 noundef %69, i32 noundef 1073745920)
store ptr %70, ptr %9, align 8
%71 = load i32, ptr @_SC_PAGESIZE, align 4
%72 = call i32 @sysconf(i32 noundef %71)
%73 = load i32, ptr @PROT_READ, align 4
%74 = load i32, ptr @PROT_WRITE, align 4
%75 = or i32 %73, %74
%76 = load i32, ptr @MAP_SHARED, align 4
%77 = load i32, ptr %6, align 4
%78 = call ptr @mmap(ptr noundef null, i32 noundef %72, i32 noundef %75, i32 noundef %76, i32 noundef %77, i32 noundef 1073786880)
store ptr %78, ptr %11, align 8
%79 = load ptr, ptr %9, align 8
%80 = getelementptr i8, ptr %79, i64 3
store ptr %80, ptr %12, align 8
%81 = load ptr, ptr %10, align 8
%82 = getelementptr i8, ptr %81, i64 28
store ptr %82, ptr %13, align 8
%83 = load ptr, ptr %12, align 8
%84 = load volatile i32, ptr %83, align 4
%85 = and i32 %84, -2
store volatile i32 %85, ptr %83, align 4
%86 = load ptr, ptr %12, align 8
%87 = load volatile i32, ptr %86, align 4
%88 = or i32 %87, 1
store volatile i32 %88, ptr %86, align 4
%89 = load i64, ptr %14, align 8
%90 = add nsw i64 %89, 1
%91 = call i32 @sleep(i64 noundef %90)
%92 = load ptr, ptr %13, align 8
%93 = load volatile i64, ptr %92, align 8
%94 = load i64, ptr %14, align 8
%95 = icmp slt i64 %93, %94
br i1 %95, label %96, label %100
96: ; preds = %54
%97 = load i32, ptr @stderr, align 4
%98 = call i32 @fprintf(i32 noundef %97, ptr noundef @.str.3)
%99 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %99, ptr %3, align 4
br label %142
100: ; preds = %54
store double 0.000000e+00, ptr %15, align 8
store i32 0, ptr %7, align 4
%101 = load i32, ptr %7, align 4
%102 = sext i32 %101 to i64
%103 = load i64, ptr %14, align 8
%104 = icmp slt i64 %102, %103
br i1 %104, label %.lr.ph, label %118
.lr.ph: ; preds = %100
br label %105
105: ; preds = %.lr.ph, %111
%106 = load ptr, ptr %11, align 8
%107 = load volatile double, ptr %106, align 8
%108 = fadd double %107, 1.000000e+00
%109 = load double, ptr %15, align 8
%110 = fadd double %109, %108
store double %110, ptr %15, align 8
br label %111
111: ; preds = %105
%112 = load i32, ptr %7, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %7, align 4
%114 = load i32, ptr %7, align 4
%115 = sext i32 %114 to i64
%116 = load i64, ptr %14, align 8
%117 = icmp slt i64 %115, %116
br i1 %117, label %105, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %111
br label %118
118: ; preds = %._crit_edge, %100
%119 = load i64, ptr %14, align 8
%120 = sitofp i64 %119 to double
%121 = fmul double 1.250000e+08, %120
%122 = load double, ptr %15, align 8
%123 = fdiv double %121, %122
%124 = fsub double %123, 1.000000e+00
%125 = fmul double %124, 1.000000e+06
%126 = fptrunc double %125 to float
store float %126, ptr %16, align 4
%127 = load float, ptr %16, align 4
%128 = fpext float %127 to double
%129 = fcmp olt double %128, -1.000000e+02
br i1 %129, label %134, label %130
130: ; preds = %118
%131 = load float, ptr %16, align 4
%132 = fpext float %131 to double
%133 = fcmp ogt double %132, 1.000000e+02
br i1 %133, label %134, label %138
134: ; preds = %130, %118
%135 = load i32, ptr @stderr, align 4
%136 = call i32 @fprintf(i32 noundef %135, ptr noundef @.str.4)
%137 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %137, ptr %3, align 4
br label %142
138: ; preds = %130
%139 = load float, ptr %16, align 4
%140 = call i32 @printf(ptr noundef @.str.5, float noundef %139)
%141 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %141, ptr %3, align 4
br label %142
142: ; preds = %138, %134, %96, %50, %42
%143 = load i32, ptr %3, align 4
ret i32 %143
}
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @sysconf(i32 noundef) #1
declare i32 @sleep(i64 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/tmp1_6ce35g.c'
source_filename = "/tmp/tmp1_6ce35g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ILibTURN_GetStunPacketLength(ptr noundef %0, i32 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
%8 = alloca i16, align 2
%9 = 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
%10 = load ptr, ptr %5, align 8
%11 = load i32, ptr %6, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = getelementptr inbounds i16, ptr %13, i64 1
%15 = load i16, ptr %14, align 2
%16 = call i32 @ntohs(i16 noundef zeroext %15)
%17 = add nsw i32 20, %16
%18 = trunc i32 %17 to i16
store i16 %18, ptr %8, align 2
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = getelementptr inbounds i32, ptr %22, i64 1
%24 = load i32, ptr %23, align 4
%25 = call i32 @ntohl(i32 noundef %24)
store i32 %25, ptr %9, align 4
%26 = load i16, ptr %8, align 2
%27 = zext i16 %26 to i32
%28 = load i32, ptr %7, align 4
%29 = icmp sgt i32 %27, %28
br i1 %29, label %33, label %30
30: ; preds = %3
%31 = load i32, ptr %9, align 4
%32 = icmp ne i32 %31, 554869826
br i1 %32, label %33, label %40
33: ; preds = %30, %3
%34 = load i32, ptr %9, align 4
%35 = icmp ne i32 %34, 554869826
br i1 %35, label %36, label %39
36: ; preds = %33
%37 = load i16, ptr %8, align 2
%38 = zext i16 %37 to i32
store i32 %38, ptr %4, align 4
br label %41
39: ; preds = %33
br label %40
40: ; preds = %39, %30
store i32 0, ptr %4, align 4
br label %41
41: ; preds = %40, %36
%42 = load i32, ptr %4, align 4
ret i32 %42
}
declare i32 @ntohs(i16 noundef zeroext) #1
declare i32 @ntohl(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/tmp1_6ce35g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ILibTURN_GetStunPacketLength(ptr noundef %0, i32 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
%8 = alloca i16, align 2
%9 = 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
%10 = load ptr, ptr %5, align 8
%11 = load i32, ptr %6, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = getelementptr inbounds i16, ptr %13, i64 1
%15 = load i16, ptr %14, align 2
%16 = call i32 @ntohs(i16 noundef zeroext %15)
%17 = add nsw i32 20, %16
%18 = trunc i32 %17 to i16
store i16 %18, ptr %8, align 2
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = getelementptr inbounds i32, ptr %22, i64 1
%24 = load i32, ptr %23, align 4
%25 = call i32 @ntohl(i32 noundef %24)
store i32 %25, ptr %9, align 4
%26 = load i16, ptr %8, align 2
%27 = zext i16 %26 to i32
%28 = load i32, ptr %7, align 4
%29 = icmp sgt i32 %27, %28
br i1 %29, label %33, label %30
30: ; preds = %3
%31 = load i32, ptr %9, align 4
%32 = icmp ne i32 %31, 554869826
br i1 %32, label %33, label %40
33: ; preds = %30, %3
%34 = load i32, ptr %9, align 4
%35 = icmp ne i32 %34, 554869826
br i1 %35, label %36, label %39
36: ; preds = %33
%37 = load i16, ptr %8, align 2
%38 = zext i16 %37 to i32
store i32 %38, ptr %4, align 4
br label %41
39: ; preds = %33
br label %40
40: ; preds = %39, %30
store i32 0, ptr %4, align 4
br label %41
41: ; preds = %40, %36
%42 = load i32, ptr %4, align 4
ret i32 %42
}
declare i32 @ntohs(i16 noundef zeroext) #1
declare i32 @ntohl(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/tmpp29qy4n7.c'
source_filename = "/tmp/tmpp29qy4n7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1 x i64], align 8
%7 = alloca [1 x i64], align 8
%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
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
br label %19
19: ; preds = %22, %18
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %20, 1
br i1 %21, label %22, label %36
22: ; preds = %19
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %23, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10)
store i64 %29, ptr %9, align 8
%30 = load i64, ptr %9, align 8
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %32
store i64 %30, ptr %33, align 8
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
br label %19, !llvm.loop !6
36: ; preds = %19
%37 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0
%38 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0
%39 = call i32 @RandomFunc(ptr noundef %37, ptr noundef %38)
%40 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0
%41 = load i64, ptr %40, align 8
%42 = icmp eq i64 %41, -1729494407210466283
br i1 %42, label %43, label %45
43: ; preds = %36
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %46
45: ; preds = %36
br label %46
46: ; preds = %45, %43
store i32 0, ptr %10, align 4
br label %47
47: ; preds = %50, %46
%48 = load i32, ptr %10, align 4
%49 = icmp slt i32 %48, 1
br i1 %49, label %50, label %58
50: ; preds = %47
%51 = load i32, ptr %10, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52
%54 = load i64, ptr %53, align 8
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54)
%56 = load i32, ptr %10, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %10, align 4
br label %47, !llvm.loop !8
58: ; preds = %47
%59 = load i32, ptr %3, align 4
ret i32 %59
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp29qy4n7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1 x i64], align 8
%7 = alloca [1 x i64], align 8
%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
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %19, 1
br i1 %20, label %.lr.ph, label %37
.lr.ph: ; preds = %18
br label %21
21: ; preds = %.lr.ph, %21
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %22, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10)
store i64 %28, ptr %9, align 8
%29 = load i64, ptr %9, align 8
%30 = load i32, ptr %8, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %31
store i64 %29, ptr %32, align 8
%33 = load i32, ptr %8, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %8, align 4
%35 = load i32, ptr %8, align 4
%36 = icmp slt i32 %35, 1
br i1 %36, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %37
37: ; preds = %._crit_edge, %18
%38 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0
%39 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0
%40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39)
%41 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0
%42 = load i64, ptr %41, align 8
%43 = icmp eq i64 %42, -1729494407210466283
br i1 %43, label %44, label %46
44: ; preds = %37
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %47
46: ; preds = %37
br label %47
47: ; preds = %46, %44
store i32 0, ptr %10, align 4
%48 = load i32, ptr %10, align 4
%49 = icmp slt i32 %48, 1
br i1 %49, label %.lr.ph2, label %60
.lr.ph2: ; preds = %47
br label %50
50: ; preds = %.lr.ph2, %50
%51 = load i32, ptr %10, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52
%54 = load i64, ptr %53, align 8
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54)
%56 = load i32, ptr %10, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %10, align 4
%58 = load i32, ptr %10, align 4
%59 = icmp slt i32 %58, 1
br i1 %59, label %50, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %50
br label %60
60: ; preds = %._crit_edge3, %47
%61 = load i32, ptr %3, align 4
ret i32 %61
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpt_k_7heg.c'
source_filename = "/tmp/tmpt_k_7heg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_6__ = type { i32, %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32, i64, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ASN1_TYPE_cmp(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 -1, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %20
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %20
12: ; preds = %9
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds %struct.TYPE_6__, ptr %13, i32 0, i32 0
%15 = load i32, ptr %14, align 8
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds %struct.TYPE_6__, ptr %16, i32 0, i32 0
%18 = load i32, ptr %17, align 8
%19 = icmp ne i32 %15, %18
br i1 %19, label %20, label %21
20: ; preds = %12, %9, %2
store i32 -1, ptr %3, align 4
br label %61
21: ; preds = %12
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds %struct.TYPE_6__, ptr %22, i32 0, i32 0
%24 = load i32, ptr %23, align 8
switch i32 %24, label %47 [
i32 139, label %25
i32 148, label %35
i32 141, label %45
i32 142, label %46
i32 147, label %46
i32 150, label %46
i32 138, label %46
i32 135, label %46
i32 134, label %46
i32 140, label %46
i32 136, label %46
i32 133, label %46
i32 129, label %46
i32 143, label %46
i32 131, label %46
i32 146, label %46
i32 144, label %46
i32 128, label %46
i32 145, label %46
i32 132, label %46
i32 149, label %46
i32 130, label %46
i32 137, label %46
]
25: ; preds = %21
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds %struct.TYPE_6__, ptr %26, i32 0, i32 1
%28 = getelementptr inbounds %struct.TYPE_5__, ptr %27, i32 0, i32 2
%29 = load i32, ptr %28, align 8
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds %struct.TYPE_6__, ptr %30, i32 0, i32 1
%32 = getelementptr inbounds %struct.TYPE_5__, ptr %31, i32 0, i32 2
%33 = load i32, ptr %32, align 8
%34 = call i32 @OBJ_cmp(i32 noundef %29, i32 noundef %33)
store i32 %34, ptr %6, align 4
br label %59
35: ; preds = %21
%36 = load ptr, ptr %4, align 8
%37 = getelementptr inbounds %struct.TYPE_6__, ptr %36, i32 0, i32 1
%38 = getelementptr inbounds %struct.TYPE_5__, ptr %37, i32 0, i32 0
%39 = load i32, ptr %38, align 8
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds %struct.TYPE_6__, ptr %40, i32 0, i32 1
%42 = getelementptr inbounds %struct.TYPE_5__, ptr %41, i32 0, i32 0
%43 = load i32, ptr %42, align 8
%44 = sub nsw i32 %39, %43
store i32 %44, ptr %6, align 4
br label %59
45: ; preds = %21
store i32 0, ptr %6, align 4
br label %59
46: ; preds = %21, %21, %21, %21, %21, %21, %21, %21, %21, %21, %21, %21, %21, %21, %21, %21, %21, %21, %21, %21
br label %47
47: ; preds = %21, %46
%48 = load ptr, ptr %4, align 8
%49 = getelementptr inbounds %struct.TYPE_6__, ptr %48, i32 0, i32 1
%50 = getelementptr inbounds %struct.TYPE_5__, ptr %49, i32 0, i32 1
%51 = load i64, ptr %50, align 8
%52 = inttoptr i64 %51 to ptr
%53 = load ptr, ptr %5, align 8
%54 = getelementptr inbounds %struct.TYPE_6__, ptr %53, i32 0, i32 1
%55 = getelementptr inbounds %struct.TYPE_5__, ptr %54, i32 0, i32 1
%56 = load i64, ptr %55, align 8
%57 = inttoptr i64 %56 to ptr
%58 = call i32 @ASN1_STRING_cmp(ptr noundef %52, ptr noundef %57)
store i32 %58, ptr %6, align 4
br label %59
59: ; preds = %47, %45, %35, %25
%60 = load i32, ptr %6, align 4
store i32 %60, ptr %3, align 4
br label %61
61: ; preds = %59, %20
%62 = load i32, ptr %3, align 4
ret i32 %62
}
declare i32 @OBJ_cmp(i32 noundef, i32 noundef) #1
declare i32 @ASN1_STRING_cmp(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/tmpt_k_7heg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_6__ = type { i32, %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32, i64, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ASN1_TYPE_cmp(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 -1, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %20
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %20
12: ; preds = %9
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds %struct.TYPE_6__, ptr %13, i32 0, i32 0
%15 = load i32, ptr %14, align 8
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds %struct.TYPE_6__, ptr %16, i32 0, i32 0
%18 = load i32, ptr %17, align 8
%19 = icmp ne i32 %15, %18
br i1 %19, label %20, label %21
20: ; preds = %12, %9, %2
store i32 -1, ptr %3, align 4
br label %61
21: ; preds = %12
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds %struct.TYPE_6__, ptr %22, i32 0, i32 0
%24 = load i32, ptr %23, align 8
switch i32 %24, label %47 [
i32 139, label %25
i32 148, label %35
i32 141, label %45
i32 142, label %46
i32 147, label %46
i32 150, label %46
i32 138, label %46
i32 135, label %46
i32 134, label %46
i32 140, label %46
i32 136, label %46
i32 133, label %46
i32 129, label %46
i32 143, label %46
i32 131, label %46
i32 146, label %46
i32 144, label %46
i32 128, label %46
i32 145, label %46
i32 132, label %46
i32 149, label %46
i32 130, label %46
i32 137, label %46
]
25: ; preds = %21
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds %struct.TYPE_6__, ptr %26, i32 0, i32 1
%28 = getelementptr inbounds %struct.TYPE_5__, ptr %27, i32 0, i32 2
%29 = load i32, ptr %28, align 8
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds %struct.TYPE_6__, ptr %30, i32 0, i32 1
%32 = getelementptr inbounds %struct.TYPE_5__, ptr %31, i32 0, i32 2
%33 = load i32, ptr %32, align 8
%34 = call i32 @OBJ_cmp(i32 noundef %29, i32 noundef %33)
store i32 %34, ptr %6, align 4
br label %59
35: ; preds = %21
%36 = load ptr, ptr %4, align 8
%37 = getelementptr inbounds %struct.TYPE_6__, ptr %36, i32 0, i32 1
%38 = getelementptr inbounds %struct.TYPE_5__, ptr %37, i32 0, i32 0
%39 = load i32, ptr %38, align 8
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds %struct.TYPE_6__, ptr %40, i32 0, i32 1
%42 = getelementptr inbounds %struct.TYPE_5__, ptr %41, i32 0, i32 0
%43 = load i32, ptr %42, align 8
%44 = sub nsw i32 %39, %43
store i32 %44, ptr %6, align 4
br label %59
45: ; preds = %21
store i32 0, ptr %6, align 4
br label %59
46: ; preds = %21, %21, %21, %21, %21, %21, %21, %21, %21, %21, %21, %21, %21, %21, %21, %21, %21, %21, %21, %21
br label %47
47: ; preds = %46, %21
%48 = load ptr, ptr %4, align 8
%49 = getelementptr inbounds %struct.TYPE_6__, ptr %48, i32 0, i32 1
%50 = getelementptr inbounds %struct.TYPE_5__, ptr %49, i32 0, i32 1
%51 = load i64, ptr %50, align 8
%52 = inttoptr i64 %51 to ptr
%53 = load ptr, ptr %5, align 8
%54 = getelementptr inbounds %struct.TYPE_6__, ptr %53, i32 0, i32 1
%55 = getelementptr inbounds %struct.TYPE_5__, ptr %54, i32 0, i32 1
%56 = load i64, ptr %55, align 8
%57 = inttoptr i64 %56 to ptr
%58 = call i32 @ASN1_STRING_cmp(ptr noundef %52, ptr noundef %57)
store i32 %58, ptr %6, align 4
br label %59
59: ; preds = %47, %45, %35, %25
%60 = load i32, ptr %6, align 4
store i32 %60, ptr %3, align 4
br label %61
61: ; preds = %59, %20
%62 = load i32, ptr %3, align 4
ret i32 %62
}
declare i32 @OBJ_cmp(i32 noundef, i32 noundef) #1
declare i32 @ASN1_STRING_cmp(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/tmpe7ppwi9e.c'
source_filename = "/tmp/tmpe7ppwi9e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delayMinutes(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = mul nsw i32 %3, 1000
%5 = mul nsw i32 %4, 1000
%6 = mul nsw i32 %5, 60
%7 = call i32 @usleep(i32 noundef %6)
ret void
}
declare i32 @usleep(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/tmpe7ppwi9e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delayMinutes(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = mul nsw i32 %3, 1000
%5 = mul nsw i32 %4, 1000
%6 = mul nsw i32 %5, 60
%7 = call i32 @usleep(i32 noundef %6)
ret void
}
declare i32 @usleep(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/tmpr2rauyw4.c'
source_filename = "/tmp/tmpr2rauyw4.c"
target datalayout = "e-m:e-p270: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/tmpr2rauyw4.c"
target datalayout = "e-m:e-p270: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/tmp0h0z6lkg.c'
source_filename = "/tmp/tmp0h0z6lkg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jsoo_wrap_event() #0 {
%1 = 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/tmp0h0z6lkg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jsoo_wrap_event() #0 {
%1 = 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/tmp_q8j0_rq.c'
source_filename = "/tmp/tmp_q8j0_rq.c"
target datalayout = "e-m:e-p270: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_q8j0_rq.c"
target datalayout = "e-m:e-p270: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/tmpapgm6uoq.c'
source_filename = "/tmp/tmpapgm6uoq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @gmx_chi(i32 noundef %6, ptr noundef %7)
ret i32 0
}
declare i32 @gmx_chi(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/tmpapgm6uoq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @gmx_chi(i32 noundef %6, ptr noundef %7)
ret i32 0
}
declare i32 @gmx_chi(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/tmpsoozqrc_.c'
source_filename = "/tmp/tmpsoozqrc_.c"
target datalayout = "e-m:e-p270: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/tmpsoozqrc_.c"
target datalayout = "e-m:e-p270: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/tmpy117sbht.c'
source_filename = "/tmp/tmpy117sbht.c"
target datalayout = "e-m:e-p270: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/tmpy117sbht.c"
target datalayout = "e-m:e-p270: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/tmp8er6wmwi.c'
source_filename = "/tmp/tmp8er6wmwi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @m_print(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, 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/tmp8er6wmwi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @m_print(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, 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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.