llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpvvhucsm6.c'
source_filename = "/tmp/tmpvvhucsm6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SU_Capitalized(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 @SU_Capitalize(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
ret ptr %5
}
declare i32 @SU_Capitalize(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvvhucsm6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SU_Capitalized(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 @SU_Capitalize(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
ret ptr %5
}
declare i32 @SU_Capitalize(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf0nmzbre.c'
source_filename = "/tmp/tmpf0nmzbre.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @print_numbers(i32 noundef 22)
ret i32 0
}
declare i32 @print_numbers(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/tmpf0nmzbre.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @print_numbers(i32 noundef 22)
ret i32 0
}
declare i32 @print_numbers(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/tmpjloaalbi.c'
source_filename = "/tmp/tmpjloaalbi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%union.anon = type { float }
@exp10f.p10 = internal constant [15 x float] [float 0x3E7AD7F2A0000000, float 0x3EB0C6F7A0000000, float 0x3EE4F8B580000000, float 0x3F1A36E2E0000000, float 0x3F50624DE0000000, float 0x3F847AE140000000, float 0x3FB99999A0000000, float 1.000000e+00, float 1.000000e+01, float 1.000000e+02, float 1.000000e+03, float 1.000000e+04, float 1.000000e+05, float 1.000000e+06, float 1.000000e+07], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @exp10f(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca %union.anon, align 4
store float %0, ptr %3, align 4
%7 = load float, ptr %3, align 4
%8 = call float @modff(float noundef %7, ptr noundef %4) #3
store float %8, ptr %5, align 4
%9 = load float, ptr %4, align 4
store float %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = ashr i32 %10, 23
%12 = and i32 %11, 255
%13 = icmp slt i32 %12, 130
br i1 %13, label %14, label %36
14: ; preds = %1
%15 = load float, ptr %5, align 4
%16 = fcmp une float %15, 0.000000e+00
br i1 %16, label %24, label %17
17: ; preds = %14
%18 = load float, ptr %4, align 4
%19 = fptosi float %18 to i32
%20 = add nsw i32 %19, 7
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [15 x float], ptr @exp10f.p10, i64 0, i64 %21
%23 = load float, ptr %22, align 4
store float %23, ptr %2, align 4
br label %41
24: ; preds = %14
%25 = load float, ptr %5, align 4
%26 = fmul float 0x400A934F00000000, %25
%27 = call float @exp2f(float noundef %26) #3
store float %27, ptr %5, align 4
%28 = load float, ptr %5, align 4
%29 = load float, ptr %4, align 4
%30 = fptosi float %29 to i32
%31 = add nsw i32 %30, 7
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [15 x float], ptr @exp10f.p10, i64 0, i64 %32
%34 = load float, ptr %33, align 4
%35 = fmul float %28, %34
store float %35, ptr %2, align 4
br label %41
36: ; preds = %1
%37 = load float, ptr %3, align 4
%38 = fpext float %37 to double
%39 = fmul double 0x400A934F0979A371, %38
%40 = call float @exp2(double noundef %39)
store float %40, ptr %2, align 4
br label %41
41: ; preds = %36, %24, %17
%42 = load float, ptr %2, align 4
ret float %42
}
; Function Attrs: nounwind
declare float @modff(float noundef, ptr noundef) #1
; Function Attrs: nounwind
declare float @exp2f(float noundef) #1
declare float @exp2(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjloaalbi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%union.anon = type { float }
@exp10f.p10 = internal constant [15 x float] [float 0x3E7AD7F2A0000000, float 0x3EB0C6F7A0000000, float 0x3EE4F8B580000000, float 0x3F1A36E2E0000000, float 0x3F50624DE0000000, float 0x3F847AE140000000, float 0x3FB99999A0000000, float 1.000000e+00, float 1.000000e+01, float 1.000000e+02, float 1.000000e+03, float 1.000000e+04, float 1.000000e+05, float 1.000000e+06, float 1.000000e+07], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @exp10f(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca %union.anon, align 4
store float %0, ptr %3, align 4
%7 = load float, ptr %3, align 4
%8 = call float @modff(float noundef %7, ptr noundef %4) #3
store float %8, ptr %5, align 4
%9 = load float, ptr %4, align 4
store float %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = ashr i32 %10, 23
%12 = and i32 %11, 255
%13 = icmp slt i32 %12, 130
br i1 %13, label %14, label %36
14: ; preds = %1
%15 = load float, ptr %5, align 4
%16 = fcmp une float %15, 0.000000e+00
br i1 %16, label %24, label %17
17: ; preds = %14
%18 = load float, ptr %4, align 4
%19 = fptosi float %18 to i32
%20 = add nsw i32 %19, 7
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [15 x float], ptr @exp10f.p10, i64 0, i64 %21
%23 = load float, ptr %22, align 4
store float %23, ptr %2, align 4
br label %41
24: ; preds = %14
%25 = load float, ptr %5, align 4
%26 = fmul float 0x400A934F00000000, %25
%27 = call float @exp2f(float noundef %26) #3
store float %27, ptr %5, align 4
%28 = load float, ptr %5, align 4
%29 = load float, ptr %4, align 4
%30 = fptosi float %29 to i32
%31 = add nsw i32 %30, 7
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [15 x float], ptr @exp10f.p10, i64 0, i64 %32
%34 = load float, ptr %33, align 4
%35 = fmul float %28, %34
store float %35, ptr %2, align 4
br label %41
36: ; preds = %1
%37 = load float, ptr %3, align 4
%38 = fpext float %37 to double
%39 = fmul double 0x400A934F0979A371, %38
%40 = call float @exp2(double noundef %39)
store float %40, ptr %2, align 4
br label %41
41: ; preds = %36, %24, %17
%42 = load float, ptr %2, align 4
ret float %42
}
; Function Attrs: nounwind
declare float @modff(float noundef, ptr noundef) #1
; Function Attrs: nounwind
declare float @exp2f(float noundef) #1
declare float @exp2(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-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"}
|
; ModuleID = '/tmp/tmp__hi615u.c'
source_filename = "/tmp/tmp__hi615u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%[^\0A]s\00", align 1
@EOF = dso_local global i8 0, align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%s\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000 x i8], align 16
%3 = alloca [1000 x i8], align 16
%4 = alloca i8, align 1
store i32 0, ptr %1, align 4
br label %5
5: ; preds = %0, %28
%6 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%7 = call i32 @strcpy(ptr noundef %6, ptr noundef @.str)
%8 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8)
br label %10
10: ; preds = %22, %5
%11 = call signext i8 (...) @getchar()
store i8 %11, ptr %4, align 1
%12 = sext i8 %11 to i32
%13 = load i8, ptr @EOF, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %12, %14
br i1 %15, label %16, label %20
16: ; preds = %10
%17 = load i8, ptr %4, align 1
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %18, 10
br label %20
20: ; preds = %16, %10
%21 = phi i1 [ false, %10 ], [ %19, %16 ]
br i1 %21, label %22, label %23
22: ; preds = %20
br label %10, !llvm.loop !6
23: ; preds = %20
%24 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%25 = call i32 @strcmp(ptr noundef %24, ptr noundef @.str)
%26 = icmp ne i32 %25, 0
br i1 %26, label %28, label %27
27: ; preds = %23
ret i32 0
28: ; preds = %23
%29 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%30 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0
%31 = call i32 @cdecl(ptr noundef %29, ptr noundef %30)
%32 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0
%33 = call i32 @printf(ptr noundef @.str.2, ptr noundef %32)
br label %5
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare signext i8 @getchar(...) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @cdecl(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp__hi615u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%[^\0A]s\00", align 1
@EOF = dso_local global i8 0, align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%s\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000 x i8], align 16
%3 = alloca [1000 x i8], align 16
%4 = alloca i8, align 1
store i32 0, ptr %1, align 4
%5 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
br label %6
6: ; preds = %27, %0
%7 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%8 = call i32 @strcpy(ptr noundef %7, ptr noundef @.str)
%9 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %9)
br label %11
11: ; preds = %21, %6
%12 = call signext i8 (...) @getchar()
store i8 %12, ptr %4, align 1
%13 = sext i8 %12 to i32
%14 = load i8, ptr @EOF, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %13, %15
br i1 %16, label %17, label %21
17: ; preds = %11
%18 = load i8, ptr %4, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 10
br label %21
21: ; preds = %17, %11
%22 = phi i1 [ false, %11 ], [ %20, %17 ]
br i1 %22, label %11, label %23, !llvm.loop !6
23: ; preds = %21
%24 = call i32 @strcmp(ptr noundef %5, ptr noundef @.str)
%25 = icmp ne i32 %24, 0
br i1 %25, label %27, label %26
26: ; preds = %23
ret i32 0
27: ; preds = %23
%28 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%29 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0
%30 = call i32 @cdecl(ptr noundef %28, ptr noundef %29)
%31 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0
%32 = call i32 @printf(ptr noundef @.str.2, ptr noundef %31)
br label %6
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare signext i8 @getchar(...) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @cdecl(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpwardw_iu.c'
source_filename = "/tmp/tmpwardw_iu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @acoshf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = call float (...) @__infer_nondet_float()
ret float %3
}
declare float @__infer_nondet_float(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwardw_iu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @acoshf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = call float (...) @__infer_nondet_float()
ret float %3
}
declare float @__infer_nondet_float(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnl8b_32p.c'
source_filename = "/tmp/tmpnl8b_32p.c"
target datalayout = "e-m:e-p270: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/tmpnl8b_32p.c"
target datalayout = "e-m:e-p270: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_bqp__01.c'
source_filename = "/tmp/tmp_bqp__01.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Not enough memory. Use chmem to allocate more\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @msbrk(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call ptr @sbrk(i32 noundef %4)
store ptr %5, ptr %3, align 8
%6 = icmp eq ptr %5, inttoptr (i64 -1 to ptr)
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @error(i32 noundef 1, ptr noundef @.str, ptr noundef null)
br label %9
9: ; preds = %7, %1
%10 = load ptr, ptr %3, align 8
ret ptr %10
}
declare ptr @sbrk(i32 noundef) #1
declare i32 @error(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_bqp__01.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Not enough memory. Use chmem to allocate more\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @msbrk(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call ptr @sbrk(i32 noundef %4)
store ptr %5, ptr %3, align 8
%6 = icmp eq ptr %5, inttoptr (i64 -1 to ptr)
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @error(i32 noundef 1, ptr noundef @.str, ptr noundef null)
br label %9
9: ; preds = %7, %1
%10 = load ptr, ptr %3, align 8
ret ptr %10
}
declare ptr @sbrk(i32 noundef) #1
declare i32 @error(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"}
|
; ModuleID = '/tmp/tmp_y5wknda.c'
source_filename = "/tmp/tmp_y5wknda.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bar0(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
%5 = load ptr, ptr %3, align 8
%6 = getelementptr inbounds i32, ptr %5, i64 0
store i32 1, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds i32, ptr %7, i64 0
store i32 1, ptr %8, align 4
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i32, ptr %9, i64 0
%11 = load i32, ptr %10, align 4
%12 = icmp ne i32 %11, 1
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = call i32 (...) @link_error()
br label %15
15: ; preds = %13, %2
ret void
}
declare i32 @link_error(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_y5wknda.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bar0(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
%5 = load ptr, ptr %3, align 8
%6 = getelementptr inbounds i32, ptr %5, i64 0
store i32 1, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds i32, ptr %7, i64 0
store i32 1, ptr %8, align 4
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i32, ptr %9, i64 0
%11 = load i32, ptr %10, align 4
%12 = icmp ne i32 %11, 1
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = call i32 (...) @link_error()
br label %15
15: ; preds = %13, %2
ret void
}
declare i32 @link_error(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4bagb7lh.c'
source_filename = "/tmp/tmp4bagb7lh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c"PufferPanel Installer - Version C-%s (%s)\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"0.0.1\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"0.8.1-beta\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Testing install: %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"true\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"false\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"Install path: %s\0A\00", align 1
@.str.7 = private unnamed_addr constant [18 x i8] c"Install user: %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [7 x i8] c"-----\0A\00", align 1
@.str.9 = private unnamed_addr constant [35 x i8] c"Dependencies are met, installing.\0A\00", align 1
@.str.10 = private unnamed_addr constant [54 x i8] c"Halting installation due to test flag being present.\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
@.str.11 = private unnamed_addr constant [86 x i8] c"Halting installation as dependencies are not met. Please fix this before continuing.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.12 = private unnamed_addr constant [18 x i8] c"Extracting panel\0A\00", align 1
@.str.13 = private unnamed_addr constant [60 x i8] c"Installation complete, thank you for choosing PufferPanel!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @innerMain(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%9 = call i32 (ptr, ...) @logOut(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
%10 = load i32, ptr %5, align 4
%11 = icmp ne i32 %10, 0
%12 = zext i1 %11 to i64
%13 = select i1 %11, ptr @.str.4, ptr @.str.5
%14 = call i32 @logOutFile(ptr noundef @.str.3, ptr noundef %13)
%15 = load ptr, ptr %6, align 8
%16 = call i32 @logOutFile(ptr noundef @.str.6, ptr noundef %15)
%17 = load ptr, ptr %7, align 8
%18 = call i32 @logOutFile(ptr noundef @.str.7, ptr noundef %17)
%19 = call i32 (ptr, ...) @logOut(ptr noundef @.str.8)
%20 = call i32 (...) @validateDependencies()
store i32 %20, ptr %8, align 4
%21 = call i32 (ptr, ...) @logOut(ptr noundef @.str.8)
%22 = load i32, ptr %8, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %32
24: ; preds = %3
%25 = call i32 (ptr, ...) @logOut(ptr noundef @.str.9)
%26 = load i32, ptr %5, align 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %24
%29 = call i32 (ptr, ...) @logOut(ptr noundef @.str.10)
%30 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %30, ptr %4, align 4
br label %56
31: ; preds = %24
br label %35
32: ; preds = %3
%33 = call i32 (ptr, ...) @logOut(ptr noundef @.str.11)
%34 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %34, ptr %4, align 4
br label %56
35: ; preds = %31
%36 = call i32 (ptr, ...) @logOut(ptr noundef @.str.8)
%37 = call i32 (ptr, ...) @logOut(ptr noundef @.str.12)
%38 = load ptr, ptr %6, align 8
%39 = load ptr, ptr %7, align 8
%40 = call i32 @extractPanel(ptr noundef %38, ptr noundef %39)
%41 = icmp ne i32 %40, 0
br i1 %41, label %44, label %42
42: ; preds = %35
%43 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %43, ptr %4, align 4
br label %56
44: ; preds = %35
%45 = call i32 (ptr, ...) @logOut(ptr noundef @.str.8)
%46 = load ptr, ptr %6, align 8
%47 = load ptr, ptr %7, align 8
%48 = call i32 @finalizeInstall(ptr noundef %46, ptr noundef %47)
%49 = icmp ne i32 %48, 0
br i1 %49, label %52, label %50
50: ; preds = %44
%51 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %51, ptr %4, align 4
br label %56
52: ; preds = %44
%53 = call i32 (ptr, ...) @logOut(ptr noundef @.str.8)
%54 = call i32 (ptr, ...) @logOut(ptr noundef @.str.13)
%55 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %55, ptr %4, align 4
br label %56
56: ; preds = %52, %50, %42, %32, %28
%57 = load i32, ptr %4, align 4
ret i32 %57
}
declare i32 @logOut(ptr noundef, ...) #1
declare i32 @logOutFile(ptr noundef, ptr noundef) #1
declare i32 @validateDependencies(...) #1
declare i32 @extractPanel(ptr noundef, ptr noundef) #1
declare i32 @finalizeInstall(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/tmp4bagb7lh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c"PufferPanel Installer - Version C-%s (%s)\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"0.0.1\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"0.8.1-beta\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Testing install: %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"true\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"false\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"Install path: %s\0A\00", align 1
@.str.7 = private unnamed_addr constant [18 x i8] c"Install user: %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [7 x i8] c"-----\0A\00", align 1
@.str.9 = private unnamed_addr constant [35 x i8] c"Dependencies are met, installing.\0A\00", align 1
@.str.10 = private unnamed_addr constant [54 x i8] c"Halting installation due to test flag being present.\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
@.str.11 = private unnamed_addr constant [86 x i8] c"Halting installation as dependencies are not met. Please fix this before continuing.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.12 = private unnamed_addr constant [18 x i8] c"Extracting panel\0A\00", align 1
@.str.13 = private unnamed_addr constant [60 x i8] c"Installation complete, thank you for choosing PufferPanel!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @innerMain(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%9 = call i32 (ptr, ...) @logOut(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
%10 = load i32, ptr %5, align 4
%11 = icmp ne i32 %10, 0
%12 = zext i1 %11 to i64
%13 = select i1 %11, ptr @.str.4, ptr @.str.5
%14 = call i32 @logOutFile(ptr noundef @.str.3, ptr noundef %13)
%15 = load ptr, ptr %6, align 8
%16 = call i32 @logOutFile(ptr noundef @.str.6, ptr noundef %15)
%17 = load ptr, ptr %7, align 8
%18 = call i32 @logOutFile(ptr noundef @.str.7, ptr noundef %17)
%19 = call i32 (ptr, ...) @logOut(ptr noundef @.str.8)
%20 = call i32 (...) @validateDependencies()
store i32 %20, ptr %8, align 4
%21 = call i32 (ptr, ...) @logOut(ptr noundef @.str.8)
%22 = load i32, ptr %8, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %32
24: ; preds = %3
%25 = call i32 (ptr, ...) @logOut(ptr noundef @.str.9)
%26 = load i32, ptr %5, align 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %24
%29 = call i32 (ptr, ...) @logOut(ptr noundef @.str.10)
%30 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %30, ptr %4, align 4
br label %56
31: ; preds = %24
br label %35
32: ; preds = %3
%33 = call i32 (ptr, ...) @logOut(ptr noundef @.str.11)
%34 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %34, ptr %4, align 4
br label %56
35: ; preds = %31
%36 = call i32 (ptr, ...) @logOut(ptr noundef @.str.8)
%37 = call i32 (ptr, ...) @logOut(ptr noundef @.str.12)
%38 = load ptr, ptr %6, align 8
%39 = load ptr, ptr %7, align 8
%40 = call i32 @extractPanel(ptr noundef %38, ptr noundef %39)
%41 = icmp ne i32 %40, 0
br i1 %41, label %44, label %42
42: ; preds = %35
%43 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %43, ptr %4, align 4
br label %56
44: ; preds = %35
%45 = call i32 (ptr, ...) @logOut(ptr noundef @.str.8)
%46 = load ptr, ptr %6, align 8
%47 = load ptr, ptr %7, align 8
%48 = call i32 @finalizeInstall(ptr noundef %46, ptr noundef %47)
%49 = icmp ne i32 %48, 0
br i1 %49, label %52, label %50
50: ; preds = %44
%51 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %51, ptr %4, align 4
br label %56
52: ; preds = %44
%53 = call i32 (ptr, ...) @logOut(ptr noundef @.str.8)
%54 = call i32 (ptr, ...) @logOut(ptr noundef @.str.13)
%55 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %55, ptr %4, align 4
br label %56
56: ; preds = %52, %50, %42, %32, %28
%57 = load i32, ptr %4, align 4
ret i32 %57
}
declare i32 @logOut(ptr noundef, ...) #1
declare i32 @logOutFile(ptr noundef, ptr noundef) #1
declare i32 @validateDependencies(...) #1
declare i32 @extractPanel(ptr noundef, ptr noundef) #1
declare i32 @finalizeInstall(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/tmpp_g67la9.c'
source_filename = "/tmp/tmpp_g67la9.c"
target datalayout = "e-m:e-p270: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/tmpp_g67la9.c"
target datalayout = "e-m:e-p270: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/tmpeagfwtcv.c'
source_filename = "/tmp/tmpeagfwtcv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 1, ptr %6, align 4
br label %13
13: ; preds = %496, %0
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp sle i32 %14, %15
br i1 %16, label %17, label %499
17: ; preds = %13
%18 = load i32, ptr %6, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %11, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp sle i32 1, %20
%22 = zext i1 %21 to i32
%23 = call i32 @assert(i32 noundef %22)
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %3, align 4
%26 = icmp sle i32 %24, %25
%27 = zext i1 %26 to i32
%28 = call i32 @assert(i32 noundef %27)
%29 = load i32, ptr %6, align 4
%30 = load i32, ptr %2, align 4
%31 = icmp sle i32 %29, %30
br i1 %31, label %32, label %241
32: ; preds = %17
%33 = load i32, ptr %6, align 4
store i32 %33, ptr %10, align 4
br label %34
34: ; preds = %57, %32
%35 = load i32, ptr %10, align 4
%36 = load i32, ptr %2, align 4
%37 = icmp sle i32 %35, %36
br i1 %37, label %38, label %60
38: ; preds = %34
%39 = load i32, ptr %10, align 4
%40 = icmp sle i32 1, %39
%41 = zext i1 %40 to i32
%42 = call i32 @assert(i32 noundef %41)
%43 = load i32, ptr %10, align 4
%44 = load i32, ptr %2, align 4
%45 = icmp sle i32 %43, %44
%46 = zext i1 %45 to i32
%47 = call i32 @assert(i32 noundef %46)
%48 = load i32, ptr %6, align 4
%49 = icmp sle i32 1, %48
%50 = zext i1 %49 to i32
%51 = call i32 @assert(i32 noundef %50)
%52 = load i32, ptr %6, align 4
%53 = load i32, ptr %3, align 4
%54 = icmp sle i32 %52, %53
%55 = zext i1 %54 to i32
%56 = call i32 @assert(i32 noundef %55)
br label %57
57: ; preds = %38
%58 = load i32, ptr %10, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %10, align 4
br label %34, !llvm.loop !6
60: ; preds = %34
%61 = call i64 (...) @__VERIFIER_nondet_int()
%62 = icmp ne i64 %61, 0
br i1 %62, label %63, label %240
63: ; preds = %60
%64 = load i32, ptr %6, align 4
store i32 %64, ptr %10, align 4
br label %65
65: ; preds = %88, %63
%66 = load i32, ptr %10, align 4
%67 = load i32, ptr %2, align 4
%68 = icmp sle i32 %66, %67
br i1 %68, label %69, label %91
69: ; preds = %65
%70 = load i32, ptr %10, align 4
%71 = icmp sle i32 1, %70
%72 = zext i1 %71 to i32
%73 = call i32 @assert(i32 noundef %72)
%74 = load i32, ptr %10, align 4
%75 = load i32, ptr %2, align 4
%76 = icmp sle i32 %74, %75
%77 = zext i1 %76 to i32
%78 = call i32 @assert(i32 noundef %77)
%79 = load i32, ptr %6, align 4
%80 = icmp sle i32 1, %79
%81 = zext i1 %80 to i32
%82 = call i32 @assert(i32 noundef %81)
%83 = load i32, ptr %6, align 4
%84 = load i32, ptr %3, align 4
%85 = icmp sle i32 %83, %84
%86 = zext i1 %85 to i32
%87 = call i32 @assert(i32 noundef %86)
br label %88
88: ; preds = %69
%89 = load i32, ptr %10, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %10, align 4
br label %65, !llvm.loop !8
91: ; preds = %65
%92 = load i32, ptr %6, align 4
%93 = icmp sle i32 1, %92
%94 = zext i1 %93 to i32
%95 = call i32 @assert(i32 noundef %94)
%96 = load i32, ptr %6, align 4
%97 = load i32, ptr %2, align 4
%98 = icmp sle i32 %96, %97
%99 = zext i1 %98 to i32
%100 = call i32 @assert(i32 noundef %99)
%101 = load i32, ptr %6, align 4
%102 = icmp sle i32 1, %101
%103 = zext i1 %102 to i32
%104 = call i32 @assert(i32 noundef %103)
%105 = load i32, ptr %6, align 4
%106 = load i32, ptr %3, align 4
%107 = icmp sle i32 %105, %106
%108 = zext i1 %107 to i32
%109 = call i32 @assert(i32 noundef %108)
%110 = load i32, ptr %6, align 4
%111 = icmp sle i32 1, %110
%112 = zext i1 %111 to i32
%113 = call i32 @assert(i32 noundef %112)
%114 = load i32, ptr %6, align 4
%115 = load i32, ptr %2, align 4
%116 = icmp sle i32 %114, %115
%117 = zext i1 %116 to i32
%118 = call i32 @assert(i32 noundef %117)
%119 = load i32, ptr %6, align 4
%120 = icmp sle i32 1, %119
%121 = zext i1 %120 to i32
%122 = call i32 @assert(i32 noundef %121)
%123 = load i32, ptr %6, align 4
%124 = load i32, ptr %3, align 4
%125 = icmp sle i32 %123, %124
%126 = zext i1 %125 to i32
%127 = call i32 @assert(i32 noundef %126)
%128 = load i32, ptr %11, align 4
store i32 %128, ptr %8, align 4
br label %129
129: ; preds = %208, %91
%130 = load i32, ptr %8, align 4
%131 = load i32, ptr %3, align 4
%132 = icmp sle i32 %130, %131
br i1 %132, label %133, label %211
133: ; preds = %129
%134 = load i32, ptr %6, align 4
store i32 %134, ptr %10, align 4
br label %135
135: ; preds = %167, %133
%136 = load i32, ptr %10, align 4
%137 = load i32, ptr %2, align 4
%138 = icmp sle i32 %136, %137
br i1 %138, label %139, label %170
139: ; preds = %135
%140 = load i32, ptr %10, align 4
%141 = icmp sle i32 1, %140
%142 = zext i1 %141 to i32
%143 = call i32 @assert(i32 noundef %142)
%144 = load i32, ptr %10, align 4
%145 = load i32, ptr %2, align 4
%146 = icmp sle i32 %144, %145
%147 = zext i1 %146 to i32
%148 = call i32 @assert(i32 noundef %147)
%149 = load i32, ptr %6, align 4
%150 = icmp sle i32 1, %149
%151 = zext i1 %150 to i32
%152 = call i32 @assert(i32 noundef %151)
%153 = load i32, ptr %6, align 4
%154 = load i32, ptr %3, align 4
%155 = icmp sle i32 %153, %154
%156 = zext i1 %155 to i32
%157 = call i32 @assert(i32 noundef %156)
%158 = load i32, ptr %8, align 4
%159 = icmp sle i32 1, %158
%160 = zext i1 %159 to i32
%161 = call i32 @assert(i32 noundef %160)
%162 = load i32, ptr %8, align 4
%163 = load i32, ptr %3, align 4
%164 = icmp sle i32 %162, %163
%165 = zext i1 %164 to i32
%166 = call i32 @assert(i32 noundef %165)
br label %167
167: ; preds = %139
%168 = load i32, ptr %10, align 4
%169 = add nsw i32 %168, 1
store i32 %169, ptr %10, align 4
br label %135, !llvm.loop !9
170: ; preds = %135
%171 = load i32, ptr %6, align 4
store i32 %171, ptr %10, align 4
br label %172
172: ; preds = %204, %170
%173 = load i32, ptr %10, align 4
%174 = load i32, ptr %2, align 4
%175 = icmp sle i32 %173, %174
br i1 %175, label %176, label %207
176: ; preds = %172
%177 = load i32, ptr %10, align 4
%178 = icmp sle i32 1, %177
%179 = zext i1 %178 to i32
%180 = call i32 @assert(i32 noundef %179)
%181 = load i32, ptr %10, align 4
%182 = load i32, ptr %2, align 4
%183 = icmp sle i32 %181, %182
%184 = zext i1 %183 to i32
%185 = call i32 @assert(i32 noundef %184)
%186 = load i32, ptr %6, align 4
%187 = icmp sle i32 1, %186
%188 = zext i1 %187 to i32
%189 = call i32 @assert(i32 noundef %188)
%190 = load i32, ptr %6, align 4
%191 = load i32, ptr %3, align 4
%192 = icmp sle i32 %190, %191
%193 = zext i1 %192 to i32
%194 = call i32 @assert(i32 noundef %193)
%195 = load i32, ptr %8, align 4
%196 = icmp sle i32 1, %195
%197 = zext i1 %196 to i32
%198 = call i32 @assert(i32 noundef %197)
%199 = load i32, ptr %8, align 4
%200 = load i32, ptr %3, align 4
%201 = icmp sle i32 %199, %200
%202 = zext i1 %201 to i32
%203 = call i32 @assert(i32 noundef %202)
br label %204
204: ; preds = %176
%205 = load i32, ptr %10, align 4
%206 = add nsw i32 %205, 1
store i32 %206, ptr %10, align 4
br label %172, !llvm.loop !10
207: ; preds = %172
br label %208
208: ; preds = %207
%209 = load i32, ptr %8, align 4
%210 = add nsw i32 %209, 1
store i32 %210, ptr %8, align 4
br label %129, !llvm.loop !11
211: ; preds = %129
%212 = load i32, ptr %6, align 4
store i32 %212, ptr %10, align 4
br label %213
213: ; preds = %236, %211
%214 = load i32, ptr %10, align 4
%215 = load i32, ptr %2, align 4
%216 = icmp sle i32 %214, %215
br i1 %216, label %217, label %239
217: ; preds = %213
%218 = load i32, ptr %10, align 4
%219 = icmp sle i32 1, %218
%220 = zext i1 %219 to i32
%221 = call i32 @assert(i32 noundef %220)
%222 = load i32, ptr %10, align 4
%223 = load i32, ptr %2, align 4
%224 = icmp sle i32 %222, %223
%225 = zext i1 %224 to i32
%226 = call i32 @assert(i32 noundef %225)
%227 = load i32, ptr %6, align 4
%228 = icmp sle i32 1, %227
%229 = zext i1 %228 to i32
%230 = call i32 @assert(i32 noundef %229)
%231 = load i32, ptr %6, align 4
%232 = load i32, ptr %3, align 4
%233 = icmp sle i32 %231, %232
%234 = zext i1 %233 to i32
%235 = call i32 @assert(i32 noundef %234)
br label %236
236: ; preds = %217
%237 = load i32, ptr %10, align 4
%238 = add nsw i32 %237, 1
store i32 %238, ptr %10, align 4
br label %213, !llvm.loop !12
239: ; preds = %213
br label %240
240: ; preds = %239, %60
br label %241
241: ; preds = %240, %17
%242 = load i32, ptr %6, align 4
%243 = load i32, ptr %2, align 4
%244 = icmp sle i32 %242, %243
br i1 %244, label %245, label %495
245: ; preds = %241
%246 = load i32, ptr %6, align 4
%247 = load i32, ptr %3, align 4
%248 = icmp ne i32 %246, %247
br i1 %248, label %249, label %495
249: ; preds = %245
%250 = load i32, ptr %11, align 4
store i32 %250, ptr %10, align 4
br label %251
251: ; preds = %274, %249
%252 = load i32, ptr %10, align 4
%253 = load i32, ptr %3, align 4
%254 = icmp sle i32 %252, %253
br i1 %254, label %255, label %277
255: ; preds = %251
%256 = load i32, ptr %6, align 4
%257 = icmp sle i32 1, %256
%258 = zext i1 %257 to i32
%259 = call i32 @assert(i32 noundef %258)
%260 = load i32, ptr %6, align 4
%261 = load i32, ptr %2, align 4
%262 = icmp sle i32 %260, %261
%263 = zext i1 %262 to i32
%264 = call i32 @assert(i32 noundef %263)
%265 = load i32, ptr %10, align 4
%266 = icmp sle i32 1, %265
%267 = zext i1 %266 to i32
%268 = call i32 @assert(i32 noundef %267)
%269 = load i32, ptr %10, align 4
%270 = load i32, ptr %3, align 4
%271 = icmp sle i32 %269, %270
%272 = zext i1 %271 to i32
%273 = call i32 @assert(i32 noundef %272)
br label %274
274: ; preds = %255
%275 = load i32, ptr %10, align 4
%276 = add nsw i32 %275, 1
store i32 %276, ptr %10, align 4
br label %251, !llvm.loop !13
277: ; preds = %251
%278 = call i64 (...) @__VERIFIER_nondet_int()
%279 = icmp ne i64 %278, 0
br i1 %279, label %280, label %494
280: ; preds = %277
%281 = load i32, ptr %11, align 4
store i32 %281, ptr %10, align 4
br label %282
282: ; preds = %323, %280
%283 = load i32, ptr %10, align 4
%284 = load i32, ptr %3, align 4
%285 = icmp sle i32 %283, %284
br i1 %285, label %286, label %326
286: ; preds = %282
%287 = load i32, ptr %6, align 4
%288 = icmp sle i32 1, %287
%289 = zext i1 %288 to i32
%290 = call i32 @assert(i32 noundef %289)
%291 = load i32, ptr %6, align 4
%292 = load i32, ptr %2, align 4
%293 = icmp sle i32 %291, %292
%294 = zext i1 %293 to i32
%295 = call i32 @assert(i32 noundef %294)
%296 = load i32, ptr %10, align 4
%297 = icmp sle i32 1, %296
%298 = zext i1 %297 to i32
%299 = call i32 @assert(i32 noundef %298)
%300 = load i32, ptr %10, align 4
%301 = load i32, ptr %3, align 4
%302 = icmp sle i32 %300, %301
%303 = zext i1 %302 to i32
%304 = call i32 @assert(i32 noundef %303)
%305 = load i32, ptr %6, align 4
%306 = icmp sle i32 1, %305
%307 = zext i1 %306 to i32
%308 = call i32 @assert(i32 noundef %307)
%309 = load i32, ptr %6, align 4
%310 = load i32, ptr %2, align 4
%311 = icmp sle i32 %309, %310
%312 = zext i1 %311 to i32
%313 = call i32 @assert(i32 noundef %312)
%314 = load i32, ptr %10, align 4
%315 = icmp sle i32 1, %314
%316 = zext i1 %315 to i32
%317 = call i32 @assert(i32 noundef %316)
%318 = load i32, ptr %10, align 4
%319 = load i32, ptr %3, align 4
%320 = icmp sle i32 %318, %319
%321 = zext i1 %320 to i32
%322 = call i32 @assert(i32 noundef %321)
br label %323
323: ; preds = %286
%324 = load i32, ptr %10, align 4
%325 = add nsw i32 %324, 1
store i32 %325, ptr %10, align 4
br label %282, !llvm.loop !14
326: ; preds = %282
%327 = load i32, ptr %6, align 4
%328 = icmp sle i32 1, %327
%329 = zext i1 %328 to i32
%330 = call i32 @assert(i32 noundef %329)
%331 = load i32, ptr %6, align 4
%332 = load i32, ptr %2, align 4
%333 = icmp sle i32 %331, %332
%334 = zext i1 %333 to i32
%335 = call i32 @assert(i32 noundef %334)
%336 = load i32, ptr %11, align 4
%337 = icmp sle i32 1, %336
%338 = zext i1 %337 to i32
%339 = call i32 @assert(i32 noundef %338)
%340 = load i32, ptr %11, align 4
%341 = load i32, ptr %3, align 4
%342 = icmp sle i32 %340, %341
%343 = zext i1 %342 to i32
%344 = call i32 @assert(i32 noundef %343)
%345 = load i32, ptr %6, align 4
%346 = icmp sle i32 1, %345
%347 = zext i1 %346 to i32
%348 = call i32 @assert(i32 noundef %347)
%349 = load i32, ptr %6, align 4
%350 = load i32, ptr %2, align 4
%351 = icmp sle i32 %349, %350
%352 = zext i1 %351 to i32
%353 = call i32 @assert(i32 noundef %352)
%354 = load i32, ptr %11, align 4
%355 = icmp sle i32 1, %354
%356 = zext i1 %355 to i32
%357 = call i32 @assert(i32 noundef %356)
%358 = load i32, ptr %11, align 4
%359 = load i32, ptr %3, align 4
%360 = icmp sle i32 %358, %359
%361 = zext i1 %360 to i32
%362 = call i32 @assert(i32 noundef %361)
%363 = load i32, ptr %11, align 4
store i32 %363, ptr %10, align 4
br label %364
364: ; preds = %387, %326
%365 = load i32, ptr %10, align 4
%366 = load i32, ptr %3, align 4
%367 = icmp sle i32 %365, %366
br i1 %367, label %368, label %390
368: ; preds = %364
%369 = load i32, ptr %6, align 4
%370 = icmp sle i32 1, %369
%371 = zext i1 %370 to i32
%372 = call i32 @assert(i32 noundef %371)
%373 = load i32, ptr %6, align 4
%374 = load i32, ptr %2, align 4
%375 = icmp sle i32 %373, %374
%376 = zext i1 %375 to i32
%377 = call i32 @assert(i32 noundef %376)
%378 = load i32, ptr %10, align 4
%379 = icmp sle i32 1, %378
%380 = zext i1 %379 to i32
%381 = call i32 @assert(i32 noundef %380)
%382 = load i32, ptr %10, align 4
%383 = load i32, ptr %3, align 4
%384 = icmp sle i32 %382, %383
%385 = zext i1 %384 to i32
%386 = call i32 @assert(i32 noundef %385)
br label %387
387: ; preds = %368
%388 = load i32, ptr %10, align 4
%389 = add nsw i32 %388, 1
store i32 %389, ptr %10, align 4
br label %364, !llvm.loop !15
390: ; preds = %364
%391 = load i32, ptr %11, align 4
store i32 %391, ptr %8, align 4
br label %392
392: ; preds = %462, %390
%393 = load i32, ptr %8, align 4
%394 = load i32, ptr %2, align 4
%395 = icmp sle i32 %393, %394
br i1 %395, label %396, label %465
396: ; preds = %392
%397 = load i32, ptr %11, align 4
store i32 %397, ptr %10, align 4
br label %398
398: ; preds = %430, %396
%399 = load i32, ptr %10, align 4
%400 = load i32, ptr %3, align 4
%401 = icmp sle i32 %399, %400
br i1 %401, label %402, label %433
402: ; preds = %398
%403 = load i32, ptr %8, align 4
%404 = icmp sle i32 1, %403
%405 = zext i1 %404 to i32
%406 = call i32 @assert(i32 noundef %405)
%407 = load i32, ptr %8, align 4
%408 = load i32, ptr %2, align 4
%409 = icmp sle i32 %407, %408
%410 = zext i1 %409 to i32
%411 = call i32 @assert(i32 noundef %410)
%412 = load i32, ptr %6, align 4
%413 = icmp sle i32 1, %412
%414 = zext i1 %413 to i32
%415 = call i32 @assert(i32 noundef %414)
%416 = load i32, ptr %6, align 4
%417 = load i32, ptr %2, align 4
%418 = icmp sle i32 %416, %417
%419 = zext i1 %418 to i32
%420 = call i32 @assert(i32 noundef %419)
%421 = load i32, ptr %10, align 4
%422 = icmp sle i32 1, %421
%423 = zext i1 %422 to i32
%424 = call i32 @assert(i32 noundef %423)
%425 = load i32, ptr %10, align 4
%426 = load i32, ptr %3, align 4
%427 = icmp sle i32 %425, %426
%428 = zext i1 %427 to i32
%429 = call i32 @assert(i32 noundef %428)
br label %430
430: ; preds = %402
%431 = load i32, ptr %10, align 4
%432 = add nsw i32 %431, 1
store i32 %432, ptr %10, align 4
br label %398, !llvm.loop !16
433: ; preds = %398
%434 = load i32, ptr %11, align 4
store i32 %434, ptr %10, align 4
br label %435
435: ; preds = %458, %433
%436 = load i32, ptr %10, align 4
%437 = load i32, ptr %3, align 4
%438 = icmp sle i32 %436, %437
br i1 %438, label %439, label %461
439: ; preds = %435
%440 = load i32, ptr %8, align 4
%441 = icmp sle i32 1, %440
%442 = zext i1 %441 to i32
%443 = call i32 @assert(i32 noundef %442)
%444 = load i32, ptr %8, align 4
%445 = load i32, ptr %2, align 4
%446 = icmp sle i32 %444, %445
%447 = zext i1 %446 to i32
%448 = call i32 @assert(i32 noundef %447)
%449 = load i32, ptr %10, align 4
%450 = icmp sle i32 1, %449
%451 = zext i1 %450 to i32
%452 = call i32 @assert(i32 noundef %451)
%453 = load i32, ptr %10, align 4
%454 = load i32, ptr %3, align 4
%455 = icmp sle i32 %453, %454
%456 = zext i1 %455 to i32
%457 = call i32 @assert(i32 noundef %456)
br label %458
458: ; preds = %439
%459 = load i32, ptr %10, align 4
%460 = add nsw i32 %459, 1
store i32 %460, ptr %10, align 4
br label %435, !llvm.loop !17
461: ; preds = %435
br label %462
462: ; preds = %461
%463 = load i32, ptr %8, align 4
%464 = add nsw i32 %463, 1
store i32 %464, ptr %8, align 4
br label %392, !llvm.loop !18
465: ; preds = %392
%466 = load i32, ptr %11, align 4
store i32 %466, ptr %10, align 4
br label %467
467: ; preds = %490, %465
%468 = load i32, ptr %10, align 4
%469 = load i32, ptr %3, align 4
%470 = icmp sle i32 %468, %469
br i1 %470, label %471, label %493
471: ; preds = %467
%472 = load i32, ptr %6, align 4
%473 = icmp sle i32 1, %472
%474 = zext i1 %473 to i32
%475 = call i32 @assert(i32 noundef %474)
%476 = load i32, ptr %6, align 4
%477 = load i32, ptr %2, align 4
%478 = icmp sle i32 %476, %477
%479 = zext i1 %478 to i32
%480 = call i32 @assert(i32 noundef %479)
%481 = load i32, ptr %10, align 4
%482 = icmp sle i32 1, %481
%483 = zext i1 %482 to i32
%484 = call i32 @assert(i32 noundef %483)
%485 = load i32, ptr %10, align 4
%486 = load i32, ptr %3, align 4
%487 = icmp sle i32 %485, %486
%488 = zext i1 %487 to i32
%489 = call i32 @assert(i32 noundef %488)
br label %490
490: ; preds = %471
%491 = load i32, ptr %10, align 4
%492 = add nsw i32 %491, 1
store i32 %492, ptr %10, align 4
br label %467, !llvm.loop !19
493: ; preds = %467
br label %494
494: ; preds = %493, %277
br label %495
495: ; preds = %494, %245, %241
br label %496
496: ; preds = %495
%497 = load i32, ptr %6, align 4
%498 = add nsw i32 %497, 1
store i32 %498, ptr %6, align 4
br label %13, !llvm.loop !20
499: ; preds = %13
%500 = load i32, ptr %3, align 4
store i32 %500, ptr %6, align 4
br label %501
501: ; preds = %674, %499
%502 = load i32, ptr %6, align 4
%503 = icmp sge i32 %502, 1
br i1 %503, label %504, label %677
504: ; preds = %501
%505 = load i32, ptr %6, align 4
%506 = add nsw i32 %505, 1
store i32 %506, ptr %11, align 4
%507 = load i32, ptr %6, align 4
%508 = load i32, ptr %3, align 4
%509 = icmp slt i32 %507, %508
br i1 %509, label %510, label %655
510: ; preds = %504
%511 = call i64 (...) @__VERIFIER_nondet_int()
%512 = icmp ne i64 %511, 0
br i1 %512, label %513, label %626
513: ; preds = %510
%514 = load i32, ptr %11, align 4
store i32 %514, ptr %8, align 4
br label %515
515: ; preds = %547, %513
%516 = load i32, ptr %8, align 4
%517 = load i32, ptr %3, align 4
%518 = icmp sle i32 %516, %517
br i1 %518, label %519, label %550
519: ; preds = %515
%520 = load i32, ptr %8, align 4
%521 = icmp sle i32 1, %520
%522 = zext i1 %521 to i32
%523 = call i32 @assert(i32 noundef %522)
%524 = load i32, ptr %8, align 4
%525 = load i32, ptr %3, align 4
%526 = icmp sle i32 %524, %525
%527 = zext i1 %526 to i32
%528 = call i32 @assert(i32 noundef %527)
%529 = load i32, ptr %6, align 4
%530 = icmp sle i32 1, %529
%531 = zext i1 %530 to i32
%532 = call i32 @assert(i32 noundef %531)
%533 = load i32, ptr %6, align 4
%534 = load i32, ptr %3, align 4
%535 = icmp sle i32 %533, %534
%536 = zext i1 %535 to i32
%537 = call i32 @assert(i32 noundef %536)
%538 = load i32, ptr %11, align 4
%539 = icmp sle i32 1, %538
%540 = zext i1 %539 to i32
%541 = call i32 @assert(i32 noundef %540)
%542 = load i32, ptr %11, align 4
%543 = load i32, ptr %3, align 4
%544 = icmp sle i32 %542, %543
%545 = zext i1 %544 to i32
%546 = call i32 @assert(i32 noundef %545)
br label %547
547: ; preds = %519
%548 = load i32, ptr %8, align 4
%549 = add nsw i32 %548, 1
store i32 %549, ptr %8, align 4
br label %515, !llvm.loop !21
550: ; preds = %515
%551 = load i32, ptr %11, align 4
store i32 %551, ptr %8, align 4
br label %552
552: ; preds = %622, %550
%553 = load i32, ptr %8, align 4
%554 = load i32, ptr %3, align 4
%555 = icmp sle i32 %553, %554
br i1 %555, label %556, label %625
556: ; preds = %552
%557 = load i32, ptr %11, align 4
store i32 %557, ptr %10, align 4
br label %558
558: ; preds = %581, %556
%559 = load i32, ptr %10, align 4
%560 = load i32, ptr %3, align 4
%561 = icmp sle i32 %559, %560
br i1 %561, label %562, label %584
562: ; preds = %558
%563 = load i32, ptr %10, align 4
%564 = icmp sle i32 1, %563
%565 = zext i1 %564 to i32
%566 = call i32 @assert(i32 noundef %565)
%567 = load i32, ptr %10, align 4
%568 = load i32, ptr %3, align 4
%569 = icmp sle i32 %567, %568
%570 = zext i1 %569 to i32
%571 = call i32 @assert(i32 noundef %570)
%572 = load i32, ptr %8, align 4
%573 = icmp sle i32 1, %572
%574 = zext i1 %573 to i32
%575 = call i32 @assert(i32 noundef %574)
%576 = load i32, ptr %8, align 4
%577 = load i32, ptr %3, align 4
%578 = icmp sle i32 %576, %577
%579 = zext i1 %578 to i32
%580 = call i32 @assert(i32 noundef %579)
br label %581
581: ; preds = %562
%582 = load i32, ptr %10, align 4
%583 = add nsw i32 %582, 1
store i32 %583, ptr %10, align 4
br label %558, !llvm.loop !22
584: ; preds = %558
%585 = load i32, ptr %11, align 4
store i32 %585, ptr %10, align 4
br label %586
586: ; preds = %618, %584
%587 = load i32, ptr %10, align 4
%588 = load i32, ptr %3, align 4
%589 = icmp sle i32 %587, %588
br i1 %589, label %590, label %621
590: ; preds = %586
%591 = load i32, ptr %10, align 4
%592 = icmp sle i32 1, %591
%593 = zext i1 %592 to i32
%594 = call i32 @assert(i32 noundef %593)
%595 = load i32, ptr %10, align 4
%596 = load i32, ptr %3, align 4
%597 = icmp sle i32 %595, %596
%598 = zext i1 %597 to i32
%599 = call i32 @assert(i32 noundef %598)
%600 = load i32, ptr %8, align 4
%601 = icmp sle i32 1, %600
%602 = zext i1 %601 to i32
%603 = call i32 @assert(i32 noundef %602)
%604 = load i32, ptr %8, align 4
%605 = load i32, ptr %3, align 4
%606 = icmp sle i32 %604, %605
%607 = zext i1 %606 to i32
%608 = call i32 @assert(i32 noundef %607)
%609 = load i32, ptr %6, align 4
%610 = icmp sle i32 1, %609
%611 = zext i1 %610 to i32
%612 = call i32 @assert(i32 noundef %611)
%613 = load i32, ptr %6, align 4
%614 = load i32, ptr %3, align 4
%615 = icmp sle i32 %613, %614
%616 = zext i1 %615 to i32
%617 = call i32 @assert(i32 noundef %616)
br label %618
618: ; preds = %590
%619 = load i32, ptr %10, align 4
%620 = add nsw i32 %619, 1
store i32 %620, ptr %10, align 4
br label %586, !llvm.loop !23
621: ; preds = %586
br label %622
622: ; preds = %621
%623 = load i32, ptr %8, align 4
%624 = add nsw i32 %623, 1
store i32 %624, ptr %8, align 4
br label %552, !llvm.loop !24
625: ; preds = %552
br label %626
626: ; preds = %625, %510
%627 = load i32, ptr %11, align 4
store i32 %627, ptr %8, align 4
br label %628
628: ; preds = %651, %626
%629 = load i32, ptr %8, align 4
%630 = load i32, ptr %3, align 4
%631 = icmp sle i32 %629, %630
br i1 %631, label %632, label %654
632: ; preds = %628
%633 = load i32, ptr %8, align 4
%634 = icmp sle i32 1, %633
%635 = zext i1 %634 to i32
%636 = call i32 @assert(i32 noundef %635)
%637 = load i32, ptr %8, align 4
%638 = load i32, ptr %3, align 4
%639 = icmp sle i32 %637, %638
%640 = zext i1 %639 to i32
%641 = call i32 @assert(i32 noundef %640)
%642 = load i32, ptr %6, align 4
%643 = icmp sle i32 1, %642
%644 = zext i1 %643 to i32
%645 = call i32 @assert(i32 noundef %644)
%646 = load i32, ptr %6, align 4
%647 = load i32, ptr %3, align 4
%648 = icmp sle i32 %646, %647
%649 = zext i1 %648 to i32
%650 = call i32 @assert(i32 noundef %649)
br label %651
651: ; preds = %632
%652 = load i32, ptr %8, align 4
%653 = add nsw i32 %652, 1
store i32 %653, ptr %8, align 4
br label %628, !llvm.loop !25
654: ; preds = %628
br label %655
655: ; preds = %654, %504
%656 = load i32, ptr %6, align 4
%657 = icmp sle i32 1, %656
%658 = zext i1 %657 to i32
%659 = call i32 @assert(i32 noundef %658)
%660 = load i32, ptr %6, align 4
%661 = load i32, ptr %3, align 4
%662 = icmp sle i32 %660, %661
%663 = zext i1 %662 to i32
%664 = call i32 @assert(i32 noundef %663)
%665 = load i32, ptr %6, align 4
%666 = icmp sle i32 1, %665
%667 = zext i1 %666 to i32
%668 = call i32 @assert(i32 noundef %667)
%669 = load i32, ptr %6, align 4
%670 = load i32, ptr %3, align 4
%671 = icmp sle i32 %669, %670
%672 = zext i1 %671 to i32
%673 = call i32 @assert(i32 noundef %672)
br label %674
674: ; preds = %655
%675 = load i32, ptr %6, align 4
%676 = add nsw i32 %675, -1
store i32 %676, ptr %6, align 4
br label %501, !llvm.loop !26
677: ; preds = %501
ret void
}
declare i32 @assert(i32 noundef) #1
declare i64 @__VERIFIER_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
!23 = distinct !{!23, !7}
!24 = distinct !{!24, !7}
!25 = distinct !{!25, !7}
!26 = distinct !{!26, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeagfwtcv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 1, ptr %6, align 4
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp sle i32 %13, %14
br i1 %15, label %.lr.ph38, label %527
.lr.ph38: ; preds = %0
br label %16
16: ; preds = %.lr.ph38, %521
%17 = load i32, ptr %6, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %11, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp sle i32 1, %19
%21 = zext i1 %20 to i32
%22 = call i32 @assert(i32 noundef %21)
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %3, align 4
%25 = icmp sle i32 %23, %24
%26 = zext i1 %25 to i32
%27 = call i32 @assert(i32 noundef %26)
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %2, align 4
%30 = icmp sle i32 %28, %29
br i1 %30, label %31, label %252
31: ; preds = %16
%32 = load i32, ptr %6, align 4
store i32 %32, ptr %10, align 4
%33 = load i32, ptr %10, align 4
%34 = load i32, ptr %2, align 4
%35 = icmp sle i32 %33, %34
br i1 %35, label %.lr.ph, label %61
.lr.ph: ; preds = %31
br label %36
36: ; preds = %.lr.ph, %55
%37 = load i32, ptr %10, align 4
%38 = icmp sle i32 1, %37
%39 = zext i1 %38 to i32
%40 = call i32 @assert(i32 noundef %39)
%41 = load i32, ptr %10, align 4
%42 = load i32, ptr %2, align 4
%43 = icmp sle i32 %41, %42
%44 = zext i1 %43 to i32
%45 = call i32 @assert(i32 noundef %44)
%46 = load i32, ptr %6, align 4
%47 = icmp sle i32 1, %46
%48 = zext i1 %47 to i32
%49 = call i32 @assert(i32 noundef %48)
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr %3, align 4
%52 = icmp sle i32 %50, %51
%53 = zext i1 %52 to i32
%54 = call i32 @assert(i32 noundef %53)
br label %55
55: ; preds = %36
%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 = load i32, ptr %2, align 4
%60 = icmp sle i32 %58, %59
br i1 %60, label %36, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %55
br label %61
61: ; preds = %._crit_edge, %31
%62 = call i64 (...) @__VERIFIER_nondet_int()
%63 = icmp ne i64 %62, 0
br i1 %63, label %64, label %251
64: ; preds = %61
%65 = load i32, ptr %6, align 4
store i32 %65, ptr %10, align 4
%66 = load i32, ptr %10, align 4
%67 = load i32, ptr %2, align 4
%68 = icmp sle i32 %66, %67
br i1 %68, label %.lr.ph2, label %94
.lr.ph2: ; preds = %64
br label %69
69: ; preds = %.lr.ph2, %88
%70 = load i32, ptr %10, align 4
%71 = icmp sle i32 1, %70
%72 = zext i1 %71 to i32
%73 = call i32 @assert(i32 noundef %72)
%74 = load i32, ptr %10, align 4
%75 = load i32, ptr %2, align 4
%76 = icmp sle i32 %74, %75
%77 = zext i1 %76 to i32
%78 = call i32 @assert(i32 noundef %77)
%79 = load i32, ptr %6, align 4
%80 = icmp sle i32 1, %79
%81 = zext i1 %80 to i32
%82 = call i32 @assert(i32 noundef %81)
%83 = load i32, ptr %6, align 4
%84 = load i32, ptr %3, align 4
%85 = icmp sle i32 %83, %84
%86 = zext i1 %85 to i32
%87 = call i32 @assert(i32 noundef %86)
br label %88
88: ; preds = %69
%89 = load i32, ptr %10, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %10, align 4
%91 = load i32, ptr %10, align 4
%92 = load i32, ptr %2, align 4
%93 = icmp sle i32 %91, %92
br i1 %93, label %69, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %88
br label %94
94: ; preds = %._crit_edge3, %64
%95 = load i32, ptr %6, align 4
%96 = icmp sle i32 1, %95
%97 = zext i1 %96 to i32
%98 = call i32 @assert(i32 noundef %97)
%99 = load i32, ptr %6, align 4
%100 = load i32, ptr %2, align 4
%101 = icmp sle i32 %99, %100
%102 = zext i1 %101 to i32
%103 = call i32 @assert(i32 noundef %102)
%104 = load i32, ptr %6, align 4
%105 = icmp sle i32 1, %104
%106 = zext i1 %105 to i32
%107 = call i32 @assert(i32 noundef %106)
%108 = load i32, ptr %6, align 4
%109 = load i32, ptr %3, align 4
%110 = icmp sle i32 %108, %109
%111 = zext i1 %110 to i32
%112 = call i32 @assert(i32 noundef %111)
%113 = load i32, ptr %6, align 4
%114 = icmp sle i32 1, %113
%115 = zext i1 %114 to i32
%116 = call i32 @assert(i32 noundef %115)
%117 = load i32, ptr %6, align 4
%118 = load i32, ptr %2, align 4
%119 = icmp sle i32 %117, %118
%120 = zext i1 %119 to i32
%121 = call i32 @assert(i32 noundef %120)
%122 = load i32, ptr %6, align 4
%123 = icmp sle i32 1, %122
%124 = zext i1 %123 to i32
%125 = call i32 @assert(i32 noundef %124)
%126 = load i32, ptr %6, align 4
%127 = load i32, ptr %3, align 4
%128 = icmp sle i32 %126, %127
%129 = zext i1 %128 to i32
%130 = call i32 @assert(i32 noundef %129)
%131 = load i32, ptr %11, align 4
store i32 %131, ptr %8, align 4
%132 = load i32, ptr %8, align 4
%133 = load i32, ptr %3, align 4
%134 = icmp sle i32 %132, %133
br i1 %134, label %.lr.ph11, label %220
.lr.ph11: ; preds = %94
br label %135
135: ; preds = %.lr.ph11, %214
%136 = load i32, ptr %6, align 4
store i32 %136, ptr %10, align 4
%137 = load i32, ptr %10, align 4
%138 = load i32, ptr %2, align 4
%139 = icmp sle i32 %137, %138
br i1 %139, label %.lr.ph5, label %174
.lr.ph5: ; preds = %135
br label %140
140: ; preds = %.lr.ph5, %168
%141 = load i32, ptr %10, align 4
%142 = icmp sle i32 1, %141
%143 = zext i1 %142 to i32
%144 = call i32 @assert(i32 noundef %143)
%145 = load i32, ptr %10, align 4
%146 = load i32, ptr %2, align 4
%147 = icmp sle i32 %145, %146
%148 = zext i1 %147 to i32
%149 = call i32 @assert(i32 noundef %148)
%150 = load i32, ptr %6, align 4
%151 = icmp sle i32 1, %150
%152 = zext i1 %151 to i32
%153 = call i32 @assert(i32 noundef %152)
%154 = load i32, ptr %6, align 4
%155 = load i32, ptr %3, align 4
%156 = icmp sle i32 %154, %155
%157 = zext i1 %156 to i32
%158 = call i32 @assert(i32 noundef %157)
%159 = load i32, ptr %8, align 4
%160 = icmp sle i32 1, %159
%161 = zext i1 %160 to i32
%162 = call i32 @assert(i32 noundef %161)
%163 = load i32, ptr %8, align 4
%164 = load i32, ptr %3, align 4
%165 = icmp sle i32 %163, %164
%166 = zext i1 %165 to i32
%167 = call i32 @assert(i32 noundef %166)
br label %168
168: ; preds = %140
%169 = load i32, ptr %10, align 4
%170 = add nsw i32 %169, 1
store i32 %170, ptr %10, align 4
%171 = load i32, ptr %10, align 4
%172 = load i32, ptr %2, align 4
%173 = icmp sle i32 %171, %172
br i1 %173, label %140, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %168
br label %174
174: ; preds = %._crit_edge6, %135
%175 = load i32, ptr %6, align 4
store i32 %175, ptr %10, align 4
%176 = load i32, ptr %10, align 4
%177 = load i32, ptr %2, align 4
%178 = icmp sle i32 %176, %177
br i1 %178, label %.lr.ph8, label %213
.lr.ph8: ; preds = %174
br label %179
179: ; preds = %.lr.ph8, %207
%180 = load i32, ptr %10, align 4
%181 = icmp sle i32 1, %180
%182 = zext i1 %181 to i32
%183 = call i32 @assert(i32 noundef %182)
%184 = load i32, ptr %10, align 4
%185 = load i32, ptr %2, align 4
%186 = icmp sle i32 %184, %185
%187 = zext i1 %186 to i32
%188 = call i32 @assert(i32 noundef %187)
%189 = load i32, ptr %6, align 4
%190 = icmp sle i32 1, %189
%191 = zext i1 %190 to i32
%192 = call i32 @assert(i32 noundef %191)
%193 = load i32, ptr %6, align 4
%194 = load i32, ptr %3, align 4
%195 = icmp sle i32 %193, %194
%196 = zext i1 %195 to i32
%197 = call i32 @assert(i32 noundef %196)
%198 = load i32, ptr %8, align 4
%199 = icmp sle i32 1, %198
%200 = zext i1 %199 to i32
%201 = call i32 @assert(i32 noundef %200)
%202 = load i32, ptr %8, align 4
%203 = load i32, ptr %3, align 4
%204 = icmp sle i32 %202, %203
%205 = zext i1 %204 to i32
%206 = call i32 @assert(i32 noundef %205)
br label %207
207: ; preds = %179
%208 = load i32, ptr %10, align 4
%209 = add nsw i32 %208, 1
store i32 %209, ptr %10, align 4
%210 = load i32, ptr %10, align 4
%211 = load i32, ptr %2, align 4
%212 = icmp sle i32 %210, %211
br i1 %212, label %179, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %207
br label %213
213: ; preds = %._crit_edge9, %174
br label %214
214: ; preds = %213
%215 = load i32, ptr %8, align 4
%216 = add nsw i32 %215, 1
store i32 %216, ptr %8, align 4
%217 = load i32, ptr %8, align 4
%218 = load i32, ptr %3, align 4
%219 = icmp sle i32 %217, %218
br i1 %219, label %135, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %214
br label %220
220: ; preds = %._crit_edge12, %94
%221 = load i32, ptr %6, align 4
store i32 %221, ptr %10, align 4
%222 = load i32, ptr %10, align 4
%223 = load i32, ptr %2, align 4
%224 = icmp sle i32 %222, %223
br i1 %224, label %.lr.ph14, label %250
.lr.ph14: ; preds = %220
br label %225
225: ; preds = %.lr.ph14, %244
%226 = load i32, ptr %10, align 4
%227 = icmp sle i32 1, %226
%228 = zext i1 %227 to i32
%229 = call i32 @assert(i32 noundef %228)
%230 = load i32, ptr %10, align 4
%231 = load i32, ptr %2, align 4
%232 = icmp sle i32 %230, %231
%233 = zext i1 %232 to i32
%234 = call i32 @assert(i32 noundef %233)
%235 = load i32, ptr %6, align 4
%236 = icmp sle i32 1, %235
%237 = zext i1 %236 to i32
%238 = call i32 @assert(i32 noundef %237)
%239 = load i32, ptr %6, align 4
%240 = load i32, ptr %3, align 4
%241 = icmp sle i32 %239, %240
%242 = zext i1 %241 to i32
%243 = call i32 @assert(i32 noundef %242)
br label %244
244: ; preds = %225
%245 = load i32, ptr %10, align 4
%246 = add nsw i32 %245, 1
store i32 %246, ptr %10, align 4
%247 = load i32, ptr %10, align 4
%248 = load i32, ptr %2, align 4
%249 = icmp sle i32 %247, %248
br i1 %249, label %225, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %244
br label %250
250: ; preds = %._crit_edge15, %220
br label %251
251: ; preds = %250, %61
br label %252
252: ; preds = %251, %16
%253 = load i32, ptr %6, align 4
%254 = load i32, ptr %2, align 4
%255 = icmp sle i32 %253, %254
br i1 %255, label %256, label %520
256: ; preds = %252
%257 = load i32, ptr %6, align 4
%258 = load i32, ptr %3, align 4
%259 = icmp ne i32 %257, %258
br i1 %259, label %260, label %520
260: ; preds = %256
%261 = load i32, ptr %11, align 4
store i32 %261, ptr %10, align 4
%262 = load i32, ptr %10, align 4
%263 = load i32, ptr %3, align 4
%264 = icmp sle i32 %262, %263
br i1 %264, label %.lr.ph17, label %290
.lr.ph17: ; preds = %260
br label %265
265: ; preds = %.lr.ph17, %284
%266 = load i32, ptr %6, align 4
%267 = icmp sle i32 1, %266
%268 = zext i1 %267 to i32
%269 = call i32 @assert(i32 noundef %268)
%270 = load i32, ptr %6, align 4
%271 = load i32, ptr %2, align 4
%272 = icmp sle i32 %270, %271
%273 = zext i1 %272 to i32
%274 = call i32 @assert(i32 noundef %273)
%275 = load i32, ptr %10, align 4
%276 = icmp sle i32 1, %275
%277 = zext i1 %276 to i32
%278 = call i32 @assert(i32 noundef %277)
%279 = load i32, ptr %10, align 4
%280 = load i32, ptr %3, align 4
%281 = icmp sle i32 %279, %280
%282 = zext i1 %281 to i32
%283 = call i32 @assert(i32 noundef %282)
br label %284
284: ; preds = %265
%285 = load i32, ptr %10, align 4
%286 = add nsw i32 %285, 1
store i32 %286, ptr %10, align 4
%287 = load i32, ptr %10, align 4
%288 = load i32, ptr %3, align 4
%289 = icmp sle i32 %287, %288
br i1 %289, label %265, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %284
br label %290
290: ; preds = %._crit_edge18, %260
%291 = call i64 (...) @__VERIFIER_nondet_int()
%292 = icmp ne i64 %291, 0
br i1 %292, label %293, label %519
293: ; preds = %290
%294 = load i32, ptr %11, align 4
store i32 %294, ptr %10, align 4
%295 = load i32, ptr %10, align 4
%296 = load i32, ptr %3, align 4
%297 = icmp sle i32 %295, %296
br i1 %297, label %.lr.ph20, label %341
.lr.ph20: ; preds = %293
br label %298
298: ; preds = %.lr.ph20, %335
%299 = load i32, ptr %6, align 4
%300 = icmp sle i32 1, %299
%301 = zext i1 %300 to i32
%302 = call i32 @assert(i32 noundef %301)
%303 = load i32, ptr %6, align 4
%304 = load i32, ptr %2, align 4
%305 = icmp sle i32 %303, %304
%306 = zext i1 %305 to i32
%307 = call i32 @assert(i32 noundef %306)
%308 = load i32, ptr %10, align 4
%309 = icmp sle i32 1, %308
%310 = zext i1 %309 to i32
%311 = call i32 @assert(i32 noundef %310)
%312 = load i32, ptr %10, align 4
%313 = load i32, ptr %3, align 4
%314 = icmp sle i32 %312, %313
%315 = zext i1 %314 to i32
%316 = call i32 @assert(i32 noundef %315)
%317 = load i32, ptr %6, align 4
%318 = icmp sle i32 1, %317
%319 = zext i1 %318 to i32
%320 = call i32 @assert(i32 noundef %319)
%321 = load i32, ptr %6, align 4
%322 = load i32, ptr %2, align 4
%323 = icmp sle i32 %321, %322
%324 = zext i1 %323 to i32
%325 = call i32 @assert(i32 noundef %324)
%326 = load i32, ptr %10, align 4
%327 = icmp sle i32 1, %326
%328 = zext i1 %327 to i32
%329 = call i32 @assert(i32 noundef %328)
%330 = load i32, ptr %10, align 4
%331 = load i32, ptr %3, align 4
%332 = icmp sle i32 %330, %331
%333 = zext i1 %332 to i32
%334 = call i32 @assert(i32 noundef %333)
br label %335
335: ; preds = %298
%336 = load i32, ptr %10, align 4
%337 = add nsw i32 %336, 1
store i32 %337, ptr %10, align 4
%338 = load i32, ptr %10, align 4
%339 = load i32, ptr %3, align 4
%340 = icmp sle i32 %338, %339
br i1 %340, label %298, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %335
br label %341
341: ; preds = %._crit_edge21, %293
%342 = load i32, ptr %6, align 4
%343 = icmp sle i32 1, %342
%344 = zext i1 %343 to i32
%345 = call i32 @assert(i32 noundef %344)
%346 = load i32, ptr %6, align 4
%347 = load i32, ptr %2, align 4
%348 = icmp sle i32 %346, %347
%349 = zext i1 %348 to i32
%350 = call i32 @assert(i32 noundef %349)
%351 = load i32, ptr %11, align 4
%352 = icmp sle i32 1, %351
%353 = zext i1 %352 to i32
%354 = call i32 @assert(i32 noundef %353)
%355 = load i32, ptr %11, align 4
%356 = load i32, ptr %3, align 4
%357 = icmp sle i32 %355, %356
%358 = zext i1 %357 to i32
%359 = call i32 @assert(i32 noundef %358)
%360 = load i32, ptr %6, align 4
%361 = icmp sle i32 1, %360
%362 = zext i1 %361 to i32
%363 = call i32 @assert(i32 noundef %362)
%364 = load i32, ptr %6, align 4
%365 = load i32, ptr %2, align 4
%366 = icmp sle i32 %364, %365
%367 = zext i1 %366 to i32
%368 = call i32 @assert(i32 noundef %367)
%369 = load i32, ptr %11, align 4
%370 = icmp sle i32 1, %369
%371 = zext i1 %370 to i32
%372 = call i32 @assert(i32 noundef %371)
%373 = load i32, ptr %11, align 4
%374 = load i32, ptr %3, align 4
%375 = icmp sle i32 %373, %374
%376 = zext i1 %375 to i32
%377 = call i32 @assert(i32 noundef %376)
%378 = load i32, ptr %11, align 4
store i32 %378, ptr %10, align 4
%379 = load i32, ptr %10, align 4
%380 = load i32, ptr %3, align 4
%381 = icmp sle i32 %379, %380
br i1 %381, label %.lr.ph23, label %407
.lr.ph23: ; preds = %341
br label %382
382: ; preds = %.lr.ph23, %401
%383 = load i32, ptr %6, align 4
%384 = icmp sle i32 1, %383
%385 = zext i1 %384 to i32
%386 = call i32 @assert(i32 noundef %385)
%387 = load i32, ptr %6, align 4
%388 = load i32, ptr %2, align 4
%389 = icmp sle i32 %387, %388
%390 = zext i1 %389 to i32
%391 = call i32 @assert(i32 noundef %390)
%392 = load i32, ptr %10, align 4
%393 = icmp sle i32 1, %392
%394 = zext i1 %393 to i32
%395 = call i32 @assert(i32 noundef %394)
%396 = load i32, ptr %10, align 4
%397 = load i32, ptr %3, align 4
%398 = icmp sle i32 %396, %397
%399 = zext i1 %398 to i32
%400 = call i32 @assert(i32 noundef %399)
br label %401
401: ; preds = %382
%402 = load i32, ptr %10, align 4
%403 = add nsw i32 %402, 1
store i32 %403, ptr %10, align 4
%404 = load i32, ptr %10, align 4
%405 = load i32, ptr %3, align 4
%406 = icmp sle i32 %404, %405
br i1 %406, label %382, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %401
br label %407
407: ; preds = %._crit_edge24, %341
%408 = load i32, ptr %11, align 4
store i32 %408, ptr %8, align 4
%409 = load i32, ptr %8, align 4
%410 = load i32, ptr %2, align 4
%411 = icmp sle i32 %409, %410
br i1 %411, label %.lr.ph32, label %488
.lr.ph32: ; preds = %407
br label %412
412: ; preds = %.lr.ph32, %482
%413 = load i32, ptr %11, align 4
store i32 %413, ptr %10, align 4
%414 = load i32, ptr %10, align 4
%415 = load i32, ptr %3, align 4
%416 = icmp sle i32 %414, %415
br i1 %416, label %.lr.ph26, label %451
.lr.ph26: ; preds = %412
br label %417
417: ; preds = %.lr.ph26, %445
%418 = load i32, ptr %8, align 4
%419 = icmp sle i32 1, %418
%420 = zext i1 %419 to i32
%421 = call i32 @assert(i32 noundef %420)
%422 = load i32, ptr %8, align 4
%423 = load i32, ptr %2, align 4
%424 = icmp sle i32 %422, %423
%425 = zext i1 %424 to i32
%426 = call i32 @assert(i32 noundef %425)
%427 = load i32, ptr %6, align 4
%428 = icmp sle i32 1, %427
%429 = zext i1 %428 to i32
%430 = call i32 @assert(i32 noundef %429)
%431 = load i32, ptr %6, align 4
%432 = load i32, ptr %2, align 4
%433 = icmp sle i32 %431, %432
%434 = zext i1 %433 to i32
%435 = call i32 @assert(i32 noundef %434)
%436 = load i32, ptr %10, align 4
%437 = icmp sle i32 1, %436
%438 = zext i1 %437 to i32
%439 = call i32 @assert(i32 noundef %438)
%440 = load i32, ptr %10, align 4
%441 = load i32, ptr %3, align 4
%442 = icmp sle i32 %440, %441
%443 = zext i1 %442 to i32
%444 = call i32 @assert(i32 noundef %443)
br label %445
445: ; preds = %417
%446 = load i32, ptr %10, align 4
%447 = add nsw i32 %446, 1
store i32 %447, ptr %10, align 4
%448 = load i32, ptr %10, align 4
%449 = load i32, ptr %3, align 4
%450 = icmp sle i32 %448, %449
br i1 %450, label %417, label %._crit_edge27, !llvm.loop !16
._crit_edge27: ; preds = %445
br label %451
451: ; preds = %._crit_edge27, %412
%452 = load i32, ptr %11, align 4
store i32 %452, ptr %10, align 4
%453 = load i32, ptr %10, align 4
%454 = load i32, ptr %3, align 4
%455 = icmp sle i32 %453, %454
br i1 %455, label %.lr.ph29, label %481
.lr.ph29: ; preds = %451
br label %456
456: ; preds = %.lr.ph29, %475
%457 = load i32, ptr %8, align 4
%458 = icmp sle i32 1, %457
%459 = zext i1 %458 to i32
%460 = call i32 @assert(i32 noundef %459)
%461 = load i32, ptr %8, align 4
%462 = load i32, ptr %2, align 4
%463 = icmp sle i32 %461, %462
%464 = zext i1 %463 to i32
%465 = call i32 @assert(i32 noundef %464)
%466 = load i32, ptr %10, align 4
%467 = icmp sle i32 1, %466
%468 = zext i1 %467 to i32
%469 = call i32 @assert(i32 noundef %468)
%470 = load i32, ptr %10, align 4
%471 = load i32, ptr %3, align 4
%472 = icmp sle i32 %470, %471
%473 = zext i1 %472 to i32
%474 = call i32 @assert(i32 noundef %473)
br label %475
475: ; preds = %456
%476 = load i32, ptr %10, align 4
%477 = add nsw i32 %476, 1
store i32 %477, ptr %10, align 4
%478 = load i32, ptr %10, align 4
%479 = load i32, ptr %3, align 4
%480 = icmp sle i32 %478, %479
br i1 %480, label %456, label %._crit_edge30, !llvm.loop !17
._crit_edge30: ; preds = %475
br label %481
481: ; preds = %._crit_edge30, %451
br label %482
482: ; preds = %481
%483 = load i32, ptr %8, align 4
%484 = add nsw i32 %483, 1
store i32 %484, ptr %8, align 4
%485 = load i32, ptr %8, align 4
%486 = load i32, ptr %2, align 4
%487 = icmp sle i32 %485, %486
br i1 %487, label %412, label %._crit_edge33, !llvm.loop !18
._crit_edge33: ; preds = %482
br label %488
488: ; preds = %._crit_edge33, %407
%489 = load i32, ptr %11, align 4
store i32 %489, ptr %10, align 4
%490 = load i32, ptr %10, align 4
%491 = load i32, ptr %3, align 4
%492 = icmp sle i32 %490, %491
br i1 %492, label %.lr.ph35, label %518
.lr.ph35: ; preds = %488
br label %493
493: ; preds = %.lr.ph35, %512
%494 = load i32, ptr %6, align 4
%495 = icmp sle i32 1, %494
%496 = zext i1 %495 to i32
%497 = call i32 @assert(i32 noundef %496)
%498 = load i32, ptr %6, align 4
%499 = load i32, ptr %2, align 4
%500 = icmp sle i32 %498, %499
%501 = zext i1 %500 to i32
%502 = call i32 @assert(i32 noundef %501)
%503 = load i32, ptr %10, align 4
%504 = icmp sle i32 1, %503
%505 = zext i1 %504 to i32
%506 = call i32 @assert(i32 noundef %505)
%507 = load i32, ptr %10, align 4
%508 = load i32, ptr %3, align 4
%509 = icmp sle i32 %507, %508
%510 = zext i1 %509 to i32
%511 = call i32 @assert(i32 noundef %510)
br label %512
512: ; preds = %493
%513 = load i32, ptr %10, align 4
%514 = add nsw i32 %513, 1
store i32 %514, ptr %10, align 4
%515 = load i32, ptr %10, align 4
%516 = load i32, ptr %3, align 4
%517 = icmp sle i32 %515, %516
br i1 %517, label %493, label %._crit_edge36, !llvm.loop !19
._crit_edge36: ; preds = %512
br label %518
518: ; preds = %._crit_edge36, %488
br label %519
519: ; preds = %518, %290
br label %520
520: ; preds = %519, %256, %252
br label %521
521: ; preds = %520
%522 = load i32, ptr %6, align 4
%523 = add nsw i32 %522, 1
store i32 %523, ptr %6, align 4
%524 = load i32, ptr %6, align 4
%525 = load i32, ptr %3, align 4
%526 = icmp sle i32 %524, %525
br i1 %526, label %16, label %._crit_edge39, !llvm.loop !20
._crit_edge39: ; preds = %521
br label %527
527: ; preds = %._crit_edge39, %0
%528 = load i32, ptr %3, align 4
store i32 %528, ptr %6, align 4
%529 = load i32, ptr %6, align 4
%530 = icmp sge i32 %529, 1
br i1 %530, label %.lr.ph56, label %716
.lr.ph56: ; preds = %527
br label %531
531: ; preds = %.lr.ph56, %711
%532 = load i32, ptr %6, align 4
%533 = add nsw i32 %532, 1
store i32 %533, ptr %11, align 4
%534 = load i32, ptr %6, align 4
%535 = load i32, ptr %3, align 4
%536 = icmp slt i32 %534, %535
br i1 %536, label %537, label %692
537: ; preds = %531
%538 = call i64 (...) @__VERIFIER_nondet_int()
%539 = icmp ne i64 %538, 0
br i1 %539, label %540, label %661
540: ; preds = %537
%541 = load i32, ptr %11, align 4
store i32 %541, ptr %8, align 4
%542 = load i32, ptr %8, align 4
%543 = load i32, ptr %3, align 4
%544 = icmp sle i32 %542, %543
br i1 %544, label %.lr.ph41, label %579
.lr.ph41: ; preds = %540
br label %545
545: ; preds = %.lr.ph41, %573
%546 = load i32, ptr %8, align 4
%547 = icmp sle i32 1, %546
%548 = zext i1 %547 to i32
%549 = call i32 @assert(i32 noundef %548)
%550 = load i32, ptr %8, align 4
%551 = load i32, ptr %3, align 4
%552 = icmp sle i32 %550, %551
%553 = zext i1 %552 to i32
%554 = call i32 @assert(i32 noundef %553)
%555 = load i32, ptr %6, align 4
%556 = icmp sle i32 1, %555
%557 = zext i1 %556 to i32
%558 = call i32 @assert(i32 noundef %557)
%559 = load i32, ptr %6, align 4
%560 = load i32, ptr %3, align 4
%561 = icmp sle i32 %559, %560
%562 = zext i1 %561 to i32
%563 = call i32 @assert(i32 noundef %562)
%564 = load i32, ptr %11, align 4
%565 = icmp sle i32 1, %564
%566 = zext i1 %565 to i32
%567 = call i32 @assert(i32 noundef %566)
%568 = load i32, ptr %11, align 4
%569 = load i32, ptr %3, align 4
%570 = icmp sle i32 %568, %569
%571 = zext i1 %570 to i32
%572 = call i32 @assert(i32 noundef %571)
br label %573
573: ; preds = %545
%574 = load i32, ptr %8, align 4
%575 = add nsw i32 %574, 1
store i32 %575, ptr %8, align 4
%576 = load i32, ptr %8, align 4
%577 = load i32, ptr %3, align 4
%578 = icmp sle i32 %576, %577
br i1 %578, label %545, label %._crit_edge42, !llvm.loop !21
._crit_edge42: ; preds = %573
br label %579
579: ; preds = %._crit_edge42, %540
%580 = load i32, ptr %11, align 4
store i32 %580, ptr %8, align 4
%581 = load i32, ptr %8, align 4
%582 = load i32, ptr %3, align 4
%583 = icmp sle i32 %581, %582
br i1 %583, label %.lr.ph50, label %660
.lr.ph50: ; preds = %579
br label %584
584: ; preds = %.lr.ph50, %654
%585 = load i32, ptr %11, align 4
store i32 %585, ptr %10, align 4
%586 = load i32, ptr %10, align 4
%587 = load i32, ptr %3, align 4
%588 = icmp sle i32 %586, %587
br i1 %588, label %.lr.ph44, label %614
.lr.ph44: ; preds = %584
br label %589
589: ; preds = %.lr.ph44, %608
%590 = load i32, ptr %10, align 4
%591 = icmp sle i32 1, %590
%592 = zext i1 %591 to i32
%593 = call i32 @assert(i32 noundef %592)
%594 = load i32, ptr %10, align 4
%595 = load i32, ptr %3, align 4
%596 = icmp sle i32 %594, %595
%597 = zext i1 %596 to i32
%598 = call i32 @assert(i32 noundef %597)
%599 = load i32, ptr %8, align 4
%600 = icmp sle i32 1, %599
%601 = zext i1 %600 to i32
%602 = call i32 @assert(i32 noundef %601)
%603 = load i32, ptr %8, align 4
%604 = load i32, ptr %3, align 4
%605 = icmp sle i32 %603, %604
%606 = zext i1 %605 to i32
%607 = call i32 @assert(i32 noundef %606)
br label %608
608: ; preds = %589
%609 = load i32, ptr %10, align 4
%610 = add nsw i32 %609, 1
store i32 %610, ptr %10, align 4
%611 = load i32, ptr %10, align 4
%612 = load i32, ptr %3, align 4
%613 = icmp sle i32 %611, %612
br i1 %613, label %589, label %._crit_edge45, !llvm.loop !22
._crit_edge45: ; preds = %608
br label %614
614: ; preds = %._crit_edge45, %584
%615 = load i32, ptr %11, align 4
store i32 %615, ptr %10, align 4
%616 = load i32, ptr %10, align 4
%617 = load i32, ptr %3, align 4
%618 = icmp sle i32 %616, %617
br i1 %618, label %.lr.ph47, label %653
.lr.ph47: ; preds = %614
br label %619
619: ; preds = %.lr.ph47, %647
%620 = load i32, ptr %10, align 4
%621 = icmp sle i32 1, %620
%622 = zext i1 %621 to i32
%623 = call i32 @assert(i32 noundef %622)
%624 = load i32, ptr %10, align 4
%625 = load i32, ptr %3, align 4
%626 = icmp sle i32 %624, %625
%627 = zext i1 %626 to i32
%628 = call i32 @assert(i32 noundef %627)
%629 = load i32, ptr %8, align 4
%630 = icmp sle i32 1, %629
%631 = zext i1 %630 to i32
%632 = call i32 @assert(i32 noundef %631)
%633 = load i32, ptr %8, align 4
%634 = load i32, ptr %3, align 4
%635 = icmp sle i32 %633, %634
%636 = zext i1 %635 to i32
%637 = call i32 @assert(i32 noundef %636)
%638 = load i32, ptr %6, align 4
%639 = icmp sle i32 1, %638
%640 = zext i1 %639 to i32
%641 = call i32 @assert(i32 noundef %640)
%642 = load i32, ptr %6, align 4
%643 = load i32, ptr %3, align 4
%644 = icmp sle i32 %642, %643
%645 = zext i1 %644 to i32
%646 = call i32 @assert(i32 noundef %645)
br label %647
647: ; preds = %619
%648 = load i32, ptr %10, align 4
%649 = add nsw i32 %648, 1
store i32 %649, ptr %10, align 4
%650 = load i32, ptr %10, align 4
%651 = load i32, ptr %3, align 4
%652 = icmp sle i32 %650, %651
br i1 %652, label %619, label %._crit_edge48, !llvm.loop !23
._crit_edge48: ; preds = %647
br label %653
653: ; preds = %._crit_edge48, %614
br label %654
654: ; preds = %653
%655 = load i32, ptr %8, align 4
%656 = add nsw i32 %655, 1
store i32 %656, ptr %8, align 4
%657 = load i32, ptr %8, align 4
%658 = load i32, ptr %3, align 4
%659 = icmp sle i32 %657, %658
br i1 %659, label %584, label %._crit_edge51, !llvm.loop !24
._crit_edge51: ; preds = %654
br label %660
660: ; preds = %._crit_edge51, %579
br label %661
661: ; preds = %660, %537
%662 = load i32, ptr %11, align 4
store i32 %662, ptr %8, align 4
%663 = load i32, ptr %8, align 4
%664 = load i32, ptr %3, align 4
%665 = icmp sle i32 %663, %664
br i1 %665, label %.lr.ph53, label %691
.lr.ph53: ; preds = %661
br label %666
666: ; preds = %.lr.ph53, %685
%667 = load i32, ptr %8, align 4
%668 = icmp sle i32 1, %667
%669 = zext i1 %668 to i32
%670 = call i32 @assert(i32 noundef %669)
%671 = load i32, ptr %8, align 4
%672 = load i32, ptr %3, align 4
%673 = icmp sle i32 %671, %672
%674 = zext i1 %673 to i32
%675 = call i32 @assert(i32 noundef %674)
%676 = load i32, ptr %6, align 4
%677 = icmp sle i32 1, %676
%678 = zext i1 %677 to i32
%679 = call i32 @assert(i32 noundef %678)
%680 = load i32, ptr %6, align 4
%681 = load i32, ptr %3, align 4
%682 = icmp sle i32 %680, %681
%683 = zext i1 %682 to i32
%684 = call i32 @assert(i32 noundef %683)
br label %685
685: ; preds = %666
%686 = load i32, ptr %8, align 4
%687 = add nsw i32 %686, 1
store i32 %687, ptr %8, align 4
%688 = load i32, ptr %8, align 4
%689 = load i32, ptr %3, align 4
%690 = icmp sle i32 %688, %689
br i1 %690, label %666, label %._crit_edge54, !llvm.loop !25
._crit_edge54: ; preds = %685
br label %691
691: ; preds = %._crit_edge54, %661
br label %692
692: ; preds = %691, %531
%693 = load i32, ptr %6, align 4
%694 = icmp sle i32 1, %693
%695 = zext i1 %694 to i32
%696 = call i32 @assert(i32 noundef %695)
%697 = load i32, ptr %6, align 4
%698 = load i32, ptr %3, align 4
%699 = icmp sle i32 %697, %698
%700 = zext i1 %699 to i32
%701 = call i32 @assert(i32 noundef %700)
%702 = load i32, ptr %6, align 4
%703 = icmp sle i32 1, %702
%704 = zext i1 %703 to i32
%705 = call i32 @assert(i32 noundef %704)
%706 = load i32, ptr %6, align 4
%707 = load i32, ptr %3, align 4
%708 = icmp sle i32 %706, %707
%709 = zext i1 %708 to i32
%710 = call i32 @assert(i32 noundef %709)
br label %711
711: ; preds = %692
%712 = load i32, ptr %6, align 4
%713 = add nsw i32 %712, -1
store i32 %713, ptr %6, align 4
%714 = load i32, ptr %6, align 4
%715 = icmp sge i32 %714, 1
br i1 %715, label %531, label %._crit_edge57, !llvm.loop !26
._crit_edge57: ; preds = %711
br label %716
716: ; preds = %._crit_edge57, %527
ret void
}
declare i32 @assert(i32 noundef) #1
declare i64 @__VERIFIER_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
!22 = distinct !{!22, !7}
!23 = distinct !{!23, !7}
!24 = distinct !{!24, !7}
!25 = distinct !{!25, !7}
!26 = distinct !{!26, !7}
|
; ModuleID = '/tmp/tmp79mkp9pr.c'
source_filename = "/tmp/tmp79mkp9pr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_TIFFsetDoubleArray(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = mul i64 %9, 8
%11 = call i32 @_TIFFsetByteArray(ptr noundef %7, ptr noundef %8, i64 noundef %10)
ret void
}
declare i32 @_TIFFsetByteArray(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp79mkp9pr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_TIFFsetDoubleArray(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = mul i64 %9, 8
%11 = call i32 @_TIFFsetByteArray(ptr noundef %7, ptr noundef %8, i64 noundef %10)
ret void
}
declare i32 @_TIFFsetByteArray(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt4r1r93n.c'
source_filename = "/tmp/tmpt4r1r93n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"include\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_include_line(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %6, align 8
br label %7
7: ; preds = %22, %2
%8 = load ptr, ptr %6, 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 %20
12: ; preds = %7
%13 = load ptr, ptr %4, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = load ptr, ptr %6, align 8
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %15, %18
br label %20
20: ; preds = %12, %7
%21 = phi i1 [ false, %7 ], [ %19, %12 ]
br i1 %21, label %22, label %27
22: ; preds = %20
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %4, align 8
%25 = load ptr, ptr %6, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %6, align 8
br label %7, !llvm.loop !6
27: ; preds = %20
%28 = load ptr, ptr %6, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %27
store i32 0, ptr %3, align 4
br label %96
33: ; preds = %27
%34 = load ptr, ptr %4, align 8
%35 = load i8, ptr %34, align 1
%36 = call i64 @isspace(i8 noundef signext %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %39, label %38
38: ; preds = %33
store i32 0, ptr %3, align 4
br label %96
39: ; preds = %33
br label %40
40: ; preds = %46, %39
%41 = load ptr, ptr %4, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %4, align 8
%43 = load i8, ptr %42, align 1
%44 = call i64 @isspace(i8 noundef signext %43)
%45 = icmp ne i64 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %40
br label %40, !llvm.loop !8
47: ; preds = %40
%48 = load ptr, ptr %4, align 8
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %47
store i32 0, ptr %3, align 4
br label %96
53: ; preds = %47
br label %54
54: ; preds = %69, %53
%55 = load ptr, ptr %5, align 8
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp ne i32 %57, 0
br i1 %58, label %59, label %67
59: ; preds = %54
%60 = load ptr, ptr %4, align 8
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = load ptr, ptr %5, align 8
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = icmp eq i32 %62, %65
br label %67
67: ; preds = %59, %54
%68 = phi i1 [ false, %54 ], [ %66, %59 ]
br i1 %68, label %69, label %74
69: ; preds = %67
%70 = load ptr, ptr %4, align 8
%71 = getelementptr inbounds i8, ptr %70, i32 1
store ptr %71, ptr %4, align 8
%72 = load ptr, ptr %5, align 8
%73 = getelementptr inbounds i8, ptr %72, i32 1
store ptr %73, ptr %5, align 8
br label %54, !llvm.loop !9
74: ; preds = %67
%75 = load ptr, ptr %5, align 8
%76 = load i8, ptr %75, align 1
%77 = sext i8 %76 to i32
%78 = icmp ne i32 %77, 0
br i1 %78, label %94, label %79
79: ; preds = %74
%80 = load ptr, ptr %4, align 8
%81 = load i8, ptr %80, align 1
%82 = sext i8 %81 to i32
%83 = icmp ne i32 %82, 32
br i1 %83, label %84, label %95
84: ; preds = %79
%85 = load ptr, ptr %4, align 8
%86 = load i8, ptr %85, align 1
%87 = sext i8 %86 to i32
%88 = icmp ne i32 %87, 0
br i1 %88, label %89, label %95
89: ; preds = %84
%90 = load ptr, ptr %4, align 8
%91 = load i8, ptr %90, align 1
%92 = sext i8 %91 to i32
%93 = icmp ne i32 %92, 10
br i1 %93, label %94, label %95
94: ; preds = %89, %74
store i32 0, ptr %3, align 4
br label %96
95: ; preds = %89, %84, %79
store i32 1, ptr %3, align 4
br label %96
96: ; preds = %95, %94, %52, %38, %32
%97 = load i32, ptr %3, align 4
ret i32 %97
}
declare i64 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt4r1r93n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"include\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_include_line(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %6, align 8
br label %7
7: ; preds = %22, %2
%8 = load ptr, ptr %6, 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 %20
12: ; preds = %7
%13 = load ptr, ptr %4, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = load ptr, ptr %6, align 8
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %15, %18
br label %20
20: ; preds = %12, %7
%21 = phi i1 [ false, %7 ], [ %19, %12 ]
br i1 %21, label %22, label %27
22: ; preds = %20
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %4, align 8
%25 = load ptr, ptr %6, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %6, align 8
br label %7, !llvm.loop !6
27: ; preds = %20
%28 = load ptr, ptr %6, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %27
store i32 0, ptr %3, align 4
br label %95
33: ; preds = %27
%34 = load ptr, ptr %4, align 8
%35 = load i8, ptr %34, align 1
%36 = call i64 @isspace(i8 noundef signext %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %39, label %38
38: ; preds = %33
store i32 0, ptr %3, align 4
br label %95
39: ; preds = %33
br label %40
40: ; preds = %40, %39
%41 = load ptr, ptr %4, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %4, align 8
%43 = load i8, ptr %42, align 1
%44 = call i64 @isspace(i8 noundef signext %43)
%45 = icmp ne i64 %44, 0
br i1 %45, label %40, label %46, !llvm.loop !8
46: ; preds = %40
%47 = load ptr, ptr %4, align 8
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp eq i32 %49, 0
br i1 %50, label %51, label %52
51: ; preds = %46
store i32 0, ptr %3, align 4
br label %95
52: ; preds = %46
br label %53
53: ; preds = %68, %52
%54 = load ptr, ptr %5, align 8
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp ne i32 %56, 0
br i1 %57, label %58, label %66
58: ; preds = %53
%59 = load ptr, ptr %4, align 8
%60 = load i8, ptr %59, align 1
%61 = sext i8 %60 to i32
%62 = load ptr, ptr %5, align 8
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp eq i32 %61, %64
br label %66
66: ; preds = %58, %53
%67 = phi i1 [ false, %53 ], [ %65, %58 ]
br i1 %67, label %68, label %73
68: ; preds = %66
%69 = load ptr, ptr %4, align 8
%70 = getelementptr inbounds i8, ptr %69, i32 1
store ptr %70, ptr %4, align 8
%71 = load ptr, ptr %5, align 8
%72 = getelementptr inbounds i8, ptr %71, i32 1
store ptr %72, ptr %5, align 8
br label %53, !llvm.loop !9
73: ; preds = %66
%74 = load ptr, ptr %5, align 8
%75 = load i8, ptr %74, align 1
%76 = sext i8 %75 to i32
%77 = icmp ne i32 %76, 0
br i1 %77, label %93, label %78
78: ; preds = %73
%79 = load ptr, ptr %4, align 8
%80 = load i8, ptr %79, align 1
%81 = sext i8 %80 to i32
%82 = icmp ne i32 %81, 32
br i1 %82, label %83, label %94
83: ; preds = %78
%84 = load ptr, ptr %4, align 8
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = icmp ne i32 %86, 0
br i1 %87, label %88, label %94
88: ; preds = %83
%89 = load ptr, ptr %4, align 8
%90 = load i8, ptr %89, align 1
%91 = sext i8 %90 to i32
%92 = icmp ne i32 %91, 10
br i1 %92, label %93, label %94
93: ; preds = %88, %73
store i32 0, ptr %3, align 4
br label %95
94: ; preds = %88, %83, %78
store i32 1, ptr %3, align 4
br label %95
95: ; preds = %94, %93, %51, %38, %32
%96 = load i32, ptr %3, align 4
ret i32 %96
}
declare i64 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp0aqhv_2h.c'
source_filename = "/tmp/tmp0aqhv_2h.c"
target datalayout = "e-m:e-p270: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/tmp0aqhv_2h.c"
target datalayout = "e-m:e-p270: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/tmpc22b4ayq.c'
source_filename = "/tmp/tmpc22b4ayq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Reset CPU (into user code)\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hard_reset_to_user_code() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @set_rts(i32 noundef 1)
%3 = call i32 @set_dtr(i32 noundef 1)
%4 = call i32 (...) @send_break_signal()
%5 = call i32 @usleep(i32 noundef 75000)
%6 = call i32 @set_dtr(i32 noundef 0)
%7 = call i32 @usleep(i32 noundef 40000)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @set_rts(i32 noundef) #1
declare i32 @set_dtr(i32 noundef) #1
declare i32 @send_break_signal(...) #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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc22b4ayq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Reset CPU (into user code)\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hard_reset_to_user_code() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @set_rts(i32 noundef 1)
%3 = call i32 @set_dtr(i32 noundef 1)
%4 = call i32 (...) @send_break_signal()
%5 = call i32 @usleep(i32 noundef 75000)
%6 = call i32 @set_dtr(i32 noundef 0)
%7 = call i32 @usleep(i32 noundef 40000)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @set_rts(i32 noundef) #1
declare i32 @set_dtr(i32 noundef) #1
declare i32 @send_break_signal(...) #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"}
|
; ModuleID = '/tmp/tmpwdxho1pq.c'
source_filename = "/tmp/tmpwdxho1pq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @runcmd(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [255 x i8], align 16
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call ptr @popen(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %5, align 8
%9 = getelementptr inbounds [255 x i8], ptr %6, i64 0, i64 0
%10 = load ptr, ptr %5, align 8
%11 = call i32 @fgets(ptr noundef %9, i32 noundef 255, ptr noundef %10)
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds [255 x i8], ptr %6, i64 0, i64 0
%14 = call i32 @strcpy(ptr noundef %12, ptr noundef %13)
ret void
}
declare ptr @popen(ptr noundef, ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, 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/tmpwdxho1pq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @runcmd(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [255 x i8], align 16
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call ptr @popen(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %5, align 8
%9 = getelementptr inbounds [255 x i8], ptr %6, i64 0, i64 0
%10 = load ptr, ptr %5, align 8
%11 = call i32 @fgets(ptr noundef %9, i32 noundef 255, ptr noundef %10)
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds [255 x i8], ptr %6, i64 0, i64 0
%14 = call i32 @strcpy(ptr noundef %12, ptr noundef %13)
ret void
}
declare ptr @popen(ptr noundef, ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, 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/tmpgz4u62yl.c'
source_filename = "/tmp/tmpgz4u62yl.c"
target datalayout = "e-m:e-p270: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/tmpgz4u62yl.c"
target datalayout = "e-m:e-p270: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/tmp3sk9hi1l.c'
source_filename = "/tmp/tmp3sk9hi1l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f429(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 @f428(ptr noundef %3)
ret i32 %4
}
declare i32 @f428(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3sk9hi1l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f429(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 @f428(ptr noundef %3)
ret i32 %4
}
declare i32 @f428(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfd9iaimi.c'
source_filename = "/tmp/tmpfd9iaimi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @pow(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 1, ptr %6, align 8
store i64 0, ptr %5, align 8
br label %7
7: ; preds = %15, %2
%8 = load i64, ptr %5, align 8
%9 = load i64, ptr %4, align 8
%10 = icmp slt i64 %8, %9
br i1 %10, label %11, label %18
11: ; preds = %7
%12 = load i64, ptr %3, align 8
%13 = load i64, ptr %6, align 8
%14 = mul nsw i64 %13, %12
store i64 %14, ptr %6, align 8
br label %15
15: ; preds = %11
%16 = load i64, ptr %5, align 8
%17 = add nsw i64 %16, 1
store i64 %17, ptr %5, align 8
br label %7, !llvm.loop !6
18: ; preds = %7
%19 = load i64, ptr %6, align 8
ret i64 %19
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfd9iaimi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @pow(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 1, ptr %6, align 8
store i64 0, ptr %5, align 8
%7 = load i64, ptr %5, align 8
%8 = load i64, ptr %4, align 8
%9 = icmp slt i64 %7, %8
br i1 %9, label %.lr.ph, label %20
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %14
%11 = load i64, ptr %3, align 8
%12 = load i64, ptr %6, align 8
%13 = mul nsw i64 %12, %11
store i64 %13, ptr %6, align 8
br label %14
14: ; preds = %10
%15 = load i64, ptr %5, align 8
%16 = add nsw i64 %15, 1
store i64 %16, ptr %5, align 8
%17 = load i64, ptr %5, align 8
%18 = load i64, ptr %4, align 8
%19 = icmp slt i64 %17, %18
br i1 %19, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %20
20: ; preds = %._crit_edge, %2
%21 = load i64, ptr %6, align 8
ret i64 %21
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpt8wgzhql.c'
source_filename = "/tmp/tmpt8wgzhql.c"
target datalayout = "e-m:e-p270: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/tmpt8wgzhql.c"
target datalayout = "e-m:e-p270: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/tmp3oj82fea.c'
source_filename = "/tmp/tmp3oj82fea.c"
target datalayout = "e-m:e-p270: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/tmp3oj82fea.c"
target datalayout = "e-m:e-p270: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/tmp7cmdg5uw.c'
source_filename = "/tmp/tmp7cmdg5uw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @osa_print_log_ex(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ...) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%11 = call i32 (...) @save_first_info_screen()
ret i32 0
}
declare i32 @save_first_info_screen(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7cmdg5uw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @osa_print_log_ex(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ...) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%11 = call i32 (...) @save_first_info_screen()
ret i32 0
}
declare i32 @save_first_info_screen(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp24kknq9f.c'
source_filename = "/tmp/tmp24kknq9f.c"
target datalayout = "e-m:e-p270: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 }
@errno = dso_local global i64 0, align 8
@EAGAIN = dso_local global i64 0, align 8
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"could not receive, errno=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @udp_socket_receive(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
%9 = alloca i32, align 4
%10 = alloca %struct.sockaddr_in, align 4
%11 = 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
%12 = load i32, ptr %5, align 4
%13 = load ptr, ptr %7, align 8
%14 = load i32, ptr %8, align 4
%15 = call i32 @recvfrom(i32 noundef %12, ptr noundef %13, i32 noundef %14, i32 noundef 0, ptr noundef %10, ptr noundef %8)
store i32 %15, ptr %9, align 4
%16 = load i32, ptr %9, align 4
%17 = icmp slt i32 %16, 0
br i1 %17, label %18, label %27
18: ; preds = %4
%19 = load i64, ptr @errno, align 8
%20 = load i64, ptr @EAGAIN, align 8
%21 = icmp ne i64 %19, %20
br i1 %21, label %22, label %27
22: ; preds = %18
%23 = load i32, ptr @stderr, align 4
%24 = load i64, ptr @errno, align 8
%25 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str, i64 noundef %24)
%26 = call i32 (...) @udp_socket_error()
br label %27
27: ; preds = %22, %18, %4
%28 = load i32, ptr %9, align 4
ret i32 %28
}
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @udp_socket_error(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp24kknq9f.c"
target datalayout = "e-m:e-p270: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 }
@errno = dso_local global i64 0, align 8
@EAGAIN = dso_local global i64 0, align 8
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"could not receive, errno=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @udp_socket_receive(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
%9 = alloca i32, align 4
%10 = alloca %struct.sockaddr_in, align 4
%11 = 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
%12 = load i32, ptr %5, align 4
%13 = load ptr, ptr %7, align 8
%14 = load i32, ptr %8, align 4
%15 = call i32 @recvfrom(i32 noundef %12, ptr noundef %13, i32 noundef %14, i32 noundef 0, ptr noundef %10, ptr noundef %8)
store i32 %15, ptr %9, align 4
%16 = load i32, ptr %9, align 4
%17 = icmp slt i32 %16, 0
br i1 %17, label %18, label %27
18: ; preds = %4
%19 = load i64, ptr @errno, align 8
%20 = load i64, ptr @EAGAIN, align 8
%21 = icmp ne i64 %19, %20
br i1 %21, label %22, label %27
22: ; preds = %18
%23 = load i32, ptr @stderr, align 4
%24 = load i64, ptr @errno, align 8
%25 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str, i64 noundef %24)
%26 = call i32 (...) @udp_socket_error()
br label %27
27: ; preds = %22, %18, %4
%28 = load i32, ptr %9, align 4
ret i32 %28
}
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @udp_socket_error(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxzebu1jd.c'
source_filename = "/tmp/tmpxzebu1jd.c"
target datalayout = "e-m:e-p270: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/tmpxzebu1jd.c"
target datalayout = "e-m:e-p270: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/tmp84ot2px1.c'
source_filename = "/tmp/tmp84ot2px1.c"
target datalayout = "e-m:e-p270: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/tmp84ot2px1.c"
target datalayout = "e-m:e-p270: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/tmp2s6mf1qc.c'
source_filename = "/tmp/tmp2s6mf1qc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.rev_unixtime.days_per_month = private unnamed_addr constant [13 x i8] c"\00\1F\1C\1F\1E\1F\1E\1F\1F\1E\1F\1E\1F", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @rev_unixtime(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca [13 x i8], align 1
%16 = alloca i32, align 4
%17 = alloca i8, align 1
%18 = alloca i8, align 1
%19 = alloca i8, align 1
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %15, ptr align 1 @__const.rev_unixtime.days_per_month, i64 13, i1 false)
%24 = load i32, ptr %8, align 4
%25 = udiv i32 %24, 86400
store i32 %25, ptr %16, align 4
%26 = load i32, ptr %8, align 4
%27 = urem i32 %26, 60
%28 = trunc i32 %27 to i8
store i8 %28, ptr %17, align 1
%29 = load i32, ptr %8, align 4
%30 = udiv i32 %29, 60
%31 = urem i32 %30, 60
%32 = trunc i32 %31 to i8
store i8 %32, ptr %18, align 1
%33 = load i32, ptr %8, align 4
%34 = udiv i32 %33, 3600
%35 = urem i32 %34, 24
%36 = trunc i32 %35 to i8
store i8 %36, ptr %19, align 1
store i32 1970, ptr %20, align 4
%37 = load i32, ptr %16, align 4
%38 = icmp sgt i32 %37, 15706
br i1 %38, label %39, label %44
39: ; preds = %7
%40 = load i32, ptr %16, align 4
%41 = sub nsw i32 %40, 15706
store i32 %41, ptr %16, align 4
%42 = load i32, ptr %20, align 4
%43 = add nsw i32 %42, 43
store i32 %43, ptr %20, align 4
br label %44
44: ; preds = %39, %7
br label %45
45: ; preds = %59, %44
%46 = load i32, ptr %20, align 4
%47 = call i32 @yearlength(i32 noundef %46)
store i32 %47, ptr %21, align 4
%48 = load i32, ptr %16, align 4
%49 = load i32, ptr %21, align 4
%50 = icmp sge i32 %48, %49
br i1 %50, label %51, label %58
51: ; preds = %45
%52 = load i32, ptr %20, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %20, align 4
%54 = load i32, ptr %21, align 4
%55 = add nsw i32 %54, 1
%56 = load i32, ptr %16, align 4
%57 = sub nsw i32 %56, %55
store i32 %57, ptr %16, align 4
br label %59
58: ; preds = %45
br label %60
59: ; preds = %51
br label %45
60: ; preds = %58
store i32 1, ptr %22, align 4
br label %61
61: ; preds = %87, %60
%62 = load i32, ptr %22, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [13 x i8], ptr %15, i64 0, i64 %63
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
store i32 %66, ptr %23, align 4
%67 = load i32, ptr %23, align 4
%68 = icmp eq i32 %67, 2
br i1 %68, label %69, label %76
69: ; preds = %61
%70 = load i32, ptr %20, align 4
%71 = call i32 @yearlength(i32 noundef %70)
%72 = icmp eq i32 %71, 365
br i1 %72, label %73, label %76
73: ; preds = %69
%74 = load i32, ptr %23, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %23, align 4
br label %76
76: ; preds = %73, %69, %61
%77 = load i32, ptr %16, align 4
%78 = load i32, ptr %23, align 4
%79 = icmp sge i32 %77, %78
br i1 %79, label %80, label %86
80: ; preds = %76
%81 = load i32, ptr %22, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %22, align 4
%83 = load i32, ptr %23, align 4
%84 = load i32, ptr %16, align 4
%85 = sub nsw i32 %84, %83
store i32 %85, ptr %16, align 4
br label %87
86: ; preds = %76
br label %88
87: ; preds = %80
br label %61
88: ; preds = %86
%89 = load i32, ptr %16, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %16, align 4
%91 = load i32, ptr %20, align 4
%92 = trunc i32 %91 to i16
%93 = load ptr, ptr %9, align 8
store i16 %92, ptr %93, align 2
%94 = load i32, ptr %22, align 4
%95 = trunc i32 %94 to i8
%96 = load ptr, ptr %10, align 8
store i8 %95, ptr %96, align 1
%97 = load i32, ptr %16, align 4
%98 = trunc i32 %97 to i8
%99 = load ptr, ptr %11, align 8
store i8 %98, ptr %99, align 1
%100 = load i8, ptr %19, align 1
%101 = load ptr, ptr %12, align 8
store i8 %100, ptr %101, align 1
%102 = load i8, ptr %18, align 1
%103 = load ptr, ptr %13, align 8
store i8 %102, ptr %103, align 1
%104 = load i8, ptr %17, align 1
%105 = load ptr, ptr %14, align 8
store i8 %104, ptr %105, align 1
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @yearlength(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2s6mf1qc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.rev_unixtime.days_per_month = private unnamed_addr constant [13 x i8] c"\00\1F\1C\1F\1E\1F\1E\1F\1F\1E\1F\1E\1F", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @rev_unixtime(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca [13 x i8], align 1
%16 = alloca i32, align 4
%17 = alloca i8, align 1
%18 = alloca i8, align 1
%19 = alloca i8, align 1
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %15, ptr align 1 @__const.rev_unixtime.days_per_month, i64 13, i1 false)
%24 = load i32, ptr %8, align 4
%25 = udiv i32 %24, 86400
store i32 %25, ptr %16, align 4
%26 = load i32, ptr %8, align 4
%27 = urem i32 %26, 60
%28 = trunc i32 %27 to i8
store i8 %28, ptr %17, align 1
%29 = load i32, ptr %8, align 4
%30 = udiv i32 %29, 60
%31 = urem i32 %30, 60
%32 = trunc i32 %31 to i8
store i8 %32, ptr %18, align 1
%33 = load i32, ptr %8, align 4
%34 = udiv i32 %33, 3600
%35 = urem i32 %34, 24
%36 = trunc i32 %35 to i8
store i8 %36, ptr %19, align 1
store i32 1970, ptr %20, align 4
%37 = load i32, ptr %16, align 4
%38 = icmp sgt i32 %37, 15706
br i1 %38, label %39, label %44
39: ; preds = %7
%40 = load i32, ptr %16, align 4
%41 = sub nsw i32 %40, 15706
store i32 %41, ptr %16, align 4
%42 = load i32, ptr %20, align 4
%43 = add nsw i32 %42, 43
store i32 %43, ptr %20, align 4
br label %44
44: ; preds = %39, %7
%45 = load i32, ptr %20, align 4
%46 = call i32 @yearlength(i32 noundef %45)
store i32 %46, ptr %21, align 4
%47 = load i32, ptr %16, align 4
%48 = load i32, ptr %21, align 4
%49 = icmp sge i32 %47, %48
br i1 %49, label %.lr.ph, label %57
.lr.ph: ; preds = %44
br label %50
50: ; preds = %.lr.ph, %58
%51 = load i32, ptr %20, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %20, align 4
%53 = load i32, ptr %21, align 4
%54 = add nsw i32 %53, 1
%55 = load i32, ptr %16, align 4
%56 = sub nsw i32 %55, %54
store i32 %56, ptr %16, align 4
br label %58
._crit_edge: ; preds = %58
br label %57
57: ; preds = %._crit_edge, %44
br label %64
58: ; preds = %50
%59 = load i32, ptr %20, align 4
%60 = call i32 @yearlength(i32 noundef %59)
store i32 %60, ptr %21, align 4
%61 = load i32, ptr %16, align 4
%62 = load i32, ptr %21, align 4
%63 = icmp sge i32 %61, %62
br i1 %63, label %50, label %._crit_edge
64: ; preds = %57
store i32 1, ptr %22, align 4
br label %65
65: ; preds = %91, %64
%66 = load i32, ptr %22, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [13 x i8], ptr %15, i64 0, i64 %67
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
store i32 %70, ptr %23, align 4
%71 = load i32, ptr %23, align 4
%72 = icmp eq i32 %71, 2
br i1 %72, label %73, label %80
73: ; preds = %65
%74 = load i32, ptr %20, align 4
%75 = call i32 @yearlength(i32 noundef %74)
%76 = icmp eq i32 %75, 365
br i1 %76, label %77, label %80
77: ; preds = %73
%78 = load i32, ptr %23, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %23, align 4
br label %80
80: ; preds = %77, %73, %65
%81 = load i32, ptr %16, align 4
%82 = load i32, ptr %23, align 4
%83 = icmp sge i32 %81, %82
br i1 %83, label %84, label %90
84: ; preds = %80
%85 = load i32, ptr %22, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %22, align 4
%87 = load i32, ptr %23, align 4
%88 = load i32, ptr %16, align 4
%89 = sub nsw i32 %88, %87
store i32 %89, ptr %16, align 4
br label %91
90: ; preds = %80
br label %92
91: ; preds = %84
br label %65
92: ; preds = %90
%93 = load i32, ptr %16, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %16, align 4
%95 = load i32, ptr %20, align 4
%96 = trunc i32 %95 to i16
%97 = load ptr, ptr %9, align 8
store i16 %96, ptr %97, align 2
%98 = load i32, ptr %22, align 4
%99 = trunc i32 %98 to i8
%100 = load ptr, ptr %10, align 8
store i8 %99, ptr %100, align 1
%101 = load i32, ptr %16, align 4
%102 = trunc i32 %101 to i8
%103 = load ptr, ptr %11, align 8
store i8 %102, ptr %103, align 1
%104 = load i8, ptr %19, align 1
%105 = load ptr, ptr %12, align 8
store i8 %104, ptr %105, align 1
%106 = load i8, ptr %18, align 1
%107 = load ptr, ptr %13, align 8
store i8 %106, ptr %107, align 1
%108 = load i8, ptr %17, align 1
%109 = load ptr, ptr %14, align 8
store i8 %108, ptr %109, align 1
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @yearlength(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptw_9h_c2.c'
source_filename = "/tmp/tmptw_9h_c2.c"
target datalayout = "e-m:e-p270: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/tmptw_9h_c2.c"
target datalayout = "e-m:e-p270: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/tmp0862c03r.c'
source_filename = "/tmp/tmp0862c03r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"len: %u\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"0x%X \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca [1024 x i8], align 16
store i32 0, ptr %1, align 4
%5 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%6 = load i32, ptr @stdin, align 4
%7 = call i32 @fgets(ptr noundef %5, i32 noundef 1024, i32 noundef %6)
%8 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%9 = call i64 @strlen(ptr noundef %8)
store i64 %9, ptr %3, align 8
%10 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%11 = load i64, ptr %3, align 8
%12 = call i32 @encode(ptr noundef %10, i64 noundef %11)
%13 = load i64, ptr %3, align 8
%14 = trunc i64 %13 to i8
%15 = call i32 @printf(ptr noundef @.str, i8 noundef signext %14)
store i64 0, ptr %2, align 8
br label %16
16: ; preds = %25, %0
%17 = load i64, ptr %2, align 8
%18 = load i64, ptr %3, align 8
%19 = icmp ult i64 %17, %18
br i1 %19, label %20, label %28
20: ; preds = %16
%21 = load i64, ptr %2, align 8
%22 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 %21
%23 = load i8, ptr %22, align 1
%24 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %23)
br label %25
25: ; preds = %20
%26 = load i64, ptr %2, align 8
%27 = add i64 %26, 1
store i64 %27, ptr %2, align 8
br label %16, !llvm.loop !6
28: ; preds = %16
ret i32 0
}
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @encode(ptr noundef, i64 noundef) #1
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0862c03r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"len: %u\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"0x%X \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca [1024 x i8], align 16
store i32 0, ptr %1, align 4
%5 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%6 = load i32, ptr @stdin, align 4
%7 = call i32 @fgets(ptr noundef %5, i32 noundef 1024, i32 noundef %6)
%8 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%9 = call i64 @strlen(ptr noundef %8)
store i64 %9, ptr %3, align 8
%10 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%11 = load i64, ptr %3, align 8
%12 = call i32 @encode(ptr noundef %10, i64 noundef %11)
%13 = load i64, ptr %3, align 8
%14 = trunc i64 %13 to i8
%15 = call i32 @printf(ptr noundef @.str, i8 noundef signext %14)
store i64 0, ptr %2, align 8
%16 = load i64, ptr %2, align 8
%17 = load i64, ptr %3, align 8
%18 = icmp ult i64 %16, %17
br i1 %18, label %.lr.ph, label %30
.lr.ph: ; preds = %0
br label %19
19: ; preds = %.lr.ph, %24
%20 = load i64, ptr %2, align 8
%21 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 %20
%22 = load i8, ptr %21, align 1
%23 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %22)
br label %24
24: ; preds = %19
%25 = load i64, ptr %2, align 8
%26 = add i64 %25, 1
store i64 %26, ptr %2, align 8
%27 = load i64, ptr %2, align 8
%28 = load i64, ptr %3, align 8
%29 = icmp ult i64 %27, %28
br i1 %29, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @encode(ptr noundef, i64 noundef) #1
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpm0bq_spn.c'
source_filename = "/tmp/tmpm0bq_spn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%u\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 i16], align 2
%7 = alloca [1 x i16], align 2
%8 = alloca i32, align 4
%9 = alloca i16, align 2
%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 %37
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)
%30 = trunc i64 %29 to i16
store i16 %30, ptr %9, align 2
%31 = load i16, ptr %9, align 2
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %33
store i16 %31, ptr %34, align 2
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
br label %19, !llvm.loop !6
37: ; preds = %19
%38 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0
%39 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39)
%41 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%42 = load i16, ptr %41, align 2
%43 = zext i16 %42 to i32
%44 = icmp eq i32 %43, 42368
br i1 %44, label %45, label %47
45: ; preds = %37
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %48
47: ; preds = %37
br label %48
48: ; preds = %47, %45
store i32 0, ptr %10, align 4
br label %49
49: ; preds = %52, %48
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 1
br i1 %51, label %52, label %61
52: ; preds = %49
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54
%56 = load i16, ptr %55, align 2
%57 = zext i16 %56 to i32
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57)
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %10, align 4
br label %49, !llvm.loop !8
61: ; preds = %49
%62 = load i32, ptr %3, align 4
ret i32 %62
}
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/tmpm0bq_spn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%u\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 i16], align 2
%7 = alloca [1 x i16], align 2
%8 = alloca i32, align 4
%9 = alloca i16, align 2
%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 %38
.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)
%29 = trunc i64 %28 to i16
store i16 %29, ptr %9, align 2
%30 = load i16, ptr %9, align 2
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %32
store i16 %30, ptr %33, align 2
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %36, 1
br i1 %37, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %38
38: ; preds = %._crit_edge, %18
%39 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0
%40 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40)
%42 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0
%43 = load i16, ptr %42, align 2
%44 = zext i16 %43 to i32
%45 = icmp eq i32 %44, 42368
br i1 %45, label %46, label %48
46: ; preds = %38
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %49
48: ; preds = %38
br label %49
49: ; preds = %48, %46
store i32 0, ptr %10, align 4
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 1
br i1 %51, label %.lr.ph2, label %63
.lr.ph2: ; preds = %49
br label %52
52: ; preds = %.lr.ph2, %52
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54
%56 = load i16, ptr %55, align 2
%57 = zext i16 %56 to i32
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57)
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %10, align 4
%61 = load i32, ptr %10, align 4
%62 = icmp slt i32 %61, 1
br i1 %62, label %52, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %63
63: ; preds = %._crit_edge3, %49
%64 = load i32, ptr %3, align 4
ret i32 %64
}
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/tmp2h3uez7c.c'
source_filename = "/tmp/tmp2h3uez7c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = 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 1234, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = call i32 @calc_mp(i32 noundef %8)
store i32 %9, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp ne i32 %10, 680
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 (...) @abort() #3
unreachable
14: ; preds = %2
%15 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @calc_mp(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
; 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/tmp2h3uez7c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = 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 1234, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = call i32 @calc_mp(i32 noundef %8)
store i32 %9, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp ne i32 %10, 680
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 (...) @abort() #3
unreachable
14: ; preds = %2
%15 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @calc_mp(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
; 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/tmpqm5uh8xm.c'
source_filename = "/tmp/tmpqm5uh8xm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@SHUT_RDWR = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqm5uh8xm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@SHUT_RDWR = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmo3g4tbs.c'
source_filename = "/tmp/tmpmo3g4tbs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%lf \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 @ej11(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %9
9: ; preds = %34, %3
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %37
13: ; preds = %9
store i32 0, ptr %8, align 4
br label %14
14: ; preds = %29, %13
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %32
18: ; preds = %14
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds ptr, ptr %19, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = load i32, ptr %8, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double, ptr %23, i64 %25
%27 = load double, ptr %26, align 8
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %27)
br label %29
29: ; preds = %18
%30 = load i32, ptr %8, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %8, align 4
br label %14, !llvm.loop !6
32: ; preds = %14
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %34
34: ; preds = %32
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %7, align 4
br label %9, !llvm.loop !8
37: ; preds = %9
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmo3g4tbs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%lf \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 @ej11(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph2, label %41
.lr.ph2: ; preds = %3
br label %12
12: ; preds = %.lr.ph2, %35
store i32 0, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %33
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %27
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %7, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds ptr, ptr %17, i64 %19
%21 = load ptr, ptr %20, align 8
%22 = load i32, ptr %8, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds double, ptr %21, i64 %23
%25 = load double, ptr %24, align 8
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %25)
br label %27
27: ; preds = %16
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %8, align 4
%31 = load i32, ptr %6, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %12
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %35
35: ; preds = %33
%36 = load i32, ptr %7, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %7, align 4
%38 = load i32, ptr %7, align 4
%39 = load i32, ptr %5, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %35
br label %41
41: ; preds = %._crit_edge3, %3
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpv1oe1kr2.c'
source_filename = "/tmp/tmpv1oe1kr2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.termios = type { i32 }
@STDIN_FILENO = dso_local global i32 0, align 4
@ECHO = dso_local global i32 0, align 4
@TCSAFLUSH = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @prompt_echo_off(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca %struct.termios, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load i32, ptr @STDIN_FILENO, align 4
%9 = call i32 @tcgetattr(i32 noundef %8, ptr noundef %5)
%10 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 0
%11 = load i32, ptr %10, align 4
store i32 %11, ptr %6, align 4
%12 = load i32, ptr @ECHO, align 4
%13 = xor i32 %12, -1
%14 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 0
%15 = load i32, ptr %14, align 4
%16 = and i32 %15, %13
store i32 %16, ptr %14, align 4
%17 = load i32, ptr @STDIN_FILENO, align 4
%18 = load i32, ptr @TCSAFLUSH, align 4
%19 = call i32 @tcsetattr(i32 noundef %17, i32 noundef %18, ptr noundef %5)
%20 = load ptr, ptr %3, align 8
%21 = load ptr, ptr %4, align 8
%22 = call ptr @prompt(ptr noundef %20, ptr noundef %21)
store ptr %22, ptr %7, align 8
%23 = load i32, ptr %6, align 4
%24 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 0
store i32 %23, ptr %24, align 4
%25 = load i32, ptr @STDIN_FILENO, align 4
%26 = load i32, ptr @TCSAFLUSH, align 4
%27 = call i32 @tcsetattr(i32 noundef %25, i32 noundef %26, ptr noundef %5)
%28 = load ptr, ptr %7, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %30, label %33
30: ; preds = %2
%31 = load i32, ptr @stderr, align 4
%32 = call i32 @fputc(i8 noundef signext 10, i32 noundef %31)
br label %33
33: ; preds = %30, %2
%34 = load ptr, ptr %7, align 8
ret ptr %34
}
declare i32 @tcgetattr(i32 noundef, ptr noundef) #1
declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1
declare ptr @prompt(ptr noundef, ptr noundef) #1
declare i32 @fputc(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/tmpv1oe1kr2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.termios = type { i32 }
@STDIN_FILENO = dso_local global i32 0, align 4
@ECHO = dso_local global i32 0, align 4
@TCSAFLUSH = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @prompt_echo_off(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca %struct.termios, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load i32, ptr @STDIN_FILENO, align 4
%9 = call i32 @tcgetattr(i32 noundef %8, ptr noundef %5)
%10 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 0
%11 = load i32, ptr %10, align 4
store i32 %11, ptr %6, align 4
%12 = load i32, ptr @ECHO, align 4
%13 = xor i32 %12, -1
%14 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 0
%15 = load i32, ptr %14, align 4
%16 = and i32 %15, %13
store i32 %16, ptr %14, align 4
%17 = load i32, ptr @STDIN_FILENO, align 4
%18 = load i32, ptr @TCSAFLUSH, align 4
%19 = call i32 @tcsetattr(i32 noundef %17, i32 noundef %18, ptr noundef %5)
%20 = load ptr, ptr %3, align 8
%21 = load ptr, ptr %4, align 8
%22 = call ptr @prompt(ptr noundef %20, ptr noundef %21)
store ptr %22, ptr %7, align 8
%23 = load i32, ptr %6, align 4
%24 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 0
store i32 %23, ptr %24, align 4
%25 = load i32, ptr @STDIN_FILENO, align 4
%26 = load i32, ptr @TCSAFLUSH, align 4
%27 = call i32 @tcsetattr(i32 noundef %25, i32 noundef %26, ptr noundef %5)
%28 = load ptr, ptr %7, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %30, label %33
30: ; preds = %2
%31 = load i32, ptr @stderr, align 4
%32 = call i32 @fputc(i8 noundef signext 10, i32 noundef %31)
br label %33
33: ; preds = %30, %2
%34 = load ptr, ptr %7, align 8
ret ptr %34
}
declare i32 @tcgetattr(i32 noundef, ptr noundef) #1
declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1
declare ptr @prompt(ptr noundef, ptr noundef) #1
declare i32 @fputc(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/tmpsb82zbkn.c'
source_filename = "/tmp/tmpsb82zbkn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\22\00", align 1
@.str.1 = private unnamed_addr constant [68 x i8] c"FATAL ERROR: invalid syntax in reaction file: missing double quote\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [75 x i8] c"FATAL ERROR: invalid syntax in reaction file: reaction name with length 0\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_next_reaction(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %9, align 8
store ptr %10, ptr %8, align 8
%11 = load ptr, ptr %8, align 8
%12 = call ptr @strstr(ptr noundef %11, ptr noundef @.str)
store ptr %12, ptr %6, align 8
%13 = load ptr, ptr %6, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %16
15: ; preds = %2
store i32 -1, ptr %3, align 4
br label %58
16: ; preds = %2
%17 = load ptr, ptr %6, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 1
%19 = call ptr @strstr(ptr noundef %18, ptr noundef @.str)
store ptr %19, ptr %7, align 8
%20 = load ptr, ptr %7, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %26
22: ; preds = %16
%23 = call i32 @printf(ptr noundef @.str.1)
%24 = load i32, ptr @EXIT_FAILURE, align 4
%25 = call i32 @exit(i32 noundef %24) #3
unreachable
26: ; preds = %16
%27 = load ptr, ptr %7, align 8
%28 = load ptr, ptr %6, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 1
%30 = icmp eq ptr %27, %29
br i1 %30, label %31, label %35
31: ; preds = %26
%32 = call i32 @printf(ptr noundef @.str.2)
%33 = load i32, ptr @EXIT_FAILURE, align 4
%34 = call i32 @exit(i32 noundef %33) #3
unreachable
35: ; preds = %26
%36 = load ptr, ptr %5, align 8
%37 = load ptr, ptr %6, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 1
%39 = load ptr, ptr %7, align 8
%40 = load ptr, ptr %6, align 8
%41 = ptrtoint ptr %39 to i64
%42 = ptrtoint ptr %40 to i64
%43 = sub i64 %41, %42
%44 = sub nsw i64 %43, 1
%45 = trunc i64 %44 to i32
%46 = call i32 @strncpy(ptr noundef %36, ptr noundef %38, i32 noundef %45)
%47 = load ptr, ptr %5, align 8
%48 = load ptr, ptr %7, align 8
%49 = load ptr, ptr %6, align 8
%50 = ptrtoint ptr %48 to i64
%51 = ptrtoint ptr %49 to i64
%52 = sub i64 %50, %51
%53 = sub nsw i64 %52, 1
%54 = getelementptr inbounds i8, ptr %47, i64 %53
store i8 0, ptr %54, align 1
%55 = load ptr, ptr %7, align 8
%56 = getelementptr inbounds i8, ptr %55, i64 1
%57 = load ptr, ptr %4, align 8
store ptr %56, ptr %57, align 8
store i32 0, ptr %3, align 4
br label %58
58: ; preds = %35, %15
%59 = load i32, ptr %3, align 4
ret i32 %59
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsb82zbkn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\22\00", align 1
@.str.1 = private unnamed_addr constant [68 x i8] c"FATAL ERROR: invalid syntax in reaction file: missing double quote\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [75 x i8] c"FATAL ERROR: invalid syntax in reaction file: reaction name with length 0\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_next_reaction(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %9, align 8
store ptr %10, ptr %8, align 8
%11 = load ptr, ptr %8, align 8
%12 = call ptr @strstr(ptr noundef %11, ptr noundef @.str)
store ptr %12, ptr %6, align 8
%13 = load ptr, ptr %6, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %16
15: ; preds = %2
store i32 -1, ptr %3, align 4
br label %58
16: ; preds = %2
%17 = load ptr, ptr %6, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 1
%19 = call ptr @strstr(ptr noundef %18, ptr noundef @.str)
store ptr %19, ptr %7, align 8
%20 = load ptr, ptr %7, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %26
22: ; preds = %16
%23 = call i32 @printf(ptr noundef @.str.1)
%24 = load i32, ptr @EXIT_FAILURE, align 4
%25 = call i32 @exit(i32 noundef %24) #3
unreachable
26: ; preds = %16
%27 = load ptr, ptr %7, align 8
%28 = load ptr, ptr %6, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 1
%30 = icmp eq ptr %27, %29
br i1 %30, label %31, label %35
31: ; preds = %26
%32 = call i32 @printf(ptr noundef @.str.2)
%33 = load i32, ptr @EXIT_FAILURE, align 4
%34 = call i32 @exit(i32 noundef %33) #3
unreachable
35: ; preds = %26
%36 = load ptr, ptr %5, align 8
%37 = load ptr, ptr %6, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 1
%39 = load ptr, ptr %7, align 8
%40 = load ptr, ptr %6, align 8
%41 = ptrtoint ptr %39 to i64
%42 = ptrtoint ptr %40 to i64
%43 = sub i64 %41, %42
%44 = sub nsw i64 %43, 1
%45 = trunc i64 %44 to i32
%46 = call i32 @strncpy(ptr noundef %36, ptr noundef %38, i32 noundef %45)
%47 = load ptr, ptr %5, align 8
%48 = load ptr, ptr %7, align 8
%49 = load ptr, ptr %6, align 8
%50 = ptrtoint ptr %48 to i64
%51 = ptrtoint ptr %49 to i64
%52 = sub i64 %50, %51
%53 = sub nsw i64 %52, 1
%54 = getelementptr inbounds i8, ptr %47, i64 %53
store i8 0, ptr %54, align 1
%55 = load ptr, ptr %7, align 8
%56 = getelementptr inbounds i8, ptr %55, i64 1
%57 = load ptr, ptr %4, align 8
store ptr %56, ptr %57, align 8
store i32 0, ptr %3, align 4
br label %58
58: ; preds = %35, %15
%59 = load i32, ptr %3, align 4
ret i32 %59
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwe5e01oq.c'
source_filename = "/tmp/tmpwe5e01oq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @exit_error() #0 {
%1 = load i32, ptr @EXIT_FAILURE, align 4
%2 = 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/tmpwe5e01oq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @exit_error() #0 {
%1 = load i32, ptr @EXIT_FAILURE, align 4
%2 = 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/tmp56znof8i.c'
source_filename = "/tmp/tmp56znof8i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter your number: \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%lld\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"\07Error!\07\07\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"%lld, \00", align 1
@.str.5 = private unnamed_addr constant [26 x i8] c"\07This is a prime number.\07\00", align 1
@.str.6 = private unnamed_addr constant [36 x i8] c"Do you want to continue? 1(y) 0(n).\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %6
6: ; preds = %44, %0
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2)
%9 = load i64, ptr %2, align 8
%10 = icmp sle i64 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %6
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %1, align 4
br label %46
13: ; preds = %6
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 1, ptr %4, align 4
store i64 2, ptr %3, align 8
br label %15
15: ; preds = %29, %13
%16 = load i64, ptr %3, align 8
%17 = load i64, ptr %2, align 8
%18 = sdiv i64 %17, 2
%19 = icmp sle i64 %16, %18
br i1 %19, label %20, label %32
20: ; preds = %15
%21 = load i64, ptr %2, align 8
%22 = load i64, ptr %3, align 8
%23 = srem i64 %21, %22
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %20
%26 = load i64, ptr %3, align 8
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %26)
store i32 0, ptr %4, align 4
br label %28
28: ; preds = %25, %20
br label %29
29: ; preds = %28
%30 = load i64, ptr %3, align 8
%31 = add nsw i64 %30, 1
store i64 %31, ptr %3, align 8
br label %15, !llvm.loop !6
32: ; preds = %15
%33 = load i32, ptr %4, align 4
%34 = icmp eq i32 %33, 1
br i1 %34, label %35, label %37
35: ; preds = %32
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %37
37: ; preds = %35, %32
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 1, ptr %5, align 4
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%40 = call i32 (ptr, ...) @scanf(ptr noundef @.str.7, ptr noundef %5)
%41 = load i32, ptr %5, align 4
%42 = icmp ne i32 %41, 0
br i1 %42, label %44, label %43
43: ; preds = %37
br label %45
44: ; preds = %37
br label %6
45: ; preds = %43
store i32 0, ptr %1, align 4
br label %46
46: ; preds = %45, %11
%47 = load i32, ptr %1, align 4
ret i32 %47
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp56znof8i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter your number: \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%lld\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"\07Error!\07\07\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"%lld, \00", align 1
@.str.5 = private unnamed_addr constant [26 x i8] c"\07This is a prime number.\07\00", align 1
@.str.6 = private unnamed_addr constant [36 x i8] c"Do you want to continue? 1(y) 0(n).\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2)
%8 = load i64, ptr %2, align 8
%9 = icmp sle i64 %8, 0
br i1 %9, label %15, label %.lr.ph2
.lr.ph2: ; preds = %0
br label %17
10: ; preds = %44
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2)
%13 = load i64, ptr %2, align 8
%14 = icmp sle i64 %13, 0
br i1 %14, label %._crit_edge3, label %17
._crit_edge3: ; preds = %10
br label %15
15: ; preds = %._crit_edge3, %0
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %1, align 4
br label %52
17: ; preds = %.lr.ph2, %10
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 1, ptr %4, align 4
store i64 2, ptr %3, align 8
%19 = load i64, ptr %3, align 8
%20 = load i64, ptr %2, align 8
%21 = sdiv i64 %20, 2
%22 = icmp sle i64 %19, %21
br i1 %22, label %.lr.ph, label %39
.lr.ph: ; preds = %17
br label %23
23: ; preds = %.lr.ph, %32
%24 = load i64, ptr %2, align 8
%25 = load i64, ptr %3, align 8
%26 = srem i64 %24, %25
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %23
%29 = load i64, ptr %3, align 8
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %29)
store i32 0, ptr %4, align 4
br label %31
31: ; preds = %28, %23
br label %32
32: ; preds = %31
%33 = load i64, ptr %3, align 8
%34 = add nsw i64 %33, 1
store i64 %34, ptr %3, align 8
%35 = load i64, ptr %3, align 8
%36 = load i64, ptr %2, align 8
%37 = sdiv i64 %36, 2
%38 = icmp sle i64 %35, %37
br i1 %38, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %39
39: ; preds = %._crit_edge, %17
%40 = load i32, ptr %4, align 4
%41 = icmp eq i32 %40, 1
br i1 %41, label %42, label %44
42: ; preds = %39
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %44
44: ; preds = %42, %39
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 1, ptr %5, align 4
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%47 = call i32 (ptr, ...) @scanf(ptr noundef @.str.7, ptr noundef %5)
%48 = load i32, ptr %5, align 4
%49 = icmp ne i32 %48, 0
br i1 %49, label %10, label %50
50: ; preds = %44
br label %51
51: ; preds = %50
store i32 0, ptr %1, align 4
br label %52
52: ; preds = %51, %15
%53 = load i32, ptr %1, align 4
ret i32 %53
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpz7yrdl3_.c'
source_filename = "/tmp/tmpz7yrdl3_.c"
target datalayout = "e-m:e-p270: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/tmpz7yrdl3_.c"
target datalayout = "e-m:e-p270: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/tmp67is4kjx.c'
source_filename = "/tmp/tmp67is4kjx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Content-type:text/html\0D\0A\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [127 x i8] c"<html><head><title>USERINFO</title> <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/></head>\00", align 1
@.str.2 = private unnamed_addr constant [91 x i8] c"<body><div width=900px><div align=center> <h1>USERINFO</h1></div><hr> <div>\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"/etc/passwd\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.5 = private unnamed_addr constant [27 x i8] c"no users or can not open!\0A\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"%s <br>\00", align 1
@.str.7 = private unnamed_addr constant [32 x i8] c"</div><hr></div></body></html>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [1024 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %6, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%11 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4)
store ptr %11, ptr %6, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 -1, ptr %3, align 4
br label %33
15: ; preds = %2
br label %16
16: ; preds = %25, %15
%17 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%18 = load ptr, ptr %6, align 8
%19 = call i64 @fgets(ptr noundef %17, i32 noundef 1024, ptr noundef %18)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %16
%22 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %22)
br label %24
24: ; preds = %21, %16
br label %25
25: ; preds = %24
%26 = load ptr, ptr %6, align 8
%27 = call i64 @feof(ptr noundef %26)
%28 = icmp eq i64 %27, 0
br i1 %28, label %16, label %29, !llvm.loop !6
29: ; preds = %25
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%31 = load ptr, ptr %6, align 8
%32 = call i32 @fclose(ptr noundef %31)
store i32 0, ptr %3, align 4
br label %33
33: ; preds = %29, %13
%34 = load i32, ptr %3, align 4
ret i32 %34
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @feof(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp67is4kjx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Content-type:text/html\0D\0A\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [127 x i8] c"<html><head><title>USERINFO</title> <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/></head>\00", align 1
@.str.2 = private unnamed_addr constant [91 x i8] c"<body><div width=900px><div align=center> <h1>USERINFO</h1></div><hr> <div>\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"/etc/passwd\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.5 = private unnamed_addr constant [27 x i8] c"no users or can not open!\0A\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"%s <br>\00", align 1
@.str.7 = private unnamed_addr constant [32 x i8] c"</div><hr></div></body></html>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [1024 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %6, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%11 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4)
store ptr %11, ptr %6, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 -1, ptr %3, align 4
br label %33
15: ; preds = %2
br label %16
16: ; preds = %25, %15
%17 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%18 = load ptr, ptr %6, align 8
%19 = call i64 @fgets(ptr noundef %17, i32 noundef 1024, ptr noundef %18)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %16
%22 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %22)
br label %24
24: ; preds = %21, %16
br label %25
25: ; preds = %24
%26 = load ptr, ptr %6, align 8
%27 = call i64 @feof(ptr noundef %26)
%28 = icmp eq i64 %27, 0
br i1 %28, label %16, label %29, !llvm.loop !6
29: ; preds = %25
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%31 = load ptr, ptr %6, align 8
%32 = call i32 @fclose(ptr noundef %31)
store i32 0, ptr %3, align 4
br label %33
33: ; preds = %29, %13
%34 = load i32, ptr %3, align 4
ret i32 %34
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @feof(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0kb2arh8.c'
source_filename = "/tmp/tmp0kb2arh8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"thread 2: ID is %lu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @thr_fn2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = call i64 (...) @pthread_self()
%5 = call i32 @printf(ptr noundef @.str, i64 noundef %4)
%6 = call i32 @pthread_exit(ptr noundef null)
%7 = load ptr, ptr %2, align 8
ret ptr %7
}
declare i32 @printf(ptr noundef, i64 noundef) #1
declare i64 @pthread_self(...) #1
declare i32 @pthread_exit(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0kb2arh8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"thread 2: ID is %lu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @thr_fn2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = call i64 (...) @pthread_self()
%5 = call i32 @printf(ptr noundef @.str, i64 noundef %4)
%6 = call i32 @pthread_exit(ptr noundef null)
%7 = load ptr, ptr %2, align 8
ret ptr %7
}
declare i32 @printf(ptr noundef, i64 noundef) #1
declare i64 @pthread_self(...) #1
declare i32 @pthread_exit(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzmient65.c'
source_filename = "/tmp/tmpzmient65.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @has_sse41() #0 {
%1 = alloca [4 x i32], align 16
%2 = getelementptr inbounds [4 x i32], ptr %1, i64 0, i64 0
%3 = call i32 @cpuid(ptr noundef %2, i32 noundef 1)
%4 = getelementptr inbounds [4 x i32], ptr %1, i64 0, i64 2
%5 = load i32, ptr %4, align 8
%6 = and i32 %5, 524288
%7 = icmp ne i32 %6, 0
%8 = zext i1 %7 to i32
ret i32 %8
}
declare i32 @cpuid(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/tmpzmient65.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @has_sse41() #0 {
%1 = alloca [4 x i32], align 16
%2 = getelementptr inbounds [4 x i32], ptr %1, i64 0, i64 0
%3 = call i32 @cpuid(ptr noundef %2, i32 noundef 1)
%4 = getelementptr inbounds [4 x i32], ptr %1, i64 0, i64 2
%5 = load i32, ptr %4, align 8
%6 = and i32 %5, 524288
%7 = icmp ne i32 %6, 0
%8 = zext i1 %7 to i32
ret i32 %8
}
declare i32 @cpuid(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/tmplsd7g3ge.c'
source_filename = "/tmp/tmplsd7g3ge.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"/dev/globalvar0\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [24 x i8] c"open globalvar0 failed\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr @O_RDWR, align 4
%9 = call i32 @open(ptr noundef @.str, i32 noundef %8)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %3, align 4
br label %23
14: ; preds = %2
br label %15
15: ; preds = %19, %14
%16 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %7)
%17 = load i32, ptr %6, align 4
%18 = call i32 @write(i32 noundef %17, ptr noundef %7, i32 noundef 4)
br label %19
19: ; preds = %15
%20 = load i32, ptr %7, align 4
%21 = icmp ne i32 %20, 255
br i1 %21, label %15, label %22, !llvm.loop !6
22: ; preds = %19
store i32 0, ptr %3, align 4
br label %23
23: ; preds = %22, %12
%24 = load i32, ptr %3, align 4
ret i32 %24
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplsd7g3ge.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"/dev/globalvar0\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [24 x i8] c"open globalvar0 failed\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr @O_RDWR, align 4
%9 = call i32 @open(ptr noundef @.str, i32 noundef %8)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %3, align 4
br label %23
14: ; preds = %2
br label %15
15: ; preds = %19, %14
%16 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %7)
%17 = load i32, ptr %6, align 4
%18 = call i32 @write(i32 noundef %17, ptr noundef %7, i32 noundef 4)
br label %19
19: ; preds = %15
%20 = load i32, ptr %7, align 4
%21 = icmp ne i32 %20, 255
br i1 %21, label %15, label %22, !llvm.loop !6
22: ; preds = %19
store i32 0, ptr %3, align 4
br label %23
23: ; preds = %22, %12
%24 = load i32, ptr %3, align 4
ret i32 %24
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp6i0mhbfm.c'
source_filename = "/tmp/tmp6i0mhbfm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"1. Display\0A2. Insert new\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @start_process() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 1, ptr %2, align 4
br label %3
3: ; preds = %6, %0
%4 = load i32, ptr %2, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %3
%7 = call i32 @printf(ptr noundef @.str)
br label %3, !llvm.loop !6
8: ; preds = %3
%9 = load i32, ptr %1, align 4
ret i32 %9
}
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/tmp6i0mhbfm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"1. Display\0A2. Insert new\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @start_process() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 1, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 0
br i1 %4, label %.lr.ph, label %9
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %5
%6 = call i32 @printf(ptr noundef @.str)
%7 = load i32, ptr %2, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %5
br label %9
9: ; preds = %._crit_edge, %0
%10 = load i32, ptr %1, align 4
ret i32 %10
}
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/tmp51b3hq8o.c'
source_filename = "/tmp/tmp51b3hq8o.c"
target datalayout = "e-m:e-p270: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/tmp51b3hq8o.c"
target datalayout = "e-m:e-p270: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/tmpvn33v9tt.c'
source_filename = "/tmp/tmpvn33v9tt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @morsi_gradient(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %9, align 4
%16 = mul nsw i32 %14, %15
%17 = sext i32 %16 to i64
%18 = mul i64 %17, 4
%19 = trunc i64 %18 to i32
%20 = call ptr @xmalloc(i32 noundef %19)
store ptr %20, ptr %11, align 8
%21 = load i32, ptr %8, align 4
%22 = load i32, ptr %9, align 4
%23 = mul nsw i32 %21, %22
%24 = sext i32 %23 to i64
%25 = mul i64 %24, 4
%26 = trunc i64 %25 to i32
%27 = call ptr @xmalloc(i32 noundef %26)
store ptr %27, ptr %12, align 8
%28 = load ptr, ptr %11, align 8
%29 = load ptr, ptr %7, align 8
%30 = load i32, ptr %8, align 4
%31 = load i32, ptr %9, align 4
%32 = load ptr, ptr %10, align 8
%33 = call i32 @morsi_erosion(ptr noundef %28, ptr noundef %29, i32 noundef %30, i32 noundef %31, ptr noundef %32)
%34 = load ptr, ptr %12, align 8
%35 = load ptr, ptr %7, align 8
%36 = load i32, ptr %8, align 4
%37 = load i32, ptr %9, align 4
%38 = load ptr, ptr %10, align 8
%39 = call i32 @morsi_dilation(ptr noundef %34, ptr noundef %35, i32 noundef %36, i32 noundef %37, ptr noundef %38)
store i32 0, ptr %13, align 4
br label %40
40: ; preds = %62, %5
%41 = load i32, ptr %13, align 4
%42 = load i32, ptr %8, align 4
%43 = load i32, ptr %9, align 4
%44 = mul nsw i32 %42, %43
%45 = icmp slt i32 %41, %44
br i1 %45, label %46, label %65
46: ; preds = %40
%47 = load ptr, ptr %12, align 8
%48 = load i32, ptr %13, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds float, ptr %47, i64 %49
%51 = load float, ptr %50, align 4
%52 = load ptr, ptr %11, align 8
%53 = load i32, ptr %13, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds float, ptr %52, i64 %54
%56 = load float, ptr %55, align 4
%57 = fsub float %51, %56
%58 = load ptr, ptr %6, align 8
%59 = load i32, ptr %13, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds float, ptr %58, i64 %60
store float %57, ptr %61, align 4
br label %62
62: ; preds = %46
%63 = load i32, ptr %13, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %13, align 4
br label %40, !llvm.loop !6
65: ; preds = %40
%66 = load ptr, ptr %11, align 8
%67 = call i32 @free(ptr noundef %66)
%68 = load ptr, ptr %12, align 8
%69 = call i32 @free(ptr noundef %68)
ret void
}
declare ptr @xmalloc(i32 noundef) #1
declare i32 @morsi_erosion(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @morsi_dilation(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvn33v9tt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @morsi_gradient(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store ptr %4, ptr %10, align 8
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %9, align 4
%16 = mul nsw i32 %14, %15
%17 = sext i32 %16 to i64
%18 = mul i64 %17, 4
%19 = trunc i64 %18 to i32
%20 = call ptr @xmalloc(i32 noundef %19)
store ptr %20, ptr %11, align 8
%21 = load i32, ptr %8, align 4
%22 = load i32, ptr %9, align 4
%23 = mul nsw i32 %21, %22
%24 = sext i32 %23 to i64
%25 = mul i64 %24, 4
%26 = trunc i64 %25 to i32
%27 = call ptr @xmalloc(i32 noundef %26)
store ptr %27, ptr %12, align 8
%28 = load ptr, ptr %11, align 8
%29 = load ptr, ptr %7, align 8
%30 = load i32, ptr %8, align 4
%31 = load i32, ptr %9, align 4
%32 = load ptr, ptr %10, align 8
%33 = call i32 @morsi_erosion(ptr noundef %28, ptr noundef %29, i32 noundef %30, i32 noundef %31, ptr noundef %32)
%34 = load ptr, ptr %12, align 8
%35 = load ptr, ptr %7, align 8
%36 = load i32, ptr %8, align 4
%37 = load i32, ptr %9, align 4
%38 = load ptr, ptr %10, align 8
%39 = call i32 @morsi_dilation(ptr noundef %34, ptr noundef %35, i32 noundef %36, i32 noundef %37, ptr noundef %38)
store i32 0, ptr %13, align 4
%40 = load i32, ptr %13, align 4
%41 = load i32, ptr %8, align 4
%42 = load i32, ptr %9, align 4
%43 = mul nsw i32 %41, %42
%44 = icmp slt i32 %40, %43
br i1 %44, label %.lr.ph, label %69
.lr.ph: ; preds = %5
br label %45
45: ; preds = %.lr.ph, %61
%46 = load ptr, ptr %12, align 8
%47 = load i32, ptr %13, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds float, ptr %46, i64 %48
%50 = load float, ptr %49, align 4
%51 = load ptr, ptr %11, align 8
%52 = load i32, ptr %13, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds float, ptr %51, i64 %53
%55 = load float, ptr %54, align 4
%56 = fsub float %50, %55
%57 = load ptr, ptr %6, align 8
%58 = load i32, ptr %13, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds float, ptr %57, i64 %59
store float %56, ptr %60, align 4
br label %61
61: ; preds = %45
%62 = load i32, ptr %13, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %13, align 4
%64 = load i32, ptr %13, align 4
%65 = load i32, ptr %8, align 4
%66 = load i32, ptr %9, align 4
%67 = mul nsw i32 %65, %66
%68 = icmp slt i32 %64, %67
br i1 %68, label %45, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %61
br label %69
69: ; preds = %._crit_edge, %5
%70 = load ptr, ptr %11, align 8
%71 = call i32 @free(ptr noundef %70)
%72 = load ptr, ptr %12, align 8
%73 = call i32 @free(ptr noundef %72)
ret void
}
declare ptr @xmalloc(i32 noundef) #1
declare i32 @morsi_erosion(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @morsi_dilation(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfz4vngy5.c'
source_filename = "/tmp/tmpfz4vngy5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @PendSV_Handler() #0 {
%1 = call i32 (...) @default_handler()
ret void
}
declare i32 @default_handler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfz4vngy5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @PendSV_Handler() #0 {
%1 = call i32 (...) @default_handler()
ret void
}
declare i32 @default_handler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmputoforx5.c'
source_filename = "/tmp/tmputoforx5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @StringFree(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @free(ptr noundef %4)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmputoforx5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @StringFree(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @free(ptr noundef %4)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphrif3aq4.c'
source_filename = "/tmp/tmphrif3aq4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [1000 x i8], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %15, %0
%6 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0
%7 = call i32 @get_line(ptr noundef %6, i32 noundef 1000)
store i32 %7, ptr %2, align 4
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %16
9: ; preds = %5
%10 = load i32, ptr %2, align 4
%11 = icmp sgt i32 %10, 80
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0
%14 = call i32 @printf(ptr noundef @.str, ptr noundef %13)
br label %15
15: ; preds = %12, %9
br label %5, !llvm.loop !6
16: ; preds = %5
ret i32 0
}
declare i32 @get_line(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphrif3aq4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [1000 x i8], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%5 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0
%6 = call i32 @get_line(ptr noundef %5, i32 noundef 1000)
store i32 %6, ptr %2, align 4
%7 = icmp sgt i32 %6, 0
br i1 %7, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %14
%9 = load i32, ptr %2, align 4
%10 = icmp sgt i32 %9, 80
br i1 %10, label %11, label %14
11: ; preds = %8
%12 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0
%13 = call i32 @printf(ptr noundef @.str, ptr noundef %12)
br label %14
14: ; preds = %11, %8
%15 = call i32 @get_line(ptr noundef %5, i32 noundef 1000)
store i32 %15, ptr %2, align 4
%16 = icmp sgt i32 %15, 0
br i1 %16, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %17
17: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @get_line(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpctv_ejgh.c'
source_filename = "/tmp/tmpctv_ejgh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkSignNum(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, 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 = %51, %1
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %54
12: ; preds = %8
%13 = load i32, ptr %5, align 4
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %33
15: ; preds = %12
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 43
br i1 %22, label %31, label %23
23: ; preds = %15
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 45
br i1 %30, label %31, label %32
31: ; preds = %23, %15
br label %51
32: ; preds = %23
br label %33
33: ; preds = %32, %12
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %5, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp sge i32 %39, 48
br i1 %40, label %41, label %50
41: ; preds = %33
%42 = load ptr, ptr %3, align 8
%43 = load i32, ptr %5, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp sle i32 %47, 57
br i1 %48, label %49, label %50
49: ; preds = %41
br label %51
50: ; preds = %41, %33
store i32 0, ptr %2, align 4
br label %55
51: ; preds = %49, %31
%52 = load i32, ptr %5, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %5, align 4
br label %8, !llvm.loop !6
54: ; preds = %8
store i32 1, ptr %2, align 4
br label %55
55: ; preds = %54, %50
%56 = load i32, ptr %2, align 4
ret i32 %56
}
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/tmpctv_ejgh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkSignNum(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, 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 slt i32 %8, %9
br i1 %10, label %.lr.ph, label %56
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %50
%12 = load i32, ptr %5, align 4
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %32
14: ; preds = %11
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 43
br i1 %21, label %30, label %22
22: ; preds = %14
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 45
br i1 %29, label %30, label %31
30: ; preds = %22, %14
br label %50
31: ; preds = %22
br label %32
32: ; preds = %31, %11
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %5, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp sge i32 %38, 48
br i1 %39, label %40, label %49
40: ; preds = %32
%41 = load ptr, ptr %3, align 8
%42 = load i32, ptr %5, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp sle i32 %46, 57
br i1 %47, label %48, label %49
48: ; preds = %40
br label %50
49: ; preds = %40, %32
store i32 0, ptr %2, align 4
br label %57
50: ; preds = %48, %30
%51 = load i32, ptr %5, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %5, align 4
%53 = load i32, ptr %5, align 4
%54 = load i32, ptr %4, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %56
56: ; preds = %._crit_edge, %1
store i32 1, ptr %2, align 4
br label %57
57: ; preds = %56, %49
%58 = load i32, ptr %2, align 4
ret i32 %58
}
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/tmpye5ptnnc.c'
source_filename = "/tmp/tmpye5ptnnc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"write\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"read\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"pwrite\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"pwrite64\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"pread\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"pread64\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"close\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@.str.8 = private unnamed_addr constant [6 x i8] c"creat\00", align 1
@.str.9 = private unnamed_addr constant [7 x i8] c"unlink\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"lseek\00", align 1
@.str.11 = private unnamed_addr constant [8 x i8] c"_llseek\00", align 1
@.str.12 = private unnamed_addr constant [6 x i8] c"pipe2\00", align 1
@.str.13 = private unnamed_addr constant [5 x i8] c"pipe\00", align 1
@.str.14 = private unnamed_addr constant [5 x i8] c"dup3\00", align 1
@.str.15 = private unnamed_addr constant [5 x i8] c"dup2\00", align 1
@.str.16 = private unnamed_addr constant [4 x i8] c"dup\00", align 1
@.str.17 = private unnamed_addr constant [6 x i8] c"mkdir\00", align 1
@.str.18 = private unnamed_addr constant [6 x i8] c"clone\00", align 1
@.str.19 = private unnamed_addr constant [7 x i8] c"access\00", align 1
@.str.20 = private unnamed_addr constant [7 x i8] c"stat64\00", align 1
@.str.21 = private unnamed_addr constant [5 x i8] c"stat\00", align 1
@.str.22 = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@.str.23 = private unnamed_addr constant [9 x i8] c"sendfile\00", align 1
@.str.24 = private unnamed_addr constant [6 x i8] c"fcntl\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @strace_get_operation_code(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [512 x i8], align 16
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%9 = load i32, ptr %5, align 4
%10 = call i32 @strace_get_operation(ptr noundef %7, ptr noundef %8, i32 noundef %9)
%11 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%12 = call i32 @strcmp(ptr noundef %11, ptr noundef @.str)
%13 = icmp ne i32 %12, 0
br i1 %13, label %15, label %14
14: ; preds = %2
store i8 119, ptr %3, align 1
br label %160
15: ; preds = %2
%16 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%17 = call i32 @strcmp(ptr noundef %16, ptr noundef @.str.1)
%18 = icmp ne i32 %17, 0
br i1 %18, label %20, label %19
19: ; preds = %15
store i8 114, ptr %3, align 1
br label %160
20: ; preds = %15
%21 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%22 = call i32 @strcmp(ptr noundef %21, ptr noundef @.str.2)
%23 = icmp ne i32 %22, 0
br i1 %23, label %25, label %24
24: ; preds = %20
store i8 87, ptr %3, align 1
br label %160
25: ; preds = %20
%26 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%27 = call i32 @strcmp(ptr noundef %26, ptr noundef @.str.3)
%28 = icmp ne i32 %27, 0
br i1 %28, label %30, label %29
29: ; preds = %25
store i8 87, ptr %3, align 1
br label %160
30: ; preds = %25
%31 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%32 = call i32 @strcmp(ptr noundef %31, ptr noundef @.str.4)
%33 = icmp ne i32 %32, 0
br i1 %33, label %35, label %34
34: ; preds = %30
store i8 80, ptr %3, align 1
br label %160
35: ; preds = %30
%36 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%37 = call i32 @strcmp(ptr noundef %36, ptr noundef @.str.5)
%38 = icmp ne i32 %37, 0
br i1 %38, label %40, label %39
39: ; preds = %35
store i8 80, ptr %3, align 1
br label %160
40: ; preds = %35
%41 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%42 = call i32 @strcmp(ptr noundef %41, ptr noundef @.str.6)
%43 = icmp ne i32 %42, 0
br i1 %43, label %45, label %44
44: ; preds = %40
store i8 99, ptr %3, align 1
br label %160
45: ; preds = %40
%46 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%47 = call i32 @strcmp(ptr noundef %46, ptr noundef @.str.7)
%48 = icmp ne i32 %47, 0
br i1 %48, label %50, label %49
49: ; preds = %45
store i8 111, ptr %3, align 1
br label %160
50: ; preds = %45
%51 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%52 = call i32 @strcmp(ptr noundef %51, ptr noundef @.str.8)
%53 = icmp ne i32 %52, 0
br i1 %53, label %55, label %54
54: ; preds = %50
store i8 82, ptr %3, align 1
br label %160
55: ; preds = %50
%56 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%57 = call i32 @strcmp(ptr noundef %56, ptr noundef @.str.9)
%58 = icmp ne i32 %57, 0
br i1 %58, label %60, label %59
59: ; preds = %55
store i8 117, ptr %3, align 1
br label %160
60: ; preds = %55
%61 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%62 = call i32 @strcmp(ptr noundef %61, ptr noundef @.str.10)
%63 = icmp ne i32 %62, 0
br i1 %63, label %65, label %64
64: ; preds = %60
store i8 108, ptr %3, align 1
br label %160
65: ; preds = %60
%66 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%67 = call i32 @strcmp(ptr noundef %66, ptr noundef @.str.11)
%68 = icmp ne i32 %67, 0
br i1 %68, label %70, label %69
69: ; preds = %65
store i8 76, ptr %3, align 1
br label %160
70: ; preds = %65
%71 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%72 = call i32 @strcmp(ptr noundef %71, ptr noundef @.str.12)
%73 = icmp ne i32 %72, 0
br i1 %73, label %75, label %74
74: ; preds = %70
store i8 63, ptr %3, align 1
br label %160
75: ; preds = %70
%76 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%77 = call i32 @strcmp(ptr noundef %76, ptr noundef @.str.13)
%78 = icmp ne i32 %77, 0
br i1 %78, label %80, label %79
79: ; preds = %75
store i8 112, ptr %3, align 1
br label %160
80: ; preds = %75
%81 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%82 = call i32 @strcmp(ptr noundef %81, ptr noundef @.str.14)
%83 = icmp ne i32 %82, 0
br i1 %83, label %85, label %84
84: ; preds = %80
store i8 101, ptr %3, align 1
br label %160
85: ; preds = %80
%86 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%87 = call i32 @strcmp(ptr noundef %86, ptr noundef @.str.15)
%88 = icmp ne i32 %87, 0
br i1 %88, label %90, label %89
89: ; preds = %85
store i8 68, ptr %3, align 1
br label %160
90: ; preds = %85
%91 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%92 = call i32 @strcmp(ptr noundef %91, ptr noundef @.str.16)
%93 = icmp ne i32 %92, 0
br i1 %93, label %95, label %94
94: ; preds = %90
store i8 100, ptr %3, align 1
br label %160
95: ; preds = %90
%96 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%97 = call i32 @strcmp(ptr noundef %96, ptr noundef @.str.17)
%98 = icmp ne i32 %97, 0
br i1 %98, label %100, label %99
99: ; preds = %95
store i8 77, ptr %3, align 1
br label %160
100: ; preds = %95
%101 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%102 = call i32 @strcmp(ptr noundef %101, ptr noundef @.str.18)
%103 = icmp ne i32 %102, 0
br i1 %103, label %105, label %104
104: ; preds = %100
store i8 67, ptr %3, align 1
br label %160
105: ; preds = %100
%106 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%107 = call i32 @strcmp(ptr noundef %106, ptr noundef @.str.19)
%108 = icmp ne i32 %107, 0
br i1 %108, label %110, label %109
109: ; preds = %105
store i8 97, ptr %3, align 1
br label %160
110: ; preds = %105
%111 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%112 = call i32 @strcmp(ptr noundef %111, ptr noundef @.str.20)
%113 = icmp ne i32 %112, 0
br i1 %113, label %115, label %114
114: ; preds = %110
store i8 115, ptr %3, align 1
br label %160
115: ; preds = %110
%116 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%117 = call i32 @strcmp(ptr noundef %116, ptr noundef @.str.21)
%118 = icmp ne i32 %117, 0
br i1 %118, label %120, label %119
119: ; preds = %115
store i8 115, ptr %3, align 1
br label %160
120: ; preds = %115
%121 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%122 = call i32 @strcmp(ptr noundef %121, ptr noundef @.str.22)
%123 = icmp ne i32 %122, 0
br i1 %123, label %125, label %124
124: ; preds = %120
store i8 83, ptr %3, align 1
br label %160
125: ; preds = %120
%126 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%127 = call i32 @strcmp(ptr noundef %126, ptr noundef @.str.23)
%128 = icmp ne i32 %127, 0
br i1 %128, label %130, label %129
129: ; preds = %125
store i8 116, ptr %3, align 1
br label %160
130: ; preds = %125
%131 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%132 = call i32 @strcmp(ptr noundef %131, ptr noundef @.str.24)
%133 = icmp ne i32 %132, 0
br i1 %133, label %135, label %134
134: ; preds = %130
store i8 102, ptr %3, align 1
br label %160
135: ; preds = %130
br label %136
136: ; preds = %135
br label %137
137: ; preds = %136
br label %138
138: ; preds = %137
br label %139
139: ; preds = %138
br label %140
140: ; preds = %139
br label %141
141: ; preds = %140
br label %142
142: ; preds = %141
br label %143
143: ; preds = %142
br label %144
144: ; preds = %143
br label %145
145: ; preds = %144
br label %146
146: ; preds = %145
br label %147
147: ; preds = %146
br label %148
148: ; preds = %147
br label %149
149: ; preds = %148
br label %150
150: ; preds = %149
br label %151
151: ; preds = %150
br label %152
152: ; preds = %151
br label %153
153: ; preds = %152
br label %154
154: ; preds = %153
br label %155
155: ; preds = %154
br label %156
156: ; preds = %155
br label %157
157: ; preds = %156
br label %158
158: ; preds = %157
br label %159
159: ; preds = %158
store i8 63, ptr %3, align 1
br label %160
160: ; preds = %159, %134, %129, %124, %119, %114, %109, %104, %99, %94, %89, %84, %79, %74, %69, %64, %59, %54, %49, %44, %39, %34, %29, %24, %19, %14
%161 = load i8, ptr %3, align 1
ret i8 %161
}
declare i32 @strace_get_operation(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpye5ptnnc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"write\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"read\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"pwrite\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"pwrite64\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"pread\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"pread64\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"close\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@.str.8 = private unnamed_addr constant [6 x i8] c"creat\00", align 1
@.str.9 = private unnamed_addr constant [7 x i8] c"unlink\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"lseek\00", align 1
@.str.11 = private unnamed_addr constant [8 x i8] c"_llseek\00", align 1
@.str.12 = private unnamed_addr constant [6 x i8] c"pipe2\00", align 1
@.str.13 = private unnamed_addr constant [5 x i8] c"pipe\00", align 1
@.str.14 = private unnamed_addr constant [5 x i8] c"dup3\00", align 1
@.str.15 = private unnamed_addr constant [5 x i8] c"dup2\00", align 1
@.str.16 = private unnamed_addr constant [4 x i8] c"dup\00", align 1
@.str.17 = private unnamed_addr constant [6 x i8] c"mkdir\00", align 1
@.str.18 = private unnamed_addr constant [6 x i8] c"clone\00", align 1
@.str.19 = private unnamed_addr constant [7 x i8] c"access\00", align 1
@.str.20 = private unnamed_addr constant [7 x i8] c"stat64\00", align 1
@.str.21 = private unnamed_addr constant [5 x i8] c"stat\00", align 1
@.str.22 = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@.str.23 = private unnamed_addr constant [9 x i8] c"sendfile\00", align 1
@.str.24 = private unnamed_addr constant [6 x i8] c"fcntl\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @strace_get_operation_code(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [512 x i8], align 16
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%9 = load i32, ptr %5, align 4
%10 = call i32 @strace_get_operation(ptr noundef %7, ptr noundef %8, i32 noundef %9)
%11 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%12 = call i32 @strcmp(ptr noundef %11, ptr noundef @.str)
%13 = icmp ne i32 %12, 0
br i1 %13, label %15, label %14
14: ; preds = %2
store i8 119, ptr %3, align 1
br label %160
15: ; preds = %2
%16 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%17 = call i32 @strcmp(ptr noundef %16, ptr noundef @.str.1)
%18 = icmp ne i32 %17, 0
br i1 %18, label %20, label %19
19: ; preds = %15
store i8 114, ptr %3, align 1
br label %160
20: ; preds = %15
%21 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%22 = call i32 @strcmp(ptr noundef %21, ptr noundef @.str.2)
%23 = icmp ne i32 %22, 0
br i1 %23, label %25, label %24
24: ; preds = %20
store i8 87, ptr %3, align 1
br label %160
25: ; preds = %20
%26 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%27 = call i32 @strcmp(ptr noundef %26, ptr noundef @.str.3)
%28 = icmp ne i32 %27, 0
br i1 %28, label %30, label %29
29: ; preds = %25
store i8 87, ptr %3, align 1
br label %160
30: ; preds = %25
%31 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%32 = call i32 @strcmp(ptr noundef %31, ptr noundef @.str.4)
%33 = icmp ne i32 %32, 0
br i1 %33, label %35, label %34
34: ; preds = %30
store i8 80, ptr %3, align 1
br label %160
35: ; preds = %30
%36 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%37 = call i32 @strcmp(ptr noundef %36, ptr noundef @.str.5)
%38 = icmp ne i32 %37, 0
br i1 %38, label %40, label %39
39: ; preds = %35
store i8 80, ptr %3, align 1
br label %160
40: ; preds = %35
%41 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%42 = call i32 @strcmp(ptr noundef %41, ptr noundef @.str.6)
%43 = icmp ne i32 %42, 0
br i1 %43, label %45, label %44
44: ; preds = %40
store i8 99, ptr %3, align 1
br label %160
45: ; preds = %40
%46 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%47 = call i32 @strcmp(ptr noundef %46, ptr noundef @.str.7)
%48 = icmp ne i32 %47, 0
br i1 %48, label %50, label %49
49: ; preds = %45
store i8 111, ptr %3, align 1
br label %160
50: ; preds = %45
%51 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%52 = call i32 @strcmp(ptr noundef %51, ptr noundef @.str.8)
%53 = icmp ne i32 %52, 0
br i1 %53, label %55, label %54
54: ; preds = %50
store i8 82, ptr %3, align 1
br label %160
55: ; preds = %50
%56 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%57 = call i32 @strcmp(ptr noundef %56, ptr noundef @.str.9)
%58 = icmp ne i32 %57, 0
br i1 %58, label %60, label %59
59: ; preds = %55
store i8 117, ptr %3, align 1
br label %160
60: ; preds = %55
%61 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%62 = call i32 @strcmp(ptr noundef %61, ptr noundef @.str.10)
%63 = icmp ne i32 %62, 0
br i1 %63, label %65, label %64
64: ; preds = %60
store i8 108, ptr %3, align 1
br label %160
65: ; preds = %60
%66 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%67 = call i32 @strcmp(ptr noundef %66, ptr noundef @.str.11)
%68 = icmp ne i32 %67, 0
br i1 %68, label %70, label %69
69: ; preds = %65
store i8 76, ptr %3, align 1
br label %160
70: ; preds = %65
%71 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%72 = call i32 @strcmp(ptr noundef %71, ptr noundef @.str.12)
%73 = icmp ne i32 %72, 0
br i1 %73, label %75, label %74
74: ; preds = %70
store i8 63, ptr %3, align 1
br label %160
75: ; preds = %70
%76 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%77 = call i32 @strcmp(ptr noundef %76, ptr noundef @.str.13)
%78 = icmp ne i32 %77, 0
br i1 %78, label %80, label %79
79: ; preds = %75
store i8 112, ptr %3, align 1
br label %160
80: ; preds = %75
%81 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%82 = call i32 @strcmp(ptr noundef %81, ptr noundef @.str.14)
%83 = icmp ne i32 %82, 0
br i1 %83, label %85, label %84
84: ; preds = %80
store i8 101, ptr %3, align 1
br label %160
85: ; preds = %80
%86 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%87 = call i32 @strcmp(ptr noundef %86, ptr noundef @.str.15)
%88 = icmp ne i32 %87, 0
br i1 %88, label %90, label %89
89: ; preds = %85
store i8 68, ptr %3, align 1
br label %160
90: ; preds = %85
%91 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%92 = call i32 @strcmp(ptr noundef %91, ptr noundef @.str.16)
%93 = icmp ne i32 %92, 0
br i1 %93, label %95, label %94
94: ; preds = %90
store i8 100, ptr %3, align 1
br label %160
95: ; preds = %90
%96 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%97 = call i32 @strcmp(ptr noundef %96, ptr noundef @.str.17)
%98 = icmp ne i32 %97, 0
br i1 %98, label %100, label %99
99: ; preds = %95
store i8 77, ptr %3, align 1
br label %160
100: ; preds = %95
%101 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%102 = call i32 @strcmp(ptr noundef %101, ptr noundef @.str.18)
%103 = icmp ne i32 %102, 0
br i1 %103, label %105, label %104
104: ; preds = %100
store i8 67, ptr %3, align 1
br label %160
105: ; preds = %100
%106 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%107 = call i32 @strcmp(ptr noundef %106, ptr noundef @.str.19)
%108 = icmp ne i32 %107, 0
br i1 %108, label %110, label %109
109: ; preds = %105
store i8 97, ptr %3, align 1
br label %160
110: ; preds = %105
%111 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%112 = call i32 @strcmp(ptr noundef %111, ptr noundef @.str.20)
%113 = icmp ne i32 %112, 0
br i1 %113, label %115, label %114
114: ; preds = %110
store i8 115, ptr %3, align 1
br label %160
115: ; preds = %110
%116 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%117 = call i32 @strcmp(ptr noundef %116, ptr noundef @.str.21)
%118 = icmp ne i32 %117, 0
br i1 %118, label %120, label %119
119: ; preds = %115
store i8 115, ptr %3, align 1
br label %160
120: ; preds = %115
%121 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%122 = call i32 @strcmp(ptr noundef %121, ptr noundef @.str.22)
%123 = icmp ne i32 %122, 0
br i1 %123, label %125, label %124
124: ; preds = %120
store i8 83, ptr %3, align 1
br label %160
125: ; preds = %120
%126 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%127 = call i32 @strcmp(ptr noundef %126, ptr noundef @.str.23)
%128 = icmp ne i32 %127, 0
br i1 %128, label %130, label %129
129: ; preds = %125
store i8 116, ptr %3, align 1
br label %160
130: ; preds = %125
%131 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
%132 = call i32 @strcmp(ptr noundef %131, ptr noundef @.str.24)
%133 = icmp ne i32 %132, 0
br i1 %133, label %135, label %134
134: ; preds = %130
store i8 102, ptr %3, align 1
br label %160
135: ; preds = %130
br label %136
136: ; preds = %135
br label %137
137: ; preds = %136
br label %138
138: ; preds = %137
br label %139
139: ; preds = %138
br label %140
140: ; preds = %139
br label %141
141: ; preds = %140
br label %142
142: ; preds = %141
br label %143
143: ; preds = %142
br label %144
144: ; preds = %143
br label %145
145: ; preds = %144
br label %146
146: ; preds = %145
br label %147
147: ; preds = %146
br label %148
148: ; preds = %147
br label %149
149: ; preds = %148
br label %150
150: ; preds = %149
br label %151
151: ; preds = %150
br label %152
152: ; preds = %151
br label %153
153: ; preds = %152
br label %154
154: ; preds = %153
br label %155
155: ; preds = %154
br label %156
156: ; preds = %155
br label %157
157: ; preds = %156
br label %158
158: ; preds = %157
br label %159
159: ; preds = %158
store i8 63, ptr %3, align 1
br label %160
160: ; preds = %159, %134, %129, %124, %119, %114, %109, %104, %99, %94, %89, %84, %79, %74, %69, %64, %59, %54, %49, %44, %39, %34, %29, %24, %19, %14
%161 = load i8, ptr %3, align 1
ret i8 %161
}
declare i32 @strace_get_operation(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5dlqbu75.c'
source_filename = "/tmp/tmp5dlqbu75.c"
target datalayout = "e-m:e-p270: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/tmp5dlqbu75.c"
target datalayout = "e-m:e-p270: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/tmps59_c79l.c'
source_filename = "/tmp/tmps59_c79l.c"
target datalayout = "e-m:e-p270: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_FILENO = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"\1B[?1049l\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @term_state_restore() #0 {
%1 = load i32, ptr @STDOUT_FILENO, align 4
%2 = call i64 @write(i32 noundef %1, ptr noundef @.str, i32 noundef 8)
%3 = add nsw i64 %2, 1
ret void
}
declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps59_c79l.c"
target datalayout = "e-m:e-p270: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_FILENO = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"\1B[?1049l\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @term_state_restore() #0 {
%1 = load i32, ptr @STDOUT_FILENO, align 4
%2 = call i64 @write(i32 noundef %1, ptr noundef @.str, i32 noundef 8)
%3 = add nsw i64 %2, 1
ret void
}
declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0vcpg79m.c'
source_filename = "/tmp/tmp0vcpg79m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isNotWhiteSpace(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i32, align 4
store i8 %0, ptr %2, align 1
%4 = load i8, ptr %2, align 1
%5 = call i32 @isspace(i8 noundef signext %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp ne i32 %6, 0
%8 = xor i1 %7, true
%9 = zext i1 %8 to i32
ret i32 %9
}
declare i32 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0vcpg79m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isNotWhiteSpace(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i32, align 4
store i8 %0, ptr %2, align 1
%4 = load i8, ptr %2, align 1
%5 = call i32 @isspace(i8 noundef signext %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp ne i32 %6, 0
%8 = xor i1 %7, true
%9 = zext i1 %8 to i32
ret i32 %9
}
declare i32 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplwjq5y_e.c'
source_filename = "/tmp/tmplwjq5y_e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS = 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/tmplwjq5y_e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS = 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/tmp8k7tdhic.c'
source_filename = "/tmp/tmp8k7tdhic.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"%*[^%\0A]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @inputDatiInt(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 = %13, %1
%5 = load ptr, ptr %2, align 8
%6 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %4
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1)
%11 = call i32 @stampaErrori(i32 noundef 1)
br label %12
12: ; preds = %9, %4
br label %13
13: ; preds = %12
%14 = load i32, ptr %3, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %4, label %16, !llvm.loop !6
16: ; preds = %13
ret void
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @stampaErrori(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/tmp8k7tdhic.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"%*[^%\0A]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @inputDatiInt(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 = %13, %1
%5 = load ptr, ptr %2, align 8
%6 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %4
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1)
%11 = call i32 @stampaErrori(i32 noundef 1)
br label %12
12: ; preds = %9, %4
br label %13
13: ; preds = %12
%14 = load i32, ptr %3, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %4, label %16, !llvm.loop !6
16: ; preds = %13
ret void
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @stampaErrori(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/tmppv9vonim.c'
source_filename = "/tmp/tmppv9vonim.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"Invalid message count %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @readskip() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [2048 x i8], align 16
%5 = call i32 @readcount(ptr noundef %3)
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp ne i32 %6, 1
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = load i32, ptr %2, align 4
store i32 %9, ptr %1, align 4
br label %47
10: ; preds = %0
%11 = load i32, ptr %3, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load i32, ptr %3, align 4
%15 = call i32 @scmerr(i32 noundef -1, ptr noundef @.str, i32 noundef %14)
store i32 %15, ptr %1, align 4
br label %47
16: ; preds = %10
br label %17
17: ; preds = %41, %16
%18 = load i32, ptr %2, align 4
%19 = icmp eq i32 %18, 1
br i1 %19, label %20, label %23
20: ; preds = %17
%21 = load i32, ptr %3, align 4
%22 = icmp sgt i32 %21, 0
br label %23
23: ; preds = %20, %17
%24 = phi i1 [ false, %17 ], [ %22, %20 ]
br i1 %24, label %25, label %45
25: ; preds = %23
%26 = load i32, ptr %3, align 4
%27 = icmp sgt i32 %26, 2048
br i1 %27, label %28, label %29
28: ; preds = %25
br label %31
29: ; preds = %25
%30 = load i32, ptr %3, align 4
br label %31
31: ; preds = %29, %28
%32 = phi i32 [ 2048, %28 ], [ %30, %29 ]
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [2048 x i8], ptr %4, i64 0, i64 0
%35 = call i32 @readdata(i64 noundef %33, ptr noundef %34, i32 noundef 0)
store i32 %35, ptr %2, align 4
%36 = load i32, ptr %3, align 4
%37 = icmp sgt i32 %36, 2048
br i1 %37, label %38, label %39
38: ; preds = %31
br label %41
39: ; preds = %31
%40 = load i32, ptr %3, align 4
br label %41
41: ; preds = %39, %38
%42 = phi i32 [ 2048, %38 ], [ %40, %39 ]
%43 = load i32, ptr %3, align 4
%44 = sub nsw i32 %43, %42
store i32 %44, ptr %3, align 4
br label %17, !llvm.loop !6
45: ; preds = %23
%46 = load i32, ptr %2, align 4
store i32 %46, ptr %1, align 4
br label %47
47: ; preds = %45, %13, %8
%48 = load i32, ptr %1, align 4
ret i32 %48
}
declare i32 @readcount(ptr noundef) #1
declare i32 @scmerr(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @readdata(i64 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/tmppv9vonim.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"Invalid message count %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @readskip() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [2048 x i8], align 16
%5 = call i32 @readcount(ptr noundef %3)
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp ne i32 %6, 1
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = load i32, ptr %2, align 4
store i32 %9, ptr %1, align 4
br label %47
10: ; preds = %0
%11 = load i32, ptr %3, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load i32, ptr %3, align 4
%15 = call i32 @scmerr(i32 noundef -1, ptr noundef @.str, i32 noundef %14)
store i32 %15, ptr %1, align 4
br label %47
16: ; preds = %10
br label %17
17: ; preds = %41, %16
%18 = load i32, ptr %2, align 4
%19 = icmp eq i32 %18, 1
br i1 %19, label %20, label %23
20: ; preds = %17
%21 = load i32, ptr %3, align 4
%22 = icmp sgt i32 %21, 0
br label %23
23: ; preds = %20, %17
%24 = phi i1 [ false, %17 ], [ %22, %20 ]
br i1 %24, label %25, label %45
25: ; preds = %23
%26 = load i32, ptr %3, align 4
%27 = icmp sgt i32 %26, 2048
br i1 %27, label %28, label %29
28: ; preds = %25
br label %31
29: ; preds = %25
%30 = load i32, ptr %3, align 4
br label %31
31: ; preds = %29, %28
%32 = phi i32 [ 2048, %28 ], [ %30, %29 ]
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [2048 x i8], ptr %4, i64 0, i64 0
%35 = call i32 @readdata(i64 noundef %33, ptr noundef %34, i32 noundef 0)
store i32 %35, ptr %2, align 4
%36 = load i32, ptr %3, align 4
%37 = icmp sgt i32 %36, 2048
br i1 %37, label %38, label %39
38: ; preds = %31
br label %41
39: ; preds = %31
%40 = load i32, ptr %3, align 4
br label %41
41: ; preds = %39, %38
%42 = phi i32 [ 2048, %38 ], [ %40, %39 ]
%43 = load i32, ptr %3, align 4
%44 = sub nsw i32 %43, %42
store i32 %44, ptr %3, align 4
br label %17, !llvm.loop !6
45: ; preds = %23
%46 = load i32, ptr %2, align 4
store i32 %46, ptr %1, align 4
br label %47
47: ; preds = %45, %13, %8
%48 = load i32, ptr %1, align 4
ret i32 %48
}
declare i32 @readcount(ptr noundef) #1
declare i32 @scmerr(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @readdata(i64 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/tmpsr7anubh.c'
source_filename = "/tmp/tmpsr7anubh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINTR = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsr7anubh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINTR = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa7hjuucz.c'
source_filename = "/tmp/tmpa7hjuucz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @PWM2_1_IRQHandler() #0 {
%1 = call i32 (...) @PWM2_1_DriverIRQHandler()
ret void
}
declare i32 @PWM2_1_DriverIRQHandler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa7hjuucz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @PWM2_1_IRQHandler() #0 {
%1 = call i32 (...) @PWM2_1_DriverIRQHandler()
ret void
}
declare i32 @PWM2_1_DriverIRQHandler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp354dcnkv.c'
source_filename = "/tmp/tmp354dcnkv.c"
target datalayout = "e-m:e-p270: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/tmp354dcnkv.c"
target datalayout = "e-m:e-p270: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/tmp8qa0wdxm.c'
source_filename = "/tmp/tmp8qa0wdxm.c"
target datalayout = "e-m:e-p270: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/tmp8qa0wdxm.c"
target datalayout = "e-m:e-p270: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/tmp7ur_ai9_.c'
source_filename = "/tmp/tmp7ur_ai9_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"Digite 1 ou 2\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 1
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = load i32, ptr @EXIT_FAILURE, align 4
%14 = call i32 @exit(i32 noundef %13) #3
unreachable
15: ; preds = %2
%16 = call i32 @scanf(ptr noundef @.str, ptr noundef %6)
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = mul i64 8, %18
%20 = trunc i64 %19 to i32
%21 = call i64 @malloc(i32 noundef %20)
%22 = inttoptr i64 %21 to ptr
store ptr %22, ptr %9, align 8
store i32 0, ptr %7, align 4
br label %23
23: ; preds = %93, %15
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %6, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %96
27: ; preds = %23
%28 = load i32, ptr %6, align 4
%29 = sext i32 %28 to i64
%30 = mul i64 4, %29
%31 = trunc i64 %30 to i32
%32 = call i64 @malloc(i32 noundef %31)
%33 = inttoptr i64 %32 to ptr
%34 = load ptr, ptr %9, align 8
%35 = load i32, ptr %7, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds ptr, ptr %34, i64 %36
store ptr %33, ptr %37, align 8
store i32 0, ptr %8, align 4
br label %38
38: ; preds = %89, %27
%39 = load i32, ptr %8, align 4
%40 = load i32, ptr %6, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %42, label %92
42: ; preds = %38
%43 = load i32, ptr %7, align 4
%44 = load i32, ptr %8, align 4
%45 = icmp eq i32 %43, %44
br i1 %45, label %46, label %55
46: ; preds = %42
%47 = load ptr, ptr %9, align 8
%48 = load i32, ptr %7, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds ptr, ptr %47, i64 %49
%51 = load ptr, ptr %50, align 8
%52 = load i32, ptr %8, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %51, i64 %53
store i32 0, ptr %54, align 4
br label %88
55: ; preds = %42
%56 = load i32, ptr %7, align 4
%57 = load i32, ptr %8, align 4
%58 = icmp sgt i32 %56, %57
br i1 %58, label %59, label %77
59: ; preds = %55
%60 = load ptr, ptr %9, align 8
%61 = load i32, ptr %8, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds ptr, ptr %60, i64 %62
%64 = load ptr, ptr %63, align 8
%65 = load i32, ptr %7, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i32, ptr %64, i64 %66
%68 = load i32, ptr %67, align 4
%69 = load ptr, ptr %9, align 8
%70 = load i32, ptr %7, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds ptr, ptr %69, i64 %71
%73 = load ptr, ptr %72, align 8
%74 = load i32, ptr %8, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i32, ptr %73, i64 %75
store i32 %68, ptr %76, align 4
br label %87
77: ; preds = %55
%78 = load ptr, ptr %9, align 8
%79 = load i32, ptr %7, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds ptr, ptr %78, i64 %80
%82 = load ptr, ptr %81, align 8
%83 = load i32, ptr %8, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i32, ptr %82, i64 %84
%86 = call i32 @scanf(ptr noundef @.str, ptr noundef %85)
br label %87
87: ; preds = %77, %59
br label %88
88: ; preds = %87, %46
br label %89
89: ; preds = %88
%90 = load i32, ptr %8, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %8, align 4
br label %38, !llvm.loop !6
92: ; preds = %38
br label %93
93: ; preds = %92
%94 = load i32, ptr %7, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %7, align 4
br label %23, !llvm.loop !8
96: ; preds = %23
%97 = load ptr, ptr %5, align 8
%98 = getelementptr inbounds ptr, ptr %97, i64 1
%99 = load ptr, ptr %98, align 8
%100 = call i32 @atoi(ptr noundef %99)
switch i32 %100, label %109 [
i32 1, label %101
i32 2, label %105
]
101: ; preds = %96
%102 = load ptr, ptr %9, align 8
%103 = load i32, ptr %6, align 4
%104 = call i32 @primMST(ptr noundef %102, i32 noundef %103)
br label %113
105: ; preds = %96
%106 = load ptr, ptr %9, align 8
%107 = load i32, ptr %6, align 4
%108 = call i32 @dijkstra(ptr noundef %106, i32 noundef 0, i32 noundef %107)
br label %113
109: ; preds = %96
%110 = call i32 @printf(ptr noundef @.str.1)
%111 = load i32, ptr @EXIT_FAILURE, align 4
%112 = call i32 @exit(i32 noundef %111) #3
unreachable
113: ; preds = %105, %101
%114 = load i32, ptr %3, align 4
ret i32 %114
}
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #2
declare i64 @malloc(i32 noundef) #2
declare i32 @atoi(ptr noundef) #2
declare i32 @primMST(ptr noundef, i32 noundef) #2
declare i32 @dijkstra(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(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 = { 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 = { "frame-pointer"="all" "no-trapping-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/tmp7ur_ai9_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"Digite 1 ou 2\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 1
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = load i32, ptr @EXIT_FAILURE, align 4
%14 = call i32 @exit(i32 noundef %13) #3
unreachable
15: ; preds = %2
%16 = call i32 @scanf(ptr noundef @.str, ptr noundef %6)
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = mul i64 8, %18
%20 = trunc i64 %19 to i32
%21 = call i64 @malloc(i32 noundef %20)
%22 = inttoptr i64 %21 to ptr
store ptr %22, ptr %9, align 8
store i32 0, ptr %7, align 4
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %.lr.ph2, label %100
.lr.ph2: ; preds = %15
br label %26
26: ; preds = %.lr.ph2, %94
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = mul i64 4, %28
%30 = trunc i64 %29 to i32
%31 = call i64 @malloc(i32 noundef %30)
%32 = inttoptr i64 %31 to ptr
%33 = load ptr, ptr %9, align 8
%34 = load i32, ptr %7, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds ptr, ptr %33, i64 %35
store ptr %32, ptr %36, align 8
store i32 0, ptr %8, align 4
%37 = load i32, ptr %8, align 4
%38 = load i32, ptr %6, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %.lr.ph, label %93
.lr.ph: ; preds = %26
br label %40
40: ; preds = %.lr.ph, %87
%41 = load i32, ptr %7, align 4
%42 = load i32, ptr %8, align 4
%43 = icmp eq i32 %41, %42
br i1 %43, label %44, label %53
44: ; preds = %40
%45 = load ptr, ptr %9, align 8
%46 = load i32, ptr %7, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds ptr, ptr %45, i64 %47
%49 = load ptr, ptr %48, align 8
%50 = load i32, ptr %8, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, ptr %49, i64 %51
store i32 0, ptr %52, align 4
br label %86
53: ; preds = %40
%54 = load i32, ptr %7, align 4
%55 = load i32, ptr %8, align 4
%56 = icmp sgt i32 %54, %55
br i1 %56, label %57, label %75
57: ; preds = %53
%58 = load ptr, ptr %9, align 8
%59 = load i32, ptr %8, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds ptr, ptr %58, i64 %60
%62 = load ptr, ptr %61, align 8
%63 = load i32, ptr %7, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i32, ptr %62, i64 %64
%66 = load i32, ptr %65, align 4
%67 = load ptr, ptr %9, align 8
%68 = load i32, ptr %7, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds ptr, ptr %67, i64 %69
%71 = load ptr, ptr %70, align 8
%72 = load i32, ptr %8, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i32, ptr %71, i64 %73
store i32 %66, ptr %74, align 4
br label %85
75: ; preds = %53
%76 = load ptr, ptr %9, align 8
%77 = load i32, ptr %7, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds ptr, ptr %76, i64 %78
%80 = load ptr, ptr %79, align 8
%81 = load i32, ptr %8, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i32, ptr %80, i64 %82
%84 = call i32 @scanf(ptr noundef @.str, ptr noundef %83)
br label %85
85: ; preds = %75, %57
br label %86
86: ; preds = %85, %44
br label %87
87: ; preds = %86
%88 = load i32, ptr %8, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %8, align 4
%90 = load i32, ptr %8, align 4
%91 = load i32, ptr %6, align 4
%92 = icmp slt i32 %90, %91
br i1 %92, label %40, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %87
br label %93
93: ; preds = %._crit_edge, %26
br label %94
94: ; preds = %93
%95 = load i32, ptr %7, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %7, align 4
%97 = load i32, ptr %7, align 4
%98 = load i32, ptr %6, align 4
%99 = icmp slt i32 %97, %98
br i1 %99, label %26, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %94
br label %100
100: ; preds = %._crit_edge3, %15
%101 = load ptr, ptr %5, align 8
%102 = getelementptr inbounds ptr, ptr %101, i64 1
%103 = load ptr, ptr %102, align 8
%104 = call i32 @atoi(ptr noundef %103)
switch i32 %104, label %113 [
i32 1, label %105
i32 2, label %109
]
105: ; preds = %100
%106 = load ptr, ptr %9, align 8
%107 = load i32, ptr %6, align 4
%108 = call i32 @primMST(ptr noundef %106, i32 noundef %107)
br label %117
109: ; preds = %100
%110 = load ptr, ptr %9, align 8
%111 = load i32, ptr %6, align 4
%112 = call i32 @dijkstra(ptr noundef %110, i32 noundef 0, i32 noundef %111)
br label %117
113: ; preds = %100
%114 = call i32 @printf(ptr noundef @.str.1)
%115 = load i32, ptr @EXIT_FAILURE, align 4
%116 = call i32 @exit(i32 noundef %115) #3
unreachable
117: ; preds = %109, %105
%118 = load i32, ptr %3, align 4
ret i32 %118
}
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #2
declare i64 @malloc(i32 noundef) #2
declare i32 @atoi(ptr noundef) #2
declare i32 @primMST(ptr noundef, i32 noundef) #2
declare i32 @dijkstra(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(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 = { 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 = { "frame-pointer"="all" "no-trapping-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/tmpiiln6j2d.c'
source_filename = "/tmp/tmpiiln6j2d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SmoothSvrOff() #0 {
%1 = alloca i16, align 2
%2 = alloca i16, align 2
%3 = alloca i16, align 2
store i16 256, ptr %1, align 2
%4 = call i32 @RegWriteA(i32 noundef 368, i32 noundef 2)
%5 = call i32 @RamAccFixMod(i32 noundef 1)
store i16 0, ptr %1, align 2
br label %6
6: ; preds = %42, %0
%7 = load i16, ptr %2, align 2
%8 = zext i16 %7 to i32
%9 = icmp slt i32 %8, 200
br i1 %9, label %10, label %45
10: ; preds = %6
%11 = call i32 @RamReadA(i32 noundef 5239, ptr noundef %3)
%12 = load i16, ptr %3, align 2
%13 = zext i16 %12 to i32
%14 = icmp sgt i32 %13, 32768
br i1 %14, label %15, label %26
15: ; preds = %10
%16 = load i16, ptr %3, align 2
%17 = zext i16 %16 to i32
%18 = icmp sge i32 %17, 65280
br i1 %18, label %19, label %20
19: ; preds = %15
store i16 0, ptr %3, align 2
br label %45
20: ; preds = %15
%21 = load i16, ptr %3, align 2
%22 = zext i16 %21 to i32
%23 = add nsw i32 %22, 256
%24 = trunc i32 %23 to i16
store i16 %24, ptr %3, align 2
br label %25
25: ; preds = %20
br label %37
26: ; preds = %10
%27 = load i16, ptr %3, align 2
%28 = zext i16 %27 to i32
%29 = icmp sle i32 %28, 256
br i1 %29, label %30, label %31
30: ; preds = %26
store i16 0, ptr %3, align 2
br label %45
31: ; preds = %26
%32 = load i16, ptr %3, align 2
%33 = zext i16 %32 to i32
%34 = sub nsw i32 %33, 256
%35 = trunc i32 %34 to i16
store i16 %35, ptr %3, align 2
br label %36
36: ; preds = %31
br label %37
37: ; preds = %36, %25
%38 = load i16, ptr %3, align 2
%39 = zext i16 %38 to i32
%40 = call i32 @RamWriteA(i32 noundef 5239, i32 noundef %39)
%41 = call i32 @WitTim(i32 noundef 1)
br label %42
42: ; preds = %37
%43 = load i16, ptr %2, align 2
%44 = add i16 %43, 1
store i16 %44, ptr %2, align 2
br label %6, !llvm.loop !6
45: ; preds = %30, %19, %6
%46 = call i32 @RamAccFixMod(i32 noundef 0)
%47 = call i32 @RegWriteA(i32 noundef 369, i32 noundef 2)
%48 = call i32 @RamAccFixMod(i32 noundef 1)
store i16 0, ptr %1, align 2
br label %49
49: ; preds = %85, %45
%50 = load i16, ptr %2, align 2
%51 = zext i16 %50 to i32
%52 = icmp slt i32 %51, 200
br i1 %52, label %53, label %88
53: ; preds = %49
%54 = call i32 @RamReadA(i32 noundef 5367, ptr noundef %3)
%55 = load i16, ptr %3, align 2
%56 = zext i16 %55 to i32
%57 = icmp sgt i32 %56, 32768
br i1 %57, label %58, label %69
58: ; preds = %53
%59 = load i16, ptr %3, align 2
%60 = zext i16 %59 to i32
%61 = icmp sge i32 %60, 65280
br i1 %61, label %62, label %63
62: ; preds = %58
store i16 0, ptr %3, align 2
br label %88
63: ; preds = %58
%64 = load i16, ptr %3, align 2
%65 = zext i16 %64 to i32
%66 = add nsw i32 %65, 256
%67 = trunc i32 %66 to i16
store i16 %67, ptr %3, align 2
br label %68
68: ; preds = %63
br label %80
69: ; preds = %53
%70 = load i16, ptr %3, align 2
%71 = zext i16 %70 to i32
%72 = icmp sle i32 %71, 256
br i1 %72, label %73, label %74
73: ; preds = %69
store i16 0, ptr %3, align 2
br label %88
74: ; preds = %69
%75 = load i16, ptr %3, align 2
%76 = zext i16 %75 to i32
%77 = sub nsw i32 %76, 256
%78 = trunc i32 %77 to i16
store i16 %78, ptr %3, align 2
br label %79
79: ; preds = %74
br label %80
80: ; preds = %79, %68
%81 = load i16, ptr %3, align 2
%82 = zext i16 %81 to i32
%83 = call i32 @RamWriteA(i32 noundef 5367, i32 noundef %82)
%84 = call i32 @WitTim(i32 noundef 1)
br label %85
85: ; preds = %80
%86 = load i16, ptr %2, align 2
%87 = add i16 %86, 1
store i16 %87, ptr %2, align 2
br label %49, !llvm.loop !8
88: ; preds = %73, %62, %49
%89 = call i32 @RamWriteA(i32 noundef 5239, i32 noundef 0)
%90 = call i32 @RamWriteA(i32 noundef 5367, i32 noundef 0)
%91 = call i32 @RamAccFixMod(i32 noundef 0)
ret void
}
declare i32 @RegWriteA(i32 noundef, i32 noundef) #1
declare i32 @RamAccFixMod(i32 noundef) #1
declare i32 @RamReadA(i32 noundef, ptr noundef) #1
declare i32 @RamWriteA(i32 noundef, i32 noundef) #1
declare i32 @WitTim(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiiln6j2d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SmoothSvrOff() #0 {
%1 = alloca i16, align 2
%2 = alloca i16, align 2
%3 = alloca i16, align 2
store i16 256, ptr %1, align 2
%4 = call i32 @RegWriteA(i32 noundef 368, i32 noundef 2)
%5 = call i32 @RamAccFixMod(i32 noundef 1)
store i16 0, ptr %1, align 2
%6 = load i16, ptr %2, align 2
%7 = zext i16 %6 to i32
%8 = icmp slt i32 %7, 200
br i1 %8, label %.lr.ph, label %.loopexit1
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %41
%10 = call i32 @RamReadA(i32 noundef 5239, ptr noundef %3)
%11 = load i16, ptr %3, align 2
%12 = zext i16 %11 to i32
%13 = icmp sgt i32 %12, 32768
br i1 %13, label %14, label %25
14: ; preds = %9
%15 = load i16, ptr %3, align 2
%16 = zext i16 %15 to i32
%17 = icmp sge i32 %16, 65280
br i1 %17, label %18, label %19
18: ; preds = %14
store i16 0, ptr %3, align 2
br label %47
19: ; preds = %14
%20 = load i16, ptr %3, align 2
%21 = zext i16 %20 to i32
%22 = add nsw i32 %21, 256
%23 = trunc i32 %22 to i16
store i16 %23, ptr %3, align 2
br label %24
24: ; preds = %19
br label %36
25: ; preds = %9
%26 = load i16, ptr %3, align 2
%27 = zext i16 %26 to i32
%28 = icmp sle i32 %27, 256
br i1 %28, label %29, label %30
29: ; preds = %25
store i16 0, ptr %3, align 2
br label %47
30: ; preds = %25
%31 = load i16, ptr %3, align 2
%32 = zext i16 %31 to i32
%33 = sub nsw i32 %32, 256
%34 = trunc i32 %33 to i16
store i16 %34, ptr %3, align 2
br label %35
35: ; preds = %30
br label %36
36: ; preds = %35, %24
%37 = load i16, ptr %3, align 2
%38 = zext i16 %37 to i32
%39 = call i32 @RamWriteA(i32 noundef 5239, i32 noundef %38)
%40 = call i32 @WitTim(i32 noundef 1)
br label %41
41: ; preds = %36
%42 = load i16, ptr %2, align 2
%43 = add i16 %42, 1
store i16 %43, ptr %2, align 2
%44 = load i16, ptr %2, align 2
%45 = zext i16 %44 to i32
%46 = icmp slt i32 %45, 200
br i1 %46, label %9, label %..loopexit1_crit_edge, !llvm.loop !6
..loopexit1_crit_edge: ; preds = %41
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %0
br label %47
47: ; preds = %.loopexit1, %29, %18
%48 = call i32 @RamAccFixMod(i32 noundef 0)
%49 = call i32 @RegWriteA(i32 noundef 369, i32 noundef 2)
%50 = call i32 @RamAccFixMod(i32 noundef 1)
store i16 0, ptr %1, align 2
%51 = load i16, ptr %2, align 2
%52 = zext i16 %51 to i32
%53 = icmp slt i32 %52, 200
br i1 %53, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %47
br label %54
54: ; preds = %.lr.ph2, %86
%55 = call i32 @RamReadA(i32 noundef 5367, ptr noundef %3)
%56 = load i16, ptr %3, align 2
%57 = zext i16 %56 to i32
%58 = icmp sgt i32 %57, 32768
br i1 %58, label %59, label %70
59: ; preds = %54
%60 = load i16, ptr %3, align 2
%61 = zext i16 %60 to i32
%62 = icmp sge i32 %61, 65280
br i1 %62, label %63, label %64
63: ; preds = %59
store i16 0, ptr %3, align 2
br label %92
64: ; preds = %59
%65 = load i16, ptr %3, align 2
%66 = zext i16 %65 to i32
%67 = add nsw i32 %66, 256
%68 = trunc i32 %67 to i16
store i16 %68, ptr %3, align 2
br label %69
69: ; preds = %64
br label %81
70: ; preds = %54
%71 = load i16, ptr %3, align 2
%72 = zext i16 %71 to i32
%73 = icmp sle i32 %72, 256
br i1 %73, label %74, label %75
74: ; preds = %70
store i16 0, ptr %3, align 2
br label %92
75: ; preds = %70
%76 = load i16, ptr %3, align 2
%77 = zext i16 %76 to i32
%78 = sub nsw i32 %77, 256
%79 = trunc i32 %78 to i16
store i16 %79, ptr %3, align 2
br label %80
80: ; preds = %75
br label %81
81: ; preds = %80, %69
%82 = load i16, ptr %3, align 2
%83 = zext i16 %82 to i32
%84 = call i32 @RamWriteA(i32 noundef 5367, i32 noundef %83)
%85 = call i32 @WitTim(i32 noundef 1)
br label %86
86: ; preds = %81
%87 = load i16, ptr %2, align 2
%88 = add i16 %87, 1
store i16 %88, ptr %2, align 2
%89 = load i16, ptr %2, align 2
%90 = zext i16 %89 to i32
%91 = icmp slt i32 %90, 200
br i1 %91, label %54, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %86
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %47
br label %92
92: ; preds = %.loopexit, %74, %63
%93 = call i32 @RamWriteA(i32 noundef 5239, i32 noundef 0)
%94 = call i32 @RamWriteA(i32 noundef 5367, i32 noundef 0)
%95 = call i32 @RamAccFixMod(i32 noundef 0)
ret void
}
declare i32 @RegWriteA(i32 noundef, i32 noundef) #1
declare i32 @RamAccFixMod(i32 noundef) #1
declare i32 @RamReadA(i32 noundef, ptr noundef) #1
declare i32 @RamWriteA(i32 noundef, i32 noundef) #1
declare i32 @WitTim(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpo5nqi2s8.c'
source_filename = "/tmp/tmpo5nqi2s8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @perBaseWigFree()
ret i32 %2
}
declare i32 @perBaseWigFree(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo5nqi2s8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @perBaseWigFree()
ret i32 %2
}
declare i32 @perBaseWigFree(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8ktbsg0a.c'
source_filename = "/tmp/tmp8ktbsg0a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"hello(%d)\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"world(%d)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = call i32 @omp_set_num_threads(i32 noundef 4)
%3 = call i32 (...) @omp_get_thread_num()
store i32 %3, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = load i32, ptr %1, align 4
%7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6)
ret i32 0
}
declare i32 @omp_set_num_threads(i32 noundef) #1
declare i32 @omp_get_thread_num(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8ktbsg0a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"hello(%d)\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"world(%d)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = call i32 @omp_set_num_threads(i32 noundef 4)
%3 = call i32 (...) @omp_get_thread_num()
store i32 %3, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = load i32, ptr %1, align 4
%7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6)
ret i32 0
}
declare i32 @omp_set_num_threads(i32 noundef) #1
declare i32 @omp_get_thread_num(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm6sneo0x.c'
source_filename = "/tmp/tmpm6sneo0x.c"
target datalayout = "e-m:e-p270: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/tmpm6sneo0x.c"
target datalayout = "e-m:e-p270: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/tmpjb0a0oh6.c'
source_filename = "/tmp/tmpjb0a0oh6.c"
target datalayout = "e-m:e-p270: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 [11 x i8] c"ERROR, %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @error(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = call i32 @perror(ptr noundef @.str.1)
%7 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr 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/tmpjb0a0oh6.c"
target datalayout = "e-m:e-p270: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 [11 x i8] c"ERROR, %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @error(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = call i32 @perror(ptr noundef @.str.1)
%7 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr 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/tmpopfpnhuk.c'
source_filename = "/tmp/tmpopfpnhuk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"What is x ? \0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" %f\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c" y = %.2f \0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"What is the radius ? \0A\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c" The y coordinate = %.2f \0A\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c" The area = %.2f \0A\00", align 1
@.str.6 = private unnamed_addr constant [28 x i8] c" the circumference = %.2f \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca float, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%8 = load float, ptr %1, align 4
%9 = call float @llvm.fmuladd.f32(float 6.000000e+00, float %8, float 3.000000e+00)
store float %9, ptr %2, align 4
store float 6.000000e+00, ptr %2, align 4
%10 = load float, ptr %1, align 4
%11 = load float, ptr %2, align 4
%12 = fmul float %11, %10
store float %12, ptr %2, align 4
%13 = load float, ptr %2, align 4
%14 = fadd float %13, 3.000000e+00
store float %14, ptr %2, align 4
%15 = load float, ptr %2, align 4
%16 = fpext float %15 to double
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %16)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%19 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%20 = load float, ptr %5, align 4
%21 = fpext float %20 to double
%22 = fmul double 3.140000e+00, %21
%23 = load float, ptr %5, align 4
%24 = fpext float %23 to double
%25 = fmul double %22, %24
%26 = fptrunc double %25 to float
store float %26, ptr %3, align 4
store float 0x40091EB860000000, ptr %3, align 4
%27 = load float, ptr %5, align 4
%28 = load float, ptr %3, align 4
%29 = fmul float %28, %27
store float %29, ptr %3, align 4
%30 = load float, ptr %5, align 4
%31 = load float, ptr %3, align 4
%32 = fmul float %31, %30
store float %32, ptr %3, align 4
%33 = load float, ptr %5, align 4
%34 = fpext float %33 to double
%35 = fmul double 6.280000e+00, %34
%36 = fptrunc double %35 to float
store float %36, ptr %4, align 4
store float 2.000000e+00, ptr %4, align 4
%37 = load float, ptr %4, align 4
%38 = fpext float %37 to double
%39 = fmul double %38, 3.140000e+00
%40 = fptrunc double %39 to float
store float %40, ptr %4, align 4
%41 = load float, ptr %5, align 4
%42 = load float, ptr %4, align 4
%43 = fmul float %42, %41
store float %43, ptr %4, align 4
%44 = load float, ptr %2, align 4
%45 = fpext float %44 to double
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %45)
%47 = load float, ptr %3, align 4
%48 = fpext float %47 to double
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %48)
%50 = load float, ptr %4, align 4
%51 = fpext float %50 to double
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %51)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpopfpnhuk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"What is x ? \0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" %f\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c" y = %.2f \0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"What is the radius ? \0A\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c" The y coordinate = %.2f \0A\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c" The area = %.2f \0A\00", align 1
@.str.6 = private unnamed_addr constant [28 x i8] c" the circumference = %.2f \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca float, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%8 = load float, ptr %1, align 4
%9 = call float @llvm.fmuladd.f32(float 6.000000e+00, float %8, float 3.000000e+00)
store float %9, ptr %2, align 4
store float 6.000000e+00, ptr %2, align 4
%10 = load float, ptr %1, align 4
%11 = load float, ptr %2, align 4
%12 = fmul float %11, %10
store float %12, ptr %2, align 4
%13 = load float, ptr %2, align 4
%14 = fadd float %13, 3.000000e+00
store float %14, ptr %2, align 4
%15 = load float, ptr %2, align 4
%16 = fpext float %15 to double
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %16)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%19 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%20 = load float, ptr %5, align 4
%21 = fpext float %20 to double
%22 = fmul double 3.140000e+00, %21
%23 = load float, ptr %5, align 4
%24 = fpext float %23 to double
%25 = fmul double %22, %24
%26 = fptrunc double %25 to float
store float %26, ptr %3, align 4
store float 0x40091EB860000000, ptr %3, align 4
%27 = load float, ptr %5, align 4
%28 = load float, ptr %3, align 4
%29 = fmul float %28, %27
store float %29, ptr %3, align 4
%30 = load float, ptr %5, align 4
%31 = load float, ptr %3, align 4
%32 = fmul float %31, %30
store float %32, ptr %3, align 4
%33 = load float, ptr %5, align 4
%34 = fpext float %33 to double
%35 = fmul double 6.280000e+00, %34
%36 = fptrunc double %35 to float
store float %36, ptr %4, align 4
store float 2.000000e+00, ptr %4, align 4
%37 = load float, ptr %4, align 4
%38 = fpext float %37 to double
%39 = fmul double %38, 3.140000e+00
%40 = fptrunc double %39 to float
store float %40, ptr %4, align 4
%41 = load float, ptr %5, align 4
%42 = load float, ptr %4, align 4
%43 = fmul float %42, %41
store float %43, ptr %4, align 4
%44 = load float, ptr %2, align 4
%45 = fpext float %44 to double
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %45)
%47 = load float, ptr %3, align 4
%48 = fpext float %47 to double
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %48)
%50 = load float, ptr %4, align 4
%51 = fpext float %50 to double
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %51)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjvu9y9n4.c'
source_filename = "/tmp/tmpjvu9y9n4.c"
target datalayout = "e-m:e-p270: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/tmpjvu9y9n4.c"
target datalayout = "e-m:e-p270: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/tmpbctwzaox.c'
source_filename = "/tmp/tmpbctwzaox.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ascii_strncasecmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i8, align 1
%11 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %8, align 8
%13 = load ptr, ptr %6, align 8
store ptr %13, ptr %9, align 8
%14 = load ptr, ptr %8, align 8
%15 = load ptr, ptr %9, align 8
%16 = icmp eq ptr %14, %15
br i1 %16, label %20, label %17
17: ; preds = %3
%18 = load i64, ptr %7, align 8
%19 = icmp ne i64 %18, 0
br i1 %19, label %21, label %20
20: ; preds = %17, %3
store i32 0, ptr %4, align 4
br label %54
21: ; preds = %17
br label %22
22: ; preds = %42, %21
%23 = load ptr, ptr %8, align 8
%24 = load i8, ptr %23, align 1
%25 = call zeroext i8 @ascii_tolower(i8 noundef zeroext %24)
store i8 %25, ptr %10, align 1
%26 = load ptr, ptr %9, align 8
%27 = load i8, ptr %26, align 1
%28 = call zeroext i8 @ascii_tolower(i8 noundef zeroext %27)
store i8 %28, ptr %11, align 1
%29 = load i64, ptr %7, align 8
%30 = add i64 %29, -1
store i64 %30, ptr %7, align 8
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %36
32: ; preds = %22
%33 = load i8, ptr %10, align 1
%34 = zext i8 %33 to i32
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %32, %22
br label %48
37: ; preds = %32
%38 = load ptr, ptr %8, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 1
store ptr %39, ptr %8, align 8
%40 = load ptr, ptr %9, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 1
store ptr %41, ptr %9, align 8
br label %42
42: ; preds = %37
%43 = load i8, ptr %10, align 1
%44 = zext i8 %43 to i32
%45 = load i8, ptr %11, align 1
%46 = zext i8 %45 to i32
%47 = icmp eq i32 %44, %46
br i1 %47, label %22, label %48, !llvm.loop !6
48: ; preds = %42, %36
%49 = load i8, ptr %10, align 1
%50 = zext i8 %49 to i32
%51 = load i8, ptr %11, align 1
%52 = zext i8 %51 to i32
%53 = sub nsw i32 %50, %52
store i32 %53, ptr %4, align 4
br label %54
54: ; preds = %48, %20
%55 = load i32, ptr %4, align 4
ret i32 %55
}
declare zeroext i8 @ascii_tolower(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbctwzaox.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ascii_strncasecmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i8, align 1
%11 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %8, align 8
%13 = load ptr, ptr %6, align 8
store ptr %13, ptr %9, align 8
%14 = load ptr, ptr %8, align 8
%15 = load ptr, ptr %9, align 8
%16 = icmp eq ptr %14, %15
br i1 %16, label %20, label %17
17: ; preds = %3
%18 = load i64, ptr %7, align 8
%19 = icmp ne i64 %18, 0
br i1 %19, label %21, label %20
20: ; preds = %17, %3
store i32 0, ptr %4, align 4
br label %54
21: ; preds = %17
br label %22
22: ; preds = %42, %21
%23 = load ptr, ptr %8, align 8
%24 = load i8, ptr %23, align 1
%25 = call zeroext i8 @ascii_tolower(i8 noundef zeroext %24)
store i8 %25, ptr %10, align 1
%26 = load ptr, ptr %9, align 8
%27 = load i8, ptr %26, align 1
%28 = call zeroext i8 @ascii_tolower(i8 noundef zeroext %27)
store i8 %28, ptr %11, align 1
%29 = load i64, ptr %7, align 8
%30 = add i64 %29, -1
store i64 %30, ptr %7, align 8
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %36
32: ; preds = %22
%33 = load i8, ptr %10, align 1
%34 = zext i8 %33 to i32
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %32, %22
br label %48
37: ; preds = %32
%38 = load ptr, ptr %8, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 1
store ptr %39, ptr %8, align 8
%40 = load ptr, ptr %9, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 1
store ptr %41, ptr %9, align 8
br label %42
42: ; preds = %37
%43 = load i8, ptr %10, align 1
%44 = zext i8 %43 to i32
%45 = load i8, ptr %11, align 1
%46 = zext i8 %45 to i32
%47 = icmp eq i32 %44, %46
br i1 %47, label %22, label %.loopexit, !llvm.loop !6
.loopexit: ; preds = %42
br label %48
48: ; preds = %.loopexit, %36
%49 = load i8, ptr %10, align 1
%50 = zext i8 %49 to i32
%51 = load i8, ptr %11, align 1
%52 = zext i8 %51 to i32
%53 = sub nsw i32 %50, %52
store i32 %53, ptr %4, align 4
br label %54
54: ; preds = %48, %20
%55 = load i32, ptr %4, align 4
ret i32 %55
}
declare zeroext i8 @ascii_tolower(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpprmvrhvu.c'
source_filename = "/tmp/tmpprmvrhvu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ts_sdt_alloc_init(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = call ptr (...) @ts_sdt_alloc()
store ptr %7, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %11, label %10
10: ; preds = %2
store ptr null, ptr %3, align 8
br label %16
11: ; preds = %2
%12 = load ptr, ptr %6, align 8
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %5, align 4
%15 = call ptr @ts_sdt_init(ptr noundef %12, i32 noundef %13, i32 noundef %14)
store ptr %15, ptr %3, align 8
br label %16
16: ; preds = %11, %10
%17 = load ptr, ptr %3, align 8
ret ptr %17
}
declare ptr @ts_sdt_alloc(...) #1
declare ptr @ts_sdt_init(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/tmpprmvrhvu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ts_sdt_alloc_init(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = call ptr (...) @ts_sdt_alloc()
store ptr %7, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %11, label %10
10: ; preds = %2
store ptr null, ptr %3, align 8
br label %16
11: ; preds = %2
%12 = load ptr, ptr %6, align 8
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %5, align 4
%15 = call ptr @ts_sdt_init(ptr noundef %12, i32 noundef %13, i32 noundef %14)
store ptr %15, ptr %3, align 8
br label %16
16: ; preds = %11, %10
%17 = load ptr, ptr %3, align 8
ret ptr %17
}
declare ptr @ts_sdt_alloc(...) #1
declare ptr @ts_sdt_init(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/tmpy6smh4l_.c'
source_filename = "/tmp/tmpy6smh4l_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@IPC_CREAT = dso_local global i32 0, align 4
@SHM_R = dso_local global i32 0, align 4
@SHM_W = dso_local global i32 0, align 4
@IPC_EXCL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [54 x i8] c">El segmento de memoria compartida ya ha sido creado\0A\00", align 1
@.str.1 = private unnamed_addr constant [49 x i8] c"Error al obtener el id de la memoria compartida\0A\00", align 1
@.str.2 = private unnamed_addr constant [52 x i8] c"\0A>El segmento de memoria compartida ha sido creado\0A\00", align 1
@.str.3 = private unnamed_addr constant [74 x i8] c"************************************************************************\0A\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"ipcs -m\00", align 1
@.str.5 = private unnamed_addr constant [54 x i8] c"Error al obtener la direcci\C3\B3n de memoria compartida\0A\00", align 1
@IPC_RMID = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [41 x i8] c"Error al eliminar la memoria compartida\0A\00", align 1
@.str.7 = private unnamed_addr constant [47 x i8] c">Proceso Padre Vinculado a memoria compartida\0A\00", align 1
@.str.8 = private unnamed_addr constant [32 x i8] c"Error al crear el proceso hijo\0A\00", align 1
@.str.9 = private unnamed_addr constant [62 x i8] c">Memoria compartida marcada como borrada por el proceso Hijo\0A\00", align 1
@.str.10 = private unnamed_addr constant [44 x i8] c"Error al desvincular la memoria compartida\0A\00", align 1
@.str.11 = private unnamed_addr constant [54 x i8] c">Proceso Padre desvinculado de la memoria compartida\0A\00", align 1
@.str.12 = private unnamed_addr constant [55 x i8] c">Memoria compartida borrada por el Sistema Operativo \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr null, ptr %4, align 8
%5 = load i32, ptr @IPC_CREAT, align 4
%6 = load i32, ptr @SHM_R, align 4
%7 = or i32 %5, %6
%8 = load i32, ptr @SHM_W, align 4
%9 = or i32 %7, %8
%10 = load i32, ptr @IPC_EXCL, align 4
%11 = or i32 %9, %10
%12 = call i32 @shmget(i32 noundef 1555, i32 noundef 4, i32 noundef %11)
store i32 %12, ptr %2, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %27
15: ; preds = %0
%16 = call i32 @printf(ptr noundef @.str)
%17 = load i32, ptr @SHM_R, align 4
%18 = load i32, ptr @SHM_W, align 4
%19 = or i32 %17, %18
%20 = call i32 @shmget(i32 noundef 1555, i32 noundef 4, i32 noundef %19)
store i32 %20, ptr %2, align 4
%21 = load i32, ptr %2, align 4
%22 = icmp eq i32 %21, -1
br i1 %22, label %23, label %26
23: ; preds = %15
%24 = call i32 @printf(ptr noundef @.str.1)
%25 = call i32 @exit(i32 noundef -1) #3
unreachable
26: ; preds = %15
br label %29
27: ; preds = %0
%28 = call i32 @printf(ptr noundef @.str.2)
br label %29
29: ; preds = %27, %26
%30 = call i32 @printf(ptr noundef @.str.3)
%31 = call i32 @system(ptr noundef @.str.4)
%32 = call i32 @printf(ptr noundef @.str.3)
%33 = load i32, ptr %2, align 4
%34 = call i64 @shmat(i32 noundef %33, ptr noundef null, i32 noundef 0)
%35 = inttoptr i64 %34 to ptr
store ptr %35, ptr %4, align 8
%36 = load ptr, ptr %4, align 8
%37 = icmp eq ptr %36, inttoptr (i64 -1 to ptr)
br i1 %37, label %38, label %49
38: ; preds = %29
%39 = call i32 @printf(ptr noundef @.str.5)
%40 = load i32, ptr %2, align 4
%41 = load i32, ptr @IPC_RMID, align 4
%42 = call i32 @shmctl(i32 noundef %40, i32 noundef %41, ptr noundef null)
%43 = icmp eq i32 %42, -1
br i1 %43, label %44, label %47
44: ; preds = %38
%45 = call i32 @printf(ptr noundef @.str.6)
%46 = call i32 @exit(i32 noundef -1) #3
unreachable
47: ; preds = %38
%48 = call i32 @exit(i32 noundef -1) #3
unreachable
49: ; preds = %29
%50 = call i32 @printf(ptr noundef @.str.7)
%51 = call i32 (...) @fork()
store i32 %51, ptr %3, align 4
%52 = load i32, ptr %3, align 4
%53 = icmp slt i32 %52, 0
br i1 %53, label %54, label %57
54: ; preds = %49
%55 = call i32 @printf(ptr noundef @.str.8)
%56 = call i32 @exit(i32 noundef -1) #3
unreachable
57: ; preds = %49
%58 = load i32, ptr %3, align 4
%59 = icmp eq i32 %58, 0
br i1 %59, label %60, label %74
60: ; preds = %57
%61 = load i32, ptr %2, align 4
%62 = load i32, ptr @IPC_RMID, align 4
%63 = call i32 @shmctl(i32 noundef %61, i32 noundef %62, ptr noundef null)
%64 = icmp eq i32 %63, -1
br i1 %64, label %65, label %68
65: ; preds = %60
%66 = call i32 @printf(ptr noundef @.str.6)
%67 = call i32 @exit(i32 noundef -1) #3
unreachable
68: ; preds = %60
%69 = call i32 @printf(ptr noundef @.str.9)
%70 = call i32 @printf(ptr noundef @.str.3)
%71 = call i32 @system(ptr noundef @.str.4)
%72 = call i32 @printf(ptr noundef @.str.3)
%73 = call i32 @exit(i32 noundef 0) #3
unreachable
74: ; preds = %57
%75 = load i32, ptr %3, align 4
%76 = icmp sgt i32 %75, 0
br i1 %76, label %77, label %91
77: ; preds = %74
%78 = call i32 @wait(i32 noundef 0)
%79 = load ptr, ptr %4, align 8
%80 = call i32 @shmdt(ptr noundef %79)
%81 = icmp eq i32 %80, -1
br i1 %81, label %82, label %85
82: ; preds = %77
%83 = call i32 @printf(ptr noundef @.str.10)
%84 = call i32 @exit(i32 noundef -1) #3
unreachable
85: ; preds = %77
%86 = call i32 @printf(ptr noundef @.str.11)
%87 = call i32 @printf(ptr noundef @.str.12)
%88 = call i32 @printf(ptr noundef @.str.3)
%89 = call i32 @system(ptr noundef @.str.4)
%90 = call i32 @printf(ptr noundef @.str.3)
br label %91
91: ; preds = %85, %74
%92 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @system(ptr noundef) #1
declare i64 @shmat(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @shmctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fork(...) #1
declare i32 @wait(i32 noundef) #1
declare i32 @shmdt(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpy6smh4l_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@IPC_CREAT = dso_local global i32 0, align 4
@SHM_R = dso_local global i32 0, align 4
@SHM_W = dso_local global i32 0, align 4
@IPC_EXCL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [54 x i8] c">El segmento de memoria compartida ya ha sido creado\0A\00", align 1
@.str.1 = private unnamed_addr constant [49 x i8] c"Error al obtener el id de la memoria compartida\0A\00", align 1
@.str.2 = private unnamed_addr constant [52 x i8] c"\0A>El segmento de memoria compartida ha sido creado\0A\00", align 1
@.str.3 = private unnamed_addr constant [74 x i8] c"************************************************************************\0A\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"ipcs -m\00", align 1
@.str.5 = private unnamed_addr constant [54 x i8] c"Error al obtener la direcci\C3\B3n de memoria compartida\0A\00", align 1
@IPC_RMID = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [41 x i8] c"Error al eliminar la memoria compartida\0A\00", align 1
@.str.7 = private unnamed_addr constant [47 x i8] c">Proceso Padre Vinculado a memoria compartida\0A\00", align 1
@.str.8 = private unnamed_addr constant [32 x i8] c"Error al crear el proceso hijo\0A\00", align 1
@.str.9 = private unnamed_addr constant [62 x i8] c">Memoria compartida marcada como borrada por el proceso Hijo\0A\00", align 1
@.str.10 = private unnamed_addr constant [44 x i8] c"Error al desvincular la memoria compartida\0A\00", align 1
@.str.11 = private unnamed_addr constant [54 x i8] c">Proceso Padre desvinculado de la memoria compartida\0A\00", align 1
@.str.12 = private unnamed_addr constant [55 x i8] c">Memoria compartida borrada por el Sistema Operativo \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr null, ptr %4, align 8
%5 = load i32, ptr @IPC_CREAT, align 4
%6 = load i32, ptr @SHM_R, align 4
%7 = or i32 %5, %6
%8 = load i32, ptr @SHM_W, align 4
%9 = or i32 %7, %8
%10 = load i32, ptr @IPC_EXCL, align 4
%11 = or i32 %9, %10
%12 = call i32 @shmget(i32 noundef 1555, i32 noundef 4, i32 noundef %11)
store i32 %12, ptr %2, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %27
15: ; preds = %0
%16 = call i32 @printf(ptr noundef @.str)
%17 = load i32, ptr @SHM_R, align 4
%18 = load i32, ptr @SHM_W, align 4
%19 = or i32 %17, %18
%20 = call i32 @shmget(i32 noundef 1555, i32 noundef 4, i32 noundef %19)
store i32 %20, ptr %2, align 4
%21 = load i32, ptr %2, align 4
%22 = icmp eq i32 %21, -1
br i1 %22, label %23, label %26
23: ; preds = %15
%24 = call i32 @printf(ptr noundef @.str.1)
%25 = call i32 @exit(i32 noundef -1) #3
unreachable
26: ; preds = %15
br label %29
27: ; preds = %0
%28 = call i32 @printf(ptr noundef @.str.2)
br label %29
29: ; preds = %27, %26
%30 = call i32 @printf(ptr noundef @.str.3)
%31 = call i32 @system(ptr noundef @.str.4)
%32 = call i32 @printf(ptr noundef @.str.3)
%33 = load i32, ptr %2, align 4
%34 = call i64 @shmat(i32 noundef %33, ptr noundef null, i32 noundef 0)
%35 = inttoptr i64 %34 to ptr
store ptr %35, ptr %4, align 8
%36 = load ptr, ptr %4, align 8
%37 = icmp eq ptr %36, inttoptr (i64 -1 to ptr)
br i1 %37, label %38, label %49
38: ; preds = %29
%39 = call i32 @printf(ptr noundef @.str.5)
%40 = load i32, ptr %2, align 4
%41 = load i32, ptr @IPC_RMID, align 4
%42 = call i32 @shmctl(i32 noundef %40, i32 noundef %41, ptr noundef null)
%43 = icmp eq i32 %42, -1
br i1 %43, label %44, label %47
44: ; preds = %38
%45 = call i32 @printf(ptr noundef @.str.6)
%46 = call i32 @exit(i32 noundef -1) #3
unreachable
47: ; preds = %38
%48 = call i32 @exit(i32 noundef -1) #3
unreachable
49: ; preds = %29
%50 = call i32 @printf(ptr noundef @.str.7)
%51 = call i32 (...) @fork()
store i32 %51, ptr %3, align 4
%52 = load i32, ptr %3, align 4
%53 = icmp slt i32 %52, 0
br i1 %53, label %54, label %57
54: ; preds = %49
%55 = call i32 @printf(ptr noundef @.str.8)
%56 = call i32 @exit(i32 noundef -1) #3
unreachable
57: ; preds = %49
%58 = load i32, ptr %3, align 4
%59 = icmp eq i32 %58, 0
br i1 %59, label %60, label %74
60: ; preds = %57
%61 = load i32, ptr %2, align 4
%62 = load i32, ptr @IPC_RMID, align 4
%63 = call i32 @shmctl(i32 noundef %61, i32 noundef %62, ptr noundef null)
%64 = icmp eq i32 %63, -1
br i1 %64, label %65, label %68
65: ; preds = %60
%66 = call i32 @printf(ptr noundef @.str.6)
%67 = call i32 @exit(i32 noundef -1) #3
unreachable
68: ; preds = %60
%69 = call i32 @printf(ptr noundef @.str.9)
%70 = call i32 @printf(ptr noundef @.str.3)
%71 = call i32 @system(ptr noundef @.str.4)
%72 = call i32 @printf(ptr noundef @.str.3)
%73 = call i32 @exit(i32 noundef 0) #3
unreachable
74: ; preds = %57
%75 = load i32, ptr %3, align 4
%76 = icmp sgt i32 %75, 0
br i1 %76, label %77, label %91
77: ; preds = %74
%78 = call i32 @wait(i32 noundef 0)
%79 = load ptr, ptr %4, align 8
%80 = call i32 @shmdt(ptr noundef %79)
%81 = icmp eq i32 %80, -1
br i1 %81, label %82, label %85
82: ; preds = %77
%83 = call i32 @printf(ptr noundef @.str.10)
%84 = call i32 @exit(i32 noundef -1) #3
unreachable
85: ; preds = %77
%86 = call i32 @printf(ptr noundef @.str.11)
%87 = call i32 @printf(ptr noundef @.str.12)
%88 = call i32 @printf(ptr noundef @.str.3)
%89 = call i32 @system(ptr noundef @.str.4)
%90 = call i32 @printf(ptr noundef @.str.3)
br label %91
91: ; preds = %85, %74
%92 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @system(ptr noundef) #1
declare i64 @shmat(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @shmctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fork(...) #1
declare i32 @wait(i32 noundef) #1
declare i32 @shmdt(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmphgew0uvt.c'
source_filename = "/tmp/tmphgew0uvt.c"
target datalayout = "e-m:e-p270: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/tmphgew0uvt.c"
target datalayout = "e-m:e-p270: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/tmp9jminy16.c'
source_filename = "/tmp/tmp9jminy16.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"log\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @Log(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call i32 @log(double noundef %3)
%5 = call double @errcheck(i32 noundef %4, ptr noundef @.str)
ret double %5
}
declare double @errcheck(i32 noundef, ptr noundef) #1
declare i32 @log(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/tmp9jminy16.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"log\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @Log(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call i32 @log(double noundef %3)
%5 = call double @errcheck(i32 noundef %4, ptr noundef @.str)
ret double %5
}
declare double @errcheck(i32 noundef, ptr noundef) #1
declare i32 @log(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/tmpudfkzjl9.c'
source_filename = "/tmp/tmpudfkzjl9.c"
target datalayout = "e-m:e-p270: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 [38 x i8] c"...Please press <Enter> to read on...\00", align 1
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @waitForReturn() #0 {
%1 = alloca [2 x i8], align 1
%2 = load i32, ptr @stderr, align 4
%3 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str)
%4 = getelementptr inbounds [2 x i8], ptr %1, i64 0, i64 0
%5 = load i32, ptr @stdin, align 4
%6 = call i32 @fgets(ptr noundef %4, i32 noundef 2, i32 noundef %5)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpudfkzjl9.c"
target datalayout = "e-m:e-p270: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 [38 x i8] c"...Please press <Enter> to read on...\00", align 1
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @waitForReturn() #0 {
%1 = alloca [2 x i8], align 1
%2 = load i32, ptr @stderr, align 4
%3 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str)
%4 = getelementptr inbounds [2 x i8], ptr %1, i64 0, i64 0
%5 = load i32, ptr @stdin, align 4
%6 = call i32 @fgets(ptr noundef %4, i32 noundef 2, i32 noundef %5)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz_wi7cd3.c'
source_filename = "/tmp/tmpz_wi7cd3.c"
target datalayout = "e-m:e-p270: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/tmpz_wi7cd3.c"
target datalayout = "e-m:e-p270: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/tmps485yjel.c'
source_filename = "/tmp/tmps485yjel.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atoi(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 i64 @strtol(ptr noundef %3, ptr noundef null, i32 noundef 10)
%5 = trunc i64 %4 to i32
ret i32 %5
}
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps485yjel.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atoi(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 i64 @strtol(ptr noundef %3, ptr noundef null, i32 noundef 10)
%5 = trunc i64 %4 to i32
ret i32 %5
}
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm2oh_str.c'
source_filename = "/tmp/tmpm2oh_str.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = dso_local global i32 0, align 4
; 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 (...) @fsh_loop()
%7 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %7
}
declare i32 @fsh_loop(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm2oh_str.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = dso_local global i32 0, align 4
; 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 (...) @fsh_loop()
%7 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %7
}
declare i32 @fsh_loop(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvopdqwp6.c'
source_filename = "/tmp/tmpvopdqwp6.c"
target datalayout = "e-m:e-p270: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/tmpvopdqwp6.c"
target datalayout = "e-m:e-p270: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/tmpn5na_kh0.c'
source_filename = "/tmp/tmpn5na_kh0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"inet_mode: %s\0A\00", align 1
@MAXNAMLEN = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c".ntk\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"inet_mode .ntk\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c".inet\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"inet_mode abbrevate: %s\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@AF_INET6 = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [18 x i8] c"inet_mode normal\0A\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"inet_mode abnormal\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @inet_mode(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9)
%11 = load i32, ptr @MAXNAMLEN, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %5, align 8
%14 = alloca i8, i64 %12, align 16
store i64 %12, ptr %6, align 8
%15 = load ptr, ptr %2, align 8
%16 = call i32 @strcpy(ptr noundef %14, ptr noundef %15)
%17 = call ptr @strstr(ptr noundef %14, ptr noundef @.str.1)
store ptr %17, ptr %3, align 8
%18 = load ptr, ptr %3, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %22
20: ; preds = %1
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %66
22: ; preds = %1
%23 = call ptr @strstr(ptr noundef %14, ptr noundef @.str.3)
store ptr %23, ptr %3, align 8
%24 = call ptr @strstr(ptr noundef %14, ptr noundef @.str.3)
store ptr %24, ptr %4, align 8
%25 = load ptr, ptr %4, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %33
27: ; preds = %22
%28 = call i32 @strlen(ptr noundef %14)
%29 = sub nsw i32 %28, 5
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %14, i64 %30
store i8 0, ptr %31, align 1
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %14)
br label %33
33: ; preds = %27, %22
%34 = load ptr, ptr %3, align 8
%35 = icmp eq ptr %34, null
br i1 %35, label %39, label %36
36: ; preds = %33
%37 = load ptr, ptr %4, align 8
%38 = icmp ne ptr %37, null
br i1 %38, label %39, label %61
39: ; preds = %36, %33
%40 = call i32 @isValidIpv4Address(ptr noundef %14)
store i32 %40, ptr %7, align 4
%41 = load i32, ptr %7, align 4
%42 = load i32, ptr @AF_INET, align 4
%43 = icmp eq i32 %41, %42
br i1 %43, label %44, label %47
44: ; preds = %39
%45 = load i32, ptr @AF_INET, align 4
%46 = call i32 @inetipForwarding(ptr noundef %14, i32 noundef %45)
br label %47
47: ; preds = %44, %39
%48 = load i32, ptr %7, align 4
%49 = load i32, ptr @AF_INET6, align 4
%50 = icmp eq i32 %48, %49
br i1 %50, label %51, label %54
51: ; preds = %47
%52 = load i32, ptr @AF_INET6, align 4
%53 = call i32 @inetipForwarding(ptr noundef %14, i32 noundef %52)
br label %54
54: ; preds = %51, %47
%55 = load i32, ptr %7, align 4
%56 = icmp eq i32 %55, 0
br i1 %56, label %57, label %59
57: ; preds = %54
%58 = call i32 @inetDNSResolution(ptr noundef %14)
br label %59
59: ; preds = %57, %54
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 1, ptr %8, align 4
br label %93
61: ; preds = %36
%62 = call ptr @strstr(ptr noundef %14, ptr noundef @.str.1)
store ptr %62, ptr %3, align 8
%63 = load ptr, ptr %3, align 8
%64 = icmp ne ptr %63, null
br i1 %64, label %65, label %92
65: ; preds = %61
br label %66
66: ; preds = %65, %20
%67 = call i32 @strlen(ptr noundef %14)
%68 = sub nsw i32 %67, 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %14, i64 %69
store i8 0, ptr %70, align 1
%71 = call i32 @isValidIpv4Address(ptr noundef %14)
store i32 %71, ptr %7, align 4
%72 = load i32, ptr %7, align 4
%73 = load i32, ptr @AF_INET, align 4
%74 = icmp eq i32 %72, %73
br i1 %74, label %75, label %78
75: ; preds = %66
%76 = load i32, ptr @AF_INET, align 4
%77 = call i32 @ntkipForwarding(ptr noundef %14, i32 noundef %76)
br label %78
78: ; preds = %75, %66
%79 = load i32, ptr %7, align 4
%80 = load i32, ptr @AF_INET6, align 4
%81 = icmp eq i32 %79, %80
br i1 %81, label %82, label %85
82: ; preds = %78
%83 = load i32, ptr @AF_INET6, align 4
%84 = call i32 @ntkipForwarding(ptr noundef %14, i32 noundef %83)
br label %85
85: ; preds = %82, %78
%86 = load i32, ptr %7, align 4
%87 = icmp eq i32 %86, 0
br i1 %87, label %88, label %90
88: ; preds = %85
%89 = call i32 @ntkDNSResolution(ptr noundef %14)
br label %90
90: ; preds = %88, %85
%91 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i32 1, ptr %8, align 4
br label %93
92: ; preds = %61
store i32 1, ptr %8, align 4
br label %93
93: ; preds = %92, %90, %59
%94 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %94)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @isValidIpv4Address(ptr noundef) #1
declare i32 @inetipForwarding(ptr noundef, i32 noundef) #1
declare i32 @inetDNSResolution(ptr noundef) #1
declare i32 @ntkipForwarding(ptr noundef, i32 noundef) #1
declare i32 @ntkDNSResolution(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn5na_kh0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"inet_mode: %s\0A\00", align 1
@MAXNAMLEN = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c".ntk\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"inet_mode .ntk\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c".inet\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"inet_mode abbrevate: %s\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@AF_INET6 = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [18 x i8] c"inet_mode normal\0A\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"inet_mode abnormal\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @inet_mode(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9)
%11 = load i32, ptr @MAXNAMLEN, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %5, align 8
%14 = alloca i8, i64 %12, align 16
store i64 %12, ptr %6, align 8
%15 = load ptr, ptr %2, align 8
%16 = call i32 @strcpy(ptr noundef %14, ptr noundef %15)
%17 = call ptr @strstr(ptr noundef %14, ptr noundef @.str.1)
store ptr %17, ptr %3, align 8
%18 = load ptr, ptr %3, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %22
20: ; preds = %1
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %66
22: ; preds = %1
%23 = call ptr @strstr(ptr noundef %14, ptr noundef @.str.3)
store ptr %23, ptr %3, align 8
%24 = call ptr @strstr(ptr noundef %14, ptr noundef @.str.3)
store ptr %24, ptr %4, align 8
%25 = load ptr, ptr %4, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %33
27: ; preds = %22
%28 = call i32 @strlen(ptr noundef %14)
%29 = sub nsw i32 %28, 5
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %14, i64 %30
store i8 0, ptr %31, align 1
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %14)
br label %33
33: ; preds = %27, %22
%34 = load ptr, ptr %3, align 8
%35 = icmp eq ptr %34, null
br i1 %35, label %39, label %36
36: ; preds = %33
%37 = load ptr, ptr %4, align 8
%38 = icmp ne ptr %37, null
br i1 %38, label %39, label %61
39: ; preds = %36, %33
%40 = call i32 @isValidIpv4Address(ptr noundef %14)
store i32 %40, ptr %7, align 4
%41 = load i32, ptr %7, align 4
%42 = load i32, ptr @AF_INET, align 4
%43 = icmp eq i32 %41, %42
br i1 %43, label %44, label %47
44: ; preds = %39
%45 = load i32, ptr @AF_INET, align 4
%46 = call i32 @inetipForwarding(ptr noundef %14, i32 noundef %45)
br label %47
47: ; preds = %44, %39
%48 = load i32, ptr %7, align 4
%49 = load i32, ptr @AF_INET6, align 4
%50 = icmp eq i32 %48, %49
br i1 %50, label %51, label %54
51: ; preds = %47
%52 = load i32, ptr @AF_INET6, align 4
%53 = call i32 @inetipForwarding(ptr noundef %14, i32 noundef %52)
br label %54
54: ; preds = %51, %47
%55 = load i32, ptr %7, align 4
%56 = icmp eq i32 %55, 0
br i1 %56, label %57, label %59
57: ; preds = %54
%58 = call i32 @inetDNSResolution(ptr noundef %14)
br label %59
59: ; preds = %57, %54
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 1, ptr %8, align 4
br label %93
61: ; preds = %36
%62 = call ptr @strstr(ptr noundef %14, ptr noundef @.str.1)
store ptr %62, ptr %3, align 8
%63 = load ptr, ptr %3, align 8
%64 = icmp ne ptr %63, null
br i1 %64, label %65, label %92
65: ; preds = %61
br label %66
66: ; preds = %65, %20
%67 = call i32 @strlen(ptr noundef %14)
%68 = sub nsw i32 %67, 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %14, i64 %69
store i8 0, ptr %70, align 1
%71 = call i32 @isValidIpv4Address(ptr noundef %14)
store i32 %71, ptr %7, align 4
%72 = load i32, ptr %7, align 4
%73 = load i32, ptr @AF_INET, align 4
%74 = icmp eq i32 %72, %73
br i1 %74, label %75, label %78
75: ; preds = %66
%76 = load i32, ptr @AF_INET, align 4
%77 = call i32 @ntkipForwarding(ptr noundef %14, i32 noundef %76)
br label %78
78: ; preds = %75, %66
%79 = load i32, ptr %7, align 4
%80 = load i32, ptr @AF_INET6, align 4
%81 = icmp eq i32 %79, %80
br i1 %81, label %82, label %85
82: ; preds = %78
%83 = load i32, ptr @AF_INET6, align 4
%84 = call i32 @ntkipForwarding(ptr noundef %14, i32 noundef %83)
br label %85
85: ; preds = %82, %78
%86 = load i32, ptr %7, align 4
%87 = icmp eq i32 %86, 0
br i1 %87, label %88, label %90
88: ; preds = %85
%89 = call i32 @ntkDNSResolution(ptr noundef %14)
br label %90
90: ; preds = %88, %85
%91 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i32 1, ptr %8, align 4
br label %93
92: ; preds = %61
store i32 1, ptr %8, align 4
br label %93
93: ; preds = %92, %90, %59
%94 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %94)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @isValidIpv4Address(ptr noundef) #1
declare i32 @inetipForwarding(ptr noundef, i32 noundef) #1
declare i32 @inetDNSResolution(ptr noundef) #1
declare i32 @ntkipForwarding(ptr noundef, i32 noundef) #1
declare i32 @ntkDNSResolution(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpden_iviv.c'
source_filename = "/tmp/tmpden_iviv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i64 0, ptr %3, align 8
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
br label %6
6: ; preds = %9, %0
%7 = load i64, ptr %2, align 8
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %16
9: ; preds = %6
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%11 = load i64, ptr %3, align 8
%12 = load i64, ptr %4, align 8
%13 = xor i64 %11, %12
store i64 %13, ptr %3, align 8
%14 = load i64, ptr %2, align 8
%15 = add nsw i64 %14, -1
store i64 %15, ptr %2, align 8
br label %6, !llvm.loop !6
16: ; preds = %6
%17 = load i64, ptr %3, align 8
%18 = call i32 @printf(ptr noundef @.str, i64 noundef %17)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpden_iviv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i64 0, ptr %3, align 8
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%6 = load i64, ptr %2, align 8
%7 = icmp ne i64 %6, 0
br i1 %7, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %8
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%10 = load i64, ptr %3, align 8
%11 = load i64, ptr %4, align 8
%12 = xor i64 %10, %11
store i64 %12, ptr %3, align 8
%13 = load i64, ptr %2, align 8
%14 = add nsw i64 %13, -1
store i64 %14, ptr %2, align 8
%15 = load i64, ptr %2, align 8
%16 = icmp ne i64 %15, 0
br i1 %16, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %17
17: ; preds = %._crit_edge, %0
%18 = load i64, ptr %3, align 8
%19 = call i32 @printf(ptr noundef @.str, i64 noundef %18)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmppjgs5h7z.c'
source_filename = "/tmp/tmppjgs5h7z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qsort1(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp sge i32 %11, %12
br i1 %13, label %14, label %15
14: ; preds = %4
br label %70
15: ; preds = %4
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %6, align 8
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %8, align 4
%21 = add nsw i32 %19, %20
%22 = sdiv i32 %21, 2
%23 = call i32 @swap2(ptr noundef %16, ptr noundef %17, i32 noundef %18, i32 noundef %22)
%24 = load i32, ptr %7, align 4
store i32 %24, ptr %10, align 4
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %9, align 4
br label %27
27: ; preds = %51, %15
%28 = load i32, ptr %9, align 4
%29 = load i32, ptr %8, align 4
%30 = icmp sle i32 %28, %29
br i1 %30, label %31, label %54
31: ; preds = %27
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %9, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
%36 = load i32, ptr %35, align 4
%37 = load ptr, ptr %5, align 8
%38 = load i32, ptr %7, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
%41 = load i32, ptr %40, align 4
%42 = icmp slt i32 %36, %41
br i1 %42, label %43, label %50
43: ; preds = %31
%44 = load ptr, ptr %5, align 8
%45 = load ptr, ptr %6, align 8
%46 = load i32, ptr %10, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %10, align 4
%48 = load i32, ptr %9, align 4
%49 = call i32 @swap2(ptr noundef %44, ptr noundef %45, i32 noundef %47, i32 noundef %48)
br label %50
50: ; preds = %43, %31
br label %51
51: ; preds = %50
%52 = load i32, ptr %9, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %9, align 4
br label %27, !llvm.loop !6
54: ; preds = %27
%55 = load ptr, ptr %5, align 8
%56 = load ptr, ptr %6, align 8
%57 = load i32, ptr %7, align 4
%58 = load i32, ptr %10, align 4
%59 = call i32 @swap2(ptr noundef %55, ptr noundef %56, i32 noundef %57, i32 noundef %58)
%60 = load ptr, ptr %5, align 8
%61 = load ptr, ptr %6, align 8
%62 = load i32, ptr %7, align 4
%63 = load i32, ptr %10, align 4
%64 = sub nsw i32 %63, 1
call void @qsort1(ptr noundef %60, ptr noundef %61, i32 noundef %62, i32 noundef %64)
%65 = load ptr, ptr %5, align 8
%66 = load ptr, ptr %6, align 8
%67 = load i32, ptr %10, align 4
%68 = add nsw i32 %67, 1
%69 = load i32, ptr %8, align 4
call void @qsort1(ptr noundef %65, ptr noundef %66, i32 noundef %68, i32 noundef %69)
br label %70
70: ; preds = %54, %14
ret void
}
declare i32 @swap2(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppjgs5h7z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qsort1(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp sge i32 %11, %12
br i1 %13, label %14, label %15
14: ; preds = %4
br label %72
15: ; preds = %4
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %6, align 8
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %8, align 4
%21 = add nsw i32 %19, %20
%22 = sdiv i32 %21, 2
%23 = call i32 @swap2(ptr noundef %16, ptr noundef %17, i32 noundef %18, i32 noundef %22)
%24 = load i32, ptr %7, align 4
store i32 %24, ptr %10, align 4
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %9, align 4
%27 = load i32, ptr %9, align 4
%28 = load i32, ptr %8, align 4
%29 = icmp sle i32 %27, %28
br i1 %29, label %.lr.ph, label %56
.lr.ph: ; preds = %15
br label %30
30: ; preds = %.lr.ph, %50
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %9, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %31, i64 %33
%35 = load i32, ptr %34, align 4
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%40 = load i32, ptr %39, align 4
%41 = icmp slt i32 %35, %40
br i1 %41, label %42, label %49
42: ; preds = %30
%43 = load ptr, ptr %5, align 8
%44 = load ptr, ptr %6, align 8
%45 = load i32, ptr %10, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %10, align 4
%47 = load i32, ptr %9, align 4
%48 = call i32 @swap2(ptr noundef %43, ptr noundef %44, i32 noundef %46, i32 noundef %47)
br label %49
49: ; preds = %42, %30
br label %50
50: ; preds = %49
%51 = load i32, ptr %9, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %9, align 4
%53 = load i32, ptr %9, align 4
%54 = load i32, ptr %8, align 4
%55 = icmp sle i32 %53, %54
br i1 %55, label %30, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %56
56: ; preds = %._crit_edge, %15
%57 = load ptr, ptr %5, align 8
%58 = load ptr, ptr %6, align 8
%59 = load i32, ptr %7, align 4
%60 = load i32, ptr %10, align 4
%61 = call i32 @swap2(ptr noundef %57, ptr noundef %58, i32 noundef %59, i32 noundef %60)
%62 = load ptr, ptr %5, align 8
%63 = load ptr, ptr %6, align 8
%64 = load i32, ptr %7, align 4
%65 = load i32, ptr %10, align 4
%66 = sub nsw i32 %65, 1
call void @qsort1(ptr noundef %62, ptr noundef %63, i32 noundef %64, i32 noundef %66)
%67 = load ptr, ptr %5, align 8
%68 = load ptr, ptr %6, align 8
%69 = load i32, ptr %10, align 4
%70 = add nsw i32 %69, 1
%71 = load i32, ptr %8, align 4
call void @qsort1(ptr noundef %67, ptr noundef %68, i32 noundef %70, i32 noundef %71)
br label %72
72: ; preds = %56, %14
ret void
}
declare i32 @swap2(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_28a5hjx.c'
source_filename = "/tmp/tmp_28a5hjx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @isspace(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i8 %0, ptr %3, align 1
%4 = load i8, ptr %3, align 1
%5 = zext i8 %4 to i32
%6 = icmp eq i32 %5, 32
br i1 %6, label %27, label %7
7: ; preds = %1
%8 = load i8, ptr %3, align 1
%9 = zext i8 %8 to i32
%10 = icmp eq i32 %9, 12
br i1 %10, label %27, label %11
11: ; preds = %7
%12 = load i8, ptr %3, align 1
%13 = zext i8 %12 to i32
%14 = icmp eq i32 %13, 10
br i1 %14, label %27, label %15
15: ; preds = %11
%16 = load i8, ptr %3, align 1
%17 = zext i8 %16 to i32
%18 = icmp eq i32 %17, 13
br i1 %18, label %27, label %19
19: ; preds = %15
%20 = load i8, ptr %3, align 1
%21 = zext i8 %20 to i32
%22 = icmp eq i32 %21, 9
br i1 %22, label %27, label %23
23: ; preds = %19
%24 = load i8, ptr %3, align 1
%25 = zext i8 %24 to i32
%26 = icmp eq i32 %25, 11
br i1 %26, label %27, label %28
27: ; preds = %23, %19, %15, %11, %7, %1
store i8 1, ptr %2, align 1
br label %29
28: ; preds = %23
store i8 0, ptr %2, align 1
br label %29
29: ; preds = %28, %27
%30 = load i8, ptr %2, align 1
ret i8 %30
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_28a5hjx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @isspace(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i8 %0, ptr %3, align 1
%4 = load i8, ptr %3, align 1
%5 = zext i8 %4 to i32
%6 = icmp eq i32 %5, 32
br i1 %6, label %27, label %7
7: ; preds = %1
%8 = load i8, ptr %3, align 1
%9 = zext i8 %8 to i32
%10 = icmp eq i32 %9, 12
br i1 %10, label %27, label %11
11: ; preds = %7
%12 = load i8, ptr %3, align 1
%13 = zext i8 %12 to i32
%14 = icmp eq i32 %13, 10
br i1 %14, label %27, label %15
15: ; preds = %11
%16 = load i8, ptr %3, align 1
%17 = zext i8 %16 to i32
%18 = icmp eq i32 %17, 13
br i1 %18, label %27, label %19
19: ; preds = %15
%20 = load i8, ptr %3, align 1
%21 = zext i8 %20 to i32
%22 = icmp eq i32 %21, 9
br i1 %22, label %27, label %23
23: ; preds = %19
%24 = load i8, ptr %3, align 1
%25 = zext i8 %24 to i32
%26 = icmp eq i32 %25, 11
br i1 %26, label %27, label %28
27: ; preds = %23, %19, %15, %11, %7, %1
store i8 1, ptr %2, align 1
br label %29
28: ; preds = %23
store i8 0, ptr %2, align 1
br label %29
29: ; preds = %28, %27
%30 = load i8, ptr %2, align 1
ret i8 %30
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbeerckd6.c'
source_filename = "/tmp/tmpbeerckd6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"imagefile\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"Have you run ulogin?\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Usage: %s <uid> <file> ...\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%o\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"Unable to open %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"cwd\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"/%s\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [1024 x i8], align 16
%10 = alloca ptr, align 8
%11 = 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
%12 = call ptr @getsetting(ptr noundef @.str)
store ptr %12, ptr %11, align 8
%13 = load ptr, ptr %11, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %17, label %15
15: ; preds = %2
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 10, ptr %3, align 4
br label %104
17: ; preds = %2
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %18, 3
br i1 %19, label %20, label %25
20: ; preds = %17
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 0
%23 = load ptr, ptr %22, align 8
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %23)
store i32 10, ptr %3, align 4
br label %104
25: ; preds = %17
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = call i32 @sscanf(ptr noundef %28, ptr noundef @.str.3, ptr noundef %8)
%30 = load ptr, ptr %11, align 8
%31 = call ptr @fsopen(ptr noundef %30)
store ptr %31, ptr %6, align 8
%32 = load ptr, ptr %6, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %37, label %34
34: ; preds = %25
%35 = load ptr, ptr %11, align 8
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %35)
store i32 10, ptr %3, align 4
br label %104
37: ; preds = %25
%38 = call ptr @getsetting(ptr noundef @.str.5)
store ptr %38, ptr %10, align 8
store i32 2, ptr %7, align 4
br label %39
39: ; preds = %90, %37
%40 = load i32, ptr %7, align 4
%41 = load i32, ptr %4, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %43, label %93
43: ; preds = %39
%44 = load ptr, ptr %5, align 8
%45 = load i32, ptr %7, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds ptr, ptr %44, i64 %46
%48 = load ptr, ptr %47, align 8
%49 = getelementptr inbounds i8, ptr %48, i64 0
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp eq i32 %51, 47
br i1 %52, label %53, label %62
53: ; preds = %43
%54 = load ptr, ptr %6, align 8
%55 = load ptr, ptr %5, align 8
%56 = load i32, ptr %7, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds ptr, ptr %55, i64 %57
%59 = load ptr, ptr %58, align 8
%60 = load i32, ptr %8, align 4
%61 = call i32 @uchown(ptr noundef %54, ptr noundef %59, i32 noundef %60)
br label %89
62: ; preds = %43
%63 = load ptr, ptr %10, align 8
%64 = icmp ne ptr %63, null
br i1 %64, label %73, label %65
65: ; preds = %62
%66 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%67 = load ptr, ptr %5, align 8
%68 = load i32, ptr %7, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds ptr, ptr %67, i64 %69
%71 = load ptr, ptr %70, align 8
%72 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %66, ptr noundef @.str.6, ptr noundef %71)
br label %82
73: ; preds = %62
%74 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%75 = load ptr, ptr %10, align 8
%76 = load ptr, ptr %5, align 8
%77 = load i32, ptr %7, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds ptr, ptr %76, i64 %78
%80 = load ptr, ptr %79, align 8
%81 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %74, ptr noundef @.str.7, ptr noundef %75, ptr noundef %80)
br label %82
82: ; preds = %73, %65
%83 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%84 = call i32 @compresspath(ptr noundef %83)
%85 = load ptr, ptr %6, align 8
%86 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%87 = load i32, ptr %8, align 4
%88 = call i32 @uchown(ptr noundef %85, ptr noundef %86, i32 noundef %87)
br label %89
89: ; preds = %82, %53
br label %90
90: ; preds = %89
%91 = load i32, ptr %7, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %7, align 4
br label %39, !llvm.loop !6
93: ; preds = %39
%94 = load ptr, ptr %6, align 8
%95 = call i32 @fsclose(ptr noundef %94)
%96 = load ptr, ptr %10, align 8
%97 = icmp ne ptr %96, null
br i1 %97, label %98, label %101
98: ; preds = %93
%99 = load ptr, ptr %10, align 8
%100 = call i32 @free(ptr noundef %99)
br label %101
101: ; preds = %98, %93
%102 = load ptr, ptr %11, align 8
%103 = call i32 @free(ptr noundef %102)
store i32 0, ptr %3, align 4
br label %104
104: ; preds = %101, %34, %20, %15
%105 = load i32, ptr %3, align 4
ret i32 %105
}
declare ptr @getsetting(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @fsopen(ptr noundef) #1
declare i32 @uchown(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @compresspath(ptr noundef) #1
declare i32 @fsclose(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbeerckd6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"imagefile\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"Have you run ulogin?\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Usage: %s <uid> <file> ...\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%o\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"Unable to open %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"cwd\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"/%s\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [1024 x i8], align 16
%10 = alloca ptr, align 8
%11 = 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
%12 = call ptr @getsetting(ptr noundef @.str)
store ptr %12, ptr %11, align 8
%13 = load ptr, ptr %11, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %17, label %15
15: ; preds = %2
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 10, ptr %3, align 4
br label %106
17: ; preds = %2
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %18, 3
br i1 %19, label %20, label %25
20: ; preds = %17
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 0
%23 = load ptr, ptr %22, align 8
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %23)
store i32 10, ptr %3, align 4
br label %106
25: ; preds = %17
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = call i32 @sscanf(ptr noundef %28, ptr noundef @.str.3, ptr noundef %8)
%30 = load ptr, ptr %11, align 8
%31 = call ptr @fsopen(ptr noundef %30)
store ptr %31, ptr %6, align 8
%32 = load ptr, ptr %6, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %37, label %34
34: ; preds = %25
%35 = load ptr, ptr %11, align 8
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %35)
store i32 10, ptr %3, align 4
br label %106
37: ; preds = %25
%38 = call ptr @getsetting(ptr noundef @.str.5)
store ptr %38, ptr %10, align 8
store i32 2, ptr %7, align 4
%39 = load i32, ptr %7, align 4
%40 = load i32, ptr %4, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %.lr.ph, label %95
.lr.ph: ; preds = %37
br label %42
42: ; preds = %.lr.ph, %89
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %7, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds ptr, ptr %43, i64 %45
%47 = load ptr, ptr %46, align 8
%48 = getelementptr inbounds i8, ptr %47, i64 0
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %50, 47
br i1 %51, label %52, label %61
52: ; preds = %42
%53 = load ptr, ptr %6, align 8
%54 = load ptr, ptr %5, align 8
%55 = load i32, ptr %7, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds ptr, ptr %54, i64 %56
%58 = load ptr, ptr %57, align 8
%59 = load i32, ptr %8, align 4
%60 = call i32 @uchown(ptr noundef %53, ptr noundef %58, i32 noundef %59)
br label %88
61: ; preds = %42
%62 = load ptr, ptr %10, align 8
%63 = icmp ne ptr %62, null
br i1 %63, label %72, label %64
64: ; preds = %61
%65 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%66 = load ptr, ptr %5, align 8
%67 = load i32, ptr %7, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds ptr, ptr %66, i64 %68
%70 = load ptr, ptr %69, align 8
%71 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %65, ptr noundef @.str.6, ptr noundef %70)
br label %81
72: ; preds = %61
%73 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%74 = load ptr, ptr %10, align 8
%75 = load ptr, ptr %5, align 8
%76 = load i32, ptr %7, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds ptr, ptr %75, i64 %77
%79 = load ptr, ptr %78, align 8
%80 = call i32 (ptr, ptr, ptr, ...) @sprintf(ptr noundef %73, ptr noundef @.str.7, ptr noundef %74, ptr noundef %79)
br label %81
81: ; preds = %72, %64
%82 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%83 = call i32 @compresspath(ptr noundef %82)
%84 = load ptr, ptr %6, align 8
%85 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%86 = load i32, ptr %8, align 4
%87 = call i32 @uchown(ptr noundef %84, ptr noundef %85, i32 noundef %86)
br label %88
88: ; preds = %81, %52
br label %89
89: ; preds = %88
%90 = load i32, ptr %7, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %7, align 4
%92 = load i32, ptr %7, align 4
%93 = load i32, ptr %4, align 4
%94 = icmp slt i32 %92, %93
br i1 %94, label %42, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %89
br label %95
95: ; preds = %._crit_edge, %37
%96 = load ptr, ptr %6, align 8
%97 = call i32 @fsclose(ptr noundef %96)
%98 = load ptr, ptr %10, align 8
%99 = icmp ne ptr %98, null
br i1 %99, label %100, label %103
100: ; preds = %95
%101 = load ptr, ptr %10, align 8
%102 = call i32 @free(ptr noundef %101)
br label %103
103: ; preds = %100, %95
%104 = load ptr, ptr %11, align 8
%105 = call i32 @free(ptr noundef %104)
store i32 0, ptr %3, align 4
br label %106
106: ; preds = %103, %34, %20, %15
%107 = load i32, ptr %3, align 4
ret i32 %107
}
declare ptr @getsetting(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @fsopen(ptr noundef) #1
declare i32 @uchown(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @compresspath(ptr noundef) #1
declare i32 @fsclose(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfahz9xd9.c'
source_filename = "/tmp/tmpfahz9xd9.c"
target datalayout = "e-m:e-p270: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/tmpfahz9xd9.c"
target datalayout = "e-m:e-p270: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/tmpq3fhxsxx.c'
source_filename = "/tmp/tmpq3fhxsxx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"---.com\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"UEBC-g2.ctb\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 ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store ptr @.str, ptr %7, align 8
store ptr @.str.1, ptr %8, align 8
%9 = load ptr, ptr %7, align 8
%10 = load ptr, ptr %8, align 8
%11 = call i32 @check_translation(ptr noundef @.str.2, ptr noundef %9, ptr noundef null, ptr noundef %10)
%12 = load i32, ptr %6, align 4
%13 = or i32 %12, %11
store i32 %13, ptr %6, align 4
%14 = call i32 (...) @lou_free()
%15 = load i32, ptr %6, align 4
ret i32 %15
}
declare i32 @check_translation(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @lou_free(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq3fhxsxx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"---.com\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"UEBC-g2.ctb\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 ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store ptr @.str, ptr %7, align 8
store ptr @.str.1, ptr %8, align 8
%9 = load ptr, ptr %7, align 8
%10 = load ptr, ptr %8, align 8
%11 = call i32 @check_translation(ptr noundef @.str.2, ptr noundef %9, ptr noundef null, ptr noundef %10)
%12 = load i32, ptr %6, align 4
%13 = or i32 %12, %11
store i32 %13, ptr %6, align 4
%14 = call i32 (...) @lou_free()
%15 = load i32, ptr %6, align 4
ret i32 %15
}
declare i32 @check_translation(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @lou_free(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnft_4ts6.c'
source_filename = "/tmp/tmpnft_4ts6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SC68time_str.tmp = internal global [12 x i8] c"-- --:--\00\00\00\00", align 1
@.str = private unnamed_addr constant [6 x i8] c"--:--\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%02u:%02u\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @SC68time_str(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %10, label %9
9: ; preds = %3
store ptr @SC68time_str.tmp, ptr %4, align 8
br label %10
10: ; preds = %9, %3
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %10
store i32 0, ptr %5, align 4
br label %19
14: ; preds = %10
%15 = load i32, ptr %5, align 4
%16 = icmp sgt i32 %15, 99
br i1 %16, label %17, label %18
17: ; preds = %14
store i32 99, ptr %5, align 4
br label %18
18: ; preds = %17, %14
br label %19
19: ; preds = %18, %13
%20 = load i32, ptr %5, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %27, label %22
22: ; preds = %19
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 1
store i8 45, ptr %24, align 1
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 0
store i8 45, ptr %26, align 1
br label %40
27: ; preds = %19
%28 = load i32, ptr %5, align 4
%29 = sdiv i32 %28, 10
%30 = add nsw i32 48, %29
%31 = trunc i32 %30 to i8
%32 = load ptr, ptr %4, align 8
%33 = getelementptr inbounds i8, ptr %32, i64 0
store i8 %31, ptr %33, align 1
%34 = load i32, ptr %5, align 4
%35 = srem i32 %34, 10
%36 = add nsw i32 48, %35
%37 = trunc i32 %36 to i8
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds i8, ptr %38, i64 1
store i8 %37, ptr %39, align 1
br label %40
40: ; preds = %27, %22
%41 = load ptr, ptr %4, align 8
%42 = getelementptr inbounds i8, ptr %41, i64 2
store i8 32, ptr %42, align 1
%43 = load i32, ptr %6, align 4
%44 = icmp slt i32 %43, 0
br i1 %44, label %45, label %46
45: ; preds = %40
store i32 -1, ptr %6, align 4
br label %51
46: ; preds = %40
%47 = load i32, ptr %6, align 4
%48 = icmp sgt i32 %47, 5999
br i1 %48, label %49, label %50
49: ; preds = %46
store i32 5999, ptr %6, align 4
br label %50
50: ; preds = %49, %46
br label %51
51: ; preds = %50, %45
%52 = load i32, ptr %6, align 4
%53 = icmp slt i32 %52, 0
br i1 %53, label %54, label %58
54: ; preds = %51
%55 = load ptr, ptr %4, align 8
%56 = getelementptr inbounds i8, ptr %55, i64 3
%57 = call i32 @strcpy(ptr noundef %56, ptr noundef @.str)
br label %66
58: ; preds = %51
%59 = load ptr, ptr %4, align 8
%60 = getelementptr inbounds i8, ptr %59, i64 3
%61 = load i32, ptr %6, align 4
%62 = sdiv i32 %61, 60
%63 = load i32, ptr %6, align 4
%64 = srem i32 %63, 60
%65 = call i32 @sprintf(ptr noundef %60, ptr noundef @.str.1, i32 noundef %62, i32 noundef %64)
br label %66
66: ; preds = %58, %54
%67 = load ptr, ptr %4, align 8
%68 = getelementptr inbounds i8, ptr %67, i64 8
store i8 0, ptr %68, align 1
%69 = load ptr, ptr %4, align 8
ret ptr %69
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, 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/tmpnft_4ts6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SC68time_str.tmp = internal global [12 x i8] c"-- --:--\00\00\00\00", align 1
@.str = private unnamed_addr constant [6 x i8] c"--:--\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%02u:%02u\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @SC68time_str(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %10, label %9
9: ; preds = %3
store ptr @SC68time_str.tmp, ptr %4, align 8
br label %10
10: ; preds = %9, %3
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %10
store i32 0, ptr %5, align 4
br label %19
14: ; preds = %10
%15 = load i32, ptr %5, align 4
%16 = icmp sgt i32 %15, 99
br i1 %16, label %17, label %18
17: ; preds = %14
store i32 99, ptr %5, align 4
br label %18
18: ; preds = %17, %14
br label %19
19: ; preds = %18, %13
%20 = load i32, ptr %5, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %27, label %22
22: ; preds = %19
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 1
store i8 45, ptr %24, align 1
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 0
store i8 45, ptr %26, align 1
br label %40
27: ; preds = %19
%28 = load i32, ptr %5, align 4
%29 = sdiv i32 %28, 10
%30 = add nsw i32 48, %29
%31 = trunc i32 %30 to i8
%32 = load ptr, ptr %4, align 8
%33 = getelementptr inbounds i8, ptr %32, i64 0
store i8 %31, ptr %33, align 1
%34 = load i32, ptr %5, align 4
%35 = srem i32 %34, 10
%36 = add nsw i32 48, %35
%37 = trunc i32 %36 to i8
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds i8, ptr %38, i64 1
store i8 %37, ptr %39, align 1
br label %40
40: ; preds = %27, %22
%41 = load ptr, ptr %4, align 8
%42 = getelementptr inbounds i8, ptr %41, i64 2
store i8 32, ptr %42, align 1
%43 = load i32, ptr %6, align 4
%44 = icmp slt i32 %43, 0
br i1 %44, label %45, label %46
45: ; preds = %40
store i32 -1, ptr %6, align 4
br label %51
46: ; preds = %40
%47 = load i32, ptr %6, align 4
%48 = icmp sgt i32 %47, 5999
br i1 %48, label %49, label %50
49: ; preds = %46
store i32 5999, ptr %6, align 4
br label %50
50: ; preds = %49, %46
br label %51
51: ; preds = %50, %45
%52 = load i32, ptr %6, align 4
%53 = icmp slt i32 %52, 0
br i1 %53, label %54, label %58
54: ; preds = %51
%55 = load ptr, ptr %4, align 8
%56 = getelementptr inbounds i8, ptr %55, i64 3
%57 = call i32 @strcpy(ptr noundef %56, ptr noundef @.str)
br label %66
58: ; preds = %51
%59 = load ptr, ptr %4, align 8
%60 = getelementptr inbounds i8, ptr %59, i64 3
%61 = load i32, ptr %6, align 4
%62 = sdiv i32 %61, 60
%63 = load i32, ptr %6, align 4
%64 = srem i32 %63, 60
%65 = call i32 @sprintf(ptr noundef %60, ptr noundef @.str.1, i32 noundef %62, i32 noundef %64)
br label %66
66: ; preds = %58, %54
%67 = load ptr, ptr %4, align 8
%68 = getelementptr inbounds i8, ptr %67, i64 8
store i8 0, ptr %68, align 1
%69 = load ptr, ptr %4, align 8
ret ptr %69
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, 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/tmp0x9as0bv.c'
source_filename = "/tmp/tmp0x9as0bv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @xstrntol(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i64 0, ptr %9, align 8
%12 = load i64, ptr %7, align 8
%13 = add i64 %12, 1
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %10, align 8
%15 = alloca i8, i64 %13, align 16
store i64 %13, ptr %11, align 8
%16 = load ptr, ptr %5, align 8
%17 = load i64, ptr %7, align 8
%18 = call i32 @memcpy(ptr noundef %15, ptr noundef %16, i64 noundef %17)
%19 = load i64, ptr %7, align 8
%20 = getelementptr inbounds i8, ptr %15, i64 %19
store i8 0, ptr %20, align 1
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %8, align 4
%23 = call i64 @strtol(ptr noundef %15, ptr noundef %21, i32 noundef %22)
store i64 %23, ptr %9, align 8
%24 = load i64, ptr %9, align 8
%25 = load ptr, ptr %10, align 8
call void @llvm.stackrestore(ptr %25)
ret i64 %24
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #2
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0x9as0bv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @xstrntol(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i64 0, ptr %9, align 8
%12 = load i64, ptr %7, align 8
%13 = add i64 %12, 1
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %10, align 8
%15 = alloca i8, i64 %13, align 16
store i64 %13, ptr %11, align 8
%16 = load ptr, ptr %5, align 8
%17 = load i64, ptr %7, align 8
%18 = call i32 @memcpy(ptr noundef %15, ptr noundef %16, i64 noundef %17)
%19 = load i64, ptr %7, align 8
%20 = getelementptr inbounds i8, ptr %15, i64 %19
store i8 0, ptr %20, align 1
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %8, align 4
%23 = call i64 @strtol(ptr noundef %15, ptr noundef %21, i32 noundef %22)
store i64 %23, ptr %9, align 8
%24 = load i64, ptr %9, align 8
%25 = load ptr, ptr %10, align 8
call void @llvm.stackrestore(ptr %25)
ret i64 %24
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #2
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpma77qmax.c'
source_filename = "/tmp/tmpma77qmax.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Strrcmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %7, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %8, align 4
store i32 0, ptr %6, align 4
br label %13
13: ; preds = %63, %2
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %8, align 4
%16 = icmp sle i32 %14, %15
br i1 %16, label %17, label %66
17: ; preds = %13
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %6, align 4
%20 = sub nsw i32 %18, %19
%21 = icmp slt i32 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %17
store i32 -1, ptr %3, align 4
br label %67
23: ; preds = %17
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %6, align 4
%27 = sub nsw i32 %25, %26
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %24, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %8, align 4
%34 = load i32, ptr %6, align 4
%35 = sub nsw i32 %33, %34
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %32, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp sgt i32 %31, %39
br i1 %40, label %41, label %42
41: ; preds = %23
store i32 1, ptr %3, align 4
br label %67
42: ; preds = %23
%43 = load ptr, ptr %4, align 8
%44 = load i32, ptr %7, align 4
%45 = load i32, ptr %6, align 4
%46 = sub nsw i32 %44, %45
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %43, i64 %47
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = load ptr, ptr %5, align 8
%52 = load i32, ptr %8, align 4
%53 = load i32, ptr %6, align 4
%54 = sub nsw i32 %52, %53
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %51, i64 %55
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp slt i32 %50, %58
br i1 %59, label %60, label %61
60: ; preds = %42
store i32 -1, ptr %3, align 4
br label %67
61: ; preds = %42
br label %62
62: ; preds = %61
br label %63
63: ; preds = %62
%64 = load i32, ptr %6, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %6, align 4
br label %13, !llvm.loop !6
66: ; preds = %13
store i32 0, ptr %3, align 4
br label %67
67: ; preds = %66, %60, %41, %22
%68 = load i32, ptr %3, align 4
ret i32 %68
}
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/tmpma77qmax.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Strrcmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %7, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %8, align 4
store i32 0, ptr %6, align 4
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp sle i32 %13, %14
br i1 %15, label %.lr.ph, label %68
.lr.ph: ; preds = %2
br label %16
16: ; preds = %.lr.ph, %62
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %6, align 4
%19 = sub nsw i32 %17, %18
%20 = icmp slt i32 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %16
store i32 -1, ptr %3, align 4
br label %69
22: ; preds = %16
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %6, align 4
%26 = sub nsw i32 %24, %25
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %23, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %6, align 4
%34 = sub nsw i32 %32, %33
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %31, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp sgt i32 %30, %38
br i1 %39, label %40, label %41
40: ; preds = %22
store i32 1, ptr %3, align 4
br label %69
41: ; preds = %22
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %7, align 4
%44 = load i32, ptr %6, align 4
%45 = sub nsw i32 %43, %44
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %42, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = load ptr, ptr %5, align 8
%51 = load i32, ptr %8, align 4
%52 = load i32, ptr %6, align 4
%53 = sub nsw i32 %51, %52
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %50, i64 %54
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp slt i32 %49, %57
br i1 %58, label %59, label %60
59: ; preds = %41
store i32 -1, ptr %3, align 4
br label %69
60: ; preds = %41
br label %61
61: ; preds = %60
br label %62
62: ; preds = %61
%63 = load i32, ptr %6, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %6, align 4
%65 = load i32, ptr %6, align 4
%66 = load i32, ptr %8, align 4
%67 = icmp sle i32 %65, %66
br i1 %67, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %62
br label %68
68: ; preds = %._crit_edge, %2
store i32 0, ptr %3, align 4
br label %69
69: ; preds = %68, %59, %40, %21
%70 = load i32, ptr %3, align 4
ret i32 %70
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp__pybk2j.c'
source_filename = "/tmp/tmp__pybk2j.c"
target datalayout = "e-m:e-p270: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.flock = type { i32, i64, i64, i32, i32 }
@.str = private unnamed_addr constant [10 x i8] c"hello.txt\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@F_WRLCK = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
@F_SETLK = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"return value of lock:%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.flock, align 8
%3 = alloca i32, align 4
%4 = load i32, ptr @O_RDWR, align 4
%5 = load i32, ptr @O_CREAT, align 4
%6 = or i32 %4, %5
%7 = call i32 @open(ptr noundef @.str, i32 noundef %6, i32 noundef 438)
store i32 %7, ptr %1, align 4
%8 = load i32, ptr %1, align 4
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %27
10: ; preds = %0
%11 = load i32, ptr @F_WRLCK, align 4
%12 = getelementptr inbounds %struct.flock, ptr %2, i32 0, i32 4
store i32 %11, ptr %12, align 4
%13 = load i32, ptr @SEEK_SET, align 4
%14 = getelementptr inbounds %struct.flock, ptr %2, i32 0, i32 3
store i32 %13, ptr %14, align 8
%15 = getelementptr inbounds %struct.flock, ptr %2, i32 0, i32 2
store i64 0, ptr %15, align 8
%16 = getelementptr inbounds %struct.flock, ptr %2, i32 0, i32 1
store i64 0, ptr %16, align 8
%17 = call i32 (...) @getpid()
%18 = getelementptr inbounds %struct.flock, ptr %2, i32 0, i32 0
store i32 %17, ptr %18, align 8
%19 = load i32, ptr %1, align 4
%20 = load i32, ptr @F_SETLK, align 4
%21 = call i32 @fcntl(i32 noundef %19, i32 noundef %20, ptr noundef %2)
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = call i32 @printf(ptr noundef @.str.1, i32 noundef %22)
br label %24
24: ; preds = %10, %24
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
br label %24
27: ; preds = %0
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @getpid(...) #1
declare i32 @fcntl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp__pybk2j.c"
target datalayout = "e-m:e-p270: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.flock = type { i32, i64, i64, i32, i32 }
@.str = private unnamed_addr constant [10 x i8] c"hello.txt\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@F_WRLCK = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
@F_SETLK = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"return value of lock:%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.flock, align 8
%3 = alloca i32, align 4
%4 = load i32, ptr @O_RDWR, align 4
%5 = load i32, ptr @O_CREAT, align 4
%6 = or i32 %4, %5
%7 = call i32 @open(ptr noundef @.str, i32 noundef %6, i32 noundef 438)
store i32 %7, ptr %1, align 4
%8 = load i32, ptr %1, align 4
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %27
10: ; preds = %0
%11 = load i32, ptr @F_WRLCK, align 4
%12 = getelementptr inbounds %struct.flock, ptr %2, i32 0, i32 4
store i32 %11, ptr %12, align 4
%13 = load i32, ptr @SEEK_SET, align 4
%14 = getelementptr inbounds %struct.flock, ptr %2, i32 0, i32 3
store i32 %13, ptr %14, align 8
%15 = getelementptr inbounds %struct.flock, ptr %2, i32 0, i32 2
store i64 0, ptr %15, align 8
%16 = getelementptr inbounds %struct.flock, ptr %2, i32 0, i32 1
store i64 0, ptr %16, align 8
%17 = call i32 (...) @getpid()
%18 = getelementptr inbounds %struct.flock, ptr %2, i32 0, i32 0
store i32 %17, ptr %18, align 8
%19 = load i32, ptr %1, align 4
%20 = load i32, ptr @F_SETLK, align 4
%21 = call i32 @fcntl(i32 noundef %19, i32 noundef %20, ptr noundef %2)
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = call i32 @printf(ptr noundef @.str.1, i32 noundef %22)
br label %24
24: ; preds = %24, %10
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
br label %24
27: ; preds = %0
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @getpid(...) #1
declare i32 @fcntl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptj69qdl2.c'
source_filename = "/tmp/tmptj69qdl2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8
@.str = private unnamed_addr constant [35 x i8] c"Los primeros n\C3\BAmeros primos son:\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d, \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [85 x i8] c"Se encontraron %d n\C3\BAmeros primos, y el tiempo transcurrido fue de %f milisegundos \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 double, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%18 = call double (...) @clock()
store double %18, ptr %6, align 8
store i32 48615, ptr %7, align 4
%19 = load i32, ptr %7, align 4
%20 = zext i32 %19 to i64
%21 = call ptr @llvm.stacksave()
store ptr %21, ptr %8, align 8
%22 = alloca i32, i64 %20, align 16
store i64 %20, ptr %9, align 8
%23 = load i32, ptr %7, align 4
%24 = call i32 @sqrt(i32 noundef %23)
%25 = call i32 @floor(i32 noundef %24)
store i32 %25, ptr %10, align 4
store i32 0, ptr %15, align 4
store i32 0, ptr %16, align 4
%26 = load i32, ptr %7, align 4
%27 = call i32 @memset(ptr noundef %22, i32 noundef 0, i32 noundef %26)
store i32 2, ptr %12, align 4
br label %28
28: ; preds = %59, %2
%29 = load i32, ptr %12, align 4
%30 = load i32, ptr %10, align 4
%31 = icmp sle i32 %29, %30
br i1 %31, label %32, label %62
32: ; preds = %28
%33 = load i32, ptr %12, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %22, i64 %34
%36 = load i32, ptr %35, align 4
%37 = icmp ne i32 %36, 0
br i1 %37, label %58, label %38
38: ; preds = %32
%39 = load i32, ptr %7, align 4
%40 = load i32, ptr %12, align 4
%41 = sdiv i32 %39, %40
%42 = call i32 @floor(i32 noundef %41)
store i32 %42, ptr %11, align 4
%43 = load i32, ptr %12, align 4
store i32 %43, ptr %13, align 4
br label %44
44: ; preds = %54, %38
%45 = load i32, ptr %13, align 4
%46 = load i32, ptr %11, align 4
%47 = icmp sle i32 %45, %46
br i1 %47, label %48, label %57
48: ; preds = %44
%49 = load i32, ptr %12, align 4
%50 = load i32, ptr %13, align 4
%51 = mul nsw i32 %49, %50
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i32, ptr %22, i64 %52
store i32 1, ptr %53, align 4
br label %54
54: ; preds = %48
%55 = load i32, ptr %13, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %13, align 4
br label %44, !llvm.loop !6
57: ; preds = %44
br label %58
58: ; preds = %57, %32
br label %59
59: ; preds = %58
%60 = load i32, ptr %12, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %12, align 4
br label %28, !llvm.loop !8
62: ; preds = %28
%63 = call double (...) @clock()
%64 = load double, ptr %6, align 8
%65 = fsub double %63, %64
%66 = load double, ptr @CLOCKS_PER_SEC, align 8
%67 = fdiv double %65, %66
%68 = fmul double %67, 1.000000e+03
store double %68, ptr %17, align 8
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 2, ptr %12, align 4
br label %70
70: ; preds = %100, %62
%71 = load i32, ptr %12, align 4
%72 = load i32, ptr %7, align 4
%73 = icmp sle i32 %71, %72
br i1 %73, label %74, label %103
74: ; preds = %70
%75 = load i32, ptr %12, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i32, ptr %22, i64 %76
%78 = load i32, ptr %77, align 4
%79 = icmp ne i32 %78, 0
br i1 %79, label %87, label %80
80: ; preds = %74
%81 = load i32, ptr %12, align 4
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %81)
%83 = load i32, ptr %15, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %15, align 4
%85 = load i32, ptr %16, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %16, align 4
br label %87
87: ; preds = %80, %74
%88 = load i32, ptr %15, align 4
%89 = icmp eq i32 %88, 10
%90 = zext i1 %89 to i32
%91 = load i32, ptr %12, align 4
%92 = load i32, ptr %7, align 4
%93 = icmp eq i32 %91, %92
%94 = zext i1 %93 to i32
%95 = or i32 %90, %94
%96 = icmp ne i32 %95, 0
br i1 %96, label %97, label %99
97: ; preds = %87
%98 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %15, align 4
br label %99
99: ; preds = %97, %87
br label %100
100: ; preds = %99
%101 = load i32, ptr %12, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %12, align 4
br label %70, !llvm.loop !9
103: ; preds = %70
%104 = load i32, ptr %16, align 4
%105 = load double, ptr %17, align 8
%106 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %104, double noundef %105)
store i32 0, ptr %3, align 4
%107 = load ptr, ptr %8, align 8
call void @llvm.stackrestore(ptr %107)
%108 = load i32, ptr %3, align 4
ret i32 %108
}
declare double @clock(...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @floor(i32 noundef) #1
declare i32 @sqrt(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptj69qdl2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8
@.str = private unnamed_addr constant [35 x i8] c"Los primeros n\C3\BAmeros primos son:\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d, \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [85 x i8] c"Se encontraron %d n\C3\BAmeros primos, y el tiempo transcurrido fue de %f milisegundos \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 double, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%18 = call double (...) @clock()
store double %18, ptr %6, align 8
store i32 48615, ptr %7, align 4
%19 = load i32, ptr %7, align 4
%20 = zext i32 %19 to i64
%21 = call ptr @llvm.stacksave()
store ptr %21, ptr %8, align 8
%22 = alloca i32, i64 %20, align 16
store i64 %20, ptr %9, align 8
%23 = load i32, ptr %7, align 4
%24 = call i32 @sqrt(i32 noundef %23)
%25 = call i32 @floor(i32 noundef %24)
store i32 %25, ptr %10, align 4
store i32 0, ptr %15, align 4
store i32 0, ptr %16, align 4
%26 = load i32, ptr %7, align 4
%27 = call i32 @memset(ptr noundef %22, i32 noundef 0, i32 noundef %26)
store i32 2, ptr %12, align 4
%28 = load i32, ptr %12, align 4
%29 = load i32, ptr %10, align 4
%30 = icmp sle i32 %28, %29
br i1 %30, label %.lr.ph2, label %66
.lr.ph2: ; preds = %2
br label %31
31: ; preds = %.lr.ph2, %60
%32 = load i32, ptr %12, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %22, i64 %33
%35 = load i32, ptr %34, align 4
%36 = icmp ne i32 %35, 0
br i1 %36, label %59, label %37
37: ; preds = %31
%38 = load i32, ptr %7, align 4
%39 = load i32, ptr %12, align 4
%40 = sdiv i32 %38, %39
%41 = call i32 @floor(i32 noundef %40)
store i32 %41, ptr %11, align 4
%42 = load i32, ptr %12, align 4
store i32 %42, ptr %13, align 4
%43 = load i32, ptr %13, align 4
%44 = load i32, ptr %11, align 4
%45 = icmp sle i32 %43, %44
br i1 %45, label %.lr.ph, label %58
.lr.ph: ; preds = %37
br label %46
46: ; preds = %.lr.ph, %52
%47 = load i32, ptr %12, align 4
%48 = load i32, ptr %13, align 4
%49 = mul nsw i32 %47, %48
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %22, i64 %50
store i32 1, ptr %51, align 4
br label %52
52: ; preds = %46
%53 = load i32, ptr %13, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %13, align 4
%55 = load i32, ptr %13, align 4
%56 = load i32, ptr %11, align 4
%57 = icmp sle i32 %55, %56
br i1 %57, label %46, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %52
br label %58
58: ; preds = %._crit_edge, %37
br label %59
59: ; preds = %58, %31
br label %60
60: ; preds = %59
%61 = load i32, ptr %12, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %12, align 4
%63 = load i32, ptr %12, align 4
%64 = load i32, ptr %10, align 4
%65 = icmp sle i32 %63, %64
br i1 %65, label %31, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %60
br label %66
66: ; preds = %._crit_edge3, %2
%67 = call double (...) @clock()
%68 = load double, ptr %6, align 8
%69 = fsub double %67, %68
%70 = load double, ptr @CLOCKS_PER_SEC, align 8
%71 = fdiv double %69, %70
%72 = fmul double %71, 1.000000e+03
store double %72, ptr %17, align 8
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 2, ptr %12, align 4
%74 = load i32, ptr %12, align 4
%75 = load i32, ptr %7, align 4
%76 = icmp sle i32 %74, %75
br i1 %76, label %.lr.ph5, label %109
.lr.ph5: ; preds = %66
br label %77
77: ; preds = %.lr.ph5, %103
%78 = load i32, ptr %12, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i32, ptr %22, i64 %79
%81 = load i32, ptr %80, align 4
%82 = icmp ne i32 %81, 0
br i1 %82, label %90, label %83
83: ; preds = %77
%84 = load i32, ptr %12, align 4
%85 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %84)
%86 = load i32, ptr %15, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %15, align 4
%88 = load i32, ptr %16, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %16, align 4
br label %90
90: ; preds = %83, %77
%91 = load i32, ptr %15, align 4
%92 = icmp eq i32 %91, 10
%93 = zext i1 %92 to i32
%94 = load i32, ptr %12, align 4
%95 = load i32, ptr %7, align 4
%96 = icmp eq i32 %94, %95
%97 = zext i1 %96 to i32
%98 = or i32 %93, %97
%99 = icmp ne i32 %98, 0
br i1 %99, label %100, label %102
100: ; preds = %90
%101 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %15, align 4
br label %102
102: ; preds = %100, %90
br label %103
103: ; preds = %102
%104 = load i32, ptr %12, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %12, align 4
%106 = load i32, ptr %12, align 4
%107 = load i32, ptr %7, align 4
%108 = icmp sle i32 %106, %107
br i1 %108, label %77, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %103
br label %109
109: ; preds = %._crit_edge6, %66
%110 = load i32, ptr %16, align 4
%111 = load double, ptr %17, align 8
%112 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %110, double noundef %111)
store i32 0, ptr %3, align 4
%113 = load ptr, ptr %8, align 8
call void @llvm.stackrestore(ptr %113)
%114 = load i32, ptr %3, align 4
ret i32 %114
}
declare double @clock(...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @floor(i32 noundef) #1
declare i32 @sqrt(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmprmb5p4d4.c'
source_filename = "/tmp/tmprmb5p4d4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Overflow\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"#OF\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @int_04() #0 {
%1 = call i32 @panic(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 0)
ret void
}
declare i32 @panic(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprmb5p4d4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Overflow\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"#OF\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @int_04() #0 {
%1 = call i32 @panic(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 0)
ret void
}
declare i32 @panic(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8mlanw9c.c'
source_filename = "/tmp/tmp8mlanw9c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i64 @malloc(i32 noundef 40)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %14, %0
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 5
br i1 %8, label %9, label %17
9: ; preds = %6
%10 = load i32, ptr %3, align 4
%11 = load ptr, ptr %2, align 8
store i32 %10, ptr %11, align 4
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i32, ptr %12, i32 1
store ptr %13, ptr %2, align 8
br label %14
14: ; preds = %9
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
br label %6, !llvm.loop !6
17: ; preds = %6
%18 = load ptr, ptr %2, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 -5
store ptr %19, ptr %2, align 8
%20 = load ptr, ptr %2, align 8
%21 = getelementptr inbounds i32, ptr %20, i64 4
%22 = load i32, ptr %21, align 4
%23 = load ptr, ptr %2, align 8
%24 = getelementptr inbounds i32, ptr %23, i64 3
%25 = load i32, ptr %24, align 4
%26 = add nsw i32 %22, %25
%27 = load ptr, ptr %2, align 8
%28 = getelementptr inbounds i32, ptr %27, i64 2
%29 = load i32, ptr %28, align 4
%30 = add nsw i32 %26, %29
%31 = load ptr, ptr %2, align 8
%32 = getelementptr inbounds i32, ptr %31, i64 1
%33 = load i32, ptr %32, align 4
%34 = add nsw i32 %30, %33
%35 = load ptr, ptr %2, align 8
%36 = getelementptr inbounds i32, ptr %35, i64 0
%37 = load i32, ptr %36, align 4
%38 = add nsw i32 %34, %37
ret i32 %38
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8mlanw9c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i64 @malloc(i32 noundef 40)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 5
br i1 %7, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %13
%9 = load i32, ptr %3, align 4
%10 = load ptr, ptr %2, align 8
store i32 %9, ptr %10, align 4
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i32, ptr %11, i32 1
store ptr %12, ptr %2, align 8
br label %13
13: ; preds = %8
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %16, 5
br i1 %17, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %0
%19 = load ptr, ptr %2, align 8
%20 = getelementptr inbounds i32, ptr %19, i64 -5
store ptr %20, ptr %2, align 8
%21 = load ptr, ptr %2, align 8
%22 = getelementptr inbounds i32, ptr %21, i64 4
%23 = load i32, ptr %22, align 4
%24 = load ptr, ptr %2, align 8
%25 = getelementptr inbounds i32, ptr %24, i64 3
%26 = load i32, ptr %25, align 4
%27 = add nsw i32 %23, %26
%28 = load ptr, ptr %2, align 8
%29 = getelementptr inbounds i32, ptr %28, i64 2
%30 = load i32, ptr %29, align 4
%31 = add nsw i32 %27, %30
%32 = load ptr, ptr %2, align 8
%33 = getelementptr inbounds i32, ptr %32, i64 1
%34 = load i32, ptr %33, align 4
%35 = add nsw i32 %31, %34
%36 = load ptr, ptr %2, align 8
%37 = getelementptr inbounds i32, ptr %36, i64 0
%38 = load i32, ptr %37, align 4
%39 = add nsw i32 %35, %38
ret i32 %39
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqwae6le0.c'
source_filename = "/tmp/tmpqwae6le0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"should return a nonnegative integer\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @benchmark() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = call double (...) @tic()
store double %6, ptr %2, align 8
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %22, %0
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %8, 1000000
br i1 %9, label %10, label %25
10: ; preds = %7
%11 = call double (...) @rand_double()
%12 = call double @llvm.fmuladd.f64(double 1.000000e+02, double %11, double 1.000000e+00)
%13 = call i64 @floor(double noundef %12)
%14 = trunc i64 %13 to i32
store i32 %14, ptr %4, align 4
%15 = load i32, ptr %4, align 4
%16 = call double @nonfibonacci(i32 noundef %15)
store double %16, ptr %3, align 8
%17 = load double, ptr %3, align 8
%18 = fcmp olt double %17, 0.000000e+00
br i1 %18, label %19, label %21
19: ; preds = %10
%20 = call i32 @printf(ptr noundef @.str)
br label %25
21: ; preds = %10
br label %22
22: ; preds = %21
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %5, align 4
br label %7, !llvm.loop !6
25: ; preds = %19, %7
%26 = call double (...) @tic()
%27 = load double, ptr %2, align 8
%28 = fsub double %26, %27
store double %28, ptr %1, align 8
%29 = load double, ptr %3, align 8
%30 = fcmp olt double %29, 0.000000e+00
br i1 %30, label %31, label %33
31: ; preds = %25
%32 = call i32 @printf(ptr noundef @.str)
br label %33
33: ; preds = %31, %25
%34 = load double, ptr %1, align 8
ret double %34
}
declare double @tic(...) #1
declare i64 @floor(double noundef) #1
declare double @rand_double(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @nonfibonacci(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpqwae6le0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"should return a nonnegative integer\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @benchmark() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = call double (...) @tic()
store double %6, ptr %2, align 8
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp slt i32 %7, 1000000
br i1 %8, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %21
%10 = call double (...) @rand_double()
%11 = call double @llvm.fmuladd.f64(double 1.000000e+02, double %10, double 1.000000e+00)
%12 = call i64 @floor(double noundef %11)
%13 = trunc i64 %12 to i32
store i32 %13, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = call double @nonfibonacci(i32 noundef %14)
store double %15, ptr %3, align 8
%16 = load double, ptr %3, align 8
%17 = fcmp olt double %16, 0.000000e+00
br i1 %17, label %18, label %20
18: ; preds = %9
%19 = call i32 @printf(ptr noundef @.str)
br label %26
20: ; preds = %9
br label %21
21: ; preds = %20
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %5, align 4
%25 = icmp slt i32 %24, 1000000
br i1 %25, label %9, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %21
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %26
26: ; preds = %.loopexit, %18
%27 = call double (...) @tic()
%28 = load double, ptr %2, align 8
%29 = fsub double %27, %28
store double %29, ptr %1, align 8
%30 = load double, ptr %3, align 8
%31 = fcmp olt double %30, 0.000000e+00
br i1 %31, label %32, label %34
32: ; preds = %26
%33 = call i32 @printf(ptr noundef @.str)
br label %34
34: ; preds = %32, %26
%35 = load double, ptr %1, align 8
ret double %35
}
declare double @tic(...) #1
declare i64 @floor(double noundef) #1
declare double @rand_double(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @nonfibonacci(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpmou0f6eq.c'
source_filename = "/tmp/tmpmou0f6eq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"1 = %02.32lf\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"1+1/3 = %02.32lf\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"1+1/3-1/3 = %02.32lf\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"frac == one.\0A\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"frac != one.\0A\00", align 1
@.str.5 = private unnamed_addr constant [53 x i8] c"difference between frac and one is NOT significant.\0A\00", align 1
@.str.6 = private unnamed_addr constant [49 x i8] c"difference between frac and one IS significant.\0A\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_precision() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double 1.000000e+00, ptr %1, align 8
store double 3.000000e+00, ptr %2, align 8
store double 1.000000e+00, ptr %3, align 8
%5 = load double, ptr %3, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %5)
%7 = load double, ptr %1, align 8
%8 = load double, ptr %1, align 8
%9 = load double, ptr %2, align 8
%10 = fdiv double %8, %9
%11 = fadd double %7, %10
store double %11, ptr %3, align 8
%12 = load double, ptr %3, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %12)
%14 = load double, ptr %3, align 8
%15 = load double, ptr %1, align 8
%16 = load double, ptr %2, align 8
%17 = fdiv double %15, %16
%18 = fsub double %14, %17
store double %18, ptr %3, align 8
%19 = load double, ptr %3, align 8
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %19)
%21 = load double, ptr %3, align 8
%22 = load double, ptr %1, align 8
%23 = fcmp oeq double %21, %22
br i1 %23, label %24, label %26
24: ; preds = %0
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %28
26: ; preds = %0
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %28
28: ; preds = %26, %24
store double 0x3EB0C6F7A0B5ED8D, ptr %4, align 8
%29 = load double, ptr %3, align 8
%30 = load double, ptr %1, align 8
%31 = fsub double %29, %30
%32 = call double @fabs(double noundef %31)
%33 = fcmp olt double %32, 0x3EB0C6F7A0B5ED8D
br i1 %33, label %34, label %36
34: ; preds = %28
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %38
36: ; preds = %28
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %38
38: ; preds = %36, %34
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare double @fabs(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/tmpmou0f6eq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"1 = %02.32lf\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"1+1/3 = %02.32lf\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"1+1/3-1/3 = %02.32lf\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"frac == one.\0A\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"frac != one.\0A\00", align 1
@.str.5 = private unnamed_addr constant [53 x i8] c"difference between frac and one is NOT significant.\0A\00", align 1
@.str.6 = private unnamed_addr constant [49 x i8] c"difference between frac and one IS significant.\0A\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_precision() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double 1.000000e+00, ptr %1, align 8
store double 3.000000e+00, ptr %2, align 8
store double 1.000000e+00, ptr %3, align 8
%5 = load double, ptr %3, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %5)
%7 = load double, ptr %1, align 8
%8 = load double, ptr %1, align 8
%9 = load double, ptr %2, align 8
%10 = fdiv double %8, %9
%11 = fadd double %7, %10
store double %11, ptr %3, align 8
%12 = load double, ptr %3, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %12)
%14 = load double, ptr %3, align 8
%15 = load double, ptr %1, align 8
%16 = load double, ptr %2, align 8
%17 = fdiv double %15, %16
%18 = fsub double %14, %17
store double %18, ptr %3, align 8
%19 = load double, ptr %3, align 8
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %19)
%21 = load double, ptr %3, align 8
%22 = load double, ptr %1, align 8
%23 = fcmp oeq double %21, %22
br i1 %23, label %24, label %26
24: ; preds = %0
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %28
26: ; preds = %0
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %28
28: ; preds = %26, %24
store double 0x3EB0C6F7A0B5ED8D, ptr %4, align 8
%29 = load double, ptr %3, align 8
%30 = load double, ptr %1, align 8
%31 = fsub double %29, %30
%32 = call double @fabs(double noundef %31)
%33 = fcmp olt double %32, 0x3EB0C6F7A0B5ED8D
br i1 %33, label %34, label %36
34: ; preds = %28
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %38
36: ; preds = %28
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %38
38: ; preds = %36, %34
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare double @fabs(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/tmpajh6euhh.c'
source_filename = "/tmp/tmpajh6euhh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpajh6euhh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuepd86ig.c'
source_filename = "/tmp/tmpuepd86ig.c"
target datalayout = "e-m:e-p270: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 [26 x i8] c"error: unexpected string\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @skip_string(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
br label %6
6: ; preds = %23, %2
%7 = load ptr, ptr %4, 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 %11, label %26
11: ; preds = %6
%12 = load ptr, ptr %3, align 8
%13 = call i32 @getc(ptr noundef %12)
store i32 %13, ptr %5, align 4
%14 = load i32, ptr %5, align 4
%15 = load ptr, ptr %4, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %14, %17
br i1 %18, label %19, label %23
19: ; preds = %11
%20 = load i32, ptr @stderr, align 4
%21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str)
%22 = call i32 @exit(i32 noundef 1) #3
unreachable
23: ; preds = %11
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 1
store ptr %25, ptr %4, align 8
br label %6, !llvm.loop !6
26: ; preds = %6
ret void
}
declare i32 @getc(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuepd86ig.c"
target datalayout = "e-m:e-p270: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 [26 x i8] c"error: unexpected string\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @skip_string(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp ne i32 %8, 0
br i1 %9, label %.lr.ph, label %29
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %22
%11 = load ptr, ptr %3, align 8
%12 = call i32 @getc(ptr noundef %11)
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = load ptr, ptr %4, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %13, %16
br i1 %17, label %18, label %22
18: ; preds = %10
%19 = load i32, ptr @stderr, align 4
%20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str)
%21 = call i32 @exit(i32 noundef 1) #3
unreachable
22: ; preds = %10
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %4, align 8
%25 = load ptr, ptr %4, align 8
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %27, 0
br i1 %28, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %29
29: ; preds = %._crit_edge, %2
ret void
}
declare i32 @getc(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpm9ehxsv3.c'
source_filename = "/tmp/tmpm9ehxsv3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_pqueue_all() #0 {
%1 = call i32 (...) @test_pqueue_add_peekmin()
%2 = call i32 (...) @test_pqueue_add_fail_val_oor()
%3 = call i32 (...) @test_pqueue_add_fail_duplicate0()
%4 = call i32 (...) @test_pqueue_add_fail_duplicate1()
%5 = call i32 (...) @test_pqueue_add2_peekmin_fst()
%6 = call i32 (...) @test_pqueue_add2_peekmin_snd()
%7 = call i32 (...) @test_pqueue_add2_popmin_peekmin_fst()
%8 = call i32 (...) @test_pqueue_add2_popmin_peekmin_snd()
%9 = call i32 (...) @test_pqueue_add2_popmin2_peekmin()
%10 = call i32 (...) @test_pqueue_peekmin_empty()
%11 = call i32 (...) @test_pqueue_many()
ret void
}
declare i32 @test_pqueue_add_peekmin(...) #1
declare i32 @test_pqueue_add_fail_val_oor(...) #1
declare i32 @test_pqueue_add_fail_duplicate0(...) #1
declare i32 @test_pqueue_add_fail_duplicate1(...) #1
declare i32 @test_pqueue_add2_peekmin_fst(...) #1
declare i32 @test_pqueue_add2_peekmin_snd(...) #1
declare i32 @test_pqueue_add2_popmin_peekmin_fst(...) #1
declare i32 @test_pqueue_add2_popmin_peekmin_snd(...) #1
declare i32 @test_pqueue_add2_popmin2_peekmin(...) #1
declare i32 @test_pqueue_peekmin_empty(...) #1
declare i32 @test_pqueue_many(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm9ehxsv3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_pqueue_all() #0 {
%1 = call i32 (...) @test_pqueue_add_peekmin()
%2 = call i32 (...) @test_pqueue_add_fail_val_oor()
%3 = call i32 (...) @test_pqueue_add_fail_duplicate0()
%4 = call i32 (...) @test_pqueue_add_fail_duplicate1()
%5 = call i32 (...) @test_pqueue_add2_peekmin_fst()
%6 = call i32 (...) @test_pqueue_add2_peekmin_snd()
%7 = call i32 (...) @test_pqueue_add2_popmin_peekmin_fst()
%8 = call i32 (...) @test_pqueue_add2_popmin_peekmin_snd()
%9 = call i32 (...) @test_pqueue_add2_popmin2_peekmin()
%10 = call i32 (...) @test_pqueue_peekmin_empty()
%11 = call i32 (...) @test_pqueue_many()
ret void
}
declare i32 @test_pqueue_add_peekmin(...) #1
declare i32 @test_pqueue_add_fail_val_oor(...) #1
declare i32 @test_pqueue_add_fail_duplicate0(...) #1
declare i32 @test_pqueue_add_fail_duplicate1(...) #1
declare i32 @test_pqueue_add2_peekmin_fst(...) #1
declare i32 @test_pqueue_add2_peekmin_snd(...) #1
declare i32 @test_pqueue_add2_popmin_peekmin_fst(...) #1
declare i32 @test_pqueue_add2_popmin_peekmin_snd(...) #1
declare i32 @test_pqueue_add2_popmin2_peekmin(...) #1
declare i32 @test_pqueue_peekmin_empty(...) #1
declare i32 @test_pqueue_many(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg7ylmoeh.c'
source_filename = "/tmp/tmpg7ylmoeh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MulInt32(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 = mul nsw i32 %5, %6
ret i32 %7
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg7ylmoeh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MulInt32(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 = mul nsw i32 %5, %6
ret i32 %7
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr0wibm0y.c'
source_filename = "/tmp/tmpr0wibm0y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"caveexpl.mid\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 @playmidi(ptr noundef @.str)
ret void
}
declare i32 @playmidi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr0wibm0y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"caveexpl.mid\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 @playmidi(ptr noundef @.str)
ret void
}
declare i32 @playmidi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpncm7sco_.c'
source_filename = "/tmp/tmpncm7sco_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"domain\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"udp\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"ftp\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"tcp\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"ftps\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call ptr @getservbyname(ptr noundef @.str, ptr noundef @.str.1)
store ptr %7, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
%9 = call i32 @print_servent(ptr noundef %8)
%10 = call ptr @getservbyname(ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
%12 = call i32 @print_servent(ptr noundef %11)
%13 = call ptr @getservbyname(ptr noundef @.str.4, ptr noundef @.str.1)
store ptr %13, ptr %6, align 8
%14 = load ptr, ptr %6, align 8
%15 = call i32 @print_servent(ptr noundef %14)
%16 = call i32 @htons(i32 noundef 21)
%17 = call ptr @getservbyport(i32 noundef %16, ptr noundef @.str.1)
store ptr %17, ptr %6, align 8
%18 = load ptr, ptr %6, align 8
%19 = call i32 @print_servent(ptr noundef %18)
%20 = call i32 @htons(i32 noundef 22)
%21 = call ptr @getservbyport(i32 noundef %20, ptr noundef @.str.3)
store ptr %21, ptr %6, align 8
%22 = load ptr, ptr %6, align 8
%23 = call i32 @print_servent(ptr noundef %22)
%24 = call i32 @htons(i32 noundef 23)
%25 = call ptr @getservbyport(i32 noundef %24, ptr noundef @.str.3)
store ptr %25, ptr %6, align 8
%26 = load ptr, ptr %6, align 8
%27 = call i32 @print_servent(ptr noundef %26)
%28 = call i32 @htons(i32 noundef 53)
%29 = call ptr @getservbyport(i32 noundef %28, ptr noundef @.str.3)
store ptr %29, ptr %6, align 8
%30 = load ptr, ptr %6, align 8
%31 = call i32 @print_servent(ptr noundef %30)
%32 = call i32 @htons(i32 noundef 514)
%33 = call ptr @getservbyport(i32 noundef %32, ptr noundef @.str.3)
store ptr %33, ptr %6, align 8
%34 = load ptr, ptr %6, align 8
%35 = call i32 @print_servent(ptr noundef %34)
%36 = call i32 @htons(i32 noundef 514)
%37 = call ptr @getservbyport(i32 noundef %36, ptr noundef @.str.1)
store ptr %37, ptr %6, align 8
%38 = load ptr, ptr %6, align 8
%39 = call i32 @print_servent(ptr noundef %38)
ret i32 0
}
declare ptr @getservbyname(ptr noundef, ptr noundef) #1
declare i32 @print_servent(ptr noundef) #1
declare ptr @getservbyport(i32 noundef, ptr noundef) #1
declare i32 @htons(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/tmpncm7sco_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"domain\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"udp\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"ftp\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"tcp\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"ftps\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call ptr @getservbyname(ptr noundef @.str, ptr noundef @.str.1)
store ptr %7, ptr %6, align 8
%8 = load ptr, ptr %6, align 8
%9 = call i32 @print_servent(ptr noundef %8)
%10 = call ptr @getservbyname(ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %10, ptr %6, align 8
%11 = load ptr, ptr %6, align 8
%12 = call i32 @print_servent(ptr noundef %11)
%13 = call ptr @getservbyname(ptr noundef @.str.4, ptr noundef @.str.1)
store ptr %13, ptr %6, align 8
%14 = load ptr, ptr %6, align 8
%15 = call i32 @print_servent(ptr noundef %14)
%16 = call i32 @htons(i32 noundef 21)
%17 = call ptr @getservbyport(i32 noundef %16, ptr noundef @.str.1)
store ptr %17, ptr %6, align 8
%18 = load ptr, ptr %6, align 8
%19 = call i32 @print_servent(ptr noundef %18)
%20 = call i32 @htons(i32 noundef 22)
%21 = call ptr @getservbyport(i32 noundef %20, ptr noundef @.str.3)
store ptr %21, ptr %6, align 8
%22 = load ptr, ptr %6, align 8
%23 = call i32 @print_servent(ptr noundef %22)
%24 = call i32 @htons(i32 noundef 23)
%25 = call ptr @getservbyport(i32 noundef %24, ptr noundef @.str.3)
store ptr %25, ptr %6, align 8
%26 = load ptr, ptr %6, align 8
%27 = call i32 @print_servent(ptr noundef %26)
%28 = call i32 @htons(i32 noundef 53)
%29 = call ptr @getservbyport(i32 noundef %28, ptr noundef @.str.3)
store ptr %29, ptr %6, align 8
%30 = load ptr, ptr %6, align 8
%31 = call i32 @print_servent(ptr noundef %30)
%32 = call i32 @htons(i32 noundef 514)
%33 = call ptr @getservbyport(i32 noundef %32, ptr noundef @.str.3)
store ptr %33, ptr %6, align 8
%34 = load ptr, ptr %6, align 8
%35 = call i32 @print_servent(ptr noundef %34)
%36 = call i32 @htons(i32 noundef 514)
%37 = call ptr @getservbyport(i32 noundef %36, ptr noundef @.str.1)
store ptr %37, ptr %6, align 8
%38 = load ptr, ptr %6, align 8
%39 = call i32 @print_servent(ptr noundef %38)
ret i32 0
}
declare ptr @getservbyname(ptr noundef, ptr noundef) #1
declare i32 @print_servent(ptr noundef) #1
declare ptr @getservbyport(i32 noundef, ptr noundef) #1
declare i32 @htons(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/tmpvdn0kuil.c'
source_filename = "/tmp/tmpvdn0kuil.c"
target datalayout = "e-m:e-p270: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/tmpvdn0kuil.c"
target datalayout = "e-m:e-p270: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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.