llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
|---|---|
; ModuleID = '/tmp/tmptrigwi6q.c'
source_filename = "/tmp/tmptrigwi6q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nAleatorios(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 = %16, %1
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 1000000
br i1 %6, label %7, label %19
7: ; preds = %4
%8 = call i32 (...) @drand48()
%9 = mul nsw i32 %8, 2
%10 = sub nsw i32 %9, 1
%11 = sitofp i32 %10 to double
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds double, ptr %12, i64 %14
store double %11, ptr %15, align 8
br label %16
16: ; preds = %7
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
br label %4, !llvm.loop !6
19: ; preds = %4
ret void
}
declare i32 @drand48(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmptrigwi6q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nAleatorios(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 1000000
br i1 %5, label %.lr.ph, label %20
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %15
%7 = call i32 (...) @drand48()
%8 = mul nsw i32 %7, 2
%9 = sub nsw i32 %8, 1
%10 = sitofp i32 %9 to double
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds double, ptr %11, i64 %13
store double %10, ptr %14, align 8
br label %15
15: ; preds = %6
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 %18, 1000000
br i1 %19, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %1
ret void
}
declare i32 @drand48(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmppddscj8c.c'
source_filename = "/tmp/tmppddscj8c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"#\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c" \09\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cfg_parse(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
br label %8
8: ; preds = %67, %2
%9 = load ptr, ptr %3, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %72
11: ; preds = %8
%12 = call ptr @eat(ptr noundef %3, ptr noundef @.str)
store ptr %12, ptr %5, align 8
%13 = call ptr @eat(ptr noundef %5, ptr noundef @.str.1)
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %5, align 8
%15 = call i32 @unescape(ptr noundef %14)
%16 = call ptr @eat(ptr noundef %5, ptr noundef @.str.2)
store ptr %16, ptr %6, align 8
%17 = load ptr, ptr %5, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %67
19: ; preds = %11
br label %20
20: ; preds = %32, %19
%21 = load ptr, ptr %5, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 32
br i1 %24, label %30, label %25
25: ; preds = %20
%26 = load ptr, ptr %5, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 9
br label %30
30: ; preds = %25, %20
%31 = phi i1 [ true, %20 ], [ %29, %25 ]
br i1 %31, label %32, label %35
32: ; preds = %30
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %5, align 8
br label %20, !llvm.loop !6
35: ; preds = %30
%36 = load ptr, ptr %5, align 8
%37 = call i32 @strlen(ptr noundef %36)
%38 = sub nsw i32 %37, 1
store i32 %38, ptr %7, align 4
br label %39
39: ; preds = %58, %35
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %7, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 32
br i1 %46, label %55, label %47
47: ; preds = %39
%48 = load ptr, ptr %5, align 8
%49 = load i32, ptr %7, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %48, i64 %50
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 9
br label %55
55: ; preds = %47, %39
%56 = phi i1 [ true, %39 ], [ %54, %47 ]
br i1 %56, label %57, label %61
57: ; preds = %55
br label %58
58: ; preds = %57
%59 = load i32, ptr %7, align 4
%60 = add nsw i32 %59, -1
store i32 %60, ptr %7, align 4
br label %39, !llvm.loop !8
61: ; preds = %55
%62 = load ptr, ptr %5, align 8
%63 = load i32, ptr %7, align 4
%64 = add nsw i32 %63, 1
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %62, i64 %65
store i8 0, ptr %66, align 1
br label %67
67: ; preds = %61, %11
%68 = load ptr, ptr %6, align 8
%69 = load ptr, ptr %5, align 8
%70 = load i32, ptr %4, align 4
%71 = call i32 @cfg_set_opt(ptr noundef %68, ptr noundef %69, i32 noundef %70)
br label %8, !llvm.loop !9
72: ; preds = %8
ret void
}
declare ptr @eat(ptr noundef, ptr noundef) #1
declare i32 @unescape(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @cfg_set_opt(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmppddscj8c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"#\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c" \09\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cfg_parse(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load ptr, ptr %3, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %.lr.ph, label %73
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %66
%11 = call ptr @eat(ptr noundef %3, ptr noundef @.str)
store ptr %11, ptr %5, align 8
%12 = call ptr @eat(ptr noundef %5, ptr noundef @.str.1)
store ptr %12, ptr %5, align 8
%13 = load ptr, ptr %5, align 8
%14 = call i32 @unescape(ptr noundef %13)
%15 = call ptr @eat(ptr noundef %5, ptr noundef @.str.2)
store ptr %15, ptr %6, align 8
%16 = load ptr, ptr %5, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %66
18: ; preds = %10
br label %19
19: ; preds = %31, %18
%20 = load ptr, ptr %5, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 32
br i1 %23, label %29, label %24
24: ; preds = %19
%25 = load ptr, ptr %5, align 8
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 9
br label %29
29: ; preds = %24, %19
%30 = phi i1 [ true, %19 ], [ %28, %24 ]
br i1 %30, label %31, label %34
31: ; preds = %29
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %5, align 8
br label %19, !llvm.loop !6
34: ; preds = %29
%35 = load ptr, ptr %5, align 8
%36 = call i32 @strlen(ptr noundef %35)
%37 = sub nsw i32 %36, 1
store i32 %37, ptr %7, align 4
br label %38
38: ; preds = %57, %34
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %7, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %44, 32
br i1 %45, label %54, label %46
46: ; preds = %38
%47 = load ptr, ptr %5, align 8
%48 = load i32, ptr %7, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp eq i32 %52, 9
br label %54
54: ; preds = %46, %38
%55 = phi i1 [ true, %38 ], [ %53, %46 ]
br i1 %55, label %56, label %60
56: ; preds = %54
br label %57
57: ; preds = %56
%58 = load i32, ptr %7, align 4
%59 = add nsw i32 %58, -1
store i32 %59, ptr %7, align 4
br label %38, !llvm.loop !8
60: ; preds = %54
%61 = load ptr, ptr %5, align 8
%62 = load i32, ptr %7, align 4
%63 = add nsw i32 %62, 1
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8, ptr %61, i64 %64
store i8 0, ptr %65, align 1
br label %66
66: ; preds = %60, %10
%67 = load ptr, ptr %6, align 8
%68 = load ptr, ptr %5, align 8
%69 = load i32, ptr %4, align 4
%70 = call i32 @cfg_set_opt(ptr noundef %67, ptr noundef %68, i32 noundef %69)
%71 = load ptr, ptr %3, align 8
%72 = icmp ne ptr %71, null
br i1 %72, label %10, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %66
br label %73
73: ; preds = %._crit_edge, %2
ret void
}
declare ptr @eat(ptr noundef, ptr noundef) #1
declare i32 @unescape(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @cfg_set_opt(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp4xinnkg9.c'
source_filename = "/tmp/tmp4xinnkg9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @motion_free() #0 {
%1 = call i32 (...) @set_asserv_off()
ret void
}
declare i32 @set_asserv_off(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4xinnkg9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @motion_free() #0 {
%1 = call i32 (...) @set_asserv_off()
ret void
}
declare i32 @set_asserv_off(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptlgr2jke.c'
source_filename = "/tmp/tmptlgr2jke.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@strtok.next_start = internal global ptr null, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @strtok(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 = load ptr, ptr %4, align 8
%7 = call ptr @strtok_r(ptr noundef %5, ptr noundef %6, ptr noundef @strtok.next_start)
ret ptr %7
}
declare ptr @strtok_r(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmptlgr2jke.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@strtok.next_start = internal global ptr null, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @strtok(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 = load ptr, ptr %4, align 8
%7 = call ptr @strtok_r(ptr noundef %5, ptr noundef %6, ptr noundef @strtok.next_start)
ret ptr %7
}
declare ptr @strtok_r(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5t_8ghbq.c'
source_filename = "/tmp/tmp5t_8ghbq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"All assertions correct - success!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @Cannonball(i32 noundef 4)
%7 = icmp eq i32 %6, 30
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 noundef %8)
%10 = call i32 @Cannonball(i32 noundef 5)
%11 = icmp eq i32 %10, 55
%12 = zext i1 %11 to i32
%13 = call i32 @assert(i32 noundef %12)
%14 = call i32 @Cannonball(i32 noundef 6)
%15 = icmp eq i32 %14, 91
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
%18 = call i32 @Cannonball(i32 noundef 7)
%19 = icmp eq i32 %18, 140
%20 = zext i1 %19 to i32
%21 = call i32 @assert(i32 noundef %20)
%22 = call i32 @puts(ptr noundef @.str)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
declare i32 @Cannonball(i32 noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5t_8ghbq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"All assertions correct - success!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @Cannonball(i32 noundef 4)
%7 = icmp eq i32 %6, 30
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 noundef %8)
%10 = call i32 @Cannonball(i32 noundef 5)
%11 = icmp eq i32 %10, 55
%12 = zext i1 %11 to i32
%13 = call i32 @assert(i32 noundef %12)
%14 = call i32 @Cannonball(i32 noundef 6)
%15 = icmp eq i32 %14, 91
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
%18 = call i32 @Cannonball(i32 noundef 7)
%19 = icmp eq i32 %18, 140
%20 = zext i1 %19 to i32
%21 = call i32 @assert(i32 noundef %20)
%22 = call i32 @puts(ptr noundef @.str)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
declare i32 @Cannonball(i32 noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy31wk5lm.c'
source_filename = "/tmp/tmpy31wk5lm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isipv4ip(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 @isip_check(ptr noundef %3, i32 noundef 0)
ret i32 %4
}
declare i32 @isip_check(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/tmpy31wk5lm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isipv4ip(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 @isip_check(ptr noundef %3, i32 noundef 0)
ret i32 %4
}
declare i32 @isip_check(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/tmppk5v6arm.c'
source_filename = "/tmp/tmppk5v6arm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i64 }
@.str = private unnamed_addr constant [68 x i8] c"%ld%% cur_cp_time milliseconds: %ld sleep: 500 next read_time:%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @do_cp(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store i32 250, ptr %7, align 4
%13 = load ptr, ptr %6, align 8
%14 = getelementptr inbounds %struct.stat, ptr %13, i32 0, i32 0
%15 = load i64, ptr %14, align 8
store i64 %15, ptr %8, align 8
store i64 0, ptr %9, align 8
br label %16
16: ; preds = %41, %3
%17 = call i64 (...) @current_timestamp()
store i64 %17, ptr %10, align 8
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %7, align 4
%21 = call i64 @cp_for_time(i32 noundef %18, i32 noundef %19, i32 noundef %20)
store i64 %21, ptr %11, align 8
%22 = load i64, ptr %11, align 8
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %16
ret void
25: ; preds = %16
%26 = call i64 (...) @current_timestamp()
store i64 %26, ptr %12, align 8
%27 = load i64, ptr %12, align 8
%28 = load i64, ptr %10, align 8
%29 = sub nsw i64 %27, %28
%30 = icmp sgt i64 %29, 500
br i1 %30, label %31, label %36
31: ; preds = %25
%32 = load i32, ptr %7, align 4
%33 = sitofp i32 %32 to double
%34 = fmul double %33, 8.000000e-01
%35 = fptosi double %34 to i32
store i32 %35, ptr %7, align 4
br label %41
36: ; preds = %25
%37 = load i32, ptr %7, align 4
%38 = sitofp i32 %37 to double
%39 = fmul double %38, 1.100000e+00
%40 = fptosi double %39 to i32
store i32 %40, ptr %7, align 4
br label %41
41: ; preds = %36, %31
%42 = load i64, ptr %11, align 8
%43 = load i64, ptr %9, align 8
%44 = add nsw i64 %43, %42
store i64 %44, ptr %9, align 8
%45 = load i64, ptr %9, align 8
%46 = mul nsw i64 %45, 100
%47 = load i64, ptr %8, align 8
%48 = sdiv i64 %46, %47
%49 = load i64, ptr %12, align 8
%50 = load i64, ptr %10, align 8
%51 = sub nsw i64 %49, %50
%52 = load i32, ptr %7, align 4
%53 = call i32 @printf(ptr noundef @.str, i64 noundef %48, i64 noundef %51, i32 noundef %52)
%54 = call i32 @usleep(i32 noundef 500000)
br label %16
}
declare i64 @current_timestamp(...) #1
declare i64 @cp_for_time(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef, i64 noundef, i32 noundef) #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/tmppk5v6arm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i64 }
@.str = private unnamed_addr constant [68 x i8] c"%ld%% cur_cp_time milliseconds: %ld sleep: 500 next read_time:%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @do_cp(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store i32 250, ptr %7, align 4
%13 = load ptr, ptr %6, align 8
%14 = getelementptr inbounds %struct.stat, ptr %13, i32 0, i32 0
%15 = load i64, ptr %14, align 8
store i64 %15, ptr %8, align 8
store i64 0, ptr %9, align 8
%16 = call i64 (...) @current_timestamp()
store i64 %16, ptr %10, align 8
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %7, align 4
%20 = call i64 @cp_for_time(i32 noundef %17, i32 noundef %18, i32 noundef %19)
store i64 %20, ptr %11, align 8
%21 = load i64, ptr %11, align 8
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %.lr.ph
.lr.ph: ; preds = %3
br label %24
._crit_edge: ; preds = %40
br label %23
23: ; preds = %._crit_edge, %3
ret void
24: ; preds = %.lr.ph, %40
%25 = call i64 (...) @current_timestamp()
store i64 %25, ptr %12, align 8
%26 = load i64, ptr %12, align 8
%27 = load i64, ptr %10, align 8
%28 = sub nsw i64 %26, %27
%29 = icmp sgt i64 %28, 500
br i1 %29, label %30, label %35
30: ; preds = %24
%31 = load i32, ptr %7, align 4
%32 = sitofp i32 %31 to double
%33 = fmul double %32, 8.000000e-01
%34 = fptosi double %33 to i32
store i32 %34, ptr %7, align 4
br label %40
35: ; preds = %24
%36 = load i32, ptr %7, align 4
%37 = sitofp i32 %36 to double
%38 = fmul double %37, 1.100000e+00
%39 = fptosi double %38 to i32
store i32 %39, ptr %7, align 4
br label %40
40: ; preds = %35, %30
%41 = load i64, ptr %11, align 8
%42 = load i64, ptr %9, align 8
%43 = add nsw i64 %42, %41
store i64 %43, ptr %9, align 8
%44 = load i64, ptr %9, align 8
%45 = mul nsw i64 %44, 100
%46 = load i64, ptr %8, align 8
%47 = sdiv i64 %45, %46
%48 = load i64, ptr %12, align 8
%49 = load i64, ptr %10, align 8
%50 = sub nsw i64 %48, %49
%51 = load i32, ptr %7, align 4
%52 = call i32 @printf(ptr noundef @.str, i64 noundef %47, i64 noundef %50, i32 noundef %51)
%53 = call i32 @usleep(i32 noundef 500000)
%54 = call i64 (...) @current_timestamp()
store i64 %54, ptr %10, align 8
%55 = load i32, ptr %4, align 4
%56 = load i32, ptr %5, align 4
%57 = load i32, ptr %7, align 4
%58 = call i64 @cp_for_time(i32 noundef %55, i32 noundef %56, i32 noundef %57)
store i64 %58, ptr %11, align 8
%59 = load i64, ptr %11, align 8
%60 = icmp eq i64 %59, 0
br i1 %60, label %._crit_edge, label %24
}
declare i64 @current_timestamp(...) #1
declare i64 @cp_for_time(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef, i64 noundef, i32 noundef) #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/tmp9m3ems05.c'
source_filename = "/tmp/tmp9m3ems05.c"
target datalayout = "e-m:e-p270: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/tmp9m3ems05.c"
target datalayout = "e-m:e-p270: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/tmpflfe7hn4.c'
source_filename = "/tmp/tmpflfe7hn4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @mtimediff(i64 %0, i64 %1, i64 %2, i64 %3) #0 {
%5 = alloca %struct.timeval, align 8
%6 = alloca %struct.timeval, align 8
%7 = getelementptr inbounds { i64, i64 }, ptr %5, i32 0, i32 0
store i64 %0, ptr %7, align 8
%8 = getelementptr inbounds { i64, i64 }, ptr %5, i32 0, i32 1
store i64 %1, ptr %8, align 8
%9 = getelementptr inbounds { i64, i64 }, ptr %6, i32 0, i32 0
store i64 %2, ptr %9, align 8
%10 = getelementptr inbounds { i64, i64 }, ptr %6, i32 0, i32 1
store i64 %3, ptr %10, align 8
%11 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 0
%12 = load i64, ptr %11, align 8
%13 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0
%14 = load i64, ptr %13, align 8
%15 = sub nsw i64 %12, %14
%16 = mul nsw i64 %15, 1000000
%17 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 1
%18 = load i64, ptr %17, align 8
%19 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 1
%20 = load i64, ptr %19, align 8
%21 = sub nsw i64 %18, %20
%22 = add nsw i64 %16, %21
%23 = sdiv i64 %22, 1000
%24 = sitofp i64 %23 to double
ret double %24
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpflfe7hn4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @mtimediff(i64 %0, i64 %1, i64 %2, i64 %3) #0 {
%5 = alloca %struct.timeval, align 8
%6 = alloca %struct.timeval, align 8
%7 = getelementptr inbounds { i64, i64 }, ptr %5, i32 0, i32 0
store i64 %0, ptr %7, align 8
%8 = getelementptr inbounds { i64, i64 }, ptr %5, i32 0, i32 1
store i64 %1, ptr %8, align 8
%9 = getelementptr inbounds { i64, i64 }, ptr %6, i32 0, i32 0
store i64 %2, ptr %9, align 8
%10 = getelementptr inbounds { i64, i64 }, ptr %6, i32 0, i32 1
store i64 %3, ptr %10, align 8
%11 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 0
%12 = load i64, ptr %11, align 8
%13 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0
%14 = load i64, ptr %13, align 8
%15 = sub nsw i64 %12, %14
%16 = mul nsw i64 %15, 1000000
%17 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 1
%18 = load i64, ptr %17, align 8
%19 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 1
%20 = load i64, ptr %19, align 8
%21 = sub nsw i64 %18, %20
%22 = add nsw i64 %16, %21
%23 = sdiv i64 %22, 1000
%24 = sitofp i64 %23 to double
ret double %24
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg18xn3_f.c'
source_filename = "/tmp/tmpg18xn3_f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fini(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 = sext i32 %4 to i64
%6 = inttoptr i64 %5 to ptr
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @XCloseDisplay(ptr noundef %7)
ret void
}
declare i32 @XCloseDisplay(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg18xn3_f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fini(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 = sext i32 %4 to i64
%6 = inttoptr i64 %5 to ptr
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @XCloseDisplay(ptr noundef %7)
ret void
}
declare i32 @XCloseDisplay(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg9czq9y3.c'
source_filename = "/tmp/tmpg9czq9y3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [99 x i8] c"Syntax: %s [-h host|-H file] [-u username|-U file] [-p password|-P file] [-C file] -M module [OPT]\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"Medusa\00", align 1
@.str.3 = private unnamed_addr constant [47 x i8] c" -h [TEXT] : Target hostname or IP address\00", align 1
@.str.4 = private unnamed_addr constant [66 x i8] c" -H [FILE] : File containing target hostnames or IP addresses\00", align 1
@.str.5 = private unnamed_addr constant [34 x i8] c" -u [TEXT] : Username to test\00", align 1
@.str.6 = private unnamed_addr constant [51 x i8] c" -U [FILE] : File containing usernames to test\00", align 1
@.str.7 = private unnamed_addr constant [34 x i8] c" -p [TEXT] : Password to test\00", align 1
@.str.8 = private unnamed_addr constant [51 x i8] c" -P [FILE] : File containing passwords to test\00", align 1
@.str.9 = private unnamed_addr constant [81 x i8] c" -C [FILE] : File containing combo entries. See README for more information.\00", align 1
@.str.10 = private unnamed_addr constant [51 x i8] c" -O [FILE] : File to append log information to\00", align 1
@.str.11 = private unnamed_addr constant [87 x i8] c" -e [n/s/ns] : Additional password checks ([n] No Password, [s] Password = Username)\00", align 1
@.str.12 = private unnamed_addr constant [76 x i8] c" -M [TEXT] : Name of the module to execute (without the .mod extension)\00", align 1
@.str.13 = private unnamed_addr constant [91 x i8] c" -m [TEXT] : Parameter to pass to the module. This can be passed multiple times with a\00", align 1
@.str.14 = private unnamed_addr constant [93 x i8] c" different parameter each time and they will all be sent to the module (i.e.\00", align 1
@.str.15 = private unnamed_addr constant [44 x i8] c" -m Param1 -m Param2, etc.)\00", align 1
@.str.16 = private unnamed_addr constant [40 x i8] c" -d : Dump all known modules\00", align 1
@.str.17 = private unnamed_addr constant [53 x i8] c" -n [NUM] : Use for non-default TCP port number\00", align 1
@.str.18 = private unnamed_addr constant [28 x i8] c" -s : Enable SSL\00", align 1
@.str.19 = private unnamed_addr constant [77 x i8] c" -g [NUM] : Give up after trying to connect for NUM seconds (default 3)\00", align 1
@.str.20 = private unnamed_addr constant [70 x i8] c" -r [NUM] : Sleep NUM seconds between retry attempts (default 3)\00", align 1
@.str.21 = private unnamed_addr constant [101 x i8] c" -R [NUM] : Attempt NUM retries before giving up. The total number of attempts will be NUM + 1.\00", align 1
@.str.22 = private unnamed_addr constant [66 x i8] c" -t [NUM] : Total number of logins to be tested concurrently\00", align 1
@.str.23 = private unnamed_addr constant [65 x i8] c" -T [NUM] : Total number of hosts to be tested concurrently\00", align 1
@.str.24 = private unnamed_addr constant [94 x i8] c" -L : Parallelize logins using one username per thread. The default is to process \00", align 1
@.str.25 = private unnamed_addr constant [56 x i8] c" the entire username before proceeding.\00", align 1
@.str.26 = private unnamed_addr constant [79 x i8] c" -f : Stop scanning host after first valid username/password found.\00", align 1
@.str.27 = private unnamed_addr constant [83 x i8] c" -F : Stop audit after first valid username/password found on any host.\00", align 1
@.str.28 = private unnamed_addr constant [41 x i8] c" -b : Suppress startup banner\00", align 1
@.str.29 = private unnamed_addr constant [52 x i8] c" -q : Display module's usage information\00", align 1
@.str.30 = private unnamed_addr constant [46 x i8] c" -v [NUM] : Verbose level [0 - 6 (more)]\00", align 1
@.str.31 = private unnamed_addr constant [51 x i8] c" -w [NUM] : Error debug level [0 - 10 (more)]\00", align 1
@.str.32 = private unnamed_addr constant [33 x i8] c" -V : Display version\00", align 1
@.str.33 = private unnamed_addr constant [59 x i8] c" -Z [TEXT] : Resume scan based on map of previous scan\00", align 1
@.str.34 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str)
%2 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.1, ptr noundef @.str.2)
%3 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.3)
%4 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.4)
%5 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.5)
%6 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.6)
%7 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.7)
%8 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.8)
%9 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.9)
%10 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.10)
%11 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.11)
%12 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.12)
%13 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.13)
%14 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.14)
%15 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.15)
%16 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.16)
%17 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.17)
%18 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.18)
%19 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.19)
%20 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.20)
%21 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.21)
%22 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.22)
%23 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.23)
%24 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.24)
%25 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.25)
%26 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.26)
%27 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.27)
%28 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.28)
%29 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.29)
%30 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.30)
%31 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.31)
%32 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.32)
%33 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.33)
%34 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.34)
ret void
}
declare i32 @writeVerbose(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg9czq9y3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [99 x i8] c"Syntax: %s [-h host|-H file] [-u username|-U file] [-p password|-P file] [-C file] -M module [OPT]\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"Medusa\00", align 1
@.str.3 = private unnamed_addr constant [47 x i8] c" -h [TEXT] : Target hostname or IP address\00", align 1
@.str.4 = private unnamed_addr constant [66 x i8] c" -H [FILE] : File containing target hostnames or IP addresses\00", align 1
@.str.5 = private unnamed_addr constant [34 x i8] c" -u [TEXT] : Username to test\00", align 1
@.str.6 = private unnamed_addr constant [51 x i8] c" -U [FILE] : File containing usernames to test\00", align 1
@.str.7 = private unnamed_addr constant [34 x i8] c" -p [TEXT] : Password to test\00", align 1
@.str.8 = private unnamed_addr constant [51 x i8] c" -P [FILE] : File containing passwords to test\00", align 1
@.str.9 = private unnamed_addr constant [81 x i8] c" -C [FILE] : File containing combo entries. See README for more information.\00", align 1
@.str.10 = private unnamed_addr constant [51 x i8] c" -O [FILE] : File to append log information to\00", align 1
@.str.11 = private unnamed_addr constant [87 x i8] c" -e [n/s/ns] : Additional password checks ([n] No Password, [s] Password = Username)\00", align 1
@.str.12 = private unnamed_addr constant [76 x i8] c" -M [TEXT] : Name of the module to execute (without the .mod extension)\00", align 1
@.str.13 = private unnamed_addr constant [91 x i8] c" -m [TEXT] : Parameter to pass to the module. This can be passed multiple times with a\00", align 1
@.str.14 = private unnamed_addr constant [93 x i8] c" different parameter each time and they will all be sent to the module (i.e.\00", align 1
@.str.15 = private unnamed_addr constant [44 x i8] c" -m Param1 -m Param2, etc.)\00", align 1
@.str.16 = private unnamed_addr constant [40 x i8] c" -d : Dump all known modules\00", align 1
@.str.17 = private unnamed_addr constant [53 x i8] c" -n [NUM] : Use for non-default TCP port number\00", align 1
@.str.18 = private unnamed_addr constant [28 x i8] c" -s : Enable SSL\00", align 1
@.str.19 = private unnamed_addr constant [77 x i8] c" -g [NUM] : Give up after trying to connect for NUM seconds (default 3)\00", align 1
@.str.20 = private unnamed_addr constant [70 x i8] c" -r [NUM] : Sleep NUM seconds between retry attempts (default 3)\00", align 1
@.str.21 = private unnamed_addr constant [101 x i8] c" -R [NUM] : Attempt NUM retries before giving up. The total number of attempts will be NUM + 1.\00", align 1
@.str.22 = private unnamed_addr constant [66 x i8] c" -t [NUM] : Total number of logins to be tested concurrently\00", align 1
@.str.23 = private unnamed_addr constant [65 x i8] c" -T [NUM] : Total number of hosts to be tested concurrently\00", align 1
@.str.24 = private unnamed_addr constant [94 x i8] c" -L : Parallelize logins using one username per thread. The default is to process \00", align 1
@.str.25 = private unnamed_addr constant [56 x i8] c" the entire username before proceeding.\00", align 1
@.str.26 = private unnamed_addr constant [79 x i8] c" -f : Stop scanning host after first valid username/password found.\00", align 1
@.str.27 = private unnamed_addr constant [83 x i8] c" -F : Stop audit after first valid username/password found on any host.\00", align 1
@.str.28 = private unnamed_addr constant [41 x i8] c" -b : Suppress startup banner\00", align 1
@.str.29 = private unnamed_addr constant [52 x i8] c" -q : Display module's usage information\00", align 1
@.str.30 = private unnamed_addr constant [46 x i8] c" -v [NUM] : Verbose level [0 - 6 (more)]\00", align 1
@.str.31 = private unnamed_addr constant [51 x i8] c" -w [NUM] : Error debug level [0 - 10 (more)]\00", align 1
@.str.32 = private unnamed_addr constant [33 x i8] c" -V : Display version\00", align 1
@.str.33 = private unnamed_addr constant [59 x i8] c" -Z [TEXT] : Resume scan based on map of previous scan\00", align 1
@.str.34 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str)
%2 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.1, ptr noundef @.str.2)
%3 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.3)
%4 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.4)
%5 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.5)
%6 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.6)
%7 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.7)
%8 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.8)
%9 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.9)
%10 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.10)
%11 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.11)
%12 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.12)
%13 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.13)
%14 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.14)
%15 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.15)
%16 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.16)
%17 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.17)
%18 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.18)
%19 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.19)
%20 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.20)
%21 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.21)
%22 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.22)
%23 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.23)
%24 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.24)
%25 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.25)
%26 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.26)
%27 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.27)
%28 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.28)
%29 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.29)
%30 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.30)
%31 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.31)
%32 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.32)
%33 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.33)
%34 = call i32 (i32, ptr, ...) @writeVerbose(i32 noundef 1, ptr noundef @.str.34)
ret void
}
declare i32 @writeVerbose(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn4m0yw76.c'
source_filename = "/tmp/tmpn4m0yw76.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ayylmao\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"%3.f | %*s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca double, align 8
%7 = alloca double, 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 ptr @.str, ptr %8, align 8
store double 0.000000e+00, ptr %6, align 8
br label %9
9: ; preds = %30, %2
br i1 true, label %10, label %33
10: ; preds = %9
%11 = load double, ptr %6, align 8
%12 = call i32 @sin(double noundef %11)
%13 = add nsw i32 %12, 2
%14 = sitofp i32 %13 to double
%15 = load ptr, ptr %8, align 8
%16 = call double @strlen(ptr noundef %15)
%17 = fsub double 5.000000e+01, %16
%18 = fneg double %17
%19 = call double @llvm.fmuladd.f64(double 5.000000e+01, double %14, double %18)
store double %19, ptr %7, align 8
%20 = load double, ptr %7, align 8
%21 = load ptr, ptr %8, align 8
%22 = call double @strlen(ptr noundef %21)
%23 = fsub double %20, %22
%24 = load double, ptr %7, align 8
%25 = call i64 @round(double noundef %24)
%26 = trunc i64 %25 to i32
%27 = load ptr, ptr %8, align 8
%28 = call i32 @printf(ptr noundef @.str.1, double noundef %23, i32 noundef %26, ptr noundef %27)
%29 = call i32 @usleep(i32 noundef 40000)
br label %30
30: ; preds = %10
%31 = load double, ptr %6, align 8
%32 = fadd double %31, 1.000000e-01
store double %32, ptr %6, align 8
br label %9
33: ; preds = %9
ret i32 0
}
declare i32 @sin(double noundef) #1
declare double @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @printf(ptr noundef, double noundef, i32 noundef, ptr noundef) #1
declare i64 @round(double noundef) #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" }
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/tmpn4m0yw76.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ayylmao\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"%3.f | %*s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca double, align 8
%7 = alloca double, 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 ptr @.str, ptr %8, align 8
store double 0.000000e+00, ptr %6, align 8
br label %9
9: ; preds = %2, %29
%10 = load double, ptr %6, align 8
%11 = call i32 @sin(double noundef %10)
%12 = add nsw i32 %11, 2
%13 = sitofp i32 %12 to double
%14 = load ptr, ptr %8, align 8
%15 = call double @strlen(ptr noundef %14)
%16 = fsub double 5.000000e+01, %15
%17 = fneg double %16
%18 = call double @llvm.fmuladd.f64(double 5.000000e+01, double %13, double %17)
store double %18, ptr %7, align 8
%19 = load double, ptr %7, align 8
%20 = load ptr, ptr %8, align 8
%21 = call double @strlen(ptr noundef %20)
%22 = fsub double %19, %21
%23 = load double, ptr %7, align 8
%24 = call i64 @round(double noundef %23)
%25 = trunc i64 %24 to i32
%26 = load ptr, ptr %8, align 8
%27 = call i32 @printf(ptr noundef @.str.1, double noundef %22, i32 noundef %25, ptr noundef %26)
%28 = call i32 @usleep(i32 noundef 40000)
br label %29
29: ; preds = %9
%30 = load double, ptr %6, align 8
%31 = fadd double %30, 1.000000e-01
store double %31, ptr %6, align 8
br i1 true, label %9, label %32
32: ; preds = %29
ret i32 0
}
declare i32 @sin(double noundef) #1
declare double @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @printf(ptr noundef, double noundef, i32 noundef, ptr noundef) #1
declare i64 @round(double noundef) #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" }
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/tmpf3s4ep2j.c'
source_filename = "/tmp/tmpf3s4ep2j.c"
target datalayout = "e-m:e-p270: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/tmpf3s4ep2j.c"
target datalayout = "e-m:e-p270: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/tmp8fufutjs.c'
source_filename = "/tmp/tmp8fufutjs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.postorder = private unnamed_addr constant [3 x i32] [i32 3, i32 2, i32 1], align 4
@__const.main.inorder = private unnamed_addr constant [3 x i32] [i32 1, i32 2, i32 3], align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i32], align 4
%3 = alloca [3 x i32], align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.main.postorder, i64 12, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 @__const.main.inorder, i64 12, i1 false)
store i32 3, ptr %4, align 4
store i32 3, ptr %5, align 4
%7 = getelementptr inbounds [3 x i32], ptr %3, i64 0, i64 0
%8 = load i32, ptr %5, align 4
%9 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0
%10 = load i32, ptr %4, align 4
%11 = call ptr @buildTree(ptr noundef %7, i32 noundef %8, ptr noundef %9, i32 noundef %10)
store ptr %11, ptr %6, align 8
%12 = load ptr, ptr %6, align 8
%13 = call i32 @dump(ptr noundef %12)
%14 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare ptr @buildTree(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @dump(ptr 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 = { 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/tmp8fufutjs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.postorder = private unnamed_addr constant [3 x i32] [i32 3, i32 2, i32 1], align 4
@__const.main.inorder = private unnamed_addr constant [3 x i32] [i32 1, i32 2, i32 3], align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i32], align 4
%3 = alloca [3 x i32], align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.main.postorder, i64 12, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 @__const.main.inorder, i64 12, i1 false)
store i32 3, ptr %4, align 4
store i32 3, ptr %5, align 4
%7 = getelementptr inbounds [3 x i32], ptr %3, i64 0, i64 0
%8 = load i32, ptr %5, align 4
%9 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0
%10 = load i32, ptr %4, align 4
%11 = call ptr @buildTree(ptr noundef %7, i32 noundef %8, ptr noundef %9, i32 noundef %10)
store ptr %11, ptr %6, align 8
%12 = load ptr, ptr %6, align 8
%13 = call i32 @dump(ptr noundef %12)
%14 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare ptr @buildTree(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @dump(ptr 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 = { 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/tmpzkjuc8ai.c'
source_filename = "/tmp/tmpzkjuc8ai.c"
target datalayout = "e-m:e-p270: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/tmpzkjuc8ai.c"
target datalayout = "e-m:e-p270: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/tmpswb12nng.c'
source_filename = "/tmp/tmpswb12nng.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s v%d.%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c".%d\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c" rc%d\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c" beta%d\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c" r%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getVersion(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%18 = call ptr @calloc(i32 noundef 1, i32 noundef 20)
store ptr %18, ptr %17, align 8
%19 = load ptr, ptr %8, align 8
%20 = call i32 @strlen(ptr noundef %19)
%21 = add nsw i32 %20, 201
store i32 %21, ptr %15, align 4
%22 = load i32, ptr %15, align 4
%23 = sext i32 %22 to i64
%24 = mul i64 %23, 1
%25 = trunc i64 %24 to i32
%26 = call ptr @calloc(i32 noundef 1, i32 noundef %25)
store ptr %26, ptr %16, align 8
%27 = load ptr, ptr %16, align 8
%28 = load i32, ptr %15, align 4
%29 = load ptr, ptr %8, align 8
%30 = load i32, ptr %9, align 4
%31 = load i32, ptr %10, align 4
%32 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %27, i32 noundef %28, ptr noundef @.str, ptr noundef %29, i32 noundef %30, i32 noundef %31)
%33 = load i32, ptr %11, align 4
%34 = icmp sgt i32 %33, 0
br i1 %34, label %35, label %48
35: ; preds = %7
%36 = load ptr, ptr %17, align 8
%37 = load i32, ptr %11, align 4
%38 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %36, i32 noundef 20, ptr noundef @.str.1, i32 noundef %37)
%39 = load ptr, ptr %16, align 8
%40 = load ptr, ptr %17, align 8
%41 = load i32, ptr %15, align 4
%42 = load ptr, ptr %16, align 8
%43 = call i32 @strlen(ptr noundef %42)
%44 = sub nsw i32 %41, %43
%45 = call i32 @strncat(ptr noundef %39, ptr noundef %40, i32 noundef %44)
%46 = load ptr, ptr %17, align 8
%47 = call i32 @memset(ptr noundef %46, i32 noundef 0, i32 noundef 20)
br label %48
48: ; preds = %35, %7
%49 = load i32, ptr %14, align 4
%50 = icmp sgt i32 %49, 0
br i1 %50, label %51, label %64
51: ; preds = %48
%52 = load ptr, ptr %17, align 8
%53 = load i32, ptr %14, align 4
%54 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %52, i32 noundef 20, ptr noundef @.str.2, i32 noundef %53)
%55 = load ptr, ptr %16, align 8
%56 = load ptr, ptr %17, align 8
%57 = load i32, ptr %15, align 4
%58 = load ptr, ptr %16, align 8
%59 = call i32 @strlen(ptr noundef %58)
%60 = sub nsw i32 %57, %59
%61 = call i32 @strncat(ptr noundef %55, ptr noundef %56, i32 noundef %60)
%62 = load ptr, ptr %17, align 8
%63 = call i32 @memset(ptr noundef %62, i32 noundef 0, i32 noundef 20)
br label %81
64: ; preds = %48
%65 = load i32, ptr %13, align 4
%66 = icmp sgt i32 %65, 0
br i1 %66, label %67, label %80
67: ; preds = %64
%68 = load ptr, ptr %17, align 8
%69 = load i32, ptr %13, align 4
%70 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %68, i32 noundef 20, ptr noundef @.str.3, i32 noundef %69)
%71 = load ptr, ptr %16, align 8
%72 = load ptr, ptr %17, align 8
%73 = load i32, ptr %15, align 4
%74 = load ptr, ptr %16, align 8
%75 = call i32 @strlen(ptr noundef %74)
%76 = sub nsw i32 %73, %75
%77 = call i32 @strncat(ptr noundef %71, ptr noundef %72, i32 noundef %76)
%78 = load ptr, ptr %17, align 8
%79 = call i32 @memset(ptr noundef %78, i32 noundef 0, i32 noundef 20)
br label %80
80: ; preds = %67, %64
br label %81
81: ; preds = %80, %51
%82 = load i32, ptr %12, align 4
%83 = icmp sgt i32 %82, 0
br i1 %83, label %84, label %97
84: ; preds = %81
%85 = load ptr, ptr %17, align 8
%86 = load i32, ptr %12, align 4
%87 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %85, i32 noundef 20, ptr noundef @.str.4, i32 noundef %86)
%88 = load ptr, ptr %16, align 8
%89 = load ptr, ptr %17, align 8
%90 = load i32, ptr %15, align 4
%91 = load ptr, ptr %16, align 8
%92 = call i32 @strlen(ptr noundef %91)
%93 = sub nsw i32 %90, %92
%94 = call i32 @strncat(ptr noundef %88, ptr noundef %89, i32 noundef %93)
%95 = load ptr, ptr %17, align 8
%96 = call i32 @memset(ptr noundef %95, i32 noundef 0, i32 noundef 20)
br label %97
97: ; preds = %84, %81
%98 = load ptr, ptr %17, align 8
%99 = call i32 @free(ptr noundef %98)
%100 = load ptr, ptr %16, align 8
%101 = load ptr, ptr %16, align 8
%102 = call i32 @strlen(ptr noundef %101)
%103 = add nsw i32 %102, 1
%104 = call ptr @realloc(ptr noundef %100, i32 noundef %103)
store ptr %104, ptr %16, align 8
%105 = load ptr, ptr %16, align 8
ret ptr %105
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ...) #1
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @realloc(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/tmpswb12nng.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s v%d.%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c".%d\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c" rc%d\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c" beta%d\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c" r%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getVersion(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%18 = call ptr @calloc(i32 noundef 1, i32 noundef 20)
store ptr %18, ptr %17, align 8
%19 = load ptr, ptr %8, align 8
%20 = call i32 @strlen(ptr noundef %19)
%21 = add nsw i32 %20, 201
store i32 %21, ptr %15, align 4
%22 = load i32, ptr %15, align 4
%23 = sext i32 %22 to i64
%24 = mul i64 %23, 1
%25 = trunc i64 %24 to i32
%26 = call ptr @calloc(i32 noundef 1, i32 noundef %25)
store ptr %26, ptr %16, align 8
%27 = load ptr, ptr %16, align 8
%28 = load i32, ptr %15, align 4
%29 = load ptr, ptr %8, align 8
%30 = load i32, ptr %9, align 4
%31 = load i32, ptr %10, align 4
%32 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %27, i32 noundef %28, ptr noundef @.str, ptr noundef %29, i32 noundef %30, i32 noundef %31)
%33 = load i32, ptr %11, align 4
%34 = icmp sgt i32 %33, 0
br i1 %34, label %35, label %48
35: ; preds = %7
%36 = load ptr, ptr %17, align 8
%37 = load i32, ptr %11, align 4
%38 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %36, i32 noundef 20, ptr noundef @.str.1, i32 noundef %37)
%39 = load ptr, ptr %16, align 8
%40 = load ptr, ptr %17, align 8
%41 = load i32, ptr %15, align 4
%42 = load ptr, ptr %16, align 8
%43 = call i32 @strlen(ptr noundef %42)
%44 = sub nsw i32 %41, %43
%45 = call i32 @strncat(ptr noundef %39, ptr noundef %40, i32 noundef %44)
%46 = load ptr, ptr %17, align 8
%47 = call i32 @memset(ptr noundef %46, i32 noundef 0, i32 noundef 20)
br label %48
48: ; preds = %35, %7
%49 = load i32, ptr %14, align 4
%50 = icmp sgt i32 %49, 0
br i1 %50, label %51, label %64
51: ; preds = %48
%52 = load ptr, ptr %17, align 8
%53 = load i32, ptr %14, align 4
%54 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %52, i32 noundef 20, ptr noundef @.str.2, i32 noundef %53)
%55 = load ptr, ptr %16, align 8
%56 = load ptr, ptr %17, align 8
%57 = load i32, ptr %15, align 4
%58 = load ptr, ptr %16, align 8
%59 = call i32 @strlen(ptr noundef %58)
%60 = sub nsw i32 %57, %59
%61 = call i32 @strncat(ptr noundef %55, ptr noundef %56, i32 noundef %60)
%62 = load ptr, ptr %17, align 8
%63 = call i32 @memset(ptr noundef %62, i32 noundef 0, i32 noundef 20)
br label %81
64: ; preds = %48
%65 = load i32, ptr %13, align 4
%66 = icmp sgt i32 %65, 0
br i1 %66, label %67, label %80
67: ; preds = %64
%68 = load ptr, ptr %17, align 8
%69 = load i32, ptr %13, align 4
%70 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %68, i32 noundef 20, ptr noundef @.str.3, i32 noundef %69)
%71 = load ptr, ptr %16, align 8
%72 = load ptr, ptr %17, align 8
%73 = load i32, ptr %15, align 4
%74 = load ptr, ptr %16, align 8
%75 = call i32 @strlen(ptr noundef %74)
%76 = sub nsw i32 %73, %75
%77 = call i32 @strncat(ptr noundef %71, ptr noundef %72, i32 noundef %76)
%78 = load ptr, ptr %17, align 8
%79 = call i32 @memset(ptr noundef %78, i32 noundef 0, i32 noundef 20)
br label %80
80: ; preds = %67, %64
br label %81
81: ; preds = %80, %51
%82 = load i32, ptr %12, align 4
%83 = icmp sgt i32 %82, 0
br i1 %83, label %84, label %97
84: ; preds = %81
%85 = load ptr, ptr %17, align 8
%86 = load i32, ptr %12, align 4
%87 = call i32 (ptr, i32, ptr, ...) @snprintf(ptr noundef %85, i32 noundef 20, ptr noundef @.str.4, i32 noundef %86)
%88 = load ptr, ptr %16, align 8
%89 = load ptr, ptr %17, align 8
%90 = load i32, ptr %15, align 4
%91 = load ptr, ptr %16, align 8
%92 = call i32 @strlen(ptr noundef %91)
%93 = sub nsw i32 %90, %92
%94 = call i32 @strncat(ptr noundef %88, ptr noundef %89, i32 noundef %93)
%95 = load ptr, ptr %17, align 8
%96 = call i32 @memset(ptr noundef %95, i32 noundef 0, i32 noundef 20)
br label %97
97: ; preds = %84, %81
%98 = load ptr, ptr %17, align 8
%99 = call i32 @free(ptr noundef %98)
%100 = load ptr, ptr %16, align 8
%101 = load ptr, ptr %16, align 8
%102 = call i32 @strlen(ptr noundef %101)
%103 = add nsw i32 %102, 1
%104 = call ptr @realloc(ptr noundef %100, i32 noundef %103)
store ptr %104, ptr %16, align 8
%105 = load ptr, ptr %16, align 8
ret ptr %105
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ...) #1
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @realloc(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/tmpnkv09l7m.c'
source_filename = "/tmp/tmpnkv09l7m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"actual_leng = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"STR_LEN = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"String too long!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fisGetString2(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %8, align 4
br label %9
9: ; preds = %22, %3
%10 = load i32, ptr %8, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %25
13: ; preds = %9
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %8, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds double, ptr %14, i64 %16
%18 = load double, ptr %17, align 8
%19 = fcmp oeq double %18, 0.000000e+00
br i1 %19, label %20, label %21
20: ; preds = %13
br label %25
21: ; preds = %13
br label %22
22: ; preds = %21
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %8, align 4
br label %9, !llvm.loop !6
25: ; preds = %20, %9
%26 = load i32, ptr %8, align 4
%27 = add nsw i32 %26, 1
%28 = icmp sgt i32 %27, 500
br i1 %28, label %29, label %34
29: ; preds = %25
%30 = load i32, ptr %8, align 4
%31 = call i32 @printf(ptr noundef @.str, i32 noundef %30)
%32 = call i32 @printf(ptr noundef @.str.1, i32 noundef 500)
%33 = call i32 @fisError(ptr noundef @.str.2)
br label %34
34: ; preds = %29, %25
store i32 0, ptr %7, align 4
br label %35
35: ; preds = %50, %34
%36 = load i32, ptr %7, align 4
%37 = load i32, ptr %8, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %53
39: ; preds = %35
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %7, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds double, ptr %40, i64 %42
%44 = load double, ptr %43, align 8
%45 = fptosi double %44 to i8
%46 = load ptr, ptr %4, align 8
%47 = load i32, ptr %7, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %46, i64 %48
store i8 %45, ptr %49, align 1
br label %50
50: ; preds = %39
%51 = load i32, ptr %7, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %7, align 4
br label %35, !llvm.loop !8
53: ; preds = %35
%54 = load ptr, ptr %4, align 8
%55 = load i32, ptr %8, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
store i8 0, ptr %57, align 1
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @fisError(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpnkv09l7m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"actual_leng = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"STR_LEN = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"String too long!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fisGetString2(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %8, align 4
%9 = load i32, ptr %8, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %21
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %8, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds double, ptr %13, i64 %15
%17 = load double, ptr %16, align 8
%18 = fcmp oeq double %17, 0.000000e+00
br i1 %18, label %19, label %20
19: ; preds = %12
br label %27
20: ; preds = %12
br label %21
21: ; preds = %20
%22 = load i32, ptr %8, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %8, align 4
%24 = load i32, ptr %8, align 4
%25 = load i32, ptr %6, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %12, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %21
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %27
27: ; preds = %.loopexit, %19
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %28, 1
%30 = icmp sgt i32 %29, 500
br i1 %30, label %31, label %36
31: ; preds = %27
%32 = load i32, ptr %8, align 4
%33 = call i32 @printf(ptr noundef @.str, i32 noundef %32)
%34 = call i32 @printf(ptr noundef @.str.1, i32 noundef 500)
%35 = call i32 @fisError(ptr noundef @.str.2)
br label %36
36: ; preds = %31, %27
store i32 0, ptr %7, align 4
%37 = load i32, ptr %7, align 4
%38 = load i32, ptr %8, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %.lr.ph1, label %57
.lr.ph1: ; preds = %36
br label %40
40: ; preds = %.lr.ph1, %51
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr %7, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds double, ptr %41, i64 %43
%45 = load double, ptr %44, align 8
%46 = fptosi double %45 to i8
%47 = load ptr, ptr %4, align 8
%48 = load i32, ptr %7, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
store i8 %46, ptr %50, align 1
br label %51
51: ; preds = %40
%52 = load i32, ptr %7, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %7, align 4
%54 = load i32, ptr %7, align 4
%55 = load i32, ptr %8, align 4
%56 = icmp slt i32 %54, %55
br i1 %56, label %40, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %51
br label %57
57: ; preds = %._crit_edge, %36
%58 = load ptr, ptr %4, align 8
%59 = load i32, ptr %8, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %58, i64 %60
store i8 0, ptr %61, align 1
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @fisError(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp0ethht0k.c'
source_filename = "/tmp/tmp0ethht0k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @full_tabstops(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %8, align 4
br label %10
10: ; preds = %18, %3
%11 = load i32, ptr %8, align 4
%12 = icmp slt i32 %11, 100
br i1 %12, label %13, label %21
13: ; preds = %10
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %8, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
store i8 0, ptr %17, align 1
br label %18
18: ; preds = %13
%19 = load i32, ptr %8, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %8, align 4
br label %10, !llvm.loop !6
21: ; preds = %10
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %8, align 4
%25 = sext i32 %23 to i64
%26 = getelementptr inbounds i8, ptr %22, i64 %25
store i8 0, ptr %26, align 1
%27 = load i32, ptr %5, align 4
%28 = icmp eq i32 %27, 1
br i1 %28, label %29, label %47
29: ; preds = %21
store i32 0, ptr %8, align 4
br label %30
30: ; preds = %43, %29
%31 = load i32, ptr %8, align 4
%32 = icmp slt i32 %31, 100
br i1 %32, label %33, label %46
33: ; preds = %30
%34 = load i32, ptr %8, align 4
%35 = srem i32 %34, 4
%36 = icmp eq i32 %35, 0
%37 = zext i1 %36 to i32
%38 = trunc i32 %37 to i8
%39 = load ptr, ptr %4, align 8
%40 = load i32, ptr %8, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
store i8 %38, ptr %42, align 1
br label %43
43: ; preds = %33
%44 = load i32, ptr %8, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %8, align 4
br label %30, !llvm.loop !8
46: ; preds = %30
br label %62
47: ; preds = %21
br label %48
48: ; preds = %52, %47
%49 = load i32, ptr %5, align 4
%50 = add nsw i32 %49, -1
store i32 %50, ptr %5, align 4
%51 = icmp sgt i32 %50, 0
br i1 %51, label %52, label %61
52: ; preds = %48
%53 = load ptr, ptr %6, align 8
%54 = getelementptr inbounds ptr, ptr %53, i32 1
store ptr %54, ptr %6, align 8
%55 = load ptr, ptr %54, align 8
%56 = call i32 @atoi(ptr noundef %55)
store i32 %56, ptr %9, align 4
%57 = load ptr, ptr %4, align 8
%58 = load i32, ptr %9, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %57, i64 %59
store i8 1, ptr %60, align 1
br label %48, !llvm.loop !9
61: ; preds = %48
br label %62
62: ; preds = %61, %46
ret void
}
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0ethht0k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @full_tabstops(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %8, align 4
%10 = load i32, ptr %8, align 4
%11 = icmp slt i32 %10, 100
br i1 %11, label %.lr.ph, label %22
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %17
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %8, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
store i8 0, ptr %16, align 1
br label %17
17: ; preds = %12
%18 = load i32, ptr %8, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %8, align 4
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %20, 100
br i1 %21, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %3
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %8, align 4
%26 = sext i32 %24 to i64
%27 = getelementptr inbounds i8, ptr %23, i64 %26
store i8 0, ptr %27, align 1
%28 = load i32, ptr %5, align 4
%29 = icmp eq i32 %28, 1
br i1 %29, label %30, label %49
30: ; preds = %22
store i32 0, ptr %8, align 4
%31 = load i32, ptr %8, align 4
%32 = icmp slt i32 %31, 100
br i1 %32, label %.lr.ph5, label %48
.lr.ph5: ; preds = %30
br label %33
33: ; preds = %.lr.ph5, %43
%34 = load i32, ptr %8, align 4
%35 = srem i32 %34, 4
%36 = icmp eq i32 %35, 0
%37 = zext i1 %36 to i32
%38 = trunc i32 %37 to i8
%39 = load ptr, ptr %4, align 8
%40 = load i32, ptr %8, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
store i8 %38, ptr %42, align 1
br label %43
43: ; preds = %33
%44 = load i32, ptr %8, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %8, align 4
%46 = load i32, ptr %8, align 4
%47 = icmp slt i32 %46, 100
br i1 %47, label %33, label %._crit_edge6, !llvm.loop !8
._crit_edge6: ; preds = %43
br label %48
48: ; preds = %._crit_edge6, %30
br label %66
49: ; preds = %22
%50 = load i32, ptr %5, align 4
%51 = add nsw i32 %50, -1
store i32 %51, ptr %5, align 4
%52 = icmp sgt i32 %51, 0
br i1 %52, label %.lr.ph2, label %65
.lr.ph2: ; preds = %49
br label %53
53: ; preds = %.lr.ph2, %53
%54 = load ptr, ptr %6, align 8
%55 = getelementptr inbounds ptr, ptr %54, i32 1
store ptr %55, ptr %6, align 8
%56 = load ptr, ptr %55, align 8
%57 = call i32 @atoi(ptr noundef %56)
store i32 %57, ptr %9, align 4
%58 = load ptr, ptr %4, align 8
%59 = load i32, ptr %9, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %58, i64 %60
store i8 1, ptr %61, align 1
%62 = load i32, ptr %5, align 4
%63 = add nsw i32 %62, -1
store i32 %63, ptr %5, align 4
%64 = icmp sgt i32 %63, 0
br i1 %64, label %53, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %53
br label %65
65: ; preds = %._crit_edge3, %49
br label %66
66: ; preds = %65, %48
ret void
}
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp7e21ebts.c'
source_filename = "/tmp/tmp7e21ebts.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @d2i_PUBKEY(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%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
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %6, align 8
%11 = load i64, ptr %7, align 8
%12 = call ptr @d2i_X509_PUBKEY(ptr noundef null, ptr noundef %10, i64 noundef %11)
store ptr %12, ptr %8, align 8
%13 = load ptr, ptr %8, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %16, label %15
15: ; preds = %3
store ptr null, ptr %4, align 8
br label %35
16: ; preds = %3
%17 = load ptr, ptr %8, align 8
%18 = call ptr @X509_PUBKEY_get(ptr noundef %17)
store ptr %18, ptr %9, align 8
%19 = load ptr, ptr %8, align 8
%20 = call i32 @X509_PUBKEY_free(ptr noundef %19)
%21 = load ptr, ptr %9, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %24, label %23
23: ; preds = %16
store ptr null, ptr %4, align 8
br label %35
24: ; preds = %16
%25 = load ptr, ptr %5, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %33
27: ; preds = %24
%28 = load ptr, ptr %5, align 8
%29 = load ptr, ptr %28, align 8
%30 = call i32 @EVP_PKEY_free(ptr noundef %29)
%31 = load ptr, ptr %9, align 8
%32 = load ptr, ptr %5, align 8
store ptr %31, ptr %32, align 8
br label %33
33: ; preds = %27, %24
%34 = load ptr, ptr %9, align 8
store ptr %34, ptr %4, align 8
br label %35
35: ; preds = %33, %23, %15
%36 = load ptr, ptr %4, align 8
ret ptr %36
}
declare ptr @d2i_X509_PUBKEY(ptr noundef, ptr noundef, i64 noundef) #1
declare ptr @X509_PUBKEY_get(ptr noundef) #1
declare i32 @X509_PUBKEY_free(ptr noundef) #1
declare i32 @EVP_PKEY_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/tmp7e21ebts.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @d2i_PUBKEY(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%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
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %6, align 8
%11 = load i64, ptr %7, align 8
%12 = call ptr @d2i_X509_PUBKEY(ptr noundef null, ptr noundef %10, i64 noundef %11)
store ptr %12, ptr %8, align 8
%13 = load ptr, ptr %8, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %16, label %15
15: ; preds = %3
store ptr null, ptr %4, align 8
br label %35
16: ; preds = %3
%17 = load ptr, ptr %8, align 8
%18 = call ptr @X509_PUBKEY_get(ptr noundef %17)
store ptr %18, ptr %9, align 8
%19 = load ptr, ptr %8, align 8
%20 = call i32 @X509_PUBKEY_free(ptr noundef %19)
%21 = load ptr, ptr %9, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %24, label %23
23: ; preds = %16
store ptr null, ptr %4, align 8
br label %35
24: ; preds = %16
%25 = load ptr, ptr %5, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %33
27: ; preds = %24
%28 = load ptr, ptr %5, align 8
%29 = load ptr, ptr %28, align 8
%30 = call i32 @EVP_PKEY_free(ptr noundef %29)
%31 = load ptr, ptr %9, align 8
%32 = load ptr, ptr %5, align 8
store ptr %31, ptr %32, align 8
br label %33
33: ; preds = %27, %24
%34 = load ptr, ptr %9, align 8
store ptr %34, ptr %4, align 8
br label %35
35: ; preds = %33, %23, %15
%36 = load ptr, ptr %4, align 8
ret ptr %36
}
declare ptr @d2i_X509_PUBKEY(ptr noundef, ptr noundef, i64 noundef) #1
declare ptr @X509_PUBKEY_get(ptr noundef) #1
declare i32 @X509_PUBKEY_free(ptr noundef) #1
declare i32 @EVP_PKEY_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/tmp6bpqr50v.c'
source_filename = "/tmp/tmp6bpqr50v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_arp_entry(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6bpqr50v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_arp_entry(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl11yzoa3.c'
source_filename = "/tmp/tmpl11yzoa3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Windows - Microsoft\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @OS_Windows_print() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl11yzoa3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Windows - Microsoft\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @OS_Windows_print() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpezwm935w.c'
source_filename = "/tmp/tmpezwm935w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @matrix_multiplication(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca 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
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%16 = load ptr, ptr %9, align 8
%17 = load i32, ptr %10, align 4
%18 = load i32, ptr %12, align 4
%19 = mul nsw i32 %17, %18
%20 = sext i32 %19 to i64
%21 = mul i64 %20, 8
%22 = trunc i64 %21 to i32
%23 = call i32 @memset(ptr noundef %16, i32 noundef 0, i32 noundef %22)
store i32 0, ptr %13, align 4
br label %24
24: ; preds = %75, %6
%25 = load i32, ptr %13, align 4
%26 = load i32, ptr %10, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %78
28: ; preds = %24
store i32 0, ptr %15, align 4
br label %29
29: ; preds = %71, %28
%30 = load i32, ptr %15, align 4
%31 = load i32, ptr %12, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %74
33: ; preds = %29
store i32 0, ptr %14, align 4
br label %34
34: ; preds = %67, %33
%35 = load i32, ptr %14, align 4
%36 = load i32, ptr %11, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %38, label %70
38: ; preds = %34
%39 = load ptr, ptr %7, align 8
%40 = load i32, ptr %13, align 4
%41 = load i32, ptr %11, align 4
%42 = mul nsw i32 %40, %41
%43 = load i32, ptr %14, align 4
%44 = add nsw i32 %42, %43
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds double, ptr %39, i64 %45
%47 = load double, ptr %46, align 8
%48 = load ptr, ptr %8, align 8
%49 = load i32, ptr %14, align 4
%50 = load i32, ptr %12, align 4
%51 = mul nsw i32 %49, %50
%52 = load i32, ptr %15, align 4
%53 = add nsw i32 %51, %52
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds double, ptr %48, i64 %54
%56 = load double, ptr %55, align 8
%57 = load ptr, ptr %9, align 8
%58 = load i32, ptr %13, align 4
%59 = load i32, ptr %12, align 4
%60 = mul nsw i32 %58, %59
%61 = load i32, ptr %15, align 4
%62 = add nsw i32 %60, %61
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds double, ptr %57, i64 %63
%65 = load double, ptr %64, align 8
%66 = call double @llvm.fmuladd.f64(double %47, double %56, double %65)
store double %66, ptr %64, align 8
br label %67
67: ; preds = %38
%68 = load i32, ptr %14, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %14, align 4
br label %34, !llvm.loop !6
70: ; preds = %34
br label %71
71: ; preds = %70
%72 = load i32, ptr %15, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %15, align 4
br label %29, !llvm.loop !8
74: ; preds = %29
br label %75
75: ; preds = %74
%76 = load i32, ptr %13, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %13, align 4
br label %24, !llvm.loop !9
78: ; preds = %24
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpezwm935w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @matrix_multiplication(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca 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
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%16 = load ptr, ptr %9, align 8
%17 = load i32, ptr %10, align 4
%18 = load i32, ptr %12, align 4
%19 = mul nsw i32 %17, %18
%20 = sext i32 %19 to i64
%21 = mul i64 %20, 8
%22 = trunc i64 %21 to i32
%23 = call i32 @memset(ptr noundef %16, i32 noundef 0, i32 noundef %22)
store i32 0, ptr %13, align 4
%24 = load i32, ptr %13, align 4
%25 = load i32, ptr %10, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %.lr.ph5, label %84
.lr.ph5: ; preds = %6
br label %27
27: ; preds = %.lr.ph5, %78
store i32 0, ptr %15, align 4
%28 = load i32, ptr %15, align 4
%29 = load i32, ptr %12, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %.lr.ph2, label %77
.lr.ph2: ; preds = %27
br label %31
31: ; preds = %.lr.ph2, %71
store i32 0, ptr %14, align 4
%32 = load i32, ptr %14, align 4
%33 = load i32, ptr %11, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %.lr.ph, label %70
.lr.ph: ; preds = %31
br label %35
35: ; preds = %.lr.ph, %64
%36 = load ptr, ptr %7, align 8
%37 = load i32, ptr %13, align 4
%38 = load i32, ptr %11, align 4
%39 = mul nsw i32 %37, %38
%40 = load i32, ptr %14, align 4
%41 = add nsw i32 %39, %40
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds double, ptr %36, i64 %42
%44 = load double, ptr %43, align 8
%45 = load ptr, ptr %8, align 8
%46 = load i32, ptr %14, align 4
%47 = load i32, ptr %12, align 4
%48 = mul nsw i32 %46, %47
%49 = load i32, ptr %15, align 4
%50 = add nsw i32 %48, %49
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds double, ptr %45, i64 %51
%53 = load double, ptr %52, align 8
%54 = load ptr, ptr %9, align 8
%55 = load i32, ptr %13, align 4
%56 = load i32, ptr %12, align 4
%57 = mul nsw i32 %55, %56
%58 = load i32, ptr %15, align 4
%59 = add nsw i32 %57, %58
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds double, ptr %54, i64 %60
%62 = load double, ptr %61, align 8
%63 = call double @llvm.fmuladd.f64(double %44, double %53, double %62)
store double %63, ptr %61, align 8
br label %64
64: ; preds = %35
%65 = load i32, ptr %14, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %14, align 4
%67 = load i32, ptr %14, align 4
%68 = load i32, ptr %11, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %35, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %64
br label %70
70: ; preds = %._crit_edge, %31
br label %71
71: ; preds = %70
%72 = load i32, ptr %15, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %15, align 4
%74 = load i32, ptr %15, align 4
%75 = load i32, ptr %12, align 4
%76 = icmp slt i32 %74, %75
br i1 %76, label %31, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %71
br label %77
77: ; preds = %._crit_edge3, %27
br label %78
78: ; preds = %77
%79 = load i32, ptr %13, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %13, align 4
%81 = load i32, ptr %13, align 4
%82 = load i32, ptr %10, align 4
%83 = icmp slt i32 %81, %82
br i1 %83, label %27, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %78
br label %84
84: ; preds = %._crit_edge6, %6
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpiz8v3rhv.c'
source_filename = "/tmp/tmpiz8v3rhv.c"
target datalayout = "e-m:e-p270: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/tmpiz8v3rhv.c"
target datalayout = "e-m:e-p270: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/tmp60uf4cjg.c'
source_filename = "/tmp/tmp60uf4cjg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @usys_atoh(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 @inet_network(ptr noundef %3)
ret i32 %4
}
declare i32 @inet_network(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp60uf4cjg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @usys_atoh(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 @inet_network(ptr noundef %3)
ret i32 %4
}
declare i32 @inet_network(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxh92e8zb.c'
source_filename = "/tmp/tmpxh92e8zb.c"
target datalayout = "e-m:e-p270: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/tmpxh92e8zb.c"
target datalayout = "e-m:e-p270: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/tmpj285gfy0.c'
source_filename = "/tmp/tmpj285gfy0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lmc_shm_ensure_root_path() #0 {
%1 = call i32 (...) @lmc_namespace_root_path()
%2 = call i32 @lmc_does_file_exist(i32 noundef %1)
%3 = icmp ne i32 %2, 0
br i1 %3, label %9, label %4
4: ; preds = %0
%5 = call i32 (...) @lmc_namespace_root_path()
%6 = call i32 @mkdir(i32 noundef %5, i32 noundef 1023)
%7 = call i32 (...) @lmc_namespace_root_path()
%8 = call i32 @chmod(i32 noundef %7, i32 noundef 1023)
br label %9
9: ; preds = %4, %0
ret void
}
declare i32 @lmc_does_file_exist(i32 noundef) #1
declare i32 @lmc_namespace_root_path(...) #1
declare i32 @mkdir(i32 noundef, i32 noundef) #1
declare i32 @chmod(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/tmpj285gfy0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lmc_shm_ensure_root_path() #0 {
%1 = call i32 (...) @lmc_namespace_root_path()
%2 = call i32 @lmc_does_file_exist(i32 noundef %1)
%3 = icmp ne i32 %2, 0
br i1 %3, label %9, label %4
4: ; preds = %0
%5 = call i32 (...) @lmc_namespace_root_path()
%6 = call i32 @mkdir(i32 noundef %5, i32 noundef 1023)
%7 = call i32 (...) @lmc_namespace_root_path()
%8 = call i32 @chmod(i32 noundef %7, i32 noundef 1023)
br label %9
9: ; preds = %4, %0
ret void
}
declare i32 @lmc_does_file_exist(i32 noundef) #1
declare i32 @lmc_namespace_root_path(...) #1
declare i32 @mkdir(i32 noundef, i32 noundef) #1
declare i32 @chmod(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/tmpl08av1eb.c'
source_filename = "/tmp/tmpl08av1eb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [59 x i8] c"What sort of words are you using, more than %d in length ?\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [100 x i8], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
br label %4
4: ; preds = %45, %0
%5 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0
%6 = call i32 @getLine(ptr noundef %5)
store i32 %6, ptr %2, align 4
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %48
8: ; preds = %4
store i32 0, ptr %3, align 4
br label %9
9: ; preds = %38, %8
%10 = load i32, ptr %2, align 4
%11 = icmp sge i32 %10, 25
br i1 %11, label %12, label %45
12: ; preds = %9
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 25
store i32 %14, ptr %3, align 4
br label %15
15: ; preds = %28, %12
%16 = load i32, ptr %3, align 4
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %25
18: ; preds = %15
%19 = load i32, ptr %3, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 32
br label %25
25: ; preds = %18, %15
%26 = phi i1 [ false, %15 ], [ %24, %18 ]
br i1 %26, label %27, label %31
27: ; preds = %25
br label %28
28: ; preds = %27
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, -1
store i32 %30, ptr %3, align 4
br label %15, !llvm.loop !6
31: ; preds = %25
%32 = load i32, ptr %3, align 4
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %38
34: ; preds = %31
%35 = load i32, ptr %2, align 4
%36 = sub nsw i32 %35, 25
store i32 %36, ptr %2, align 4
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 25)
br label %38
38: ; preds = %34, %31
%39 = load i32, ptr %3, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 %40
store i8 10, ptr %41, align 1
%42 = load i32, ptr %3, align 4
%43 = load i32, ptr %2, align 4
%44 = sub nsw i32 %43, %42
store i32 %44, ptr %2, align 4
br label %9, !llvm.loop !8
45: ; preds = %9
%46 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %46)
br label %4, !llvm.loop !9
48: ; preds = %4
ret void
}
declare i32 @getLine(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl08av1eb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [59 x i8] c"What sort of words are you using, more than %d in length ?\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [100 x i8], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0
%5 = call i32 @getLine(ptr noundef %4)
store i32 %5, ptr %2, align 4
%6 = icmp sgt i32 %5, 0
br i1 %6, label %.lr.ph2, label %50
.lr.ph2: ; preds = %0
br label %7
7: ; preds = %.lr.ph2, %45
store i32 0, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp sge i32 %8, 25
br i1 %9, label %.lr.ph, label %45
.lr.ph: ; preds = %7
br label %10
10: ; preds = %.lr.ph, %36
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 25
store i32 %12, ptr %3, align 4
br label %13
13: ; preds = %26, %10
%14 = load i32, ptr %3, align 4
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %23
16: ; preds = %13
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %21, 32
br label %23
23: ; preds = %16, %13
%24 = phi i1 [ false, %13 ], [ %22, %16 ]
br i1 %24, label %25, label %29
25: ; preds = %23
br label %26
26: ; preds = %25
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, -1
store i32 %28, ptr %3, align 4
br label %13, !llvm.loop !6
29: ; preds = %23
%30 = load i32, ptr %3, align 4
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %36
32: ; preds = %29
%33 = load i32, ptr %2, align 4
%34 = sub nsw i32 %33, 25
store i32 %34, ptr %2, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 25)
br label %36
36: ; preds = %32, %29
%37 = load i32, ptr %3, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 %38
store i8 10, ptr %39, align 1
%40 = load i32, ptr %3, align 4
%41 = load i32, ptr %2, align 4
%42 = sub nsw i32 %41, %40
store i32 %42, ptr %2, align 4
%43 = load i32, ptr %2, align 4
%44 = icmp sge i32 %43, 25
br i1 %44, label %10, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %36
br label %45
45: ; preds = %._crit_edge, %7
%46 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %46)
%48 = call i32 @getLine(ptr noundef %4)
store i32 %48, ptr %2, align 4
%49 = icmp sgt i32 %48, 0
br i1 %49, label %7, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %45
br label %50
50: ; preds = %._crit_edge3, %0
ret void
}
declare i32 @getLine(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpimwmxond.c'
source_filename = "/tmp/tmpimwmxond.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tsa_two_alarms_Bad() #0 {
%1 = call i32 @two_symbolic_accesses(i32 noundef 1)
ret void
}
declare i32 @two_symbolic_accesses(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/tmpimwmxond.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tsa_two_alarms_Bad() #0 {
%1 = call i32 @two_symbolic_accesses(i32 noundef 1)
ret void
}
declare i32 @two_symbolic_accesses(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/tmpb4og27va.c'
source_filename = "/tmp/tmpb4og27va.c"
target datalayout = "e-m:e-p270: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/tmpb4og27va.c"
target datalayout = "e-m:e-p270: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/tmp18sllzt8.c'
source_filename = "/tmp/tmp18sllzt8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gdb_recursion_test(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%16 = load i32, ptr %9, align 4
store i32 %16, ptr %15, align 4
%17 = load i32, ptr %10, align 4
store i32 %17, ptr %9, align 4
%18 = load i32, ptr %11, align 4
store i32 %18, ptr %10, align 4
%19 = load i32, ptr %12, align 4
store i32 %19, ptr %11, align 4
%20 = load i32, ptr %13, align 4
store i32 %20, ptr %12, align 4
%21 = load i32, ptr %14, align 4
store i32 %21, ptr %13, align 4
%22 = load i32, ptr %15, align 4
store i32 %22, ptr %14, align 4
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, -1
store i32 %24, ptr %8, align 4
%25 = icmp ne i32 %23, 0
br i1 %25, label %26, label %35
26: ; preds = %7
%27 = load i32, ptr %8, align 4
%28 = load i32, ptr %9, align 4
%29 = load i32, ptr %10, align 4
%30 = load i32, ptr %11, align 4
%31 = load i32, ptr %12, align 4
%32 = load i32, ptr %13, align 4
%33 = load i32, ptr %14, align 4
%34 = call i32 @gdb_recursion_test_ptr(i32 noundef %27, i32 noundef %28, i32 noundef %29, i32 noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef %33)
br label %35
35: ; preds = %26, %7
ret void
}
declare i32 @gdb_recursion_test_ptr(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp18sllzt8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gdb_recursion_test(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%16 = load i32, ptr %9, align 4
store i32 %16, ptr %15, align 4
%17 = load i32, ptr %10, align 4
store i32 %17, ptr %9, align 4
%18 = load i32, ptr %11, align 4
store i32 %18, ptr %10, align 4
%19 = load i32, ptr %12, align 4
store i32 %19, ptr %11, align 4
%20 = load i32, ptr %13, align 4
store i32 %20, ptr %12, align 4
%21 = load i32, ptr %14, align 4
store i32 %21, ptr %13, align 4
%22 = load i32, ptr %15, align 4
store i32 %22, ptr %14, align 4
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, -1
store i32 %24, ptr %8, align 4
%25 = icmp ne i32 %23, 0
br i1 %25, label %26, label %35
26: ; preds = %7
%27 = load i32, ptr %8, align 4
%28 = load i32, ptr %9, align 4
%29 = load i32, ptr %10, align 4
%30 = load i32, ptr %11, align 4
%31 = load i32, ptr %12, align 4
%32 = load i32, ptr %13, align 4
%33 = load i32, ptr %14, align 4
%34 = call i32 @gdb_recursion_test_ptr(i32 noundef %27, i32 noundef %28, i32 noundef %29, i32 noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef %33)
br label %35
35: ; preds = %26, %7
ret void
}
declare i32 @gdb_recursion_test_ptr(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptyide0an.c'
source_filename = "/tmp/tmptyide0an.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [941 x i8] c".c - Clears text editor buffer\0A.f - Formats text editor buffer with indents on paragraphs (preserves line breaks)\0A.sp - spell checks text editor buffer\0A.s(?) - searches text editor buffer for strings matching query (possibly moves to the string?)\0A.r <parameter1> <parameter2> - replaces 1 occurance of parameter1 string with parameter2 string.\0A.rf - replaces all occurances of parameter1 string with parameter2 string.\0A.i <parameter1> <parameter2> - searches for parameter1 and inserts parameter2 before it.\0A.d <parameter1> - deletes the string specified in parameter 1\0A.n - turns on line numbers\0A.dl# - deletes a line specified by number\0A.l# - skips to the line specified by number\0A.p - prints contents\0A.q - exits without saving changes\0A.qs - saves changes and exits text editor\0A.a<#> - Appends a new line at #. If no # is specified, adds new line to end.\0A.h - help\0A.t <line1> <line2> - copy/pastes an existing line to the specified line.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @editor_help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmptyide0an.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [941 x i8] c".c - Clears text editor buffer\0A.f - Formats text editor buffer with indents on paragraphs (preserves line breaks)\0A.sp - spell checks text editor buffer\0A.s(?) - searches text editor buffer for strings matching query (possibly moves to the string?)\0A.r <parameter1> <parameter2> - replaces 1 occurance of parameter1 string with parameter2 string.\0A.rf - replaces all occurances of parameter1 string with parameter2 string.\0A.i <parameter1> <parameter2> - searches for parameter1 and inserts parameter2 before it.\0A.d <parameter1> - deletes the string specified in parameter 1\0A.n - turns on line numbers\0A.dl# - deletes a line specified by number\0A.l# - skips to the line specified by number\0A.p - prints contents\0A.q - exits without saving changes\0A.qs - saves changes and exits text editor\0A.a<#> - Appends a new line at #. If no # is specified, adds new line to end.\0A.h - help\0A.t <line1> <line2> - copy/pastes an existing line to the specified line.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @editor_help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4c11l0_t.c'
source_filename = "/tmp/tmp4c11l0_t.c"
target datalayout = "e-m:e-p270: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/tmp4c11l0_t.c"
target datalayout = "e-m:e-p270: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/tmph733nqsg.c'
source_filename = "/tmp/tmph733nqsg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__WORDSIZE = 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/tmph733nqsg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__WORDSIZE = 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/tmppo0_z9kb.c'
source_filename = "/tmp/tmppo0_z9kb.c"
target datalayout = "e-m:e-p270: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 [21 x i8] c"Callocation failure.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @calloc_or_die(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = load i64, ptr %4, align 8
%8 = call ptr @calloc(i64 noundef %6, i64 noundef %7) #4
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %15, label %11
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 1) #5
unreachable
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
ret ptr %16
}
; Function Attrs: allocsize(0,1)
declare ptr @calloc(i64 noundef, i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0,1) "frame-pointer"="all" "no-trapping-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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { allocsize(0,1) }
attributes #5 = { 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/tmppo0_z9kb.c"
target datalayout = "e-m:e-p270: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 [21 x i8] c"Callocation failure.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @calloc_or_die(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = load i64, ptr %4, align 8
%8 = call ptr @calloc(i64 noundef %6, i64 noundef %7) #4
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %15, label %11
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 1) #5
unreachable
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
ret ptr %16
}
; Function Attrs: allocsize(0,1)
declare ptr @calloc(i64 noundef, i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0,1) "frame-pointer"="all" "no-trapping-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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { allocsize(0,1) }
attributes #5 = { 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/tmpoheztf9o.c'
source_filename = "/tmp/tmpoheztf9o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"U_WMR84\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @U_WMR84_set() #0 {
%1 = call ptr @U_WMRCORENONE_set(ptr noundef @.str)
ret ptr %1
}
declare ptr @U_WMRCORENONE_set(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoheztf9o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"U_WMR84\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @U_WMR84_set() #0 {
%1 = call ptr @U_WMRCORENONE_set(ptr noundef @.str)
ret ptr %1
}
declare ptr @U_WMRCORENONE_set(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp73l5imqz.c'
source_filename = "/tmp/tmp73l5imqz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"Usage:\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c" -h[elp] this stuff\0A\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c" -v[ersion] show version\0A\00", align 1
@.str.3 = private unnamed_addr constant [45 x i8] c" -a[uto] start in auto demo mode\0A\00", align 1
@.str.4 = private unnamed_addr constant [40 x i8] c" -s[cale] f scale windows by f\0A\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"Standard GLUT args:\0A\00", align 1
@.str.6 = private unnamed_addr constant [34 x i8] c" -iconic start iconic\0A\00", align 1
@.str.7 = private unnamed_addr constant [38 x i8] c" -display DISP use display DISP\0A\00", align 1
@.str.8 = private unnamed_addr constant [52 x i8] c" -direct use direct rendering (default)\0A\00", align 1
@.str.9 = private unnamed_addr constant [44 x i8] c" -indirect use indirect rendering\0A\00", align 1
@.str.10 = private unnamed_addr constant [48 x i8] c" -sync use synchronous X protocol\0A\00", align 1
@.str.11 = private unnamed_addr constant [41 x i8] c" -gldebug check OpenGL errors\0A\00", align 1
@.str.12 = private unnamed_addr constant [63 x i8] c" -geometry WxH+X+Y standard X window spec (overridden here) \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @commandLineHelp() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
%9 = call i32 @printf(ptr noundef @.str.8)
%10 = call i32 @printf(ptr noundef @.str.9)
%11 = call i32 @printf(ptr noundef @.str.10)
%12 = call i32 @printf(ptr noundef @.str.11)
%13 = call i32 @printf(ptr noundef @.str.12)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp73l5imqz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"Usage:\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c" -h[elp] this stuff\0A\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c" -v[ersion] show version\0A\00", align 1
@.str.3 = private unnamed_addr constant [45 x i8] c" -a[uto] start in auto demo mode\0A\00", align 1
@.str.4 = private unnamed_addr constant [40 x i8] c" -s[cale] f scale windows by f\0A\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"Standard GLUT args:\0A\00", align 1
@.str.6 = private unnamed_addr constant [34 x i8] c" -iconic start iconic\0A\00", align 1
@.str.7 = private unnamed_addr constant [38 x i8] c" -display DISP use display DISP\0A\00", align 1
@.str.8 = private unnamed_addr constant [52 x i8] c" -direct use direct rendering (default)\0A\00", align 1
@.str.9 = private unnamed_addr constant [44 x i8] c" -indirect use indirect rendering\0A\00", align 1
@.str.10 = private unnamed_addr constant [48 x i8] c" -sync use synchronous X protocol\0A\00", align 1
@.str.11 = private unnamed_addr constant [41 x i8] c" -gldebug check OpenGL errors\0A\00", align 1
@.str.12 = private unnamed_addr constant [63 x i8] c" -geometry WxH+X+Y standard X window spec (overridden here) \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @commandLineHelp() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
%9 = call i32 @printf(ptr noundef @.str.8)
%10 = call i32 @printf(ptr noundef @.str.9)
%11 = call i32 @printf(ptr noundef @.str.10)
%12 = call i32 @printf(ptr noundef @.str.11)
%13 = call i32 @printf(ptr noundef @.str.12)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpskwlo_x7.c'
source_filename = "/tmp/tmpskwlo_x7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @listen_sock(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @listen(i32 noundef %3, i32 noundef 5)
ret void
}
declare i32 @listen(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/tmpskwlo_x7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @listen_sock(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @listen(i32 noundef %3, i32 noundef 5)
ret void
}
declare i32 @listen(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/tmpj9ox9skc.c'
source_filename = "/tmp/tmpj9ox9skc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"val[0]= %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @INDMINVAL(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
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds float, ptr %9, i64 0
%11 = load float, ptr %10, align 4
%12 = call i32 @printf(ptr noundef @.str, float noundef %11)
%13 = load i32, ptr %5, align 4
store i32 %13, ptr %8, align 4
%14 = load i32, ptr %5, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %7, align 4
br label %16
16: ; preds = %35, %3
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp sle i32 %17, %18
br i1 %19, label %20, label %38
20: ; preds = %16
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %8, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds float, ptr %21, i64 %23
%25 = load float, ptr %24, align 4
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr %7, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds float, ptr %26, i64 %28
%30 = load float, ptr %29, align 4
%31 = fcmp ogt float %25, %30
br i1 %31, label %32, label %34
32: ; preds = %20
%33 = load i32, ptr %7, align 4
store i32 %33, ptr %8, align 4
br label %34
34: ; preds = %32, %20
br label %35
35: ; preds = %34
%36 = load i32, ptr %7, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %7, align 4
br label %16, !llvm.loop !6
38: ; preds = %16
%39 = load i32, ptr %8, align 4
ret i32 %39
}
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj9ox9skc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"val[0]= %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @INDMINVAL(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
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds float, ptr %9, i64 0
%11 = load float, ptr %10, align 4
%12 = call i32 @printf(ptr noundef @.str, float noundef %11)
%13 = load i32, ptr %5, align 4
store i32 %13, ptr %8, align 4
%14 = load i32, ptr %5, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %7, align 4
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp sle i32 %16, %17
br i1 %18, label %.lr.ph, label %40
.lr.ph: ; preds = %3
br label %19
19: ; preds = %.lr.ph, %34
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %8, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds float, ptr %20, i64 %22
%24 = load float, ptr %23, align 4
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %7, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds float, ptr %25, i64 %27
%29 = load float, ptr %28, align 4
%30 = fcmp ogt float %24, %29
br i1 %30, label %31, label %33
31: ; preds = %19
%32 = load i32, ptr %7, align 4
store i32 %32, ptr %8, align 4
br label %33
33: ; preds = %31, %19
br label %34
34: ; preds = %33
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %7, align 4
%37 = load i32, ptr %7, align 4
%38 = load i32, ptr %6, align 4
%39 = icmp sle i32 %37, %38
br i1 %39, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %40
40: ; preds = %._crit_edge, %3
%41 = load i32, ptr %8, align 4
ret i32 %41
}
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpruf4i1bu.c'
source_filename = "/tmp/tmpruf4i1bu.c"
target datalayout = "e-m:e-p270: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/tmpruf4i1bu.c"
target datalayout = "e-m:e-p270: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/tmpf0odf2h1.c'
source_filename = "/tmp/tmpf0odf2h1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sibcall_strong_s2() #0 section ".test.b" {
%1 = call ptr (...) @strong_s2()
ret ptr %1
}
declare ptr @strong_s2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf0odf2h1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sibcall_strong_s2() #0 section ".test.b" {
%1 = call ptr (...) @strong_s2()
ret ptr %1
}
declare ptr @strong_s2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd1f4tv7l.c'
source_filename = "/tmp/tmpd1f4tv7l.c"
target datalayout = "e-m:e-p270: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/tmpd1f4tv7l.c"
target datalayout = "e-m:e-p270: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/tmpe21vdxm0.c'
source_filename = "/tmp/tmpe21vdxm0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"Prime: %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printPrime(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
ret void
}
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/tmpe21vdxm0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"Prime: %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printPrime(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
ret void
}
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/tmp5guf451u.c'
source_filename = "/tmp/tmp5guf451u.c"
target datalayout = "e-m:e-p270: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 [29 x i8] c"usage: %s pal [directorios]\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c".\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %16
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14)
br label %16
16: ; preds = %10, %2
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %17, -1
store i32 %18, ptr %4, align 4
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i32 1
store ptr %20, ptr %5, align 8
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 0
%23 = load ptr, ptr %22, align 8
store ptr %23, ptr %6, align 8
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, -1
store i32 %25, ptr %4, align 4
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i32 1
store ptr %27, ptr %5, align 8
store i32 0, ptr %7, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %16
%31 = load ptr, ptr %6, align 8
%32 = call i32 @buscar_en_dir(ptr noundef %31, ptr noundef @.str.1)
br label %50
33: ; preds = %16
store i32 0, ptr %7, align 4
br label %34
34: ; preds = %46, %33
%35 = load i32, ptr %7, align 4
%36 = load i32, ptr %4, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %38, label %49
38: ; preds = %34
%39 = load ptr, ptr %6, align 8
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %7, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds ptr, ptr %40, i64 %42
%44 = load ptr, ptr %43, align 8
%45 = call i32 @buscar_en_dir(ptr noundef %39, ptr noundef %44)
br label %46
46: ; preds = %38
%47 = load i32, ptr %7, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %7, align 4
br label %34, !llvm.loop !6
49: ; preds = %34
br label %50
50: ; preds = %49, %30
%51 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @buscar_en_dir(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5guf451u.c"
target datalayout = "e-m:e-p270: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 [29 x i8] c"usage: %s pal [directorios]\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c".\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %16
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14)
br label %16
16: ; preds = %10, %2
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %17, -1
store i32 %18, ptr %4, align 4
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i32 1
store ptr %20, ptr %5, align 8
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 0
%23 = load ptr, ptr %22, align 8
store ptr %23, ptr %6, align 8
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, -1
store i32 %25, ptr %4, align 4
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i32 1
store ptr %27, ptr %5, align 8
store i32 0, ptr %7, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %16
%31 = load ptr, ptr %6, align 8
%32 = call i32 @buscar_en_dir(ptr noundef %31, ptr noundef @.str.1)
br label %52
33: ; preds = %16
store i32 0, ptr %7, align 4
%34 = load i32, ptr %7, align 4
%35 = load i32, ptr %4, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %.lr.ph, label %51
.lr.ph: ; preds = %33
br label %37
37: ; preds = %.lr.ph, %45
%38 = load ptr, ptr %6, align 8
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %7, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds ptr, ptr %39, i64 %41
%43 = load ptr, ptr %42, align 8
%44 = call i32 @buscar_en_dir(ptr noundef %38, ptr noundef %43)
br label %45
45: ; preds = %37
%46 = load i32, ptr %7, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %7, align 4
%48 = load i32, ptr %7, align 4
%49 = load i32, ptr %4, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %37, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %45
br label %51
51: ; preds = %._crit_edge, %33
br label %52
52: ; preds = %51, %30
%53 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @buscar_en_dir(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpwjeuoszs.c'
source_filename = "/tmp/tmpwjeuoszs.c"
target datalayout = "e-m:e-p270: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/tmpwjeuoszs.c"
target datalayout = "e-m:e-p270: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/tmphk_n0j0x.c'
source_filename = "/tmp/tmphk_n0j0x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @longestPalindrome(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %13
11: ; preds = %1
%12 = call ptr @strdup(ptr noundef @.str)
store ptr %12, ptr %2, align 8
br label %73
13: ; preds = %1
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 0
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 0
br i1 %18, label %25, label %19
19: ; preds = %13
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 1
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %19, %13
%26 = load ptr, ptr %3, align 8
%27 = call ptr @strdup(ptr noundef %26)
store ptr %27, ptr %2, align 8
br label %73
28: ; preds = %19
store i32 0, ptr %4, align 4
store i32 0, ptr %6, align 4
br label %29
29: ; preds = %63, %28
%30 = load ptr, ptr %3, align 8
%31 = load i32, ptr %6, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = icmp ne i8 %34, 0
br i1 %35, label %36, label %66
36: ; preds = %29
%37 = load ptr, ptr %3, align 8
%38 = load i32, ptr %6, align 4
%39 = sub nsw i32 %38, 1
%40 = load i32, ptr %6, align 4
%41 = add nsw i32 %40, 1
%42 = call i32 @pal(ptr noundef %37, i32 noundef %39, i32 noundef %41, ptr noundef %7)
%43 = add nsw i32 %42, 1
store i32 %43, ptr %8, align 4
%44 = load i32, ptr %8, align 4
%45 = load i32, ptr %4, align 4
%46 = icmp sgt i32 %44, %45
br i1 %46, label %47, label %50
47: ; preds = %36
%48 = load i32, ptr %8, align 4
store i32 %48, ptr %4, align 4
%49 = load i32, ptr %7, align 4
store i32 %49, ptr %5, align 4
br label %50
50: ; preds = %47, %36
%51 = load ptr, ptr %3, align 8
%52 = load i32, ptr %6, align 4
%53 = load i32, ptr %6, align 4
%54 = add nsw i32 %53, 1
%55 = call i32 @pal(ptr noundef %51, i32 noundef %52, i32 noundef %54, ptr noundef %7)
store i32 %55, ptr %8, align 4
%56 = load i32, ptr %8, align 4
%57 = load i32, ptr %4, align 4
%58 = icmp sgt i32 %56, %57
br i1 %58, label %59, label %62
59: ; preds = %50
%60 = load i32, ptr %8, align 4
store i32 %60, ptr %4, align 4
%61 = load i32, ptr %7, align 4
store i32 %61, ptr %5, align 4
br label %62
62: ; preds = %59, %50
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 %29, !llvm.loop !6
66: ; preds = %29
%67 = load ptr, ptr %3, align 8
%68 = load i32, ptr %5, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %67, i64 %69
%71 = load i32, ptr %4, align 4
%72 = call ptr @strndup(ptr noundef %70, i32 noundef %71)
store ptr %72, ptr %2, align 8
br label %73
73: ; preds = %66, %25, %11
%74 = load ptr, ptr %2, align 8
ret ptr %74
}
declare ptr @strdup(ptr noundef) #1
declare i32 @pal(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare ptr @strndup(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/tmphk_n0j0x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @longestPalindrome(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%9 = load ptr, ptr %3, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %13
11: ; preds = %1
%12 = call ptr @strdup(ptr noundef @.str)
store ptr %12, ptr %2, align 8
br label %78
13: ; preds = %1
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 0
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 0
br i1 %18, label %25, label %19
19: ; preds = %13
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 1
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %19, %13
%26 = load ptr, ptr %3, align 8
%27 = call ptr @strdup(ptr noundef %26)
store ptr %27, ptr %2, align 8
br label %78
28: ; preds = %19
store i32 0, ptr %4, align 4
store i32 0, ptr %6, align 4
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %6, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = load i8, ptr %32, align 1
%34 = icmp ne i8 %33, 0
br i1 %34, label %.lr.ph, label %71
.lr.ph: ; preds = %28
br label %35
35: ; preds = %.lr.ph, %62
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %6, align 4
%38 = sub nsw i32 %37, 1
%39 = load i32, ptr %6, align 4
%40 = add nsw i32 %39, 1
%41 = call i32 @pal(ptr noundef %36, i32 noundef %38, i32 noundef %40, ptr noundef %7)
%42 = add nsw i32 %41, 1
store i32 %42, ptr %8, align 4
%43 = load i32, ptr %8, align 4
%44 = load i32, ptr %4, align 4
%45 = icmp sgt i32 %43, %44
br i1 %45, label %46, label %49
46: ; preds = %35
%47 = load i32, ptr %8, align 4
store i32 %47, ptr %4, align 4
%48 = load i32, ptr %7, align 4
store i32 %48, ptr %5, align 4
br label %49
49: ; preds = %46, %35
%50 = load ptr, ptr %3, align 8
%51 = load i32, ptr %6, align 4
%52 = load i32, ptr %6, align 4
%53 = add nsw i32 %52, 1
%54 = call i32 @pal(ptr noundef %50, i32 noundef %51, i32 noundef %53, ptr noundef %7)
store i32 %54, ptr %8, align 4
%55 = load i32, ptr %8, align 4
%56 = load i32, ptr %4, align 4
%57 = icmp sgt i32 %55, %56
br i1 %57, label %58, label %61
58: ; preds = %49
%59 = load i32, ptr %8, align 4
store i32 %59, ptr %4, align 4
%60 = load i32, ptr %7, align 4
store i32 %60, ptr %5, align 4
br label %61
61: ; preds = %58, %49
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 ptr, ptr %3, align 8
%66 = load i32, ptr %6, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %65, i64 %67
%69 = load i8, ptr %68, align 1
%70 = icmp ne i8 %69, 0
br i1 %70, label %35, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %62
br label %71
71: ; preds = %._crit_edge, %28
%72 = load ptr, ptr %3, align 8
%73 = load i32, ptr %5, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i8, ptr %72, i64 %74
%76 = load i32, ptr %4, align 4
%77 = call ptr @strndup(ptr noundef %75, i32 noundef %76)
store ptr %77, ptr %2, align 8
br label %78
78: ; preds = %71, %25, %11
%79 = load ptr, ptr %2, align 8
ret ptr %79
}
declare ptr @strdup(ptr noundef) #1
declare i32 @pal(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare ptr @strndup(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/tmpewl5t7e3.c'
source_filename = "/tmp/tmpewl5t7e3.c"
target datalayout = "e-m:e-p270: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/tmpewl5t7e3.c"
target datalayout = "e-m:e-p270: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/tmp8z0lmbz9.c'
source_filename = "/tmp/tmp8z0lmbz9.c"
target datalayout = "e-m:e-p270: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/tmp8z0lmbz9.c"
target datalayout = "e-m:e-p270: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/tmpt0un9w9a.c'
source_filename = "/tmp/tmpt0un9w9a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Si1132_readVisible() #0 {
%1 = call i32 @usleep(i32 noundef 10000)
%2 = call i32 @Si1132_I2C_read16(i32 noundef 34)
%3 = sub nsw i32 %2, 256
%4 = sitofp i32 %3 to double
%5 = fdiv double %4, 2.820000e-01
%6 = fmul double %5, 1.450000e+01
%7 = fptrunc double %6 to float
ret float %7
}
declare i32 @usleep(i32 noundef) #1
declare i32 @Si1132_I2C_read16(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/tmpt0un9w9a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Si1132_readVisible() #0 {
%1 = call i32 @usleep(i32 noundef 10000)
%2 = call i32 @Si1132_I2C_read16(i32 noundef 34)
%3 = sub nsw i32 %2, 256
%4 = sitofp i32 %3 to double
%5 = fdiv double %4, 2.820000e-01
%6 = fmul double %5, 1.450000e+01
%7 = fptrunc double %6 to float
ret float %7
}
declare i32 @usleep(i32 noundef) #1
declare i32 @Si1132_I2C_read16(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/tmpchljtlry.c'
source_filename = "/tmp/tmpchljtlry.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qtreetbl_byte_cmp(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
%12 = load i64, ptr %7, align 8
%13 = load i64, ptr %9, align 8
%14 = icmp ult i64 %12, %13
br i1 %14, label %15, label %17
15: ; preds = %4
%16 = load i64, ptr %7, align 8
br label %19
17: ; preds = %4
%18 = load i64, ptr %9, align 8
br label %19
19: ; preds = %17, %15
%20 = phi i64 [ %16, %15 ], [ %18, %17 ]
store i64 %20, ptr %10, align 8
%21 = load ptr, ptr %6, align 8
%22 = load ptr, ptr %8, align 8
%23 = load i64, ptr %10, align 8
%24 = call i32 @memcmp(ptr noundef %21, ptr noundef %22, i64 noundef %23)
store i32 %24, ptr %11, align 4
%25 = load i32, ptr %11, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %31, label %27
27: ; preds = %19
%28 = load i64, ptr %7, align 8
%29 = load i64, ptr %9, align 8
%30 = icmp eq i64 %28, %29
br i1 %30, label %31, label %33
31: ; preds = %27, %19
%32 = load i32, ptr %11, align 4
store i32 %32, ptr %5, align 4
br label %39
33: ; preds = %27
%34 = load i64, ptr %7, align 8
%35 = load i64, ptr %9, align 8
%36 = icmp ult i64 %34, %35
%37 = zext i1 %36 to i64
%38 = select i1 %36, i32 -1, i32 1
store i32 %38, ptr %5, align 4
br label %39
39: ; preds = %33, %31
%40 = load i32, ptr %5, align 4
ret i32 %40
}
declare i32 @memcmp(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/tmpchljtlry.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qtreetbl_byte_cmp(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
%12 = load i64, ptr %7, align 8
%13 = load i64, ptr %9, align 8
%14 = icmp ult i64 %12, %13
br i1 %14, label %15, label %17
15: ; preds = %4
%16 = load i64, ptr %7, align 8
br label %19
17: ; preds = %4
%18 = load i64, ptr %9, align 8
br label %19
19: ; preds = %17, %15
%20 = phi i64 [ %16, %15 ], [ %18, %17 ]
store i64 %20, ptr %10, align 8
%21 = load ptr, ptr %6, align 8
%22 = load ptr, ptr %8, align 8
%23 = load i64, ptr %10, align 8
%24 = call i32 @memcmp(ptr noundef %21, ptr noundef %22, i64 noundef %23)
store i32 %24, ptr %11, align 4
%25 = load i32, ptr %11, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %31, label %27
27: ; preds = %19
%28 = load i64, ptr %7, align 8
%29 = load i64, ptr %9, align 8
%30 = icmp eq i64 %28, %29
br i1 %30, label %31, label %33
31: ; preds = %27, %19
%32 = load i32, ptr %11, align 4
store i32 %32, ptr %5, align 4
br label %39
33: ; preds = %27
%34 = load i64, ptr %7, align 8
%35 = load i64, ptr %9, align 8
%36 = icmp ult i64 %34, %35
%37 = zext i1 %36 to i64
%38 = select i1 %36, i32 -1, i32 1
store i32 %38, ptr %5, align 4
br label %39
39: ; preds = %33, %31
%40 = load i32, ptr %5, align 4
ret i32 %40
}
declare i32 @memcmp(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/tmp_tbo6am8.c'
source_filename = "/tmp/tmp_tbo6am8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_tbo6am8.c"
target datalayout = "e-m:e-p270: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/tmpjzs5nuw9.c'
source_filename = "/tmp/tmpjzs5nuw9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d %d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @generate_records(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%10 = call i32 (...) @rand()
%11 = srem i32 %10, 100
store i32 %11, ptr %6, align 4
%12 = call i32 (...) @rand()
%13 = srem i32 %12, 100
store i32 %13, ptr %7, align 4
store i32 0, ptr %5, align 4
br label %14
14: ; preds = %36, %2
%15 = load i32, ptr %5, align 4
%16 = icmp sle i32 %15, 200
br i1 %16, label %17, label %39
17: ; preds = %14
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %7, align 4
%23 = call i32 @fprintf(ptr noundef %18, ptr noundef @.str, i32 noundef %19, i32 noundef %20, i32 noundef %21, i32 noundef %22)
%24 = call i32 (...) @rand()
%25 = srem i32 %24, 11
%26 = sub nsw i32 %25, 5
store i32 %26, ptr %8, align 4
%27 = call i32 (...) @rand()
%28 = srem i32 %27, 11
%29 = sub nsw i32 %28, 5
store i32 %29, ptr %9, align 4
%30 = load i32, ptr %8, align 4
%31 = load i32, ptr %6, align 4
%32 = add nsw i32 %31, %30
store i32 %32, ptr %6, align 4
%33 = load i32, ptr %9, align 4
%34 = load i32, ptr %7, align 4
%35 = add nsw i32 %34, %33
store i32 %35, ptr %7, align 4
br label %36
36: ; preds = %17
%37 = load i32, ptr %5, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %5, align 4
br label %14, !llvm.loop !6
39: ; preds = %14
ret void
}
declare i32 @rand(...) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjzs5nuw9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d %d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @generate_records(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%10 = call i32 (...) @rand()
%11 = srem i32 %10, 100
store i32 %11, ptr %6, align 4
%12 = call i32 (...) @rand()
%13 = srem i32 %12, 100
store i32 %13, ptr %7, align 4
store i32 0, ptr %5, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp sle i32 %14, 200
br i1 %15, label %.lr.ph, label %40
.lr.ph: ; preds = %2
br label %16
16: ; preds = %.lr.ph, %35
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %6, align 4
%21 = load i32, ptr %7, align 4
%22 = call i32 @fprintf(ptr noundef %17, ptr noundef @.str, i32 noundef %18, i32 noundef %19, i32 noundef %20, i32 noundef %21)
%23 = call i32 (...) @rand()
%24 = srem i32 %23, 11
%25 = sub nsw i32 %24, 5
store i32 %25, ptr %8, align 4
%26 = call i32 (...) @rand()
%27 = srem i32 %26, 11
%28 = sub nsw i32 %27, 5
store i32 %28, ptr %9, align 4
%29 = load i32, ptr %8, align 4
%30 = load i32, ptr %6, align 4
%31 = add nsw i32 %30, %29
store i32 %31, ptr %6, align 4
%32 = load i32, ptr %9, align 4
%33 = load i32, ptr %7, align 4
%34 = add nsw i32 %33, %32
store i32 %34, ptr %7, align 4
br label %35
35: ; preds = %16
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %5, align 4
%38 = load i32, ptr %5, align 4
%39 = icmp sle i32 %38, 200
br i1 %39, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %40
40: ; preds = %._crit_edge, %2
ret void
}
declare i32 @rand(...) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpspdjr05c.c'
source_filename = "/tmp/tmpspdjr05c.c"
target datalayout = "e-m:e-p270: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/tmpspdjr05c.c"
target datalayout = "e-m:e-p270: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/tmpk3_l8s0b.c'
source_filename = "/tmp/tmpk3_l8s0b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.a = private unnamed_addr constant [9 x i32] [i32 0, i32 5, i32 -3, i32 -1, i32 2, i32 -4, i32 1, i32 7, i32 8], align 16
@.str = private unnamed_addr constant [32 x i8] c"Maximum sum of length %d is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [9 x i32], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.a, i64 36, i1 false)
store i32 9, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 2, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
br label %13
13: ; preds = %24, %2
%14 = load i32, ptr %11, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %27
17: ; preds = %13
%18 = load i32, ptr %11, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [9 x i32], ptr %6, i64 0, i64 %19
%21 = load i32, ptr %20, align 4
%22 = load i32, ptr %10, align 4
%23 = add nsw i32 %22, %21
store i32 %23, ptr %10, align 4
br label %24
24: ; preds = %17
%25 = load i32, ptr %11, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %11, align 4
br label %13, !llvm.loop !6
27: ; preds = %13
%28 = load i32, ptr %10, align 4
store i32 %28, ptr %8, align 4
%29 = load i32, ptr %9, align 4
store i32 %29, ptr %12, align 4
br label %30
30: ; preds = %54, %27
%31 = load i32, ptr %12, align 4
%32 = load i32, ptr %7, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %57
34: ; preds = %30
%35 = load i32, ptr %10, align 4
%36 = load i32, ptr %12, align 4
%37 = load i32, ptr %9, align 4
%38 = sub nsw i32 %36, %37
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [9 x i32], ptr %6, i64 0, i64 %39
%41 = load i32, ptr %40, align 4
%42 = sub nsw i32 %35, %41
%43 = load i32, ptr %12, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [9 x i32], ptr %6, i64 0, i64 %44
%46 = load i32, ptr %45, align 4
%47 = add nsw i32 %42, %46
store i32 %47, ptr %10, align 4
%48 = load i32, ptr %10, align 4
%49 = load i32, ptr %8, align 4
%50 = icmp sgt i32 %48, %49
br i1 %50, label %51, label %53
51: ; preds = %34
%52 = load i32, ptr %10, align 4
store i32 %52, ptr %8, align 4
br label %53
53: ; preds = %51, %34
br label %54
54: ; preds = %53
%55 = load i32, ptr %12, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %12, align 4
br label %30, !llvm.loop !8
57: ; preds = %30
%58 = load i32, ptr %9, align 4
%59 = load i32, ptr %8, align 4
%60 = call i32 @printf(ptr noundef @.str, i32 noundef %58, i32 noundef %59)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk3_l8s0b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.a = private unnamed_addr constant [9 x i32] [i32 0, i32 5, i32 -3, i32 -1, i32 2, i32 -4, i32 1, i32 7, i32 8], align 16
@.str = private unnamed_addr constant [32 x i8] c"Maximum sum of length %d is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [9 x i32], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.a, i64 36, i1 false)
store i32 9, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 2, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
%13 = load i32, ptr %11, align 4
%14 = load i32, ptr %9, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %29
.lr.ph: ; preds = %2
br label %16
16: ; preds = %.lr.ph, %23
%17 = load i32, ptr %11, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [9 x i32], ptr %6, i64 0, i64 %18
%20 = load i32, ptr %19, align 4
%21 = load i32, ptr %10, align 4
%22 = add nsw i32 %21, %20
store i32 %22, ptr %10, align 4
br label %23
23: ; preds = %16
%24 = load i32, ptr %11, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %11, align 4
%26 = load i32, ptr %11, align 4
%27 = load i32, ptr %9, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %2
%30 = load i32, ptr %10, align 4
store i32 %30, ptr %8, align 4
%31 = load i32, ptr %9, align 4
store i32 %31, ptr %12, align 4
%32 = load i32, ptr %12, align 4
%33 = load i32, ptr %7, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %.lr.ph2, label %61
.lr.ph2: ; preds = %29
br label %35
35: ; preds = %.lr.ph2, %55
%36 = load i32, ptr %10, align 4
%37 = load i32, ptr %12, align 4
%38 = load i32, ptr %9, align 4
%39 = sub nsw i32 %37, %38
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [9 x i32], ptr %6, i64 0, i64 %40
%42 = load i32, ptr %41, align 4
%43 = sub nsw i32 %36, %42
%44 = load i32, ptr %12, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [9 x i32], ptr %6, i64 0, i64 %45
%47 = load i32, ptr %46, align 4
%48 = add nsw i32 %43, %47
store i32 %48, ptr %10, align 4
%49 = load i32, ptr %10, align 4
%50 = load i32, ptr %8, align 4
%51 = icmp sgt i32 %49, %50
br i1 %51, label %52, label %54
52: ; preds = %35
%53 = load i32, ptr %10, align 4
store i32 %53, ptr %8, align 4
br label %54
54: ; preds = %52, %35
br label %55
55: ; preds = %54
%56 = load i32, ptr %12, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %12, align 4
%58 = load i32, ptr %12, align 4
%59 = load i32, ptr %7, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %35, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %55
br label %61
61: ; preds = %._crit_edge3, %29
%62 = load i32, ptr %9, align 4
%63 = load i32, ptr %8, align 4
%64 = call i32 @printf(ptr noundef @.str, i32 noundef %62, i32 noundef %63)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp7632mglz.c'
source_filename = "/tmp/tmp7632mglz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.buf1 = private unnamed_addr constant [11 x i8] c"abcdefghij\00", align 1
@__const.main.buf2 = private unnamed_addr constant [11 x i8] c"ABCDEFGHIJ\00", align 1
@.str = private unnamed_addr constant [10 x i8] c"file.hole\00", align 1
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@S_IRGRP = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [24 x i8] c"cannot create file.hole\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"cannot write buf1\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [12 x i8] c"lseek error\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"cannot write buf2\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [11 x i8], align 1
%3 = alloca [11 x i8], align 1
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.buf1, i64 11, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.buf2, i64 11, i1 false)
%5 = load i32, ptr @S_IRUSR, align 4
%6 = load i32, ptr @S_IWUSR, align 4
%7 = or i32 %5, %6
%8 = load i32, ptr @S_IRGRP, align 4
%9 = or i32 %7, %8
%10 = load i32, ptr @S_IROTH, align 4
%11 = or i32 %9, %10
%12 = call i32 @creat(ptr noundef @.str, i32 noundef %11)
store i32 %12, ptr %4, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %0
%15 = call i32 @perror(ptr noundef @.str.1)
%16 = call i32 @exit(i32 noundef 1) #4
unreachable
17: ; preds = %0
%18 = load i32, ptr %4, align 4
%19 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 0
%20 = call i32 @write(i32 noundef %18, ptr noundef %19, i32 noundef 11)
%21 = sext i32 %20 to i64
%22 = icmp ne i64 %21, 11
br i1 %22, label %23, label %26
23: ; preds = %17
%24 = call i32 @perror(ptr noundef @.str.2)
%25 = call i32 @exit(i32 noundef 1) #4
unreachable
26: ; preds = %17
%27 = load i32, ptr %4, align 4
%28 = load i32, ptr @SEEK_SET, align 4
%29 = call i32 @lseek(i32 noundef %27, i32 noundef 16384, i32 noundef %28)
%30 = icmp eq i32 %29, -1
br i1 %30, label %31, label %34
31: ; preds = %26
%32 = call i32 @perror(ptr noundef @.str.3)
%33 = call i32 @exit(i32 noundef 1) #4
unreachable
34: ; preds = %26
%35 = load i32, ptr %4, align 4
%36 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 0
%37 = call i32 @write(i32 noundef %35, ptr noundef %36, i32 noundef 11)
%38 = sext i32 %37 to i64
%39 = icmp ne i64 %38, 11
br i1 %39, label %40, label %43
40: ; preds = %34
%41 = call i32 @perror(ptr noundef @.str.4)
%42 = call i32 @exit(i32 noundef 1) #4
unreachable
43: ; preds = %34
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @creat(ptr noundef, i32 noundef) #2
declare i32 @perror(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7632mglz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.buf1 = private unnamed_addr constant [11 x i8] c"abcdefghij\00", align 1
@__const.main.buf2 = private unnamed_addr constant [11 x i8] c"ABCDEFGHIJ\00", align 1
@.str = private unnamed_addr constant [10 x i8] c"file.hole\00", align 1
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@S_IRGRP = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [24 x i8] c"cannot create file.hole\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"cannot write buf1\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [12 x i8] c"lseek error\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"cannot write buf2\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [11 x i8], align 1
%3 = alloca [11 x i8], align 1
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.buf1, i64 11, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.buf2, i64 11, i1 false)
%5 = load i32, ptr @S_IRUSR, align 4
%6 = load i32, ptr @S_IWUSR, align 4
%7 = or i32 %5, %6
%8 = load i32, ptr @S_IRGRP, align 4
%9 = or i32 %7, %8
%10 = load i32, ptr @S_IROTH, align 4
%11 = or i32 %9, %10
%12 = call i32 @creat(ptr noundef @.str, i32 noundef %11)
store i32 %12, ptr %4, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %0
%15 = call i32 @perror(ptr noundef @.str.1)
%16 = call i32 @exit(i32 noundef 1) #4
unreachable
17: ; preds = %0
%18 = load i32, ptr %4, align 4
%19 = getelementptr inbounds [11 x i8], ptr %2, i64 0, i64 0
%20 = call i32 @write(i32 noundef %18, ptr noundef %19, i32 noundef 11)
%21 = sext i32 %20 to i64
%22 = icmp ne i64 %21, 11
br i1 %22, label %23, label %26
23: ; preds = %17
%24 = call i32 @perror(ptr noundef @.str.2)
%25 = call i32 @exit(i32 noundef 1) #4
unreachable
26: ; preds = %17
%27 = load i32, ptr %4, align 4
%28 = load i32, ptr @SEEK_SET, align 4
%29 = call i32 @lseek(i32 noundef %27, i32 noundef 16384, i32 noundef %28)
%30 = icmp eq i32 %29, -1
br i1 %30, label %31, label %34
31: ; preds = %26
%32 = call i32 @perror(ptr noundef @.str.3)
%33 = call i32 @exit(i32 noundef 1) #4
unreachable
34: ; preds = %26
%35 = load i32, ptr %4, align 4
%36 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 0
%37 = call i32 @write(i32 noundef %35, ptr noundef %36, i32 noundef 11)
%38 = sext i32 %37 to i64
%39 = icmp ne i64 %38, 11
br i1 %39, label %40, label %43
40: ; preds = %34
%41 = call i32 @perror(ptr noundef @.str.4)
%42 = call i32 @exit(i32 noundef 1) #4
unreachable
43: ; preds = %34
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @creat(ptr noundef, i32 noundef) #2
declare i32 @perror(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0pkv7frq.c'
source_filename = "/tmp/tmp0pkv7frq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: powertop [OPTION...]\0A\00", align 1
@.str.1 = private unnamed_addr constant [75 x i8] c" -d, --dump read wakeups once and print list of top offenders\0A\00", align 1
@.str.2 = private unnamed_addr constant [64 x i8] c" -t, --time=DOUBLE default time to gather data in seconds\0A\00", align 1
@.str.3 = private unnamed_addr constant [51 x i8] c" -p, --pids show pids in wakeups list\0A\00", align 1
@.str.4 = private unnamed_addr constant [48 x i8] c" -h, --help Show this help message\0A\00", align 1
@.str.5 = private unnamed_addr constant [59 x i8] c" -v, --version Show version information and exit\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call ptr @gettext(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef %1)
%3 = call ptr @gettext(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef %3)
%5 = call ptr @gettext(ptr noundef @.str.2)
%6 = call i32 @printf(ptr noundef %5)
%7 = call ptr @gettext(ptr noundef @.str.3)
%8 = call i32 @printf(ptr noundef %7)
%9 = call ptr @gettext(ptr noundef @.str.4)
%10 = call i32 @printf(ptr noundef %9)
%11 = call ptr @gettext(ptr noundef @.str.5)
%12 = call i32 @printf(ptr noundef %11)
%13 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
declare ptr @gettext(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/tmp0pkv7frq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: powertop [OPTION...]\0A\00", align 1
@.str.1 = private unnamed_addr constant [75 x i8] c" -d, --dump read wakeups once and print list of top offenders\0A\00", align 1
@.str.2 = private unnamed_addr constant [64 x i8] c" -t, --time=DOUBLE default time to gather data in seconds\0A\00", align 1
@.str.3 = private unnamed_addr constant [51 x i8] c" -p, --pids show pids in wakeups list\0A\00", align 1
@.str.4 = private unnamed_addr constant [48 x i8] c" -h, --help Show this help message\0A\00", align 1
@.str.5 = private unnamed_addr constant [59 x i8] c" -v, --version Show version information and exit\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call ptr @gettext(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef %1)
%3 = call ptr @gettext(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef %3)
%5 = call ptr @gettext(ptr noundef @.str.2)
%6 = call i32 @printf(ptr noundef %5)
%7 = call ptr @gettext(ptr noundef @.str.3)
%8 = call i32 @printf(ptr noundef %7)
%9 = call ptr @gettext(ptr noundef @.str.4)
%10 = call i32 @printf(ptr noundef %9)
%11 = call ptr @gettext(ptr noundef @.str.5)
%12 = call i32 @printf(ptr noundef %11)
%13 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
declare ptr @gettext(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/tmptxn6ztqs.c'
source_filename = "/tmp/tmptxn6ztqs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"abc\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"b\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"%p %p %p\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 ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store ptr @.str, ptr %5, align 8
store ptr @.str.1, ptr %6, align 8
%7 = load ptr, ptr %5, align 8
%8 = load ptr, ptr %6, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = call i32 @strstr(ptr noundef %9, ptr noundef %10)
%12 = call i32 @printf(ptr noundef @.str.2, ptr noundef %7, ptr noundef %8, i32 noundef %11)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strstr(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/tmptxn6ztqs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"abc\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"b\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"%p %p %p\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 ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store ptr @.str, ptr %5, align 8
store ptr @.str.1, ptr %6, align 8
%7 = load ptr, ptr %5, align 8
%8 = load ptr, ptr %6, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = call i32 @strstr(ptr noundef %9, ptr noundef %10)
%12 = call i32 @printf(ptr noundef @.str.2, ptr noundef %7, ptr noundef %8, i32 noundef %11)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strstr(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/tmppydujhil.c'
source_filename = "/tmp/tmppydujhil.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pemerson\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@SEEK_END = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca [5 x i8], align 1
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca 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 i64 0, ptr %6, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %12, align 4
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %25, label %29
25: ; preds = %2
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
br label %30
29: ; preds = %2
br label %30
30: ; preds = %29, %25
%31 = phi ptr [ %28, %25 ], [ @.str, %29 ]
store ptr %31, ptr %13, align 8
%32 = load ptr, ptr %13, align 8
%33 = call ptr @fopen(ptr noundef %32, ptr noundef @.str.1)
store ptr %33, ptr %14, align 8
%34 = load ptr, ptr %14, align 8
%35 = load i32, ptr @SEEK_SET, align 4
%36 = call i32 @fseek(ptr noundef %34, i32 noundef 0, i32 noundef %35)
%37 = load ptr, ptr %14, align 8
%38 = load i32, ptr @SEEK_END, align 4
%39 = call i32 @fseek(ptr noundef %37, i32 noundef 0, i32 noundef %38)
%40 = load ptr, ptr %14, align 8
%41 = call i64 @ftell(ptr noundef %40)
store i64 %41, ptr %6, align 8
%42 = load ptr, ptr %14, align 8
%43 = load i32, ptr @SEEK_SET, align 4
%44 = call i32 @fseek(ptr noundef %42, i32 noundef %43, i32 noundef 0)
%45 = load i64, ptr %6, align 8
%46 = mul i64 1, %45
%47 = trunc i64 %46 to i32
%48 = call i64 @malloc(i32 noundef %47)
%49 = inttoptr i64 %48 to ptr
store ptr %49, ptr %7, align 8
%50 = load ptr, ptr %7, align 8
%51 = load i64, ptr %6, align 8
%52 = call i32 @memset(ptr noundef %50, i32 noundef 0, i64 noundef %51)
%53 = load i64, ptr %6, align 8
%54 = mul i64 1, %53
%55 = trunc i64 %54 to i32
%56 = call i64 @malloc(i32 noundef %55)
%57 = inttoptr i64 %56 to ptr
store ptr %57, ptr %9, align 8
%58 = load ptr, ptr %9, align 8
%59 = load i64, ptr %6, align 8
%60 = call i32 @memset(ptr noundef %58, i32 noundef 0, i64 noundef %59)
%61 = load ptr, ptr %7, align 8
%62 = load i64, ptr %6, align 8
%63 = load ptr, ptr %14, align 8
%64 = call i32 @fread(ptr noundef %61, i32 noundef 1, i64 noundef %62, ptr noundef %63)
%65 = load ptr, ptr %14, align 8
%66 = call i32 @fclose(ptr noundef %65)
%67 = load ptr, ptr %7, align 8
%68 = call i32 @printf(ptr noundef @.str.2, ptr noundef %67)
br label %69
69: ; preds = %75, %30
%70 = load i32, ptr %10, align 4
%71 = sext i32 %70 to i64
%72 = load i64, ptr %6, align 8
%73 = sub nsw i64 %72, 4
%74 = icmp slt i64 %71, %73
br i1 %74, label %75, label %144
75: ; preds = %69
store i32 0, ptr %12, align 4
%76 = load ptr, ptr %7, align 8
%77 = load i32, ptr %8, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %8, align 4
%79 = sext i32 %77 to i64
%80 = getelementptr inbounds i8, ptr %76, i64 %79
%81 = load i8, ptr %80, align 1
%82 = load i32, ptr %12, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %12, align 4
%84 = sext i32 %82 to i64
%85 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 %84
store i8 %81, ptr %85, align 1
%86 = load ptr, ptr %7, align 8
%87 = load i32, ptr %8, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %8, align 4
%89 = sext i32 %87 to i64
%90 = getelementptr inbounds i8, ptr %86, i64 %89
%91 = load i8, ptr %90, align 1
%92 = load i32, ptr %12, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %12, align 4
%94 = sext i32 %92 to i64
%95 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 %94
store i8 %91, ptr %95, align 1
%96 = load ptr, ptr %7, align 8
%97 = load i32, ptr %8, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %8, align 4
%99 = sext i32 %97 to i64
%100 = getelementptr inbounds i8, ptr %96, i64 %99
%101 = load i8, ptr %100, align 1
%102 = load i32, ptr %12, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %12, align 4
%104 = sext i32 %102 to i64
%105 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 %104
store i8 %101, ptr %105, align 1
%106 = load ptr, ptr %7, align 8
%107 = load i32, ptr %8, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %8, align 4
%109 = sext i32 %107 to i64
%110 = getelementptr inbounds i8, ptr %106, i64 %109
%111 = load i8, ptr %110, align 1
%112 = load i32, ptr %12, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %12, align 4
%114 = sext i32 %112 to i64
%115 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 %114
store i8 %111, ptr %115, align 1
%116 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 0
%117 = load i8, ptr %116, align 1
%118 = load ptr, ptr %9, align 8
%119 = load i32, ptr %10, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %10, align 4
%121 = sext i32 %119 to i64
%122 = getelementptr inbounds i8, ptr %118, i64 %121
store i8 %117, ptr %122, align 1
%123 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 3
%124 = load i8, ptr %123, align 1
%125 = load ptr, ptr %9, align 8
%126 = load i32, ptr %10, align 4
%127 = add nsw i32 %126, 1
store i32 %127, ptr %10, align 4
%128 = sext i32 %126 to i64
%129 = getelementptr inbounds i8, ptr %125, i64 %128
store i8 %124, ptr %129, align 1
%130 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 2
%131 = load i8, ptr %130, align 1
%132 = load ptr, ptr %9, align 8
%133 = load i32, ptr %10, align 4
%134 = add nsw i32 %133, 1
store i32 %134, ptr %10, align 4
%135 = sext i32 %133 to i64
%136 = getelementptr inbounds i8, ptr %132, i64 %135
store i8 %131, ptr %136, align 1
%137 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 1
%138 = load i8, ptr %137, align 1
%139 = load ptr, ptr %9, align 8
%140 = load i32, ptr %10, align 4
%141 = add nsw i32 %140, 1
store i32 %141, ptr %10, align 4
%142 = sext i32 %140 to i64
%143 = getelementptr inbounds i8, ptr %139, i64 %142
store i8 %138, ptr %143, align 1
br label %69, !llvm.loop !6
144: ; preds = %69
br label %145
145: ; preds = %150, %144
%146 = load i32, ptr %10, align 4
%147 = sext i32 %146 to i64
%148 = load i64, ptr %6, align 8
%149 = icmp slt i64 %147, %148
br i1 %149, label %150, label %162
150: ; preds = %145
%151 = load ptr, ptr %7, align 8
%152 = load i32, ptr %8, align 4
%153 = add nsw i32 %152, 1
store i32 %153, ptr %8, align 4
%154 = sext i32 %152 to i64
%155 = getelementptr inbounds i8, ptr %151, i64 %154
%156 = load i8, ptr %155, align 1
%157 = load ptr, ptr %9, align 8
%158 = load i32, ptr %10, align 4
%159 = add nsw i32 %158, 1
store i32 %159, ptr %10, align 4
%160 = sext i32 %158 to i64
%161 = getelementptr inbounds i8, ptr %157, i64 %160
store i8 %156, ptr %161, align 1
br label %145, !llvm.loop !8
162: ; preds = %145
store i32 0, ptr %15, align 4
br label %163
163: ; preds = %258, %162
%164 = load i32, ptr %15, align 4
%165 = sext i32 %164 to i64
%166 = load i64, ptr %6, align 8
%167 = icmp slt i64 %165, %166
br i1 %167, label %168, label %261
168: ; preds = %163
%169 = load ptr, ptr %9, align 8
%170 = load i32, ptr %15, align 4
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds i8, ptr %169, i64 %171
%173 = load i8, ptr %172, align 1
%174 = sext i8 %173 to i32
%175 = icmp eq i32 %174, 0
br i1 %175, label %176, label %177
176: ; preds = %168
br label %258
177: ; preds = %168
%178 = load ptr, ptr %9, align 8
%179 = load i32, ptr %15, align 4
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds i8, ptr %178, i64 %180
%182 = call i32 @findIfBit(ptr noundef %181, i32 noundef 2)
store i32 %182, ptr %16, align 4
%183 = load ptr, ptr %9, align 8
%184 = load i32, ptr %15, align 4
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds i8, ptr %183, i64 %185
%187 = call i32 @findIfBit(ptr noundef %186, i32 noundef 3)
store i32 %187, ptr %17, align 4
%188 = load ptr, ptr %9, align 8
%189 = load i32, ptr %15, align 4
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds i8, ptr %188, i64 %190
%192 = call i32 @findIfBit(ptr noundef %191, i32 noundef 4)
store i32 %192, ptr %18, align 4
%193 = load ptr, ptr %9, align 8
%194 = load i32, ptr %15, align 4
%195 = sext i32 %194 to i64
%196 = getelementptr inbounds i8, ptr %193, i64 %195
%197 = call i32 @findIfBit(ptr noundef %196, i32 noundef 5)
store i32 %197, ptr %19, align 4
%198 = load i32, ptr %16, align 4
%199 = icmp ne i32 %198, 0
br i1 %199, label %200, label %206
200: ; preds = %177
%201 = load ptr, ptr %9, align 8
%202 = load i32, ptr %15, align 4
%203 = sext i32 %202 to i64
%204 = getelementptr inbounds i8, ptr %201, i64 %203
%205 = call i32 @onBit(ptr noundef %204, i32 noundef 4)
br label %212
206: ; preds = %177
%207 = load ptr, ptr %9, align 8
%208 = load i32, ptr %15, align 4
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds i8, ptr %207, i64 %209
%211 = call i32 @offBit(ptr noundef %210, i32 noundef 4)
br label %212
212: ; preds = %206, %200
%213 = load i32, ptr %18, align 4
%214 = icmp ne i32 %213, 0
br i1 %214, label %215, label %221
215: ; preds = %212
%216 = load ptr, ptr %9, align 8
%217 = load i32, ptr %15, align 4
%218 = sext i32 %217 to i64
%219 = getelementptr inbounds i8, ptr %216, i64 %218
%220 = call i32 @onBit(ptr noundef %219, i32 noundef 2)
br label %227
221: ; preds = %212
%222 = load ptr, ptr %9, align 8
%223 = load i32, ptr %15, align 4
%224 = sext i32 %223 to i64
%225 = getelementptr inbounds i8, ptr %222, i64 %224
%226 = call i32 @offBit(ptr noundef %225, i32 noundef 2)
br label %227
227: ; preds = %221, %215
%228 = load i32, ptr %19, align 4
%229 = icmp ne i32 %228, 0
br i1 %229, label %230, label %236
230: ; preds = %227
%231 = load ptr, ptr %9, align 8
%232 = load i32, ptr %15, align 4
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds i8, ptr %231, i64 %233
%235 = call i32 @onBit(ptr noundef %234, i32 noundef 3)
br label %242
236: ; preds = %227
%237 = load ptr, ptr %9, align 8
%238 = load i32, ptr %15, align 4
%239 = sext i32 %238 to i64
%240 = getelementptr inbounds i8, ptr %237, i64 %239
%241 = call i32 @offBit(ptr noundef %240, i32 noundef 3)
br label %242
242: ; preds = %236, %230
%243 = load i32, ptr %17, align 4
%244 = icmp ne i32 %243, 0
br i1 %244, label %245, label %251
245: ; preds = %242
%246 = load ptr, ptr %9, align 8
%247 = load i32, ptr %15, align 4
%248 = sext i32 %247 to i64
%249 = getelementptr inbounds i8, ptr %246, i64 %248
%250 = call i32 @onBit(ptr noundef %249, i32 noundef 5)
br label %257
251: ; preds = %242
%252 = load ptr, ptr %9, align 8
%253 = load i32, ptr %15, align 4
%254 = sext i32 %253 to i64
%255 = getelementptr inbounds i8, ptr %252, i64 %254
%256 = call i32 @offBit(ptr noundef %255, i32 noundef 5)
br label %257
257: ; preds = %251, %245
br label %258
258: ; preds = %257, %176
%259 = load i32, ptr %15, align 4
%260 = add nsw i32 %259, 1
store i32 %260, ptr %15, align 4
br label %163, !llvm.loop !9
261: ; preds = %163
store i32 0, ptr %20, align 4
br label %262
262: ; preds = %289, %261
%263 = load i32, ptr %20, align 4
%264 = sext i32 %263 to i64
%265 = load i64, ptr %6, align 8
%266 = icmp slt i64 %264, %265
br i1 %266, label %267, label %292
267: ; preds = %262
%268 = load i32, ptr %20, align 4
%269 = srem i32 %268, 4
%270 = icmp eq i32 %269, 1
br i1 %270, label %275, label %271
271: ; preds = %267
%272 = load i32, ptr %20, align 4
%273 = srem i32 %272, 4
%274 = icmp eq i32 %273, 3
br i1 %274, label %275, label %288
275: ; preds = %271, %267
%276 = load ptr, ptr %9, align 8
%277 = load i32, ptr %20, align 4
%278 = sext i32 %277 to i64
%279 = getelementptr inbounds i8, ptr %276, i64 %278
%280 = load i8, ptr %279, align 1
%281 = sext i8 %280 to i32
%282 = xor i32 %281, 109
%283 = trunc i32 %282 to i8
%284 = load ptr, ptr %9, align 8
%285 = load i32, ptr %20, align 4
%286 = sext i32 %285 to i64
%287 = getelementptr inbounds i8, ptr %284, i64 %286
store i8 %283, ptr %287, align 1
br label %288
288: ; preds = %275, %271
br label %289
289: ; preds = %288
%290 = load i32, ptr %20, align 4
%291 = add nsw i32 %290, 1
store i32 %291, ptr %20, align 4
br label %262, !llvm.loop !10
292: ; preds = %262
%293 = load ptr, ptr %9, align 8
%294 = call i32 @printf(ptr noundef @.str.2, ptr noundef %293)
%295 = load ptr, ptr %9, align 8
%296 = call i32 @free(ptr noundef %295)
%297 = load ptr, ptr %7, align 8
%298 = call i32 @free(ptr noundef %297)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @findIfBit(ptr noundef, i32 noundef) #1
declare i32 @onBit(ptr noundef, i32 noundef) #1
declare i32 @offBit(ptr noundef, i32 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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmppydujhil.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"pemerson\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@SEEK_END = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca [5 x i8], align 1
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca 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 i64 0, ptr %6, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %12, align 4
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %25, label %29
25: ; preds = %2
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
br label %30
29: ; preds = %2
br label %30
30: ; preds = %29, %25
%31 = phi ptr [ %28, %25 ], [ @.str, %29 ]
store ptr %31, ptr %13, align 8
%32 = load ptr, ptr %13, align 8
%33 = call ptr @fopen(ptr noundef %32, ptr noundef @.str.1)
store ptr %33, ptr %14, align 8
%34 = load ptr, ptr %14, align 8
%35 = load i32, ptr @SEEK_SET, align 4
%36 = call i32 @fseek(ptr noundef %34, i32 noundef 0, i32 noundef %35)
%37 = load ptr, ptr %14, align 8
%38 = load i32, ptr @SEEK_END, align 4
%39 = call i32 @fseek(ptr noundef %37, i32 noundef 0, i32 noundef %38)
%40 = load ptr, ptr %14, align 8
%41 = call i64 @ftell(ptr noundef %40)
store i64 %41, ptr %6, align 8
%42 = load ptr, ptr %14, align 8
%43 = load i32, ptr @SEEK_SET, align 4
%44 = call i32 @fseek(ptr noundef %42, i32 noundef %43, i32 noundef 0)
%45 = load i64, ptr %6, align 8
%46 = mul i64 1, %45
%47 = trunc i64 %46 to i32
%48 = call i64 @malloc(i32 noundef %47)
%49 = inttoptr i64 %48 to ptr
store ptr %49, ptr %7, align 8
%50 = load ptr, ptr %7, align 8
%51 = load i64, ptr %6, align 8
%52 = call i32 @memset(ptr noundef %50, i32 noundef 0, i64 noundef %51)
%53 = load i64, ptr %6, align 8
%54 = mul i64 1, %53
%55 = trunc i64 %54 to i32
%56 = call i64 @malloc(i32 noundef %55)
%57 = inttoptr i64 %56 to ptr
store ptr %57, ptr %9, align 8
%58 = load ptr, ptr %9, align 8
%59 = load i64, ptr %6, align 8
%60 = call i32 @memset(ptr noundef %58, i32 noundef 0, i64 noundef %59)
%61 = load ptr, ptr %7, align 8
%62 = load i64, ptr %6, align 8
%63 = load ptr, ptr %14, align 8
%64 = call i32 @fread(ptr noundef %61, i32 noundef 1, i64 noundef %62, ptr noundef %63)
%65 = load ptr, ptr %14, align 8
%66 = call i32 @fclose(ptr noundef %65)
%67 = load ptr, ptr %7, align 8
%68 = call i32 @printf(ptr noundef @.str.2, ptr noundef %67)
%69 = load i32, ptr %10, align 4
%70 = sext i32 %69 to i64
%71 = load i64, ptr %6, align 8
%72 = sub nsw i64 %71, 4
%73 = icmp slt i64 %70, %72
br i1 %73, label %.lr.ph, label %148
.lr.ph: ; preds = %30
br label %74
74: ; preds = %.lr.ph, %74
store i32 0, ptr %12, align 4
%75 = load ptr, ptr %7, align 8
%76 = load i32, ptr %8, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %8, align 4
%78 = sext i32 %76 to i64
%79 = getelementptr inbounds i8, ptr %75, i64 %78
%80 = load i8, ptr %79, align 1
%81 = load i32, ptr %12, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %12, align 4
%83 = sext i32 %81 to i64
%84 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 %83
store i8 %80, ptr %84, align 1
%85 = load ptr, ptr %7, align 8
%86 = load i32, ptr %8, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %8, align 4
%88 = sext i32 %86 to i64
%89 = getelementptr inbounds i8, ptr %85, i64 %88
%90 = load i8, ptr %89, align 1
%91 = load i32, ptr %12, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %12, align 4
%93 = sext i32 %91 to i64
%94 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 %93
store i8 %90, ptr %94, align 1
%95 = load ptr, ptr %7, align 8
%96 = load i32, ptr %8, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %8, align 4
%98 = sext i32 %96 to i64
%99 = getelementptr inbounds i8, ptr %95, i64 %98
%100 = load i8, ptr %99, align 1
%101 = load i32, ptr %12, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %12, align 4
%103 = sext i32 %101 to i64
%104 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 %103
store i8 %100, ptr %104, align 1
%105 = load ptr, ptr %7, align 8
%106 = load i32, ptr %8, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %8, align 4
%108 = sext i32 %106 to i64
%109 = getelementptr inbounds i8, ptr %105, i64 %108
%110 = load i8, ptr %109, align 1
%111 = load i32, ptr %12, align 4
%112 = add nsw i32 %111, 1
store i32 %112, ptr %12, align 4
%113 = sext i32 %111 to i64
%114 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 %113
store i8 %110, ptr %114, align 1
%115 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 0
%116 = load i8, ptr %115, align 1
%117 = load ptr, ptr %9, align 8
%118 = load i32, ptr %10, align 4
%119 = add nsw i32 %118, 1
store i32 %119, ptr %10, align 4
%120 = sext i32 %118 to i64
%121 = getelementptr inbounds i8, ptr %117, i64 %120
store i8 %116, ptr %121, align 1
%122 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 3
%123 = load i8, ptr %122, align 1
%124 = load ptr, ptr %9, align 8
%125 = load i32, ptr %10, align 4
%126 = add nsw i32 %125, 1
store i32 %126, ptr %10, align 4
%127 = sext i32 %125 to i64
%128 = getelementptr inbounds i8, ptr %124, i64 %127
store i8 %123, ptr %128, align 1
%129 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 2
%130 = load i8, ptr %129, align 1
%131 = load ptr, ptr %9, align 8
%132 = load i32, ptr %10, align 4
%133 = add nsw i32 %132, 1
store i32 %133, ptr %10, align 4
%134 = sext i32 %132 to i64
%135 = getelementptr inbounds i8, ptr %131, i64 %134
store i8 %130, ptr %135, align 1
%136 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 1
%137 = load i8, ptr %136, align 1
%138 = load ptr, ptr %9, align 8
%139 = load i32, ptr %10, align 4
%140 = add nsw i32 %139, 1
store i32 %140, ptr %10, align 4
%141 = sext i32 %139 to i64
%142 = getelementptr inbounds i8, ptr %138, i64 %141
store i8 %137, ptr %142, align 1
%143 = load i32, ptr %10, align 4
%144 = sext i32 %143 to i64
%145 = load i64, ptr %6, align 8
%146 = sub nsw i64 %145, 4
%147 = icmp slt i64 %144, %146
br i1 %147, label %74, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %74
br label %148
148: ; preds = %._crit_edge, %30
%149 = load i32, ptr %10, align 4
%150 = sext i32 %149 to i64
%151 = load i64, ptr %6, align 8
%152 = icmp slt i64 %150, %151
br i1 %152, label %.lr.ph2, label %169
.lr.ph2: ; preds = %148
br label %153
153: ; preds = %.lr.ph2, %153
%154 = load ptr, ptr %7, align 8
%155 = load i32, ptr %8, align 4
%156 = add nsw i32 %155, 1
store i32 %156, ptr %8, align 4
%157 = sext i32 %155 to i64
%158 = getelementptr inbounds i8, ptr %154, i64 %157
%159 = load i8, ptr %158, align 1
%160 = load ptr, ptr %9, align 8
%161 = load i32, ptr %10, align 4
%162 = add nsw i32 %161, 1
store i32 %162, ptr %10, align 4
%163 = sext i32 %161 to i64
%164 = getelementptr inbounds i8, ptr %160, i64 %163
store i8 %159, ptr %164, align 1
%165 = load i32, ptr %10, align 4
%166 = sext i32 %165 to i64
%167 = load i64, ptr %6, align 8
%168 = icmp slt i64 %166, %167
br i1 %168, label %153, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %153
br label %169
169: ; preds = %._crit_edge3, %148
store i32 0, ptr %15, align 4
%170 = load i32, ptr %15, align 4
%171 = sext i32 %170 to i64
%172 = load i64, ptr %6, align 8
%173 = icmp slt i64 %171, %172
br i1 %173, label %.lr.ph5, label %271
.lr.ph5: ; preds = %169
br label %174
174: ; preds = %.lr.ph5, %264
%175 = load ptr, ptr %9, align 8
%176 = load i32, ptr %15, align 4
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds i8, ptr %175, i64 %177
%179 = load i8, ptr %178, align 1
%180 = sext i8 %179 to i32
%181 = icmp eq i32 %180, 0
br i1 %181, label %182, label %183
182: ; preds = %174
br label %264
183: ; preds = %174
%184 = load ptr, ptr %9, align 8
%185 = load i32, ptr %15, align 4
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds i8, ptr %184, i64 %186
%188 = call i32 @findIfBit(ptr noundef %187, i32 noundef 2)
store i32 %188, ptr %16, align 4
%189 = load ptr, ptr %9, align 8
%190 = load i32, ptr %15, align 4
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds i8, ptr %189, i64 %191
%193 = call i32 @findIfBit(ptr noundef %192, i32 noundef 3)
store i32 %193, ptr %17, align 4
%194 = load ptr, ptr %9, align 8
%195 = load i32, ptr %15, align 4
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds i8, ptr %194, i64 %196
%198 = call i32 @findIfBit(ptr noundef %197, i32 noundef 4)
store i32 %198, ptr %18, align 4
%199 = load ptr, ptr %9, align 8
%200 = load i32, ptr %15, align 4
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds i8, ptr %199, i64 %201
%203 = call i32 @findIfBit(ptr noundef %202, i32 noundef 5)
store i32 %203, ptr %19, align 4
%204 = load i32, ptr %16, align 4
%205 = icmp ne i32 %204, 0
br i1 %205, label %206, label %212
206: ; preds = %183
%207 = load ptr, ptr %9, align 8
%208 = load i32, ptr %15, align 4
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds i8, ptr %207, i64 %209
%211 = call i32 @onBit(ptr noundef %210, i32 noundef 4)
br label %218
212: ; preds = %183
%213 = load ptr, ptr %9, align 8
%214 = load i32, ptr %15, align 4
%215 = sext i32 %214 to i64
%216 = getelementptr inbounds i8, ptr %213, i64 %215
%217 = call i32 @offBit(ptr noundef %216, i32 noundef 4)
br label %218
218: ; preds = %212, %206
%219 = load i32, ptr %18, align 4
%220 = icmp ne i32 %219, 0
br i1 %220, label %221, label %227
221: ; preds = %218
%222 = load ptr, ptr %9, align 8
%223 = load i32, ptr %15, align 4
%224 = sext i32 %223 to i64
%225 = getelementptr inbounds i8, ptr %222, i64 %224
%226 = call i32 @onBit(ptr noundef %225, i32 noundef 2)
br label %233
227: ; preds = %218
%228 = load ptr, ptr %9, align 8
%229 = load i32, ptr %15, align 4
%230 = sext i32 %229 to i64
%231 = getelementptr inbounds i8, ptr %228, i64 %230
%232 = call i32 @offBit(ptr noundef %231, i32 noundef 2)
br label %233
233: ; preds = %227, %221
%234 = load i32, ptr %19, align 4
%235 = icmp ne i32 %234, 0
br i1 %235, label %236, label %242
236: ; preds = %233
%237 = load ptr, ptr %9, align 8
%238 = load i32, ptr %15, align 4
%239 = sext i32 %238 to i64
%240 = getelementptr inbounds i8, ptr %237, i64 %239
%241 = call i32 @onBit(ptr noundef %240, i32 noundef 3)
br label %248
242: ; preds = %233
%243 = load ptr, ptr %9, align 8
%244 = load i32, ptr %15, align 4
%245 = sext i32 %244 to i64
%246 = getelementptr inbounds i8, ptr %243, i64 %245
%247 = call i32 @offBit(ptr noundef %246, i32 noundef 3)
br label %248
248: ; preds = %242, %236
%249 = load i32, ptr %17, align 4
%250 = icmp ne i32 %249, 0
br i1 %250, label %251, label %257
251: ; preds = %248
%252 = load ptr, ptr %9, align 8
%253 = load i32, ptr %15, align 4
%254 = sext i32 %253 to i64
%255 = getelementptr inbounds i8, ptr %252, i64 %254
%256 = call i32 @onBit(ptr noundef %255, i32 noundef 5)
br label %263
257: ; preds = %248
%258 = load ptr, ptr %9, align 8
%259 = load i32, ptr %15, align 4
%260 = sext i32 %259 to i64
%261 = getelementptr inbounds i8, ptr %258, i64 %260
%262 = call i32 @offBit(ptr noundef %261, i32 noundef 5)
br label %263
263: ; preds = %257, %251
br label %264
264: ; preds = %263, %182
%265 = load i32, ptr %15, align 4
%266 = add nsw i32 %265, 1
store i32 %266, ptr %15, align 4
%267 = load i32, ptr %15, align 4
%268 = sext i32 %267 to i64
%269 = load i64, ptr %6, align 8
%270 = icmp slt i64 %268, %269
br i1 %270, label %174, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %264
br label %271
271: ; preds = %._crit_edge6, %169
store i32 0, ptr %20, align 4
%272 = load i32, ptr %20, align 4
%273 = sext i32 %272 to i64
%274 = load i64, ptr %6, align 8
%275 = icmp slt i64 %273, %274
br i1 %275, label %.lr.ph8, label %305
.lr.ph8: ; preds = %271
br label %276
276: ; preds = %.lr.ph8, %298
%277 = load i32, ptr %20, align 4
%278 = srem i32 %277, 4
%279 = icmp eq i32 %278, 1
br i1 %279, label %284, label %280
280: ; preds = %276
%281 = load i32, ptr %20, align 4
%282 = srem i32 %281, 4
%283 = icmp eq i32 %282, 3
br i1 %283, label %284, label %297
284: ; preds = %280, %276
%285 = load ptr, ptr %9, align 8
%286 = load i32, ptr %20, align 4
%287 = sext i32 %286 to i64
%288 = getelementptr inbounds i8, ptr %285, i64 %287
%289 = load i8, ptr %288, align 1
%290 = sext i8 %289 to i32
%291 = xor i32 %290, 109
%292 = trunc i32 %291 to i8
%293 = load ptr, ptr %9, align 8
%294 = load i32, ptr %20, align 4
%295 = sext i32 %294 to i64
%296 = getelementptr inbounds i8, ptr %293, i64 %295
store i8 %292, ptr %296, align 1
br label %297
297: ; preds = %284, %280
br label %298
298: ; preds = %297
%299 = load i32, ptr %20, align 4
%300 = add nsw i32 %299, 1
store i32 %300, ptr %20, align 4
%301 = load i32, ptr %20, align 4
%302 = sext i32 %301 to i64
%303 = load i64, ptr %6, align 8
%304 = icmp slt i64 %302, %303
br i1 %304, label %276, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %298
br label %305
305: ; preds = %._crit_edge9, %271
%306 = load ptr, ptr %9, align 8
%307 = call i32 @printf(ptr noundef @.str.2, ptr noundef %306)
%308 = load ptr, ptr %9, align 8
%309 = call i32 @free(ptr noundef %308)
%310 = load ptr, ptr %7, align 8
%311 = call i32 @free(ptr noundef %310)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @findIfBit(ptr noundef, i32 noundef) #1
declare i32 @onBit(ptr noundef, i32 noundef) #1
declare i32 @offBit(ptr noundef, i32 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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp_9rg4dc2.c'
source_filename = "/tmp/tmp_9rg4dc2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scalegraph(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i64, align 8
%16 = alloca double, align 8
%17 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store i64 %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
store i32 0, ptr %14, align 4
store i32 0, ptr %13, align 4
br label %18
18: ; preds = %32, %6
%19 = load ptr, ptr %8, align 8
%20 = load i32, ptr %13, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %29
25: ; preds = %18
%26 = load i32, ptr %13, align 4
%27 = load i32, ptr %9, align 4
%28 = icmp slt i32 %26, %27
br label %29
29: ; preds = %25, %18
%30 = phi i1 [ false, %18 ], [ %28, %25 ]
br i1 %30, label %31, label %35
31: ; preds = %29
br label %32
32: ; preds = %31
%33 = load i32, ptr %13, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %13, align 4
br label %18, !llvm.loop !6
35: ; preds = %29
%36 = load i32, ptr %13, align 4
%37 = load i32, ptr %9, align 4
%38 = icmp eq i32 %36, %37
br i1 %38, label %39, label %40
39: ; preds = %35
br label %141
40: ; preds = %35
br label %41
41: ; preds = %119, %40
%42 = load i32, ptr %13, align 4
%43 = load i32, ptr %9, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %45, label %122
45: ; preds = %41
%46 = load ptr, ptr %8, align 8
%47 = load i32, ptr %13, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %46, i64 %48
%50 = load i32, ptr %49, align 4
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %118
52: ; preds = %45
%53 = load ptr, ptr %7, align 8
%54 = load i32, ptr %13, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds ptr, ptr %53, i64 %55
%57 = load ptr, ptr %56, align 8
%58 = getelementptr inbounds double, ptr %57, i64 -1
store ptr %58, ptr %17, align 8
store i64 0, ptr %15, align 8
br label %59
59: ; preds = %114, %52
%60 = load i64, ptr %15, align 8
%61 = load i64, ptr %10, align 8
%62 = icmp slt i64 %60, %61
br i1 %62, label %63, label %117
63: ; preds = %59
%64 = load i32, ptr %14, align 4
%65 = icmp eq i32 %64, 0
br i1 %65, label %66, label %79
66: ; preds = %63
%67 = load ptr, ptr %17, align 8
%68 = getelementptr inbounds double, ptr %67, i64 1
%69 = load double, ptr %68, align 8
%70 = call i64 @isnormal(double noundef %69)
%71 = icmp ne i64 %70, 0
br i1 %71, label %72, label %78
72: ; preds = %66
%73 = load ptr, ptr %17, align 8
%74 = getelementptr inbounds double, ptr %73, i64 1
%75 = load double, ptr %74, align 8
%76 = load ptr, ptr %12, align 8
store double %75, ptr %76, align 8
%77 = load ptr, ptr %11, align 8
store double %75, ptr %77, align 8
store i32 1, ptr %14, align 4
br label %78
78: ; preds = %72, %66
br label %113
79: ; preds = %63
%80 = load ptr, ptr %17, align 8
%81 = getelementptr inbounds double, ptr %80, i32 1
store ptr %81, ptr %17, align 8
%82 = load double, ptr %81, align 8
%83 = load ptr, ptr %11, align 8
%84 = load double, ptr %83, align 8
%85 = fcmp olt double %82, %84
br i1 %85, label %86, label %96
86: ; preds = %79
%87 = load ptr, ptr %17, align 8
%88 = load double, ptr %87, align 8
%89 = call i64 @isnormal(double noundef %88)
%90 = icmp ne i64 %89, 0
br i1 %90, label %91, label %95
91: ; preds = %86
%92 = load ptr, ptr %17, align 8
%93 = load double, ptr %92, align 8
%94 = load ptr, ptr %11, align 8
store double %93, ptr %94, align 8
br label %95
95: ; preds = %91, %86
br label %96
96: ; preds = %95, %79
%97 = load ptr, ptr %17, align 8
%98 = load double, ptr %97, align 8
%99 = load ptr, ptr %12, align 8
%100 = load double, ptr %99, align 8
%101 = fcmp ogt double %98, %100
br i1 %101, label %102, label %112
102: ; preds = %96
%103 = load ptr, ptr %17, align 8
%104 = load double, ptr %103, align 8
%105 = call i64 @isnormal(double noundef %104)
%106 = icmp ne i64 %105, 0
br i1 %106, label %107, label %111
107: ; preds = %102
%108 = load ptr, ptr %17, align 8
%109 = load double, ptr %108, align 8
%110 = load ptr, ptr %12, align 8
store double %109, ptr %110, align 8
br label %111
111: ; preds = %107, %102
br label %112
112: ; preds = %111, %96
br label %113
113: ; preds = %112, %78
br label %114
114: ; preds = %113
%115 = load i64, ptr %15, align 8
%116 = add nsw i64 %115, 1
store i64 %116, ptr %15, align 8
br label %59, !llvm.loop !8
117: ; preds = %59
br label %118
118: ; preds = %117, %45
br label %119
119: ; preds = %118
%120 = load i32, ptr %13, align 4
%121 = add nsw i32 %120, 1
store i32 %121, ptr %13, align 4
br label %41, !llvm.loop !9
122: ; preds = %41
%123 = load ptr, ptr %12, align 8
%124 = load double, ptr %123, align 8
%125 = load ptr, ptr %11, align 8
%126 = load double, ptr %125, align 8
%127 = fsub double %124, %126
%128 = fdiv double %127, 5.000000e+01
store double %128, ptr %16, align 8
%129 = load double, ptr %16, align 8
%130 = fcmp oeq double %129, 0.000000e+00
br i1 %130, label %131, label %132
131: ; preds = %122
store double 1.000000e+00, ptr %16, align 8
br label %132
132: ; preds = %131, %122
%133 = load double, ptr %16, align 8
%134 = load ptr, ptr %12, align 8
%135 = load double, ptr %134, align 8
%136 = fadd double %135, %133
store double %136, ptr %134, align 8
%137 = load double, ptr %16, align 8
%138 = load ptr, ptr %11, align 8
%139 = load double, ptr %138, align 8
%140 = fsub double %139, %137
store double %140, ptr %138, align 8
br label %141
141: ; preds = %132, %39
ret void
}
declare i64 @isnormal(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_9rg4dc2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scalegraph(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i64, align 8
%16 = alloca double, align 8
%17 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store i64 %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
store i32 0, ptr %14, align 4
store i32 0, ptr %13, align 4
br label %18
18: ; preds = %32, %6
%19 = load ptr, ptr %8, align 8
%20 = load i32, ptr %13, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %29
25: ; preds = %18
%26 = load i32, ptr %13, align 4
%27 = load i32, ptr %9, align 4
%28 = icmp slt i32 %26, %27
br label %29
29: ; preds = %25, %18
%30 = phi i1 [ false, %18 ], [ %28, %25 ]
br i1 %30, label %31, label %35
31: ; preds = %29
br label %32
32: ; preds = %31
%33 = load i32, ptr %13, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %13, align 4
br label %18, !llvm.loop !6
35: ; preds = %29
%36 = load i32, ptr %13, align 4
%37 = load i32, ptr %9, align 4
%38 = icmp eq i32 %36, %37
br i1 %38, label %39, label %40
39: ; preds = %35
br label %145
40: ; preds = %35
%41 = load i32, ptr %13, align 4
%42 = load i32, ptr %9, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %.lr.ph2, label %126
.lr.ph2: ; preds = %40
br label %44
44: ; preds = %.lr.ph2, %120
%45 = load ptr, ptr %8, align 8
%46 = load i32, ptr %13, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i32, ptr %45, i64 %47
%49 = load i32, ptr %48, align 4
%50 = icmp ne i32 %49, 0
br i1 %50, label %51, label %119
51: ; preds = %44
%52 = load ptr, ptr %7, align 8
%53 = load i32, ptr %13, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds ptr, ptr %52, i64 %54
%56 = load ptr, ptr %55, align 8
%57 = getelementptr inbounds double, ptr %56, i64 -1
store ptr %57, ptr %17, align 8
store i64 0, ptr %15, align 8
%58 = load i64, ptr %15, align 8
%59 = load i64, ptr %10, align 8
%60 = icmp slt i64 %58, %59
br i1 %60, label %.lr.ph, label %118
.lr.ph: ; preds = %51
br label %61
61: ; preds = %.lr.ph, %112
%62 = load i32, ptr %14, align 4
%63 = icmp eq i32 %62, 0
br i1 %63, label %64, label %77
64: ; preds = %61
%65 = load ptr, ptr %17, align 8
%66 = getelementptr inbounds double, ptr %65, i64 1
%67 = load double, ptr %66, align 8
%68 = call i64 @isnormal(double noundef %67)
%69 = icmp ne i64 %68, 0
br i1 %69, label %70, label %76
70: ; preds = %64
%71 = load ptr, ptr %17, align 8
%72 = getelementptr inbounds double, ptr %71, i64 1
%73 = load double, ptr %72, align 8
%74 = load ptr, ptr %12, align 8
store double %73, ptr %74, align 8
%75 = load ptr, ptr %11, align 8
store double %73, ptr %75, align 8
store i32 1, ptr %14, align 4
br label %76
76: ; preds = %70, %64
br label %111
77: ; preds = %61
%78 = load ptr, ptr %17, align 8
%79 = getelementptr inbounds double, ptr %78, i32 1
store ptr %79, ptr %17, align 8
%80 = load double, ptr %79, align 8
%81 = load ptr, ptr %11, align 8
%82 = load double, ptr %81, align 8
%83 = fcmp olt double %80, %82
br i1 %83, label %84, label %94
84: ; preds = %77
%85 = load ptr, ptr %17, align 8
%86 = load double, ptr %85, align 8
%87 = call i64 @isnormal(double noundef %86)
%88 = icmp ne i64 %87, 0
br i1 %88, label %89, label %93
89: ; preds = %84
%90 = load ptr, ptr %17, align 8
%91 = load double, ptr %90, align 8
%92 = load ptr, ptr %11, align 8
store double %91, ptr %92, align 8
br label %93
93: ; preds = %89, %84
br label %94
94: ; preds = %93, %77
%95 = load ptr, ptr %17, align 8
%96 = load double, ptr %95, align 8
%97 = load ptr, ptr %12, align 8
%98 = load double, ptr %97, align 8
%99 = fcmp ogt double %96, %98
br i1 %99, label %100, label %110
100: ; preds = %94
%101 = load ptr, ptr %17, align 8
%102 = load double, ptr %101, align 8
%103 = call i64 @isnormal(double noundef %102)
%104 = icmp ne i64 %103, 0
br i1 %104, label %105, label %109
105: ; preds = %100
%106 = load ptr, ptr %17, align 8
%107 = load double, ptr %106, align 8
%108 = load ptr, ptr %12, align 8
store double %107, ptr %108, align 8
br label %109
109: ; preds = %105, %100
br label %110
110: ; preds = %109, %94
br label %111
111: ; preds = %110, %76
br label %112
112: ; preds = %111
%113 = load i64, ptr %15, align 8
%114 = add nsw i64 %113, 1
store i64 %114, ptr %15, align 8
%115 = load i64, ptr %15, align 8
%116 = load i64, ptr %10, align 8
%117 = icmp slt i64 %115, %116
br i1 %117, label %61, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %112
br label %118
118: ; preds = %._crit_edge, %51
br label %119
119: ; preds = %118, %44
br label %120
120: ; preds = %119
%121 = load i32, ptr %13, align 4
%122 = add nsw i32 %121, 1
store i32 %122, ptr %13, align 4
%123 = load i32, ptr %13, align 4
%124 = load i32, ptr %9, align 4
%125 = icmp slt i32 %123, %124
br i1 %125, label %44, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %120
br label %126
126: ; preds = %._crit_edge3, %40
%127 = load ptr, ptr %12, align 8
%128 = load double, ptr %127, align 8
%129 = load ptr, ptr %11, align 8
%130 = load double, ptr %129, align 8
%131 = fsub double %128, %130
%132 = fdiv double %131, 5.000000e+01
store double %132, ptr %16, align 8
%133 = load double, ptr %16, align 8
%134 = fcmp oeq double %133, 0.000000e+00
br i1 %134, label %135, label %136
135: ; preds = %126
store double 1.000000e+00, ptr %16, align 8
br label %136
136: ; preds = %135, %126
%137 = load double, ptr %16, align 8
%138 = load ptr, ptr %12, align 8
%139 = load double, ptr %138, align 8
%140 = fadd double %139, %137
store double %140, ptr %138, align 8
%141 = load double, ptr %16, align 8
%142 = load ptr, ptr %11, align 8
%143 = load double, ptr %142, align 8
%144 = fsub double %143, %141
store double %144, ptr %142, align 8
br label %145
145: ; preds = %136, %39
ret void
}
declare i64 @isnormal(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpv0pjicfv.c'
source_filename = "/tmp/tmpv0pjicfv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @compare_strings_ptrs(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %7, align 8
%9 = call i32 @fc_strcoll(ptr noundef %6, ptr noundef %8)
ret i32 %9
}
declare i32 @fc_strcoll(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/tmpv0pjicfv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @compare_strings_ptrs(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %7, align 8
%9 = call i32 @fc_strcoll(ptr noundef %6, ptr noundef %8)
ret i32 %9
}
declare i32 @fc_strcoll(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/tmpqcro01jn.c'
source_filename = "/tmp/tmpqcro01jn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @process(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i64 0, ptr %9, align 8
br label %11
11: ; preds = %23, %4
%12 = load i64, ptr %9, align 8
%13 = load i64, ptr %6, align 8
%14 = icmp ult i64 %12, %13
br i1 %14, label %15, label %26
15: ; preds = %11
%16 = load ptr, ptr %5, align 8
%17 = load i64, ptr %9, align 8
%18 = load i64, ptr %7, align 8
%19 = mul i64 %17, %18
%20 = getelementptr inbounds i8, ptr %16, i64 %19
store ptr %20, ptr %10, align 8
%21 = load ptr, ptr %8, align 8
%22 = load ptr, ptr %10, align 8
call void %21(ptr noundef %22)
br label %23
23: ; preds = %15
%24 = load i64, ptr %9, align 8
%25 = add i64 %24, 1
store i64 %25, ptr %9, align 8
br label %11, !llvm.loop !6
26: ; preds = %11
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqcro01jn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @process(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i64 0, ptr %9, align 8
%11 = load i64, ptr %9, align 8
%12 = load i64, ptr %6, align 8
%13 = icmp ult i64 %11, %12
br i1 %13, label %.lr.ph, label %28
.lr.ph: ; preds = %4
br label %14
14: ; preds = %.lr.ph, %22
%15 = load ptr, ptr %5, align 8
%16 = load i64, ptr %9, align 8
%17 = load i64, ptr %7, align 8
%18 = mul i64 %16, %17
%19 = getelementptr inbounds i8, ptr %15, i64 %18
store ptr %19, ptr %10, align 8
%20 = load ptr, ptr %8, align 8
%21 = load ptr, ptr %10, align 8
call void %20(ptr noundef %21)
br label %22
22: ; preds = %14
%23 = load i64, ptr %9, align 8
%24 = add i64 %23, 1
store i64 %24, ptr %9, align 8
%25 = load i64, ptr %9, align 8
%26 = load i64, ptr %6, align 8
%27 = icmp ult i64 %25, %26
br i1 %27, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2n1w_l6s.c'
source_filename = "/tmp/tmp2n1w_l6s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_IOFBF = dso_local global i32 0, align 4
@_IONBF = dso_local global i32 0, align 4
@BUFSIZ = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @setbuf(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 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = load i32, ptr @_IOFBF, align 4
br label %13
11: ; preds = %2
%12 = load i32, ptr @_IONBF, align 4
br label %13
13: ; preds = %11, %9
%14 = phi i32 [ %10, %9 ], [ %12, %11 ]
%15 = load i32, ptr @BUFSIZ, align 4
%16 = call i32 @setvbuf(ptr noundef %5, ptr noundef %6, i32 noundef %14, i32 noundef %15)
ret void
}
declare i32 @setvbuf(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/tmp2n1w_l6s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_IOFBF = dso_local global i32 0, align 4
@_IONBF = dso_local global i32 0, align 4
@BUFSIZ = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @setbuf(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 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = load i32, ptr @_IOFBF, align 4
br label %13
11: ; preds = %2
%12 = load i32, ptr @_IONBF, align 4
br label %13
13: ; preds = %11, %9
%14 = phi i32 [ %10, %9 ], [ %12, %11 ]
%15 = load i32, ptr @BUFSIZ, align 4
%16 = call i32 @setvbuf(ptr noundef %5, ptr noundef %6, i32 noundef %14, i32 noundef %15)
ret void
}
declare i32 @setvbuf(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/tmpmlniukcj.c'
source_filename = "/tmp/tmpmlniukcj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nvme_subsystem_reset(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = call i32 @nvme_verify_chr(i32 noundef %5)
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %2, align 4
br label %15
11: ; preds = %1
%12 = load i32, ptr %3, align 4
%13 = call i32 @_IO(i8 noundef signext 78, i32 noundef 69)
%14 = call i32 @ioctl(i32 noundef %12, i32 noundef %13)
store i32 %14, ptr %2, align 4
br label %15
15: ; preds = %11, %9
%16 = load i32, ptr %2, align 4
ret i32 %16
}
declare i32 @nvme_verify_chr(i32 noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef) #1
declare i32 @_IO(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/tmpmlniukcj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nvme_subsystem_reset(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = call i32 @nvme_verify_chr(i32 noundef %5)
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %2, align 4
br label %15
11: ; preds = %1
%12 = load i32, ptr %3, align 4
%13 = call i32 @_IO(i8 noundef signext 78, i32 noundef 69)
%14 = call i32 @ioctl(i32 noundef %12, i32 noundef %13)
store i32 %14, ptr %2, align 4
br label %15
15: ; preds = %11, %9
%16 = load i32, ptr %2, align 4
ret i32 %16
}
declare i32 @nvme_verify_chr(i32 noundef) #1
declare i32 @ioctl(i32 noundef, i32 noundef) #1
declare i32 @_IO(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/tmp1dt9s4to.c'
source_filename = "/tmp/tmp1dt9s4to.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printw_color(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = call i32 @COLOR_PAIR(i32 noundef %5)
%7 = call i32 @attron(i32 noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = call i32 @printw(ptr noundef %8)
%10 = load i32, ptr %4, align 4
%11 = call i32 @COLOR_PAIR(i32 noundef %10)
%12 = call i32 @attroff(i32 noundef %11)
ret void
}
declare i32 @attron(i32 noundef) #1
declare i32 @COLOR_PAIR(i32 noundef) #1
declare i32 @printw(ptr noundef) #1
declare i32 @attroff(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/tmp1dt9s4to.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printw_color(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = call i32 @COLOR_PAIR(i32 noundef %5)
%7 = call i32 @attron(i32 noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = call i32 @printw(ptr noundef %8)
%10 = load i32, ptr %4, align 4
%11 = call i32 @COLOR_PAIR(i32 noundef %10)
%12 = call i32 @attroff(i32 noundef %11)
ret void
}
declare i32 @attron(i32 noundef) #1
declare i32 @COLOR_PAIR(i32 noundef) #1
declare i32 @printw(ptr noundef) #1
declare i32 @attroff(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/tmp_z0wozhh.c'
source_filename = "/tmp/tmp_z0wozhh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"NO\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"YES\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [101 x i8], align 16
%3 = alloca [101 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = getelementptr inbounds [101 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %8)
%10 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 0
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %10)
%12 = getelementptr inbounds [101 x i8], ptr %2, i64 0, i64 0
%13 = call i32 @strlen(ptr noundef %12)
store i32 %13, ptr %4, align 4
%14 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 0
%15 = call i32 @strlen(ptr noundef %14)
store i32 %15, ptr %5, align 4
store i32 0, ptr %6, align 4
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp ne i32 %16, %17
br i1 %18, label %19, label %21
19: ; preds = %0
%20 = call i32 @printf(ptr noundef @.str.1)
br label %57
21: ; preds = %0
store i32 0, ptr %7, align 4
br label %22
22: ; preds = %45, %21
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %48
26: ; preds = %22
%27 = load i32, ptr %7, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [101 x i8], ptr %2, i64 0, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = load i32, ptr %4, align 4
%33 = load i32, ptr %7, align 4
%34 = sub nsw i32 %32, %33
%35 = sub nsw i32 %34, 1
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp eq i32 %31, %39
br i1 %40, label %41, label %44
41: ; preds = %26
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %6, align 4
br label %44
44: ; preds = %41, %26
br label %45
45: ; preds = %44
%46 = load i32, ptr %7, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %7, align 4
br label %22, !llvm.loop !6
48: ; preds = %22
%49 = load i32, ptr %6, align 4
%50 = load i32, ptr %4, align 4
%51 = icmp eq i32 %49, %50
br i1 %51, label %52, label %54
52: ; preds = %48
%53 = call i32 @printf(ptr noundef @.str.2)
br label %56
54: ; preds = %48
%55 = call i32 @printf(ptr noundef @.str.1)
br label %56
56: ; preds = %54, %52
br label %57
57: ; preds = %56, %19
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_z0wozhh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"NO\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"YES\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [101 x i8], align 16
%3 = alloca [101 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = getelementptr inbounds [101 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %8)
%10 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 0
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %10)
%12 = getelementptr inbounds [101 x i8], ptr %2, i64 0, i64 0
%13 = call i32 @strlen(ptr noundef %12)
store i32 %13, ptr %4, align 4
%14 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 0
%15 = call i32 @strlen(ptr noundef %14)
store i32 %15, ptr %5, align 4
store i32 0, ptr %6, align 4
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp ne i32 %16, %17
br i1 %18, label %19, label %21
19: ; preds = %0
%20 = call i32 @printf(ptr noundef @.str.1)
br label %59
21: ; preds = %0
store i32 0, ptr %7, align 4
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph, label %50
.lr.ph: ; preds = %21
br label %25
25: ; preds = %.lr.ph, %44
%26 = load i32, ptr %7, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [101 x i8], ptr %2, i64 0, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = load i32, ptr %4, align 4
%32 = load i32, ptr %7, align 4
%33 = sub nsw i32 %31, %32
%34 = sub nsw i32 %33, 1
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [101 x i8], ptr %3, i64 0, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %30, %38
br i1 %39, label %40, label %43
40: ; preds = %25
%41 = load i32, ptr %6, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %6, align 4
br label %43
43: ; preds = %40, %25
br label %44
44: ; preds = %43
%45 = load i32, ptr %7, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %7, align 4
%47 = load i32, ptr %7, align 4
%48 = load i32, ptr %4, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %50
50: ; preds = %._crit_edge, %21
%51 = load i32, ptr %6, align 4
%52 = load i32, ptr %4, align 4
%53 = icmp eq i32 %51, %52
br i1 %53, label %54, label %56
54: ; preds = %50
%55 = call i32 @printf(ptr noundef @.str.2)
br label %58
56: ; preds = %50
%57 = call i32 @printf(ptr noundef @.str.1)
br label %58
58: ; preds = %56, %54
br label %59
59: ; preds = %58, %19
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpo2vvx32r.c'
source_filename = "/tmp/tmpo2vvx32r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_strupr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
store ptr null, ptr %2, align 8
br label %24
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
store ptr %9, ptr %4, align 8
br label %10
10: ; preds = %19, %8
%11 = load ptr, ptr %4, align 8
%12 = load i8, ptr %11, align 1
%13 = icmp ne i8 %12, 0
br i1 %13, label %14, label %22
14: ; preds = %10
%15 = load ptr, ptr %4, align 8
%16 = load i8, ptr %15, align 1
%17 = call signext i8 @toupper(i8 noundef zeroext %16)
%18 = load ptr, ptr %4, align 8
store i8 %17, ptr %18, align 1
br label %19
19: ; preds = %14
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %4, align 8
br label %10, !llvm.loop !6
22: ; preds = %10
%23 = load ptr, ptr %3, align 8
store ptr %23, ptr %2, align 8
br label %24
24: ; preds = %22, %7
%25 = load ptr, ptr %2, align 8
ret ptr %25
}
declare signext i8 @toupper(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/tmpo2vvx32r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_strupr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
store ptr null, ptr %2, align 8
br label %26
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = load i8, ptr %10, align 1
%12 = icmp ne i8 %11, 0
br i1 %12, label %.lr.ph, label %24
.lr.ph: ; preds = %8
br label %13
13: ; preds = %.lr.ph, %18
%14 = load ptr, ptr %4, align 8
%15 = load i8, ptr %14, align 1
%16 = call signext i8 @toupper(i8 noundef zeroext %15)
%17 = load ptr, ptr %4, align 8
store i8 %16, ptr %17, align 1
br label %18
18: ; preds = %13
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %4, align 8
%21 = load ptr, ptr %4, align 8
%22 = load i8, ptr %21, align 1
%23 = icmp ne i8 %22, 0
br i1 %23, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %8
%25 = load ptr, ptr %3, align 8
store ptr %25, ptr %2, align 8
br label %26
26: ; preds = %24, %7
%27 = load ptr, ptr %2, align 8
ret ptr %27
}
declare signext i8 @toupper(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/tmpidav6xyh.c'
source_filename = "/tmp/tmpidav6xyh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ID \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @count_sequences_swissprot(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = call i32 @byg_count(ptr noundef @.str, ptr noundef %5)
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %10, label %9
9: ; preds = %1
store i32 0, ptr %2, align 4
br label %12
10: ; preds = %1
%11 = load i32, ptr %4, align 4
store i32 %11, ptr %2, align 4
br label %12
12: ; preds = %10, %9
%13 = load i32, ptr %2, align 4
ret i32 %13
}
declare i32 @byg_count(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/tmpidav6xyh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ID \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @count_sequences_swissprot(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = call i32 @byg_count(ptr noundef @.str, ptr noundef %5)
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %10, label %9
9: ; preds = %1
store i32 0, ptr %2, align 4
br label %12
10: ; preds = %1
%11 = load i32, ptr %4, align 4
store i32 %11, ptr %2, align 4
br label %12
12: ; preds = %10, %9
%13 = load i32, ptr %2, align 4
ret i32 %13
}
declare i32 @byg_count(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/tmpaecnt2wa.c'
source_filename = "/tmp/tmpaecnt2wa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GPIOPinTypeEthernetMII(i64 noundef %0, i8 noundef zeroext %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i8, align 1
store i64 %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%5 = load i64, ptr %3, align 8
%6 = load i8, ptr %4, align 1
%7 = call i32 @GPIODirModeSet(i64 noundef %5, i8 noundef zeroext %6, i32 noundef 2)
%8 = load i64, ptr %3, align 8
%9 = load i8, ptr %4, align 1
%10 = call i32 @GPIOPadConfigSet(i64 noundef %8, i8 noundef zeroext %9, i32 noundef 4, i32 noundef 8)
ret void
}
declare i32 @GPIODirModeSet(i64 noundef, i8 noundef zeroext, i32 noundef) #1
declare i32 @GPIOPadConfigSet(i64 noundef, i8 noundef zeroext, 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/tmpaecnt2wa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GPIOPinTypeEthernetMII(i64 noundef %0, i8 noundef zeroext %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i8, align 1
store i64 %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%5 = load i64, ptr %3, align 8
%6 = load i8, ptr %4, align 1
%7 = call i32 @GPIODirModeSet(i64 noundef %5, i8 noundef zeroext %6, i32 noundef 2)
%8 = load i64, ptr %3, align 8
%9 = load i8, ptr %4, align 1
%10 = call i32 @GPIOPadConfigSet(i64 noundef %8, i8 noundef zeroext %9, i32 noundef 4, i32 noundef 8)
ret void
}
declare i32 @GPIODirModeSet(i64 noundef, i8 noundef zeroext, i32 noundef) #1
declare i32 @GPIOPadConfigSet(i64 noundef, i8 noundef zeroext, 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/tmp6jm7bfvj.c'
source_filename = "/tmp/tmp6jm7bfvj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FunlockFile(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = call i32 @close(i32 noundef %5)
%7 = load ptr, ptr %4, align 8
%8 = call i32 @unlink(ptr noundef %7)
ret void
}
declare i32 @close(i32 noundef) #1
declare i32 @unlink(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6jm7bfvj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FunlockFile(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = call i32 @close(i32 noundef %5)
%7 = load ptr, ptr %4, align 8
%8 = call i32 @unlink(ptr noundef %7)
ret void
}
declare i32 @close(i32 noundef) #1
declare i32 @unlink(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz2nbgfac.c'
source_filename = "/tmp/tmpz2nbgfac.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"HTTP/1.0 200 OK\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Server: emhttpd 0.1.0\0D\0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"Content-Type: %s\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @headers(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [1024 x i8], align 16
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%7 = call i32 @strcpy(ptr noundef %6, ptr noundef @.str)
%8 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%9 = call i32 @strcat(ptr noundef %8, ptr noundef @.str.1)
%10 = load i32, ptr %3, align 4
%11 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%12 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%13 = call i32 @strlen(ptr noundef %12)
%14 = call i32 @send(i32 noundef %10, ptr noundef %11, i32 noundef %13, i32 noundef 0)
%15 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%16 = load ptr, ptr %4, align 8
%17 = call i32 @sprintf(ptr noundef %15, ptr noundef @.str.2, ptr noundef %16)
%18 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%19 = call i32 @strcat(ptr noundef %18, ptr noundef @.str.3)
%20 = load i32, ptr %3, align 4
%21 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%22 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%23 = call i32 @strlen(ptr noundef %22)
%24 = call i32 @send(i32 noundef %20, ptr noundef %21, i32 noundef %23, i32 noundef 0)
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz2nbgfac.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"HTTP/1.0 200 OK\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Server: emhttpd 0.1.0\0D\0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"Content-Type: %s\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @headers(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [1024 x i8], align 16
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%7 = call i32 @strcpy(ptr noundef %6, ptr noundef @.str)
%8 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%9 = call i32 @strcat(ptr noundef %8, ptr noundef @.str.1)
%10 = load i32, ptr %3, align 4
%11 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%12 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%13 = call i32 @strlen(ptr noundef %12)
%14 = call i32 @send(i32 noundef %10, ptr noundef %11, i32 noundef %13, i32 noundef 0)
%15 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%16 = load ptr, ptr %4, align 8
%17 = call i32 @sprintf(ptr noundef %15, ptr noundef @.str.2, ptr noundef %16)
%18 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%19 = call i32 @strcat(ptr noundef %18, ptr noundef @.str.3)
%20 = load i32, ptr %3, align 4
%21 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%22 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%23 = call i32 @strlen(ptr noundef %22)
%24 = call i32 @send(i32 noundef %20, ptr noundef %21, i32 noundef %23, i32 noundef 0)
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw6xnq4gp.c'
source_filename = "/tmp/tmpw6xnq4gp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writen(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %10, align 8
%12 = load i64, ptr %7, align 8
store i64 %12, ptr %8, align 8
br label %13
13: ; preds = %24, %3
%14 = load i64, ptr %8, align 8
%15 = icmp ugt i64 %14, 0
br i1 %15, label %16, label %31
16: ; preds = %13
%17 = load i32, ptr %5, align 4
%18 = load ptr, ptr %10, align 8
%19 = load i64, ptr %8, align 8
%20 = call i64 @write(i32 noundef %17, ptr noundef %18, i64 noundef %19)
store i64 %20, ptr %9, align 8
%21 = icmp ule i64 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %16
%23 = load i64, ptr %9, align 8
store i64 %23, ptr %4, align 8
br label %33
24: ; preds = %16
%25 = load i64, ptr %9, align 8
%26 = load i64, ptr %8, align 8
%27 = sub i64 %26, %25
store i64 %27, ptr %8, align 8
%28 = load i64, ptr %9, align 8
%29 = load ptr, ptr %10, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 %28
store ptr %30, ptr %10, align 8
br label %13, !llvm.loop !6
31: ; preds = %13
%32 = load i64, ptr %7, align 8
store i64 %32, ptr %4, align 8
br label %33
33: ; preds = %31, %22
%34 = load i64, ptr %4, align 8
ret i64 %34
}
declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw6xnq4gp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writen(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %10, align 8
%12 = load i64, ptr %7, align 8
store i64 %12, ptr %8, align 8
%13 = load i64, ptr %8, align 8
%14 = icmp ugt i64 %13, 0
br i1 %14, label %.lr.ph, label %32
.lr.ph: ; preds = %3
br label %15
15: ; preds = %.lr.ph, %23
%16 = load i32, ptr %5, align 4
%17 = load ptr, ptr %10, align 8
%18 = load i64, ptr %8, align 8
%19 = call i64 @write(i32 noundef %16, ptr noundef %17, i64 noundef %18)
store i64 %19, ptr %9, align 8
%20 = icmp ule i64 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %15
%22 = load i64, ptr %9, align 8
store i64 %22, ptr %4, align 8
br label %34
23: ; preds = %15
%24 = load i64, ptr %9, align 8
%25 = load i64, ptr %8, align 8
%26 = sub i64 %25, %24
store i64 %26, ptr %8, align 8
%27 = load i64, ptr %9, align 8
%28 = load ptr, ptr %10, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 %27
store ptr %29, ptr %10, align 8
%30 = load i64, ptr %8, align 8
%31 = icmp ugt i64 %30, 0
br i1 %31, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %32
32: ; preds = %._crit_edge, %3
%33 = load i64, ptr %7, align 8
store i64 %33, ptr %4, align 8
br label %34
34: ; preds = %32, %21
%35 = load i64, ptr %4, align 8
ret i64 %35
}
declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpb7wkq_2x.c'
source_filename = "/tmp/tmpb7wkq_2x.c"
target datalayout = "e-m:e-p270: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/tmpb7wkq_2x.c"
target datalayout = "e-m:e-p270: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/tmpfikyj830.c'
source_filename = "/tmp/tmpfikyj830.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ASN1_F_ASN1_COLLECT = dso_local global i32 0, align 4
@ASN1_R_MISSING_EOC = dso_local global i32 0, align 4
@ASN1_R_NESTED_ASN1_STRING = dso_local global i32 0, align 4
@ASN1_R_UNEXPECTED_EOC = dso_local global i32 0, align 4
@ERR_R_NESTED_ASN1_ERROR = 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/tmpfikyj830.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ASN1_F_ASN1_COLLECT = dso_local global i32 0, align 4
@ASN1_R_MISSING_EOC = dso_local global i32 0, align 4
@ASN1_R_NESTED_ASN1_STRING = dso_local global i32 0, align 4
@ASN1_R_UNEXPECTED_EOC = dso_local global i32 0, align 4
@ERR_R_NESTED_ASN1_ERROR = 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/tmp3y3dyj8b.c'
source_filename = "/tmp/tmp3y3dyj8b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @f_swap_in(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %5, align 8
%10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str)
store ptr %10, ptr %7, align 8
store i32 0, ptr %8, align 4
br label %11
11: ; preds = %23, %3
%12 = load i32, ptr %8, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %26
15: ; preds = %11
%16 = load ptr, ptr %7, align 8
%17 = call i64 @getc(ptr noundef %16)
%18 = trunc i64 %17 to i8
%19 = load ptr, ptr %6, align 8
%20 = load i32, ptr %8, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
store i8 %18, ptr %22, align 1
br label %23
23: ; preds = %15
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %8, align 4
br label %11, !llvm.loop !6
26: ; preds = %11
%27 = load ptr, ptr %7, align 8
%28 = call i32 @fclose(ptr noundef %27)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @getc(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/tmp3y3dyj8b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @f_swap_in(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %5, align 8
%10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str)
store ptr %10, ptr %7, align 8
store i32 0, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %28
.lr.ph: ; preds = %3
br label %14
14: ; preds = %.lr.ph, %22
%15 = load ptr, ptr %7, align 8
%16 = call i64 @getc(ptr noundef %15)
%17 = trunc i64 %16 to i8
%18 = load ptr, ptr %6, align 8
%19 = load i32, ptr %8, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
store i8 %17, ptr %21, align 1
br label %22
22: ; preds = %14
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %8, align 4
%25 = load i32, ptr %8, align 4
%26 = load i32, ptr %4, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %3
%29 = load ptr, ptr %7, align 8
%30 = call i32 @fclose(ptr noundef %29)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @getc(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/tmphe5kpvrg.c'
source_filename = "/tmp/tmphe5kpvrg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @log(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store float %0, ptr %2, align 4
store float 1.000000e+01, ptr %4, align 4
store float 0.000000e+00, ptr %5, align 4
br label %6
6: ; preds = %12, %1
%7 = load float, ptr %5, align 4
%8 = load float, ptr %4, align 4
%9 = fsub float %7, %8
%10 = call double @fabs(float noundef %9)
%11 = fcmp ogt double %10, 0x3EB0C6F7A0B5ED8D
br i1 %11, label %12, label %23
12: ; preds = %6
%13 = load float, ptr %4, align 4
store float %13, ptr %5, align 4
%14 = load float, ptr %4, align 4
%15 = call float @exp(float noundef %14)
store float %15, ptr %3, align 4
%16 = load float, ptr %3, align 4
%17 = load float, ptr %2, align 4
%18 = fsub float %16, %17
%19 = load float, ptr %3, align 4
%20 = fdiv float %18, %19
%21 = load float, ptr %4, align 4
%22 = fsub float %21, %20
store float %22, ptr %4, align 4
br label %6, !llvm.loop !6
23: ; preds = %6
%24 = load float, ptr %4, align 4
ret float %24
}
declare double @fabs(float noundef) #1
declare float @exp(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmphe5kpvrg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @log(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store float %0, ptr %2, align 4
store float 1.000000e+01, ptr %4, align 4
store float 0.000000e+00, ptr %5, align 4
%6 = load float, ptr %5, align 4
%7 = load float, ptr %4, align 4
%8 = fsub float %6, %7
%9 = call double @fabs(float noundef %8)
%10 = fcmp ogt double %9, 0x3EB0C6F7A0B5ED8D
br i1 %10, label %.lr.ph, label %27
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %11
%12 = load float, ptr %4, align 4
store float %12, ptr %5, align 4
%13 = load float, ptr %4, align 4
%14 = call float @exp(float noundef %13)
store float %14, ptr %3, align 4
%15 = load float, ptr %3, align 4
%16 = load float, ptr %2, align 4
%17 = fsub float %15, %16
%18 = load float, ptr %3, align 4
%19 = fdiv float %17, %18
%20 = load float, ptr %4, align 4
%21 = fsub float %20, %19
store float %21, ptr %4, align 4
%22 = load float, ptr %5, align 4
%23 = load float, ptr %4, align 4
%24 = fsub float %22, %23
%25 = call double @fabs(float noundef %24)
%26 = fcmp ogt double %25, 0x3EB0C6F7A0B5ED8D
br i1 %26, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %27
27: ; preds = %._crit_edge, %1
%28 = load float, ptr %4, align 4
ret float %28
}
declare double @fabs(float noundef) #1
declare float @exp(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmph9m5ziop.c'
source_filename = "/tmp/tmph9m5ziop.c"
target datalayout = "e-m:e-p270: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 ptr null, align 8
@.str = private unnamed_addr constant [231 x i8] c"FLEX binary to Motorola S-record converter\0AUsage: %s infile outfile\0AIt is recommended that the output be put through srec_cat(1)\0Aor similar before further use, as this program generates records\0Aas long as those in the input file.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"wt\00", align 1
@.str.3 = private unnamed_addr constant [34 x i8] c"Error opening file %s for input.\0A\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"Error opening file %s for output.\0A\00", align 1
@EOF = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [14 x i8] c"S503%04X%02X\0A\00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"S9030000FC\0A\00", align 1
@.str.7 = private unnamed_addr constant [61 x i8] c"Unrecognised record type %02X at offset %04X in input file.\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp ne i32 %11, 3
br i1 %12, label %13, label %20
13: ; preds = %2
%14 = load ptr, ptr @stderr, align 8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 0
%17 = load ptr, ptr %16, align 8
%18 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef @.str, ptr noundef %17)
%19 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %19, ptr %3, align 4
br label %132
20: ; preds = %2
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = call ptr @fopen(ptr noundef %23, ptr noundef @.str.1)
store ptr %24, ptr %6, align 8
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 2
%27 = load ptr, ptr %26, align 8
%28 = call ptr @fopen(ptr noundef %27, ptr noundef @.str.2)
store ptr %28, ptr %7, align 8
%29 = load ptr, ptr %6, align 8
%30 = icmp eq ptr %29, null
br i1 %30, label %31, label %37
31: ; preds = %20
%32 = load ptr, ptr @stderr, align 8
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds ptr, ptr %33, i64 1
%35 = load ptr, ptr %34, align 8
%36 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef @.str.3, ptr noundef %35)
br label %110
37: ; preds = %20
%38 = load ptr, ptr %7, align 8
%39 = icmp eq ptr %38, null
br i1 %39, label %40, label %46
40: ; preds = %37
%41 = load ptr, ptr @stderr, align 8
%42 = load ptr, ptr %5, align 8
%43 = getelementptr inbounds ptr, ptr %42, i64 2
%44 = load ptr, ptr %43, align 8
%45 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef @.str.4, ptr noundef %44)
br label %109
46: ; preds = %37
%47 = load ptr, ptr %7, align 8
%48 = load ptr, ptr %5, align 8
%49 = getelementptr inbounds ptr, ptr %48, i64 1
%50 = load ptr, ptr %49, align 8
%51 = call i32 @basename(ptr noundef %50)
%52 = call i32 @header(ptr noundef %47, i32 noundef %51)
br label %53
53: ; preds = %75, %46
%54 = load ptr, ptr %6, align 8
%55 = load ptr, ptr %7, align 8
%56 = call i32 @record(ptr noundef %54, ptr noundef %55)
store i32 %56, ptr %8, align 4
%57 = load i32, ptr %8, align 4
%58 = icmp eq i32 %57, 2
br i1 %58, label %59, label %62
59: ; preds = %53
%60 = load i32, ptr %10, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %10, align 4
br label %62
62: ; preds = %59, %53
%63 = load i32, ptr %8, align 4
%64 = icmp eq i32 %63, 22
br i1 %64, label %65, label %68
65: ; preds = %62
%66 = load i32, ptr %9, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %9, align 4
br label %68
68: ; preds = %65, %62
br label %69
69: ; preds = %68
%70 = load i32, ptr %8, align 4
%71 = icmp eq i32 %70, 2
br i1 %71, label %75, label %72
72: ; preds = %69
%73 = load i32, ptr %8, align 4
%74 = icmp eq i32 %73, 22
br label %75
75: ; preds = %72, %69
%76 = phi i1 [ true, %69 ], [ %74, %72 ]
br i1 %76, label %53, label %77, !llvm.loop !6
77: ; preds = %75
%78 = load i32, ptr %8, align 4
%79 = load i32, ptr @EOF, align 4
%80 = icmp eq i32 %78, %79
br i1 %80, label %81, label %100
81: ; preds = %77
%82 = load ptr, ptr %7, align 8
%83 = load i32, ptr %10, align 4
%84 = load i32, ptr %10, align 4
%85 = ashr i32 %84, 8
%86 = and i32 %85, 255
%87 = add nsw i32 3, %86
%88 = load i32, ptr %10, align 4
%89 = and i32 %88, 255
%90 = add nsw i32 %87, %89
%91 = xor i32 %90, -1
%92 = and i32 %91, 255
%93 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %82, ptr noundef @.str.5, i32 noundef %83, i32 noundef %92)
%94 = load i32, ptr %9, align 4
%95 = icmp eq i32 %94, 0
br i1 %95, label %96, label %99
96: ; preds = %81
%97 = load ptr, ptr %7, align 8
%98 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %97, ptr noundef @.str.6)
br label %99
99: ; preds = %96, %81
br label %108
100: ; preds = %77
%101 = load ptr, ptr @stderr, align 8
%102 = load i32, ptr %8, align 4
%103 = load ptr, ptr %6, align 8
%104 = call i64 @ftell(ptr noundef %103)
%105 = trunc i64 %104 to i32
%106 = sub nsw i32 %105, 1
%107 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %101, ptr noundef @.str.7, i32 noundef %102, i32 noundef %106)
br label %108
108: ; preds = %100, %99
br label %109
109: ; preds = %108, %40
br label %110
110: ; preds = %109, %31
%111 = load ptr, ptr %6, align 8
%112 = icmp ne ptr %111, null
br i1 %112, label %113, label %116
113: ; preds = %110
%114 = load ptr, ptr %6, align 8
%115 = call i32 @fclose(ptr noundef %114)
br label %116
116: ; preds = %113, %110
%117 = load ptr, ptr %7, align 8
%118 = icmp ne ptr %117, null
br i1 %118, label %119, label %122
119: ; preds = %116
%120 = load ptr, ptr %7, align 8
%121 = call i32 @fclose(ptr noundef %120)
br label %122
122: ; preds = %119, %116
%123 = load i32, ptr %8, align 4
%124 = load i32, ptr @EOF, align 4
%125 = icmp eq i32 %123, %124
br i1 %125, label %126, label %128
126: ; preds = %122
%127 = load i32, ptr @EXIT_SUCCESS, align 4
br label %130
128: ; preds = %122
%129 = load i32, ptr @EXIT_FAILURE, align 4
br label %130
130: ; preds = %128, %126
%131 = phi i32 [ %127, %126 ], [ %129, %128 ]
store i32 %131, ptr %3, align 4
br label %132
132: ; preds = %130, %13
%133 = load i32, ptr %3, align 4
ret i32 %133
}
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @header(ptr noundef, i32 noundef) #1
declare i32 @basename(ptr noundef) #1
declare i32 @record(ptr noundef, ptr noundef) #1
declare i64 @ftell(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/tmph9m5ziop.c"
target datalayout = "e-m:e-p270: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 ptr null, align 8
@.str = private unnamed_addr constant [231 x i8] c"FLEX binary to Motorola S-record converter\0AUsage: %s infile outfile\0AIt is recommended that the output be put through srec_cat(1)\0Aor similar before further use, as this program generates records\0Aas long as those in the input file.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"wt\00", align 1
@.str.3 = private unnamed_addr constant [34 x i8] c"Error opening file %s for input.\0A\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"Error opening file %s for output.\0A\00", align 1
@EOF = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [14 x i8] c"S503%04X%02X\0A\00", align 1
@.str.6 = private unnamed_addr constant [12 x i8] c"S9030000FC\0A\00", align 1
@.str.7 = private unnamed_addr constant [61 x i8] c"Unrecognised record type %02X at offset %04X in input file.\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp ne i32 %11, 3
br i1 %12, label %13, label %20
13: ; preds = %2
%14 = load ptr, ptr @stderr, align 8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 0
%17 = load ptr, ptr %16, align 8
%18 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef @.str, ptr noundef %17)
%19 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %19, ptr %3, align 4
br label %132
20: ; preds = %2
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = call ptr @fopen(ptr noundef %23, ptr noundef @.str.1)
store ptr %24, ptr %6, align 8
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 2
%27 = load ptr, ptr %26, align 8
%28 = call ptr @fopen(ptr noundef %27, ptr noundef @.str.2)
store ptr %28, ptr %7, align 8
%29 = load ptr, ptr %6, align 8
%30 = icmp eq ptr %29, null
br i1 %30, label %31, label %37
31: ; preds = %20
%32 = load ptr, ptr @stderr, align 8
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds ptr, ptr %33, i64 1
%35 = load ptr, ptr %34, align 8
%36 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef @.str.3, ptr noundef %35)
br label %110
37: ; preds = %20
%38 = load ptr, ptr %7, align 8
%39 = icmp eq ptr %38, null
br i1 %39, label %40, label %46
40: ; preds = %37
%41 = load ptr, ptr @stderr, align 8
%42 = load ptr, ptr %5, align 8
%43 = getelementptr inbounds ptr, ptr %42, i64 2
%44 = load ptr, ptr %43, align 8
%45 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef @.str.4, ptr noundef %44)
br label %109
46: ; preds = %37
%47 = load ptr, ptr %7, align 8
%48 = load ptr, ptr %5, align 8
%49 = getelementptr inbounds ptr, ptr %48, i64 1
%50 = load ptr, ptr %49, align 8
%51 = call i32 @basename(ptr noundef %50)
%52 = call i32 @header(ptr noundef %47, i32 noundef %51)
br label %53
53: ; preds = %75, %46
%54 = load ptr, ptr %6, align 8
%55 = load ptr, ptr %7, align 8
%56 = call i32 @record(ptr noundef %54, ptr noundef %55)
store i32 %56, ptr %8, align 4
%57 = load i32, ptr %8, align 4
%58 = icmp eq i32 %57, 2
br i1 %58, label %59, label %62
59: ; preds = %53
%60 = load i32, ptr %10, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %10, align 4
br label %62
62: ; preds = %59, %53
%63 = load i32, ptr %8, align 4
%64 = icmp eq i32 %63, 22
br i1 %64, label %65, label %68
65: ; preds = %62
%66 = load i32, ptr %9, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %9, align 4
br label %68
68: ; preds = %65, %62
br label %69
69: ; preds = %68
%70 = load i32, ptr %8, align 4
%71 = icmp eq i32 %70, 2
br i1 %71, label %75, label %72
72: ; preds = %69
%73 = load i32, ptr %8, align 4
%74 = icmp eq i32 %73, 22
br label %75
75: ; preds = %72, %69
%76 = phi i1 [ true, %69 ], [ %74, %72 ]
br i1 %76, label %53, label %77, !llvm.loop !6
77: ; preds = %75
%78 = load i32, ptr %8, align 4
%79 = load i32, ptr @EOF, align 4
%80 = icmp eq i32 %78, %79
br i1 %80, label %81, label %100
81: ; preds = %77
%82 = load ptr, ptr %7, align 8
%83 = load i32, ptr %10, align 4
%84 = load i32, ptr %10, align 4
%85 = ashr i32 %84, 8
%86 = and i32 %85, 255
%87 = add nsw i32 3, %86
%88 = load i32, ptr %10, align 4
%89 = and i32 %88, 255
%90 = add nsw i32 %87, %89
%91 = xor i32 %90, -1
%92 = and i32 %91, 255
%93 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %82, ptr noundef @.str.5, i32 noundef %83, i32 noundef %92)
%94 = load i32, ptr %9, align 4
%95 = icmp eq i32 %94, 0
br i1 %95, label %96, label %99
96: ; preds = %81
%97 = load ptr, ptr %7, align 8
%98 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %97, ptr noundef @.str.6)
br label %99
99: ; preds = %96, %81
br label %108
100: ; preds = %77
%101 = load ptr, ptr @stderr, align 8
%102 = load i32, ptr %8, align 4
%103 = load ptr, ptr %6, align 8
%104 = call i64 @ftell(ptr noundef %103)
%105 = trunc i64 %104 to i32
%106 = sub nsw i32 %105, 1
%107 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %101, ptr noundef @.str.7, i32 noundef %102, i32 noundef %106)
br label %108
108: ; preds = %100, %99
br label %109
109: ; preds = %108, %40
br label %110
110: ; preds = %109, %31
%111 = load ptr, ptr %6, align 8
%112 = icmp ne ptr %111, null
br i1 %112, label %113, label %116
113: ; preds = %110
%114 = load ptr, ptr %6, align 8
%115 = call i32 @fclose(ptr noundef %114)
br label %116
116: ; preds = %113, %110
%117 = load ptr, ptr %7, align 8
%118 = icmp ne ptr %117, null
br i1 %118, label %119, label %122
119: ; preds = %116
%120 = load ptr, ptr %7, align 8
%121 = call i32 @fclose(ptr noundef %120)
br label %122
122: ; preds = %119, %116
%123 = load i32, ptr %8, align 4
%124 = load i32, ptr @EOF, align 4
%125 = icmp eq i32 %123, %124
br i1 %125, label %126, label %128
126: ; preds = %122
%127 = load i32, ptr @EXIT_SUCCESS, align 4
br label %130
128: ; preds = %122
%129 = load i32, ptr @EXIT_FAILURE, align 4
br label %130
130: ; preds = %128, %126
%131 = phi i32 [ %127, %126 ], [ %129, %128 ]
store i32 %131, ptr %3, align 4
br label %132
132: ; preds = %130, %13
%133 = load i32, ptr %3, align 4
ret i32 %133
}
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @header(ptr noundef, i32 noundef) #1
declare i32 @basename(ptr noundef) #1
declare i32 @record(ptr noundef, ptr noundef) #1
declare i64 @ftell(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/tmp3yra4oj5.c'
source_filename = "/tmp/tmp3yra4oj5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UtilStrNDup(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %22, %2
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %19
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %6, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 0
br label %19
19: ; preds = %11, %7
%20 = phi i1 [ false, %7 ], [ %18, %11 ]
br i1 %20, label %21, label %25
21: ; preds = %19
br label %22
22: ; preds = %21
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %6, align 4
br label %7, !llvm.loop !6
25: ; preds = %19
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, 1
%28 = call ptr @UtilCalloc(i32 noundef %27)
store ptr %28, ptr %5, align 8
%29 = load i32, ptr %6, align 4
%30 = icmp sgt i32 %29, 0
br i1 %30, label %31, label %36
31: ; preds = %25
%32 = load ptr, ptr %5, align 8
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %6, align 4
%35 = call i32 @memcpy(ptr noundef %32, ptr noundef %33, i32 noundef %34)
br label %36
36: ; preds = %31, %25
%37 = load ptr, ptr %5, align 8
%38 = load i32, ptr %6, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
store i8 0, ptr %40, align 1
%41 = load ptr, ptr %5, align 8
ret ptr %41
}
declare ptr @UtilCalloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3yra4oj5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UtilStrNDup(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %22, %2
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %19
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %6, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 0
br label %19
19: ; preds = %11, %7
%20 = phi i1 [ false, %7 ], [ %18, %11 ]
br i1 %20, label %21, label %25
21: ; preds = %19
br label %22
22: ; preds = %21
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %6, align 4
br label %7, !llvm.loop !6
25: ; preds = %19
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, 1
%28 = call ptr @UtilCalloc(i32 noundef %27)
store ptr %28, ptr %5, align 8
%29 = load i32, ptr %6, align 4
%30 = icmp sgt i32 %29, 0
br i1 %30, label %31, label %36
31: ; preds = %25
%32 = load ptr, ptr %5, align 8
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %6, align 4
%35 = call i32 @memcpy(ptr noundef %32, ptr noundef %33, i32 noundef %34)
br label %36
36: ; preds = %31, %25
%37 = load ptr, ptr %5, align 8
%38 = load i32, ptr %6, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
store i8 0, ptr %40, align 1
%41 = load ptr, ptr %5, align 8
ret ptr %41
}
declare ptr @UtilCalloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp53uflnky.c'
source_filename = "/tmp/tmp53uflnky.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@O_RDONLY = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"Unable to open flash image\0A\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"Unable to determine size of firmware image\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [25 x i8] c"Flash too large (> 32MB)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @boot_firmware_image(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca %struct.stat, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr @O_RDONLY, align 4
%9 = call i32 @open(ptr noundef %7, i32 noundef %8)
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = call i32 @perror(ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
15: ; preds = %2
%16 = load ptr, ptr %4, align 8
%17 = call i64 @stat(ptr noundef %16, ptr noundef %6)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %15
%20 = call i32 @perror(ptr noundef @.str.1)
%21 = call i32 @exit(i32 noundef 1) #3
unreachable
22: ; preds = %15
%23 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%24 = load i32, ptr %23, align 4
%25 = icmp sgt i32 %24, 33554432
br i1 %25, label %26, label %30
26: ; preds = %22
%27 = load i32, ptr @stderr, align 4
%28 = call i32 @fprintf(i32 noundef %27, ptr noundef @.str.2)
%29 = call i32 @exit(i32 noundef 1) #3
unreachable
30: ; preds = %22
%31 = load i32, ptr %3, align 4
%32 = load i32, ptr %5, align 4
%33 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%34 = load i32, ptr %33, align 4
%35 = call i32 @copy_flash_img(i32 noundef %31, i32 noundef %32, i32 noundef %34)
%36 = load i32, ptr %5, align 4
%37 = call i32 @close(i32 noundef %36)
ret void
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @copy_flash_img(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp53uflnky.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@O_RDONLY = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"Unable to open flash image\0A\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"Unable to determine size of firmware image\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [25 x i8] c"Flash too large (> 32MB)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @boot_firmware_image(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca %struct.stat, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr @O_RDONLY, align 4
%9 = call i32 @open(ptr noundef %7, i32 noundef %8)
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = call i32 @perror(ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 1) #3
unreachable
15: ; preds = %2
%16 = load ptr, ptr %4, align 8
%17 = call i64 @stat(ptr noundef %16, ptr noundef %6)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %15
%20 = call i32 @perror(ptr noundef @.str.1)
%21 = call i32 @exit(i32 noundef 1) #3
unreachable
22: ; preds = %15
%23 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%24 = load i32, ptr %23, align 4
%25 = icmp sgt i32 %24, 33554432
br i1 %25, label %26, label %30
26: ; preds = %22
%27 = load i32, ptr @stderr, align 4
%28 = call i32 @fprintf(i32 noundef %27, ptr noundef @.str.2)
%29 = call i32 @exit(i32 noundef 1) #3
unreachable
30: ; preds = %22
%31 = load i32, ptr %3, align 4
%32 = load i32, ptr %5, align 4
%33 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%34 = load i32, ptr %33, align 4
%35 = call i32 @copy_flash_img(i32 noundef %31, i32 noundef %32, i32 noundef %34)
%36 = load i32, ptr %5, align 4
%37 = call i32 @close(i32 noundef %36)
ret void
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @copy_flash_img(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpt22owpjb.c'
source_filename = "/tmp/tmpt22owpjb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [13 x i8] c"unified-boot\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"secure-boot\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [102 x i8] c"ERROR: Missing arguments: [outbin maxsize] | [outbin, maxsize, certchain, signature + certifcate(s)]\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"unsecure-boot\00", align 1
@.str.4 = private unnamed_addr constant [44 x i8] c"ERROR: Missing arguments: outbin directory\0A\00", align 1
@.str.5 = private unnamed_addr constant [104 x i8] c"ERROR: Missing argument(s): [outbin maxsize] | [outbin, maxsize, certchain, signature + certifcate(s)]\0A\00", align 1
@.str.6 = private unnamed_addr constant [19 x i8] c"cannot stat binary\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [31 x i8] c"cannot open header for writing\00", align 1
@.str.8 = private unnamed_addr constant [20 x i8] c"cannot write header\00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.10 = private unnamed_addr constant [28 x i8] c"ERROR: Occured during fopen\00", align 1
@.str.11 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.12 = private unnamed_addr constant [48 x i8] c"ERROR: Occured during certifcate chain padding\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 %struct.stat, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [20 x i32], align 16
%11 = alloca [10 x i32], align 16
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
%21 = alloca ptr, align 8
%22 = alloca i64, align 8
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca ptr, align 8
%29 = alloca ptr, align 8
%30 = alloca i32, align 4
%31 = alloca ptr, align 8
%32 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %9, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %14, align 4
store i32 0, ptr %15, align 4
store i32 0, ptr %16, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %33, 3
br i1 %34, label %35, label %37
35: ; preds = %2
%36 = call i32 (...) @print_usage()
store i32 %36, ptr %3, align 4
br label %474
37: ; preds = %2
%38 = load i32, ptr %4, align 4
%39 = icmp eq i32 %38, 4
br i1 %39, label %40, label %70
40: ; preds = %37
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds ptr, ptr %41, i64 3
%43 = load ptr, ptr %42, align 8
%44 = call i32 @strcmp(ptr noundef @.str, ptr noundef %43)
%45 = icmp ne i32 %44, 0
br i1 %45, label %47, label %46
46: ; preds = %40
store i32 1, ptr %9, align 4
br label %69
47: ; preds = %40
%48 = load ptr, ptr %5, align 8
%49 = getelementptr inbounds ptr, ptr %48, i64 3
%50 = load ptr, ptr %49, align 8
%51 = call i32 @strcmp(ptr noundef @.str.1, ptr noundef %50)
%52 = icmp ne i32 %51, 0
br i1 %52, label %57, label %53
53: ; preds = %47
%54 = load i32, ptr @stderr, align 4
%55 = call i32 @fprintf(i32 noundef %54, ptr noundef @.str.2)
%56 = call i32 (...) @print_usage()
store i32 %56, ptr %3, align 4
br label %474
57: ; preds = %47
%58 = load ptr, ptr %5, align 8
%59 = getelementptr inbounds ptr, ptr %58, i64 3
%60 = load ptr, ptr %59, align 8
%61 = call i32 @strcmp(ptr noundef @.str.3, ptr noundef %60)
%62 = icmp ne i32 %61, 0
br i1 %62, label %67, label %63
63: ; preds = %57
%64 = load i32, ptr @stderr, align 4
%65 = call i32 @fprintf(i32 noundef %64, ptr noundef @.str.4)
%66 = call i32 (...) @print_usage()
store i32 %66, ptr %3, align 4
br label %474
67: ; preds = %57
br label %68
68: ; preds = %67
br label %69
69: ; preds = %68, %46
br label %70
70: ; preds = %69, %37
%71 = load i32, ptr %4, align 4
%72 = icmp sgt i32 %71, 4
br i1 %72, label %73, label %95
73: ; preds = %70
%74 = load ptr, ptr %5, align 8
%75 = getelementptr inbounds ptr, ptr %74, i64 3
%76 = load ptr, ptr %75, align 8
%77 = call i32 @strcmp(ptr noundef @.str.1, ptr noundef %76)
%78 = icmp ne i32 %77, 0
br i1 %78, label %94, label %79
79: ; preds = %73
%80 = load i32, ptr %4, align 4
%81 = icmp slt i32 %80, 9
br i1 %81, label %82, label %89
82: ; preds = %79
%83 = load i32, ptr %4, align 4
%84 = icmp ne i32 %83, 6
br i1 %84, label %85, label %89
85: ; preds = %82
%86 = load i32, ptr @stderr, align 4
%87 = call i32 @fprintf(i32 noundef %86, ptr noundef @.str.5)
%88 = call i32 (...) @print_usage()
store i32 %88, ptr %3, align 4
br label %474
89: ; preds = %82, %79
store i32 1, ptr %16, align 4
store i32 256, ptr %15, align 4
%90 = load ptr, ptr %5, align 8
%91 = getelementptr inbounds ptr, ptr %90, i64 5
%92 = load ptr, ptr %91, align 8
%93 = call i32 @atoi(ptr noundef %92)
store i32 %93, ptr %14, align 4
br label %94
94: ; preds = %89, %73
br label %95
95: ; preds = %94, %70
%96 = load ptr, ptr %5, align 8
%97 = getelementptr inbounds ptr, ptr %96, i64 1
%98 = load ptr, ptr %97, align 8
%99 = call i64 @stat(ptr noundef %98, ptr noundef %6)
%100 = icmp ne i64 %99, 0
br i1 %100, label %101, label %103
101: ; preds = %95
%102 = call i32 @perror(ptr noundef @.str.6)
store i32 -1, ptr %3, align 4
br label %474
103: ; preds = %95
%104 = load i32, ptr %9, align 4
%105 = icmp ne i32 %104, 0
br i1 %105, label %106, label %108
106: ; preds = %103
%107 = getelementptr inbounds [20 x i32], ptr %10, i64 0, i64 0
store ptr %107, ptr %13, align 8
store i32 80, ptr %12, align 4
br label %110
108: ; preds = %103
%109 = getelementptr inbounds [10 x i32], ptr %11, i64 0, i64 0
store ptr %109, ptr %13, align 8
store i32 40, ptr %12, align 4
br label %110
110: ; preds = %108, %106
%111 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%112 = load i32, ptr %111, align 4
store i32 %112, ptr %7, align 4
store i32 0, ptr %8, align 4
%113 = load ptr, ptr %13, align 8
%114 = getelementptr inbounds i32, ptr %113, i64 0
store i32 5, ptr %114, align 4
%115 = load ptr, ptr %13, align 8
%116 = getelementptr inbounds i32, ptr %115, i64 1
store i32 3, ptr %116, align 4
%117 = load ptr, ptr %13, align 8
%118 = getelementptr inbounds i32, ptr %117, i64 2
store i32 0, ptr %118, align 4
%119 = load i32, ptr %8, align 4
%120 = load ptr, ptr %13, align 8
%121 = getelementptr inbounds i32, ptr %120, i64 3
store i32 %119, ptr %121, align 4
%122 = load i32, ptr %7, align 4
%123 = load i32, ptr %14, align 4
%124 = add i32 %122, %123
%125 = load i32, ptr %15, align 4
%126 = add i32 %124, %125
%127 = load ptr, ptr %13, align 8
%128 = getelementptr inbounds i32, ptr %127, i64 4
store i32 %126, ptr %128, align 4
%129 = load i32, ptr %7, align 4
%130 = load ptr, ptr %13, align 8
%131 = getelementptr inbounds i32, ptr %130, i64 5
store i32 %129, ptr %131, align 4
%132 = load i32, ptr %8, align 4
%133 = load i32, ptr %7, align 4
%134 = add i32 %132, %133
%135 = load ptr, ptr %13, align 8
%136 = getelementptr inbounds i32, ptr %135, i64 6
store i32 %134, ptr %136, align 4
%137 = load i32, ptr %15, align 4
%138 = load ptr, ptr %13, align 8
%139 = getelementptr inbounds i32, ptr %138, i64 7
store i32 %137, ptr %139, align 4
%140 = load i32, ptr %7, align 4
%141 = load i32, ptr %8, align 4
%142 = add i32 %140, %141
%143 = load i32, ptr %15, align 4
%144 = add i32 %142, %143
%145 = load ptr, ptr %13, align 8
%146 = getelementptr inbounds i32, ptr %145, i64 8
store i32 %144, ptr %146, align 4
%147 = load i32, ptr %14, align 4
%148 = load ptr, ptr %13, align 8
%149 = getelementptr inbounds i32, ptr %148, i64 9
store i32 %147, ptr %149, align 4
%150 = load i32, ptr %9, align 4
%151 = icmp eq i32 %150, 1
br i1 %151, label %152, label %173
152: ; preds = %110
%153 = load ptr, ptr %13, align 8
%154 = getelementptr inbounds i32, ptr %153, i64 10
store i32 864249477, ptr %154, align 4
%155 = load ptr, ptr %13, align 8
%156 = getelementptr inbounds i32, ptr %155, i64 11
store i32 1, ptr %156, align 4
%157 = load ptr, ptr %13, align 8
%158 = getelementptr inbounds i32, ptr %157, i64 12
store i32 2, ptr %158, align 4
%159 = load ptr, ptr %13, align 8
%160 = getelementptr inbounds i32, ptr %159, i64 13
store i32 0, ptr %160, align 4
%161 = load ptr, ptr %13, align 8
%162 = getelementptr inbounds i32, ptr %161, i64 14
store i32 0, ptr %162, align 4
%163 = load ptr, ptr %13, align 8
%164 = getelementptr inbounds i32, ptr %163, i64 15
store i32 0, ptr %164, align 4
%165 = load ptr, ptr %13, align 8
%166 = getelementptr inbounds i32, ptr %165, i64 16
store i32 0, ptr %166, align 4
%167 = load ptr, ptr %13, align 8
%168 = getelementptr inbounds i32, ptr %167, i64 17
store i32 0, ptr %168, align 4
%169 = load ptr, ptr %13, align 8
%170 = getelementptr inbounds i32, ptr %169, i64 18
store i32 0, ptr %170, align 4
%171 = load ptr, ptr %13, align 8
%172 = getelementptr inbounds i32, ptr %171, i64 19
store i32 0, ptr %172, align 4
br label %173
173: ; preds = %152, %110
%174 = load ptr, ptr %5, align 8
%175 = getelementptr inbounds ptr, ptr %174, i64 2
%176 = load ptr, ptr %175, align 8
%177 = load i32, ptr @O_WRONLY, align 4
%178 = load i32, ptr @O_CREAT, align 4
%179 = or i32 %177, %178
%180 = load i32, ptr @O_TRUNC, align 4
%181 = or i32 %179, %180
%182 = call i32 @open(ptr noundef %176, i32 noundef %181, i32 noundef 420)
store i32 %182, ptr %17, align 4
%183 = load i32, ptr %17, align 4
%184 = icmp slt i32 %183, 0
br i1 %184, label %185, label %187
185: ; preds = %173
%186 = call i32 @perror(ptr noundef @.str.7)
store i32 -1, ptr %3, align 4
br label %474
187: ; preds = %173
%188 = load i32, ptr %17, align 4
%189 = load ptr, ptr %13, align 8
%190 = load i32, ptr %12, align 4
%191 = call i32 @write(i32 noundef %188, ptr noundef %189, i32 noundef %190)
%192 = load i32, ptr %12, align 4
%193 = icmp ne i32 %191, %192
br i1 %193, label %194, label %202
194: ; preds = %187
%195 = call i32 @perror(ptr noundef @.str.8)
%196 = load i32, ptr %17, align 4
%197 = call i32 @close(i32 noundef %196)
%198 = load ptr, ptr %5, align 8
%199 = getelementptr inbounds ptr, ptr %198, i64 2
%200 = load ptr, ptr %199, align 8
%201 = call i32 @unlink(ptr noundef %200)
store i32 -1, ptr %3, align 4
br label %474
202: ; preds = %187
%203 = load i32, ptr %17, align 4
%204 = call i32 @close(i32 noundef %203)
%205 = load i32, ptr %16, align 4
%206 = icmp ne i32 %205, 0
br i1 %206, label %207, label %401
207: ; preds = %202
%208 = load i32, ptr %4, align 4
%209 = icmp sgt i32 %208, 6
br i1 %209, label %210, label %401
210: ; preds = %207
store i32 1, ptr %20, align 4
%211 = load i32, ptr %20, align 4
%212 = zext i32 %211 to i64
%213 = call ptr @llvm.stacksave()
store ptr %213, ptr %21, align 8
%214 = alloca i8, i64 %212, align 16
store i64 %212, ptr %22, align 8
store i32 0, ptr %24, align 4
store i32 0, ptr %25, align 4
%215 = load ptr, ptr %5, align 8
%216 = getelementptr inbounds ptr, ptr %215, i64 6
%217 = load ptr, ptr %216, align 8
%218 = call ptr @fopen(ptr noundef %217, ptr noundef @.str.9)
store ptr %218, ptr %19, align 8
%219 = icmp eq ptr %218, null
br i1 %219, label %220, label %222
220: ; preds = %210
%221 = call i32 @perror(ptr noundef @.str.10)
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %397
222: ; preds = %210
store i32 8, ptr %26, align 4
br label %223
223: ; preds = %259, %222
%224 = load i32, ptr %26, align 4
%225 = load i32, ptr %4, align 4
%226 = icmp slt i32 %224, %225
br i1 %226, label %227, label %262
227: ; preds = %223
%228 = load ptr, ptr %5, align 8
%229 = load i32, ptr %26, align 4
%230 = sext i32 %229 to i64
%231 = getelementptr inbounds ptr, ptr %228, i64 %230
%232 = load ptr, ptr %231, align 8
%233 = call ptr @fopen(ptr noundef %232, ptr noundef @.str.11)
store ptr %233, ptr %18, align 8
%234 = icmp eq ptr %233, null
br i1 %234, label %235, label %237
235: ; preds = %227
%236 = call i32 @perror(ptr noundef @.str.10)
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %397
237: ; preds = %227
%238 = load ptr, ptr %5, align 8
%239 = load i32, ptr %26, align 4
%240 = sext i32 %239 to i64
%241 = getelementptr inbounds ptr, ptr %238, i64 %240
%242 = load ptr, ptr %241, align 8
%243 = call i64 @stat(ptr noundef %242, ptr noundef %6)
%244 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%245 = load i32, ptr %244, align 4
store i32 %245, ptr %23, align 4
%246 = load i32, ptr %23, align 4
%247 = load i32, ptr %24, align 4
%248 = add i32 %247, %246
store i32 %248, ptr %24, align 4
%249 = load ptr, ptr %18, align 8
%250 = load ptr, ptr %19, align 8
%251 = load i32, ptr %23, align 4
%252 = load i32, ptr %20, align 4
%253 = call i64 @cat(ptr noundef %249, ptr noundef %250, i32 noundef %251, i32 noundef %252)
%254 = icmp ne i64 %253, 0
br i1 %254, label %255, label %256
255: ; preds = %237
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %397
256: ; preds = %237
%257 = load ptr, ptr %18, align 8
%258 = call i32 @fclose(ptr noundef %257)
br label %259
259: ; preds = %256
%260 = load i32, ptr %26, align 4
%261 = add nsw i32 %260, 1
store i32 %261, ptr %26, align 4
br label %223, !llvm.loop !6
262: ; preds = %223
%263 = trunc i64 %212 to i32
%264 = call i32 @memset(ptr noundef %214, i32 noundef 255, i32 noundef %263)
%265 = load i32, ptr %14, align 4
%266 = load i32, ptr %24, align 4
%267 = sub i32 %265, %266
store i32 %267, ptr %25, align 4
%268 = load i32, ptr %25, align 4
%269 = icmp sgt i32 %268, 0
br i1 %269, label %270, label %272
270: ; preds = %262
%271 = load i32, ptr %25, align 4
br label %273
272: ; preds = %262
br label %273
273: ; preds = %272, %270
%274 = phi i32 [ %271, %270 ], [ 0, %272 ]
store i32 %274, ptr %23, align 4
br label %275
275: ; preds = %294, %273
%276 = load i32, ptr %23, align 4
%277 = icmp ne i32 %276, 0
br i1 %277, label %278, label %295
278: ; preds = %275
%279 = load ptr, ptr %19, align 8
%280 = call i32 @ferror(ptr noundef %279)
%281 = icmp ne i32 %280, 0
br i1 %281, label %291, label %282
282: ; preds = %278
%283 = trunc i64 %212 to i32
%284 = load i32, ptr %20, align 4
%285 = load ptr, ptr %19, align 8
%286 = call i64 @fwrite(ptr noundef %214, i32 noundef %283, i32 noundef %284, ptr noundef %285)
%287 = load i32, ptr %23, align 4
%288 = zext i32 %287 to i64
%289 = sub nsw i64 %288, %286
%290 = trunc i64 %289 to i32
store i32 %290, ptr %23, align 4
br label %294
291: ; preds = %278
%292 = load i32, ptr @stderr, align 4
%293 = call i32 @fprintf(i32 noundef %292, ptr noundef @.str.12)
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %397
294: ; preds = %282
br label %275, !llvm.loop !8
295: ; preds = %275
%296 = load ptr, ptr %19, align 8
%297 = call i32 @fclose(ptr noundef %296)
%298 = load ptr, ptr %5, align 8
%299 = getelementptr inbounds ptr, ptr %298, i64 4
%300 = load ptr, ptr %299, align 8
%301 = call ptr @fopen(ptr noundef %300, ptr noundef @.str.9)
store ptr %301, ptr %19, align 8
%302 = icmp eq ptr %301, null
br i1 %302, label %303, label %305
303: ; preds = %295
%304 = call i32 @perror(ptr noundef @.str.10)
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %397
305: ; preds = %295
%306 = load ptr, ptr %5, align 8
%307 = getelementptr inbounds ptr, ptr %306, i64 2
%308 = load ptr, ptr %307, align 8
%309 = call ptr @fopen(ptr noundef %308, ptr noundef @.str.11)
store ptr %309, ptr %18, align 8
%310 = icmp eq ptr %309, null
br i1 %310, label %311, label %313
311: ; preds = %305
%312 = call i32 @perror(ptr noundef @.str.10)
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %397
313: ; preds = %305
%314 = load ptr, ptr %5, align 8
%315 = getelementptr inbounds ptr, ptr %314, i64 2
%316 = load ptr, ptr %315, align 8
%317 = call i64 @stat(ptr noundef %316, ptr noundef %6)
%318 = load ptr, ptr %18, align 8
%319 = load ptr, ptr %19, align 8
%320 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%321 = load i32, ptr %320, align 4
%322 = load i32, ptr %20, align 4
%323 = call i64 @cat(ptr noundef %318, ptr noundef %319, i32 noundef %321, i32 noundef %322)
%324 = icmp ne i64 %323, 0
br i1 %324, label %325, label %326
325: ; preds = %313
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %397
326: ; preds = %313
%327 = load ptr, ptr %18, align 8
%328 = call i32 @fclose(ptr noundef %327)
%329 = load ptr, ptr %5, align 8
%330 = getelementptr inbounds ptr, ptr %329, i64 1
%331 = load ptr, ptr %330, align 8
%332 = call ptr @fopen(ptr noundef %331, ptr noundef @.str.11)
store ptr %332, ptr %18, align 8
%333 = icmp eq ptr %332, null
br i1 %333, label %334, label %336
334: ; preds = %326
%335 = call i32 @perror(ptr noundef @.str.10)
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %397
336: ; preds = %326
%337 = load ptr, ptr %5, align 8
%338 = getelementptr inbounds ptr, ptr %337, i64 1
%339 = load ptr, ptr %338, align 8
%340 = call i64 @stat(ptr noundef %339, ptr noundef %6)
%341 = load ptr, ptr %18, align 8
%342 = load ptr, ptr %19, align 8
%343 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%344 = load i32, ptr %343, align 4
%345 = load i32, ptr %20, align 4
%346 = call i64 @cat(ptr noundef %341, ptr noundef %342, i32 noundef %344, i32 noundef %345)
%347 = icmp ne i64 %346, 0
br i1 %347, label %348, label %349
348: ; preds = %336
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %397
349: ; preds = %336
%350 = load ptr, ptr %18, align 8
%351 = call i32 @fclose(ptr noundef %350)
%352 = load ptr, ptr %5, align 8
%353 = getelementptr inbounds ptr, ptr %352, i64 7
%354 = load ptr, ptr %353, align 8
%355 = call ptr @fopen(ptr noundef %354, ptr noundef @.str.11)
store ptr %355, ptr %18, align 8
%356 = icmp eq ptr %355, null
br i1 %356, label %357, label %359
357: ; preds = %349
%358 = call i32 @perror(ptr noundef @.str.10)
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %397
359: ; preds = %349
%360 = load ptr, ptr %5, align 8
%361 = getelementptr inbounds ptr, ptr %360, i64 7
%362 = load ptr, ptr %361, align 8
%363 = call i64 @stat(ptr noundef %362, ptr noundef %6)
%364 = load ptr, ptr %18, align 8
%365 = load ptr, ptr %19, align 8
%366 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%367 = load i32, ptr %366, align 4
%368 = load i32, ptr %20, align 4
%369 = call i64 @cat(ptr noundef %364, ptr noundef %365, i32 noundef %367, i32 noundef %368)
%370 = icmp ne i64 %369, 0
br i1 %370, label %371, label %372
371: ; preds = %359
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %397
372: ; preds = %359
%373 = load ptr, ptr %18, align 8
%374 = call i32 @fclose(ptr noundef %373)
%375 = load ptr, ptr %5, align 8
%376 = getelementptr inbounds ptr, ptr %375, i64 6
%377 = load ptr, ptr %376, align 8
%378 = call ptr @fopen(ptr noundef %377, ptr noundef @.str.11)
store ptr %378, ptr %18, align 8
%379 = icmp eq ptr %378, null
br i1 %379, label %380, label %382
380: ; preds = %372
%381 = call i32 @perror(ptr noundef @.str.10)
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %397
382: ; preds = %372
%383 = load ptr, ptr %18, align 8
%384 = load ptr, ptr %19, align 8
%385 = load i32, ptr %24, align 4
%386 = load i32, ptr %25, align 4
%387 = add i32 %385, %386
%388 = load i32, ptr %20, align 4
%389 = call i64 @cat(ptr noundef %383, ptr noundef %384, i32 noundef %387, i32 noundef %388)
%390 = icmp ne i64 %389, 0
br i1 %390, label %391, label %392
391: ; preds = %382
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %397
392: ; preds = %382
%393 = load ptr, ptr %18, align 8
%394 = call i32 @fclose(ptr noundef %393)
%395 = load ptr, ptr %19, align 8
%396 = call i32 @fclose(ptr noundef %395)
store i32 0, ptr %27, align 4
br label %397
397: ; preds = %392, %391, %380, %371, %357, %348, %334, %325, %311, %303, %291, %255, %235, %220
%398 = load ptr, ptr %21, align 8
call void @llvm.stackrestore(ptr %398)
%399 = load i32, ptr %27, align 4
switch i32 %399, label %476 [
i32 0, label %400
i32 1, label %474
]
400: ; preds = %397
br label %473
401: ; preds = %207, %202
%402 = load i32, ptr %4, align 4
%403 = icmp eq i32 %402, 5
br i1 %403, label %407, label %404
404: ; preds = %401
%405 = load i32, ptr %4, align 4
%406 = icmp eq i32 %405, 6
br i1 %406, label %407, label %472
407: ; preds = %404, %401
store i32 1, ptr %30, align 4
%408 = load i32, ptr %30, align 4
%409 = zext i32 %408 to i64
%410 = call ptr @llvm.stacksave()
store ptr %410, ptr %31, align 8
%411 = alloca i8, i64 %409, align 16
store i64 %409, ptr %32, align 8
%412 = load ptr, ptr %5, align 8
%413 = getelementptr inbounds ptr, ptr %412, i64 4
%414 = load ptr, ptr %413, align 8
%415 = call ptr @fopen(ptr noundef %414, ptr noundef @.str.9)
store ptr %415, ptr %29, align 8
%416 = icmp eq ptr %415, null
br i1 %416, label %417, label %419
417: ; preds = %407
%418 = call i32 @perror(ptr noundef @.str.10)
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %468
419: ; preds = %407
%420 = load ptr, ptr %5, align 8
%421 = getelementptr inbounds ptr, ptr %420, i64 2
%422 = load ptr, ptr %421, align 8
%423 = call ptr @fopen(ptr noundef %422, ptr noundef @.str.11)
store ptr %423, ptr %28, align 8
%424 = icmp eq ptr %423, null
br i1 %424, label %425, label %427
425: ; preds = %419
%426 = call i32 @perror(ptr noundef @.str.10)
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %468
427: ; preds = %419
%428 = load ptr, ptr %5, align 8
%429 = getelementptr inbounds ptr, ptr %428, i64 2
%430 = load ptr, ptr %429, align 8
%431 = call i64 @stat(ptr noundef %430, ptr noundef %6)
%432 = load ptr, ptr %28, align 8
%433 = load ptr, ptr %29, align 8
%434 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%435 = load i32, ptr %434, align 4
%436 = load i32, ptr %30, align 4
%437 = call i64 @cat(ptr noundef %432, ptr noundef %433, i32 noundef %435, i32 noundef %436)
%438 = icmp ne i64 %437, 0
br i1 %438, label %439, label %440
439: ; preds = %427
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %468
440: ; preds = %427
%441 = load ptr, ptr %28, align 8
%442 = call i32 @fclose(ptr noundef %441)
%443 = load ptr, ptr %5, align 8
%444 = getelementptr inbounds ptr, ptr %443, i64 1
%445 = load ptr, ptr %444, align 8
%446 = call ptr @fopen(ptr noundef %445, ptr noundef @.str.11)
store ptr %446, ptr %28, align 8
%447 = icmp eq ptr %446, null
br i1 %447, label %448, label %450
448: ; preds = %440
%449 = call i32 @perror(ptr noundef @.str.10)
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %468
450: ; preds = %440
%451 = load ptr, ptr %5, align 8
%452 = getelementptr inbounds ptr, ptr %451, i64 1
%453 = load ptr, ptr %452, align 8
%454 = call i64 @stat(ptr noundef %453, ptr noundef %6)
%455 = load ptr, ptr %28, align 8
%456 = load ptr, ptr %29, align 8
%457 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%458 = load i32, ptr %457, align 4
%459 = load i32, ptr %30, align 4
%460 = call i64 @cat(ptr noundef %455, ptr noundef %456, i32 noundef %458, i32 noundef %459)
%461 = icmp ne i64 %460, 0
br i1 %461, label %462, label %463
462: ; preds = %450
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %468
463: ; preds = %450
%464 = load ptr, ptr %28, align 8
%465 = call i32 @fclose(ptr noundef %464)
%466 = load ptr, ptr %29, align 8
%467 = call i32 @fclose(ptr noundef %466)
store i32 0, ptr %27, align 4
br label %468
468: ; preds = %463, %462, %448, %439, %425, %417
%469 = load ptr, ptr %31, align 8
call void @llvm.stackrestore(ptr %469)
%470 = load i32, ptr %27, align 4
switch i32 %470, label %476 [
i32 0, label %471
i32 1, label %474
]
471: ; preds = %468
br label %472
472: ; preds = %471, %404
br label %473
473: ; preds = %472, %400
store i32 0, ptr %3, align 4
br label %474
474: ; preds = %473, %468, %397, %194, %185, %101, %85, %63, %53, %35
%475 = load i32, ptr %3, align 4
ret i32 %475
476: ; preds = %468, %397
unreachable
}
declare i32 @print_usage(...) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @unlink(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @cat(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ferror(ptr noundef) #1
declare i64 @fwrite(ptr noundef, i32 noundef, i32 noundef, 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}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt22owpjb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [13 x i8] c"unified-boot\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"secure-boot\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [102 x i8] c"ERROR: Missing arguments: [outbin maxsize] | [outbin, maxsize, certchain, signature + certifcate(s)]\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"unsecure-boot\00", align 1
@.str.4 = private unnamed_addr constant [44 x i8] c"ERROR: Missing arguments: outbin directory\0A\00", align 1
@.str.5 = private unnamed_addr constant [104 x i8] c"ERROR: Missing argument(s): [outbin maxsize] | [outbin, maxsize, certchain, signature + certifcate(s)]\0A\00", align 1
@.str.6 = private unnamed_addr constant [19 x i8] c"cannot stat binary\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [31 x i8] c"cannot open header for writing\00", align 1
@.str.8 = private unnamed_addr constant [20 x i8] c"cannot write header\00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.10 = private unnamed_addr constant [28 x i8] c"ERROR: Occured during fopen\00", align 1
@.str.11 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.12 = private unnamed_addr constant [48 x i8] c"ERROR: Occured during certifcate chain padding\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 %struct.stat, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [20 x i32], align 16
%11 = alloca [10 x i32], align 16
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
%21 = alloca ptr, align 8
%22 = alloca i64, align 8
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca ptr, align 8
%29 = alloca ptr, align 8
%30 = alloca i32, align 4
%31 = alloca ptr, align 8
%32 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %9, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %14, align 4
store i32 0, ptr %15, align 4
store i32 0, ptr %16, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %33, 3
br i1 %34, label %35, label %37
35: ; preds = %2
%36 = call i32 (...) @print_usage()
store i32 %36, ptr %3, align 4
br label %477
37: ; preds = %2
%38 = load i32, ptr %4, align 4
%39 = icmp eq i32 %38, 4
br i1 %39, label %40, label %70
40: ; preds = %37
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds ptr, ptr %41, i64 3
%43 = load ptr, ptr %42, align 8
%44 = call i32 @strcmp(ptr noundef @.str, ptr noundef %43)
%45 = icmp ne i32 %44, 0
br i1 %45, label %47, label %46
46: ; preds = %40
store i32 1, ptr %9, align 4
br label %69
47: ; preds = %40
%48 = load ptr, ptr %5, align 8
%49 = getelementptr inbounds ptr, ptr %48, i64 3
%50 = load ptr, ptr %49, align 8
%51 = call i32 @strcmp(ptr noundef @.str.1, ptr noundef %50)
%52 = icmp ne i32 %51, 0
br i1 %52, label %57, label %53
53: ; preds = %47
%54 = load i32, ptr @stderr, align 4
%55 = call i32 @fprintf(i32 noundef %54, ptr noundef @.str.2)
%56 = call i32 (...) @print_usage()
store i32 %56, ptr %3, align 4
br label %477
57: ; preds = %47
%58 = load ptr, ptr %5, align 8
%59 = getelementptr inbounds ptr, ptr %58, i64 3
%60 = load ptr, ptr %59, align 8
%61 = call i32 @strcmp(ptr noundef @.str.3, ptr noundef %60)
%62 = icmp ne i32 %61, 0
br i1 %62, label %67, label %63
63: ; preds = %57
%64 = load i32, ptr @stderr, align 4
%65 = call i32 @fprintf(i32 noundef %64, ptr noundef @.str.4)
%66 = call i32 (...) @print_usage()
store i32 %66, ptr %3, align 4
br label %477
67: ; preds = %57
br label %68
68: ; preds = %67
br label %69
69: ; preds = %68, %46
br label %70
70: ; preds = %69, %37
%71 = load i32, ptr %4, align 4
%72 = icmp sgt i32 %71, 4
br i1 %72, label %73, label %95
73: ; preds = %70
%74 = load ptr, ptr %5, align 8
%75 = getelementptr inbounds ptr, ptr %74, i64 3
%76 = load ptr, ptr %75, align 8
%77 = call i32 @strcmp(ptr noundef @.str.1, ptr noundef %76)
%78 = icmp ne i32 %77, 0
br i1 %78, label %94, label %79
79: ; preds = %73
%80 = load i32, ptr %4, align 4
%81 = icmp slt i32 %80, 9
br i1 %81, label %82, label %89
82: ; preds = %79
%83 = load i32, ptr %4, align 4
%84 = icmp ne i32 %83, 6
br i1 %84, label %85, label %89
85: ; preds = %82
%86 = load i32, ptr @stderr, align 4
%87 = call i32 @fprintf(i32 noundef %86, ptr noundef @.str.5)
%88 = call i32 (...) @print_usage()
store i32 %88, ptr %3, align 4
br label %477
89: ; preds = %82, %79
store i32 1, ptr %16, align 4
store i32 256, ptr %15, align 4
%90 = load ptr, ptr %5, align 8
%91 = getelementptr inbounds ptr, ptr %90, i64 5
%92 = load ptr, ptr %91, align 8
%93 = call i32 @atoi(ptr noundef %92)
store i32 %93, ptr %14, align 4
br label %94
94: ; preds = %89, %73
br label %95
95: ; preds = %94, %70
%96 = load ptr, ptr %5, align 8
%97 = getelementptr inbounds ptr, ptr %96, i64 1
%98 = load ptr, ptr %97, align 8
%99 = call i64 @stat(ptr noundef %98, ptr noundef %6)
%100 = icmp ne i64 %99, 0
br i1 %100, label %101, label %103
101: ; preds = %95
%102 = call i32 @perror(ptr noundef @.str.6)
store i32 -1, ptr %3, align 4
br label %477
103: ; preds = %95
%104 = load i32, ptr %9, align 4
%105 = icmp ne i32 %104, 0
br i1 %105, label %106, label %108
106: ; preds = %103
%107 = getelementptr inbounds [20 x i32], ptr %10, i64 0, i64 0
store ptr %107, ptr %13, align 8
store i32 80, ptr %12, align 4
br label %110
108: ; preds = %103
%109 = getelementptr inbounds [10 x i32], ptr %11, i64 0, i64 0
store ptr %109, ptr %13, align 8
store i32 40, ptr %12, align 4
br label %110
110: ; preds = %108, %106
%111 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%112 = load i32, ptr %111, align 4
store i32 %112, ptr %7, align 4
store i32 0, ptr %8, align 4
%113 = load ptr, ptr %13, align 8
%114 = getelementptr inbounds i32, ptr %113, i64 0
store i32 5, ptr %114, align 4
%115 = load ptr, ptr %13, align 8
%116 = getelementptr inbounds i32, ptr %115, i64 1
store i32 3, ptr %116, align 4
%117 = load ptr, ptr %13, align 8
%118 = getelementptr inbounds i32, ptr %117, i64 2
store i32 0, ptr %118, align 4
%119 = load i32, ptr %8, align 4
%120 = load ptr, ptr %13, align 8
%121 = getelementptr inbounds i32, ptr %120, i64 3
store i32 %119, ptr %121, align 4
%122 = load i32, ptr %7, align 4
%123 = load i32, ptr %14, align 4
%124 = add i32 %122, %123
%125 = load i32, ptr %15, align 4
%126 = add i32 %124, %125
%127 = load ptr, ptr %13, align 8
%128 = getelementptr inbounds i32, ptr %127, i64 4
store i32 %126, ptr %128, align 4
%129 = load i32, ptr %7, align 4
%130 = load ptr, ptr %13, align 8
%131 = getelementptr inbounds i32, ptr %130, i64 5
store i32 %129, ptr %131, align 4
%132 = load i32, ptr %8, align 4
%133 = load i32, ptr %7, align 4
%134 = add i32 %132, %133
%135 = load ptr, ptr %13, align 8
%136 = getelementptr inbounds i32, ptr %135, i64 6
store i32 %134, ptr %136, align 4
%137 = load i32, ptr %15, align 4
%138 = load ptr, ptr %13, align 8
%139 = getelementptr inbounds i32, ptr %138, i64 7
store i32 %137, ptr %139, align 4
%140 = load i32, ptr %7, align 4
%141 = load i32, ptr %8, align 4
%142 = add i32 %140, %141
%143 = load i32, ptr %15, align 4
%144 = add i32 %142, %143
%145 = load ptr, ptr %13, align 8
%146 = getelementptr inbounds i32, ptr %145, i64 8
store i32 %144, ptr %146, align 4
%147 = load i32, ptr %14, align 4
%148 = load ptr, ptr %13, align 8
%149 = getelementptr inbounds i32, ptr %148, i64 9
store i32 %147, ptr %149, align 4
%150 = load i32, ptr %9, align 4
%151 = icmp eq i32 %150, 1
br i1 %151, label %152, label %173
152: ; preds = %110
%153 = load ptr, ptr %13, align 8
%154 = getelementptr inbounds i32, ptr %153, i64 10
store i32 864249477, ptr %154, align 4
%155 = load ptr, ptr %13, align 8
%156 = getelementptr inbounds i32, ptr %155, i64 11
store i32 1, ptr %156, align 4
%157 = load ptr, ptr %13, align 8
%158 = getelementptr inbounds i32, ptr %157, i64 12
store i32 2, ptr %158, align 4
%159 = load ptr, ptr %13, align 8
%160 = getelementptr inbounds i32, ptr %159, i64 13
store i32 0, ptr %160, align 4
%161 = load ptr, ptr %13, align 8
%162 = getelementptr inbounds i32, ptr %161, i64 14
store i32 0, ptr %162, align 4
%163 = load ptr, ptr %13, align 8
%164 = getelementptr inbounds i32, ptr %163, i64 15
store i32 0, ptr %164, align 4
%165 = load ptr, ptr %13, align 8
%166 = getelementptr inbounds i32, ptr %165, i64 16
store i32 0, ptr %166, align 4
%167 = load ptr, ptr %13, align 8
%168 = getelementptr inbounds i32, ptr %167, i64 17
store i32 0, ptr %168, align 4
%169 = load ptr, ptr %13, align 8
%170 = getelementptr inbounds i32, ptr %169, i64 18
store i32 0, ptr %170, align 4
%171 = load ptr, ptr %13, align 8
%172 = getelementptr inbounds i32, ptr %171, i64 19
store i32 0, ptr %172, align 4
br label %173
173: ; preds = %152, %110
%174 = load ptr, ptr %5, align 8
%175 = getelementptr inbounds ptr, ptr %174, i64 2
%176 = load ptr, ptr %175, align 8
%177 = load i32, ptr @O_WRONLY, align 4
%178 = load i32, ptr @O_CREAT, align 4
%179 = or i32 %177, %178
%180 = load i32, ptr @O_TRUNC, align 4
%181 = or i32 %179, %180
%182 = call i32 @open(ptr noundef %176, i32 noundef %181, i32 noundef 420)
store i32 %182, ptr %17, align 4
%183 = load i32, ptr %17, align 4
%184 = icmp slt i32 %183, 0
br i1 %184, label %185, label %187
185: ; preds = %173
%186 = call i32 @perror(ptr noundef @.str.7)
store i32 -1, ptr %3, align 4
br label %477
187: ; preds = %173
%188 = load i32, ptr %17, align 4
%189 = load ptr, ptr %13, align 8
%190 = load i32, ptr %12, align 4
%191 = call i32 @write(i32 noundef %188, ptr noundef %189, i32 noundef %190)
%192 = load i32, ptr %12, align 4
%193 = icmp ne i32 %191, %192
br i1 %193, label %194, label %202
194: ; preds = %187
%195 = call i32 @perror(ptr noundef @.str.8)
%196 = load i32, ptr %17, align 4
%197 = call i32 @close(i32 noundef %196)
%198 = load ptr, ptr %5, align 8
%199 = getelementptr inbounds ptr, ptr %198, i64 2
%200 = load ptr, ptr %199, align 8
%201 = call i32 @unlink(ptr noundef %200)
store i32 -1, ptr %3, align 4
br label %477
202: ; preds = %187
%203 = load i32, ptr %17, align 4
%204 = call i32 @close(i32 noundef %203)
%205 = load i32, ptr %16, align 4
%206 = icmp ne i32 %205, 0
br i1 %206, label %207, label %404
207: ; preds = %202
%208 = load i32, ptr %4, align 4
%209 = icmp sgt i32 %208, 6
br i1 %209, label %210, label %404
210: ; preds = %207
store i32 1, ptr %20, align 4
%211 = load i32, ptr %20, align 4
%212 = zext i32 %211 to i64
%213 = call ptr @llvm.stacksave()
store ptr %213, ptr %21, align 8
%214 = alloca i8, i64 %212, align 16
store i64 %212, ptr %22, align 8
store i32 0, ptr %24, align 4
store i32 0, ptr %25, align 4
%215 = load ptr, ptr %5, align 8
%216 = getelementptr inbounds ptr, ptr %215, i64 6
%217 = load ptr, ptr %216, align 8
%218 = call ptr @fopen(ptr noundef %217, ptr noundef @.str.9)
store ptr %218, ptr %19, align 8
%219 = icmp eq ptr %218, null
br i1 %219, label %220, label %222
220: ; preds = %210
%221 = call i32 @perror(ptr noundef @.str.10)
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %400
222: ; preds = %210
store i32 8, ptr %26, align 4
%223 = load i32, ptr %26, align 4
%224 = load i32, ptr %4, align 4
%225 = icmp slt i32 %223, %224
br i1 %225, label %.lr.ph, label %264
.lr.ph: ; preds = %222
br label %226
226: ; preds = %.lr.ph, %258
%227 = load ptr, ptr %5, align 8
%228 = load i32, ptr %26, align 4
%229 = sext i32 %228 to i64
%230 = getelementptr inbounds ptr, ptr %227, i64 %229
%231 = load ptr, ptr %230, align 8
%232 = call ptr @fopen(ptr noundef %231, ptr noundef @.str.11)
store ptr %232, ptr %18, align 8
%233 = icmp eq ptr %232, null
br i1 %233, label %234, label %236
234: ; preds = %226
%235 = call i32 @perror(ptr noundef @.str.10)
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %400
236: ; preds = %226
%237 = load ptr, ptr %5, align 8
%238 = load i32, ptr %26, align 4
%239 = sext i32 %238 to i64
%240 = getelementptr inbounds ptr, ptr %237, i64 %239
%241 = load ptr, ptr %240, align 8
%242 = call i64 @stat(ptr noundef %241, ptr noundef %6)
%243 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%244 = load i32, ptr %243, align 4
store i32 %244, ptr %23, align 4
%245 = load i32, ptr %23, align 4
%246 = load i32, ptr %24, align 4
%247 = add i32 %246, %245
store i32 %247, ptr %24, align 4
%248 = load ptr, ptr %18, align 8
%249 = load ptr, ptr %19, align 8
%250 = load i32, ptr %23, align 4
%251 = load i32, ptr %20, align 4
%252 = call i64 @cat(ptr noundef %248, ptr noundef %249, i32 noundef %250, i32 noundef %251)
%253 = icmp ne i64 %252, 0
br i1 %253, label %254, label %255
254: ; preds = %236
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %400
255: ; preds = %236
%256 = load ptr, ptr %18, align 8
%257 = call i32 @fclose(ptr noundef %256)
br label %258
258: ; preds = %255
%259 = load i32, ptr %26, align 4
%260 = add nsw i32 %259, 1
store i32 %260, ptr %26, align 4
%261 = load i32, ptr %26, align 4
%262 = load i32, ptr %4, align 4
%263 = icmp slt i32 %261, %262
br i1 %263, label %226, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %258
br label %264
264: ; preds = %._crit_edge, %222
%265 = trunc i64 %212 to i32
%266 = call i32 @memset(ptr noundef %214, i32 noundef 255, i32 noundef %265)
%267 = load i32, ptr %14, align 4
%268 = load i32, ptr %24, align 4
%269 = sub i32 %267, %268
store i32 %269, ptr %25, align 4
%270 = load i32, ptr %25, align 4
%271 = icmp sgt i32 %270, 0
br i1 %271, label %272, label %274
272: ; preds = %264
%273 = load i32, ptr %25, align 4
br label %275
274: ; preds = %264
br label %275
275: ; preds = %274, %272
%276 = phi i32 [ %273, %272 ], [ 0, %274 ]
store i32 %276, ptr %23, align 4
%277 = load i32, ptr %23, align 4
%278 = icmp ne i32 %277, 0
br i1 %278, label %.lr.ph2, label %298
.lr.ph2: ; preds = %275
br label %279
279: ; preds = %.lr.ph2, %295
%280 = load ptr, ptr %19, align 8
%281 = call i32 @ferror(ptr noundef %280)
%282 = icmp ne i32 %281, 0
br i1 %282, label %292, label %283
283: ; preds = %279
%284 = trunc i64 %212 to i32
%285 = load i32, ptr %20, align 4
%286 = load ptr, ptr %19, align 8
%287 = call i64 @fwrite(ptr noundef %214, i32 noundef %284, i32 noundef %285, ptr noundef %286)
%288 = load i32, ptr %23, align 4
%289 = zext i32 %288 to i64
%290 = sub nsw i64 %289, %287
%291 = trunc i64 %290 to i32
store i32 %291, ptr %23, align 4
br label %295
292: ; preds = %279
%293 = load i32, ptr @stderr, align 4
%294 = call i32 @fprintf(i32 noundef %293, ptr noundef @.str.12)
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %400
295: ; preds = %283
%296 = load i32, ptr %23, align 4
%297 = icmp ne i32 %296, 0
br i1 %297, label %279, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %295
br label %298
298: ; preds = %._crit_edge3, %275
%299 = load ptr, ptr %19, align 8
%300 = call i32 @fclose(ptr noundef %299)
%301 = load ptr, ptr %5, align 8
%302 = getelementptr inbounds ptr, ptr %301, i64 4
%303 = load ptr, ptr %302, align 8
%304 = call ptr @fopen(ptr noundef %303, ptr noundef @.str.9)
store ptr %304, ptr %19, align 8
%305 = icmp eq ptr %304, null
br i1 %305, label %306, label %308
306: ; preds = %298
%307 = call i32 @perror(ptr noundef @.str.10)
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %400
308: ; preds = %298
%309 = load ptr, ptr %5, align 8
%310 = getelementptr inbounds ptr, ptr %309, i64 2
%311 = load ptr, ptr %310, align 8
%312 = call ptr @fopen(ptr noundef %311, ptr noundef @.str.11)
store ptr %312, ptr %18, align 8
%313 = icmp eq ptr %312, null
br i1 %313, label %314, label %316
314: ; preds = %308
%315 = call i32 @perror(ptr noundef @.str.10)
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %400
316: ; preds = %308
%317 = load ptr, ptr %5, align 8
%318 = getelementptr inbounds ptr, ptr %317, i64 2
%319 = load ptr, ptr %318, align 8
%320 = call i64 @stat(ptr noundef %319, ptr noundef %6)
%321 = load ptr, ptr %18, align 8
%322 = load ptr, ptr %19, align 8
%323 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%324 = load i32, ptr %323, align 4
%325 = load i32, ptr %20, align 4
%326 = call i64 @cat(ptr noundef %321, ptr noundef %322, i32 noundef %324, i32 noundef %325)
%327 = icmp ne i64 %326, 0
br i1 %327, label %328, label %329
328: ; preds = %316
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %400
329: ; preds = %316
%330 = load ptr, ptr %18, align 8
%331 = call i32 @fclose(ptr noundef %330)
%332 = load ptr, ptr %5, align 8
%333 = getelementptr inbounds ptr, ptr %332, i64 1
%334 = load ptr, ptr %333, align 8
%335 = call ptr @fopen(ptr noundef %334, ptr noundef @.str.11)
store ptr %335, ptr %18, align 8
%336 = icmp eq ptr %335, null
br i1 %336, label %337, label %339
337: ; preds = %329
%338 = call i32 @perror(ptr noundef @.str.10)
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %400
339: ; preds = %329
%340 = load ptr, ptr %5, align 8
%341 = getelementptr inbounds ptr, ptr %340, i64 1
%342 = load ptr, ptr %341, align 8
%343 = call i64 @stat(ptr noundef %342, ptr noundef %6)
%344 = load ptr, ptr %18, align 8
%345 = load ptr, ptr %19, align 8
%346 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%347 = load i32, ptr %346, align 4
%348 = load i32, ptr %20, align 4
%349 = call i64 @cat(ptr noundef %344, ptr noundef %345, i32 noundef %347, i32 noundef %348)
%350 = icmp ne i64 %349, 0
br i1 %350, label %351, label %352
351: ; preds = %339
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %400
352: ; preds = %339
%353 = load ptr, ptr %18, align 8
%354 = call i32 @fclose(ptr noundef %353)
%355 = load ptr, ptr %5, align 8
%356 = getelementptr inbounds ptr, ptr %355, i64 7
%357 = load ptr, ptr %356, align 8
%358 = call ptr @fopen(ptr noundef %357, ptr noundef @.str.11)
store ptr %358, ptr %18, align 8
%359 = icmp eq ptr %358, null
br i1 %359, label %360, label %362
360: ; preds = %352
%361 = call i32 @perror(ptr noundef @.str.10)
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %400
362: ; preds = %352
%363 = load ptr, ptr %5, align 8
%364 = getelementptr inbounds ptr, ptr %363, i64 7
%365 = load ptr, ptr %364, align 8
%366 = call i64 @stat(ptr noundef %365, ptr noundef %6)
%367 = load ptr, ptr %18, align 8
%368 = load ptr, ptr %19, align 8
%369 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%370 = load i32, ptr %369, align 4
%371 = load i32, ptr %20, align 4
%372 = call i64 @cat(ptr noundef %367, ptr noundef %368, i32 noundef %370, i32 noundef %371)
%373 = icmp ne i64 %372, 0
br i1 %373, label %374, label %375
374: ; preds = %362
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %400
375: ; preds = %362
%376 = load ptr, ptr %18, align 8
%377 = call i32 @fclose(ptr noundef %376)
%378 = load ptr, ptr %5, align 8
%379 = getelementptr inbounds ptr, ptr %378, i64 6
%380 = load ptr, ptr %379, align 8
%381 = call ptr @fopen(ptr noundef %380, ptr noundef @.str.11)
store ptr %381, ptr %18, align 8
%382 = icmp eq ptr %381, null
br i1 %382, label %383, label %385
383: ; preds = %375
%384 = call i32 @perror(ptr noundef @.str.10)
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %400
385: ; preds = %375
%386 = load ptr, ptr %18, align 8
%387 = load ptr, ptr %19, align 8
%388 = load i32, ptr %24, align 4
%389 = load i32, ptr %25, align 4
%390 = add i32 %388, %389
%391 = load i32, ptr %20, align 4
%392 = call i64 @cat(ptr noundef %386, ptr noundef %387, i32 noundef %390, i32 noundef %391)
%393 = icmp ne i64 %392, 0
br i1 %393, label %394, label %395
394: ; preds = %385
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %400
395: ; preds = %385
%396 = load ptr, ptr %18, align 8
%397 = call i32 @fclose(ptr noundef %396)
%398 = load ptr, ptr %19, align 8
%399 = call i32 @fclose(ptr noundef %398)
store i32 0, ptr %27, align 4
br label %400
400: ; preds = %395, %394, %383, %374, %360, %351, %337, %328, %314, %306, %292, %254, %234, %220
%401 = load ptr, ptr %21, align 8
call void @llvm.stackrestore(ptr %401)
%402 = load i32, ptr %27, align 4
switch i32 %402, label %479 [
i32 0, label %403
i32 1, label %477
]
403: ; preds = %400
br label %476
404: ; preds = %207, %202
%405 = load i32, ptr %4, align 4
%406 = icmp eq i32 %405, 5
br i1 %406, label %410, label %407
407: ; preds = %404
%408 = load i32, ptr %4, align 4
%409 = icmp eq i32 %408, 6
br i1 %409, label %410, label %475
410: ; preds = %407, %404
store i32 1, ptr %30, align 4
%411 = load i32, ptr %30, align 4
%412 = zext i32 %411 to i64
%413 = call ptr @llvm.stacksave()
store ptr %413, ptr %31, align 8
%414 = alloca i8, i64 %412, align 16
store i64 %412, ptr %32, align 8
%415 = load ptr, ptr %5, align 8
%416 = getelementptr inbounds ptr, ptr %415, i64 4
%417 = load ptr, ptr %416, align 8
%418 = call ptr @fopen(ptr noundef %417, ptr noundef @.str.9)
store ptr %418, ptr %29, align 8
%419 = icmp eq ptr %418, null
br i1 %419, label %420, label %422
420: ; preds = %410
%421 = call i32 @perror(ptr noundef @.str.10)
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %471
422: ; preds = %410
%423 = load ptr, ptr %5, align 8
%424 = getelementptr inbounds ptr, ptr %423, i64 2
%425 = load ptr, ptr %424, align 8
%426 = call ptr @fopen(ptr noundef %425, ptr noundef @.str.11)
store ptr %426, ptr %28, align 8
%427 = icmp eq ptr %426, null
br i1 %427, label %428, label %430
428: ; preds = %422
%429 = call i32 @perror(ptr noundef @.str.10)
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %471
430: ; preds = %422
%431 = load ptr, ptr %5, align 8
%432 = getelementptr inbounds ptr, ptr %431, i64 2
%433 = load ptr, ptr %432, align 8
%434 = call i64 @stat(ptr noundef %433, ptr noundef %6)
%435 = load ptr, ptr %28, align 8
%436 = load ptr, ptr %29, align 8
%437 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%438 = load i32, ptr %437, align 4
%439 = load i32, ptr %30, align 4
%440 = call i64 @cat(ptr noundef %435, ptr noundef %436, i32 noundef %438, i32 noundef %439)
%441 = icmp ne i64 %440, 0
br i1 %441, label %442, label %443
442: ; preds = %430
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %471
443: ; preds = %430
%444 = load ptr, ptr %28, align 8
%445 = call i32 @fclose(ptr noundef %444)
%446 = load ptr, ptr %5, align 8
%447 = getelementptr inbounds ptr, ptr %446, i64 1
%448 = load ptr, ptr %447, align 8
%449 = call ptr @fopen(ptr noundef %448, ptr noundef @.str.11)
store ptr %449, ptr %28, align 8
%450 = icmp eq ptr %449, null
br i1 %450, label %451, label %453
451: ; preds = %443
%452 = call i32 @perror(ptr noundef @.str.10)
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %471
453: ; preds = %443
%454 = load ptr, ptr %5, align 8
%455 = getelementptr inbounds ptr, ptr %454, i64 1
%456 = load ptr, ptr %455, align 8
%457 = call i64 @stat(ptr noundef %456, ptr noundef %6)
%458 = load ptr, ptr %28, align 8
%459 = load ptr, ptr %29, align 8
%460 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%461 = load i32, ptr %460, align 4
%462 = load i32, ptr %30, align 4
%463 = call i64 @cat(ptr noundef %458, ptr noundef %459, i32 noundef %461, i32 noundef %462)
%464 = icmp ne i64 %463, 0
br i1 %464, label %465, label %466
465: ; preds = %453
store i32 -1, ptr %3, align 4
store i32 1, ptr %27, align 4
br label %471
466: ; preds = %453
%467 = load ptr, ptr %28, align 8
%468 = call i32 @fclose(ptr noundef %467)
%469 = load ptr, ptr %29, align 8
%470 = call i32 @fclose(ptr noundef %469)
store i32 0, ptr %27, align 4
br label %471
471: ; preds = %466, %465, %451, %442, %428, %420
%472 = load ptr, ptr %31, align 8
call void @llvm.stackrestore(ptr %472)
%473 = load i32, ptr %27, align 4
switch i32 %473, label %479 [
i32 0, label %474
i32 1, label %477
]
474: ; preds = %471
br label %475
475: ; preds = %474, %407
br label %476
476: ; preds = %475, %403
store i32 0, ptr %3, align 4
br label %477
477: ; preds = %476, %471, %400, %194, %185, %101, %85, %63, %53, %35
%478 = load i32, ptr %3, align 4
ret i32 %478
479: ; preds = %471, %400
unreachable
}
declare i32 @print_usage(...) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @unlink(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @cat(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ferror(ptr noundef) #1
declare i64 @fwrite(ptr noundef, i32 noundef, i32 noundef, 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}
|
; ModuleID = '/tmp/tmpw4n5d3x1.c'
source_filename = "/tmp/tmpw4n5d3x1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@getLuminosity.luminosity = internal global double 8.000000e+01, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @getLuminosity() #0 {
%1 = call i32 @random(i32 noundef -100, i32 noundef 100)
%2 = sdiv i32 %1, 20
%3 = sitofp i32 %2 to double
%4 = load double, ptr @getLuminosity.luminosity, align 8
%5 = fadd double %4, %3
store double %5, ptr @getLuminosity.luminosity, align 8
%6 = load double, ptr @getLuminosity.luminosity, align 8
%7 = fcmp olt double %6, 0.000000e+00
br i1 %7, label %8, label %9
8: ; preds = %0
store double 0.000000e+00, ptr @getLuminosity.luminosity, align 8
br label %14
9: ; preds = %0
%10 = load double, ptr @getLuminosity.luminosity, align 8
%11 = fcmp ogt double %10, 1.000000e+02
br i1 %11, label %12, label %13
12: ; preds = %9
store double 1.000000e+02, ptr @getLuminosity.luminosity, align 8
br label %13
13: ; preds = %12, %9
br label %14
14: ; preds = %13, %8
%15 = load double, ptr @getLuminosity.luminosity, align 8
ret double %15
}
declare i32 @random(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/tmpw4n5d3x1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@getLuminosity.luminosity = internal global double 8.000000e+01, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @getLuminosity() #0 {
%1 = call i32 @random(i32 noundef -100, i32 noundef 100)
%2 = sdiv i32 %1, 20
%3 = sitofp i32 %2 to double
%4 = load double, ptr @getLuminosity.luminosity, align 8
%5 = fadd double %4, %3
store double %5, ptr @getLuminosity.luminosity, align 8
%6 = load double, ptr @getLuminosity.luminosity, align 8
%7 = fcmp olt double %6, 0.000000e+00
br i1 %7, label %8, label %9
8: ; preds = %0
store double 0.000000e+00, ptr @getLuminosity.luminosity, align 8
br label %14
9: ; preds = %0
%10 = load double, ptr @getLuminosity.luminosity, align 8
%11 = fcmp ogt double %10, 1.000000e+02
br i1 %11, label %12, label %13
12: ; preds = %9
store double 1.000000e+02, ptr @getLuminosity.luminosity, align 8
br label %13
13: ; preds = %12, %9
br label %14
14: ; preds = %13, %8
%15 = load double, ptr @getLuminosity.luminosity, align 8
ret double %15
}
declare i32 @random(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/tmp3szz6jn5.c'
source_filename = "/tmp/tmp3szz6jn5.c"
target datalayout = "e-m:e-p270: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/tmp3szz6jn5.c"
target datalayout = "e-m:e-p270: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/tmp0b71gqq8.c'
source_filename = "/tmp/tmp0b71gqq8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[%s] %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tsmsg(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = call i64 @malloc(i32 noundef 40)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @curr_time_str(ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %8, ptr noundef %9)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @curr_time_str(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0b71gqq8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[%s] %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tsmsg(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = call i64 @malloc(i32 noundef 40)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @curr_time_str(ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %8, ptr noundef %9)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @curr_time_str(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz25l9f32.c'
source_filename = "/tmp/tmpz25l9f32.c"
target datalayout = "e-m:e-p270: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 [62 x i8] c"usage: %s <size> <requests> <measurements> <hit probability>\0A\00", align 1
@__progname = external global ptr, align 8
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = load ptr, ptr @__progname, align 8
%3 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef %2)
%4 = load i32, ptr @EXIT_FAILURE, align 4
%5 = call i32 @exit(i32 noundef %4) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz25l9f32.c"
target datalayout = "e-m:e-p270: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 [62 x i8] c"usage: %s <size> <requests> <measurements> <hit probability>\0A\00", align 1
@__progname = external global ptr, align 8
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = load ptr, ptr @__progname, align 8
%3 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef %2)
%4 = load i32, ptr @EXIT_FAILURE, align 4
%5 = call i32 @exit(i32 noundef %4) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6hmpnw6_.c'
source_filename = "/tmp/tmp6hmpnw6_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.help = private unnamed_addr constant [94 x i8] c"Usage: nodes cluster [[-exclude] ...]\0A-xa, would remove any line matching this litteral (xa,)\00", align 16
@.str = private unnamed_addr constant [16 x i8] c"XDG_CONFIG_HOME\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"/clustershell/groups.d/cluster.yaml\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%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 [94 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca [255 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.help, i64 94, i1 false)
%11 = load i32, ptr %4, align 4
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = getelementptr inbounds [94 x i8], ptr %6, i64 0, i64 0
%15 = call i32 @puts(ptr noundef %14)
br label %16
16: ; preds = %13, %2
store i32 1, ptr %7, align 4
br label %17
17: ; preds = %39, %16
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %42
21: ; preds = %17
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %7, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds ptr, ptr %22, i64 %24
%26 = load ptr, ptr %25, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 0
%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 %38
31: ; preds = %21
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %7, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds ptr, ptr %32, i64 %34
%36 = load ptr, ptr %35, align 8
%37 = call i32 @puts(ptr noundef %36)
br label %38
38: ; preds = %31, %21
br label %39
39: ; preds = %38
%40 = load i32, ptr %7, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %7, align 4
br label %17, !llvm.loop !6
42: ; preds = %17
%43 = call ptr @getenv(ptr noundef @.str)
store ptr %43, ptr %8, align 8
%44 = load ptr, ptr %8, align 8
%45 = call i32 @strcat(ptr noundef %44, ptr noundef @.str.1)
%46 = load ptr, ptr %8, align 8
%47 = call ptr @fopen(ptr noundef %46, ptr noundef @.str.2)
store ptr %47, ptr %9, align 8
br label %48
48: ; preds = %53, %42
%49 = getelementptr inbounds [255 x i8], ptr %10, i64 0, i64 0
%50 = load ptr, ptr %9, align 8
%51 = call i64 @fgets(ptr noundef %49, i32 noundef 255, ptr noundef %50)
%52 = icmp ne i64 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %48
%54 = getelementptr inbounds [255 x i8], ptr %10, i64 0, i64 0
%55 = call i32 @printf(ptr noundef @.str.3, ptr noundef %54)
br label %48, !llvm.loop !8
56: ; preds = %48
%57 = load ptr, ptr %9, align 8
%58 = call i32 @fclose(ptr noundef %57)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @puts(ptr noundef) #2
declare ptr @getenv(ptr noundef) #2
declare i32 @strcat(ptr noundef, ptr noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6hmpnw6_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.help = private unnamed_addr constant [94 x i8] c"Usage: nodes cluster [[-exclude] ...]\0A-xa, would remove any line matching this litteral (xa,)\00", align 16
@.str = private unnamed_addr constant [16 x i8] c"XDG_CONFIG_HOME\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"/clustershell/groups.d/cluster.yaml\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%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 [94 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca [255 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.help, i64 94, i1 false)
%11 = load i32, ptr %4, align 4
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = getelementptr inbounds [94 x i8], ptr %6, i64 0, i64 0
%15 = call i32 @puts(ptr noundef %14)
br label %16
16: ; preds = %13, %2
store i32 1, ptr %7, align 4
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph, label %44
.lr.ph: ; preds = %16
br label %20
20: ; preds = %.lr.ph, %38
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds ptr, ptr %21, i64 %23
%25 = load ptr, ptr %24, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 0
%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 %37
30: ; preds = %20
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %7, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds ptr, ptr %31, i64 %33
%35 = load ptr, ptr %34, align 8
%36 = call i32 @puts(ptr noundef %35)
br label %37
37: ; preds = %30, %20
br label %38
38: ; preds = %37
%39 = load i32, ptr %7, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %7, align 4
%41 = load i32, ptr %7, align 4
%42 = load i32, ptr %4, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %44
44: ; preds = %._crit_edge, %16
%45 = call ptr @getenv(ptr noundef @.str)
store ptr %45, ptr %8, align 8
%46 = load ptr, ptr %8, align 8
%47 = call i32 @strcat(ptr noundef %46, ptr noundef @.str.1)
%48 = load ptr, ptr %8, align 8
%49 = call ptr @fopen(ptr noundef %48, ptr noundef @.str.2)
store ptr %49, ptr %9, align 8
%50 = getelementptr inbounds [255 x i8], ptr %10, i64 0, i64 0
%51 = load ptr, ptr %9, align 8
%52 = call i64 @fgets(ptr noundef %50, i32 noundef 255, ptr noundef %51)
%53 = icmp ne i64 %52, 0
br i1 %53, label %.lr.ph2, label %60
.lr.ph2: ; preds = %44
br label %54
54: ; preds = %.lr.ph2, %54
%55 = getelementptr inbounds [255 x i8], ptr %10, i64 0, i64 0
%56 = call i32 @printf(ptr noundef @.str.3, ptr noundef %55)
%57 = load ptr, ptr %9, align 8
%58 = call i64 @fgets(ptr noundef %50, i32 noundef 255, ptr noundef %57)
%59 = icmp ne i64 %58, 0
br i1 %59, label %54, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %54
br label %60
60: ; preds = %._crit_edge3, %44
%61 = load ptr, ptr %9, align 8
%62 = call i32 @fclose(ptr noundef %61)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @puts(ptr noundef) #2
declare ptr @getenv(ptr noundef) #2
declare i32 @strcat(ptr noundef, ptr noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpmtfyn_s6.c'
source_filename = "/tmp/tmpmtfyn_s6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca float, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 1
%8 = load ptr, ptr %7, align 8
%9 = call float @atof(ptr noundef %8)
store float %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
ret i32 0
}
declare float @atof(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/tmpmtfyn_s6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca float, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 1
%8 = load ptr, ptr %7, align 8
%9 = call float @atof(ptr noundef %8)
store float %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = call i32 @printf(ptr noundef @.str, i32 noundef %10)
ret i32 0
}
declare float @atof(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/tmp3o6cyqp5.c'
source_filename = "/tmp/tmp3o6cyqp5.c"
target datalayout = "e-m:e-p270: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/tmp3o6cyqp5.c"
target datalayout = "e-m:e-p270: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/tmpbu_j9f8x.c'
source_filename = "/tmp/tmpbu_j9f8x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i64, i64 }
@IsViewable = dso_local global i64 0, align 8
@RevertToPointerRoot = dso_local global i32 0, align 4
@CurrentTime = dso_local global i32 0, align 4
@True = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @x_alt_tab(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca %struct.TYPE_3__, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = zext i32 %12 to i64
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %7, align 8
%15 = alloca ptr, i64 %13, align 16
store i64 %13, ptr %8, align 8
store ptr null, ptr %9, align 8
store i32 0, ptr %10, align 4
%16 = load ptr, ptr %5, align 8
store ptr %16, ptr %9, align 8
br label %17
17: ; preds = %58, %3
%18 = load ptr, ptr %9, align 8
%19 = load ptr, ptr %5, align 8
%20 = ptrtoint ptr %18 to i64
%21 = ptrtoint ptr %19 to i64
%22 = sub i64 %20, %21
%23 = sdiv exact i64 %22, 4
%24 = load i32, ptr %6, align 4
%25 = zext i32 %24 to i64
%26 = icmp slt i64 %23, %25
br i1 %26, label %27, label %61
27: ; preds = %17
%28 = load ptr, ptr %4, align 8
%29 = load ptr, ptr %9, align 8
%30 = load i32, ptr %29, align 4
%31 = call i32 @XGetWMHints(ptr noundef %28, i32 noundef %30)
%32 = icmp ne i32 %31, 0
br i1 %32, label %34, label %33
33: ; preds = %27
br label %58
34: ; preds = %27
%35 = load ptr, ptr %4, align 8
%36 = load ptr, ptr %9, align 8
%37 = load i32, ptr %36, align 4
%38 = call i32 @XGetWindowAttributes(ptr noundef %35, i32 noundef %37, ptr noundef %11)
%39 = icmp ne i32 %38, 0
br i1 %39, label %41, label %40
40: ; preds = %34
br label %58
41: ; preds = %34
%42 = getelementptr inbounds %struct.TYPE_3__, ptr %11, i32 0, i32 1
%43 = load i64, ptr %42, align 8
%44 = icmp ne i64 %43, 0
br i1 %44, label %45, label %46
45: ; preds = %41
br label %58
46: ; preds = %41
%47 = getelementptr inbounds %struct.TYPE_3__, ptr %11, i32 0, i32 0
%48 = load i64, ptr %47, align 8
%49 = load i64, ptr @IsViewable, align 8
%50 = icmp ne i64 %48, %49
br i1 %50, label %51, label %52
51: ; preds = %46
br label %58
52: ; preds = %46
%53 = load ptr, ptr %9, align 8
%54 = load i32, ptr %10, align 4
%55 = add i32 %54, 1
store i32 %55, ptr %10, align 4
%56 = zext i32 %54 to i64
%57 = getelementptr inbounds ptr, ptr %15, i64 %56
store ptr %53, ptr %57, align 8
br label %58
58: ; preds = %52, %51, %45, %40, %33
%59 = load ptr, ptr %9, align 8
%60 = getelementptr inbounds i32, ptr %59, i32 1
store ptr %60, ptr %9, align 8
br label %17, !llvm.loop !6
61: ; preds = %17
%62 = load i32, ptr %10, align 4
%63 = zext i32 %62 to i64
%64 = getelementptr inbounds ptr, ptr %15, i64 %63
store ptr null, ptr %64, align 8
%65 = load i32, ptr %10, align 4
%66 = sub i32 %65, 2
%67 = zext i32 %66 to i64
%68 = getelementptr inbounds ptr, ptr %15, i64 %67
%69 = load ptr, ptr %68, align 8
%70 = load i32, ptr %69, align 4
%71 = load ptr, ptr %5, align 8
%72 = load i32, ptr %6, align 4
%73 = sub i32 %72, 1
%74 = zext i32 %73 to i64
%75 = getelementptr inbounds i32, ptr %71, i64 %74
store i32 %70, ptr %75, align 4
%76 = load i32, ptr %10, align 4
%77 = sub i32 %76, 1
%78 = zext i32 %77 to i64
%79 = getelementptr inbounds ptr, ptr %15, i64 %78
%80 = load ptr, ptr %79, align 8
%81 = load i32, ptr %80, align 4
%82 = load ptr, ptr %5, align 8
%83 = load i32, ptr %6, align 4
%84 = sub i32 %83, 2
%85 = zext i32 %84 to i64
%86 = getelementptr inbounds i32, ptr %82, i64 %85
store i32 %81, ptr %86, align 4
%87 = load ptr, ptr %4, align 8
%88 = load i32, ptr %10, align 4
%89 = sub i32 %88, 1
%90 = zext i32 %89 to i64
%91 = getelementptr inbounds ptr, ptr %15, i64 %90
%92 = load ptr, ptr %91, align 8
%93 = load i32, ptr %92, align 4
%94 = call i32 @XLowerWindow(ptr noundef %87, i32 noundef %93)
%95 = load i32, ptr %10, align 4
%96 = sub i32 %95, 2
%97 = zext i32 %96 to i64
%98 = getelementptr inbounds ptr, ptr %15, i64 %97
%99 = load ptr, ptr %98, align 8
store ptr %99, ptr %9, align 8
%100 = load ptr, ptr %4, align 8
%101 = load ptr, ptr %9, align 8
%102 = load i32, ptr %101, align 4
%103 = call i32 @XRaiseWindow(ptr noundef %100, i32 noundef %102)
%104 = load ptr, ptr %4, align 8
%105 = load ptr, ptr %9, align 8
%106 = load i32, ptr %105, align 4
%107 = load i32, ptr @RevertToPointerRoot, align 4
%108 = load i32, ptr @CurrentTime, align 4
%109 = call i32 @XSetInputFocus(ptr noundef %104, i32 noundef %106, i32 noundef %107, i32 noundef %108)
%110 = load ptr, ptr %4, align 8
%111 = load ptr, ptr %5, align 8
%112 = load i32, ptr %10, align 4
%113 = call i32 @XRestackWindows(ptr noundef %110, ptr noundef %111, i32 noundef %112)
%114 = load ptr, ptr %4, align 8
%115 = load i32, ptr @True, align 4
%116 = call i32 @XSync(ptr noundef %114, i32 noundef %115)
%117 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %117)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @XGetWMHints(ptr noundef, i32 noundef) #2
declare i32 @XGetWindowAttributes(ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @XLowerWindow(ptr noundef, i32 noundef) #2
declare i32 @XRaiseWindow(ptr noundef, i32 noundef) #2
declare i32 @XSetInputFocus(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @XRestackWindows(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @XSync(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbu_j9f8x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i64, i64 }
@IsViewable = dso_local global i64 0, align 8
@RevertToPointerRoot = dso_local global i32 0, align 4
@CurrentTime = dso_local global i32 0, align 4
@True = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @x_alt_tab(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca %struct.TYPE_3__, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = zext i32 %12 to i64
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %7, align 8
%15 = alloca ptr, i64 %13, align 16
store i64 %13, ptr %8, align 8
store ptr null, ptr %9, align 8
store i32 0, ptr %10, align 4
%16 = load ptr, ptr %5, align 8
store ptr %16, ptr %9, align 8
%17 = load ptr, ptr %9, align 8
%18 = load ptr, ptr %5, align 8
%19 = ptrtoint ptr %17 to i64
%20 = ptrtoint ptr %18 to i64
%21 = sub i64 %19, %20
%22 = sdiv exact i64 %21, 4
%23 = load i32, ptr %6, align 4
%24 = zext i32 %23 to i64
%25 = icmp slt i64 %22, %24
br i1 %25, label %.lr.ph, label %69
.lr.ph: ; preds = %3
br label %26
26: ; preds = %.lr.ph, %57
%27 = load ptr, ptr %4, align 8
%28 = load ptr, ptr %9, align 8
%29 = load i32, ptr %28, align 4
%30 = call i32 @XGetWMHints(ptr noundef %27, i32 noundef %29)
%31 = icmp ne i32 %30, 0
br i1 %31, label %33, label %32
32: ; preds = %26
br label %57
33: ; preds = %26
%34 = load ptr, ptr %4, align 8
%35 = load ptr, ptr %9, align 8
%36 = load i32, ptr %35, align 4
%37 = call i32 @XGetWindowAttributes(ptr noundef %34, i32 noundef %36, ptr noundef %11)
%38 = icmp ne i32 %37, 0
br i1 %38, label %40, label %39
39: ; preds = %33
br label %57
40: ; preds = %33
%41 = getelementptr inbounds %struct.TYPE_3__, ptr %11, i32 0, i32 1
%42 = load i64, ptr %41, align 8
%43 = icmp ne i64 %42, 0
br i1 %43, label %44, label %45
44: ; preds = %40
br label %57
45: ; preds = %40
%46 = getelementptr inbounds %struct.TYPE_3__, ptr %11, i32 0, i32 0
%47 = load i64, ptr %46, align 8
%48 = load i64, ptr @IsViewable, align 8
%49 = icmp ne i64 %47, %48
br i1 %49, label %50, label %51
50: ; preds = %45
br label %57
51: ; preds = %45
%52 = load ptr, ptr %9, align 8
%53 = load i32, ptr %10, align 4
%54 = add i32 %53, 1
store i32 %54, ptr %10, align 4
%55 = zext i32 %53 to i64
%56 = getelementptr inbounds ptr, ptr %15, i64 %55
store ptr %52, ptr %56, align 8
br label %57
57: ; preds = %51, %50, %44, %39, %32
%58 = load ptr, ptr %9, align 8
%59 = getelementptr inbounds i32, ptr %58, i32 1
store ptr %59, ptr %9, align 8
%60 = load ptr, ptr %9, align 8
%61 = load ptr, ptr %5, align 8
%62 = ptrtoint ptr %60 to i64
%63 = ptrtoint ptr %61 to i64
%64 = sub i64 %62, %63
%65 = sdiv exact i64 %64, 4
%66 = load i32, ptr %6, align 4
%67 = zext i32 %66 to i64
%68 = icmp slt i64 %65, %67
br i1 %68, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %57
br label %69
69: ; preds = %._crit_edge, %3
%70 = load i32, ptr %10, align 4
%71 = zext i32 %70 to i64
%72 = getelementptr inbounds ptr, ptr %15, i64 %71
store ptr null, ptr %72, align 8
%73 = load i32, ptr %10, align 4
%74 = sub i32 %73, 2
%75 = zext i32 %74 to i64
%76 = getelementptr inbounds ptr, ptr %15, i64 %75
%77 = load ptr, ptr %76, align 8
%78 = load i32, ptr %77, align 4
%79 = load ptr, ptr %5, align 8
%80 = load i32, ptr %6, align 4
%81 = sub i32 %80, 1
%82 = zext i32 %81 to i64
%83 = getelementptr inbounds i32, ptr %79, i64 %82
store i32 %78, ptr %83, align 4
%84 = load i32, ptr %10, align 4
%85 = sub i32 %84, 1
%86 = zext i32 %85 to i64
%87 = getelementptr inbounds ptr, ptr %15, i64 %86
%88 = load ptr, ptr %87, align 8
%89 = load i32, ptr %88, align 4
%90 = load ptr, ptr %5, align 8
%91 = load i32, ptr %6, align 4
%92 = sub i32 %91, 2
%93 = zext i32 %92 to i64
%94 = getelementptr inbounds i32, ptr %90, i64 %93
store i32 %89, ptr %94, align 4
%95 = load ptr, ptr %4, align 8
%96 = load i32, ptr %10, align 4
%97 = sub i32 %96, 1
%98 = zext i32 %97 to i64
%99 = getelementptr inbounds ptr, ptr %15, i64 %98
%100 = load ptr, ptr %99, align 8
%101 = load i32, ptr %100, align 4
%102 = call i32 @XLowerWindow(ptr noundef %95, i32 noundef %101)
%103 = load i32, ptr %10, align 4
%104 = sub i32 %103, 2
%105 = zext i32 %104 to i64
%106 = getelementptr inbounds ptr, ptr %15, i64 %105
%107 = load ptr, ptr %106, align 8
store ptr %107, ptr %9, align 8
%108 = load ptr, ptr %4, align 8
%109 = load ptr, ptr %9, align 8
%110 = load i32, ptr %109, align 4
%111 = call i32 @XRaiseWindow(ptr noundef %108, i32 noundef %110)
%112 = load ptr, ptr %4, align 8
%113 = load ptr, ptr %9, align 8
%114 = load i32, ptr %113, align 4
%115 = load i32, ptr @RevertToPointerRoot, align 4
%116 = load i32, ptr @CurrentTime, align 4
%117 = call i32 @XSetInputFocus(ptr noundef %112, i32 noundef %114, i32 noundef %115, i32 noundef %116)
%118 = load ptr, ptr %4, align 8
%119 = load ptr, ptr %5, align 8
%120 = load i32, ptr %10, align 4
%121 = call i32 @XRestackWindows(ptr noundef %118, ptr noundef %119, i32 noundef %120)
%122 = load ptr, ptr %4, align 8
%123 = load i32, ptr @True, align 4
%124 = call i32 @XSync(ptr noundef %122, i32 noundef %123)
%125 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %125)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @XGetWMHints(ptr noundef, i32 noundef) #2
declare i32 @XGetWindowAttributes(ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @XLowerWindow(ptr noundef, i32 noundef) #2
declare i32 @XRaiseWindow(ptr noundef, i32 noundef) #2
declare i32 @XSetInputFocus(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @XRestackWindows(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @XSync(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpdi_asjwi.c'
source_filename = "/tmp/tmpdi_asjwi.c"
target datalayout = "e-m:e-p270: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/tmpdi_asjwi.c"
target datalayout = "e-m:e-p270: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/tmpml4qwlhs.c'
source_filename = "/tmp/tmpml4qwlhs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"**OLD: inside kit_reg_var:v1, called from %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @kitsune_register_var(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store i64 %5, ptr %13, align 8
store i32 %6, ptr %14, align 4
%15 = load ptr, ptr %10, align 8
%16 = call i32 @printf(ptr noundef @.str, ptr noundef %15)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpml4qwlhs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"**OLD: inside kit_reg_var:v1, called from %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @kitsune_register_var(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store i64 %5, ptr %13, align 8
store i32 %6, ptr %14, align 4
%15 = load ptr, ptr %10, align 8
%16 = call i32 @printf(ptr noundef @.str, ptr noundef %15)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzgw_hrpl.c'
source_filename = "/tmp/tmpzgw_hrpl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"End of file detected\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bugno_c(i8 noundef signext %0, i32 noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i32, align 4
store i8 %0, ptr %3, align 1
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load i8, ptr %3, align 1
%9 = call i32 @bug_c(i8 noundef signext %8, ptr noundef @.str)
br label %15
10: ; preds = %2
%11 = load i8, ptr %3, align 1
%12 = load i32, ptr %4, align 4
%13 = call ptr @errmsg_c(i32 noundef %12)
%14 = call i32 @bug_c(i8 noundef signext %11, ptr noundef %13)
br label %15
15: ; preds = %10, %7
ret void
}
declare i32 @bug_c(i8 noundef signext, ptr noundef) #1
declare ptr @errmsg_c(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/tmpzgw_hrpl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"End of file detected\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bugno_c(i8 noundef signext %0, i32 noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i32, align 4
store i8 %0, ptr %3, align 1
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load i8, ptr %3, align 1
%9 = call i32 @bug_c(i8 noundef signext %8, ptr noundef @.str)
br label %15
10: ; preds = %2
%11 = load i8, ptr %3, align 1
%12 = load i32, ptr %4, align 4
%13 = call ptr @errmsg_c(i32 noundef %12)
%14 = call i32 @bug_c(i8 noundef signext %11, ptr noundef %13)
br label %15
15: ; preds = %10, %7
ret void
}
declare i32 @bug_c(i8 noundef signext, ptr noundef) #1
declare ptr @errmsg_c(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/tmpjelcqqw7.c'
source_filename = "/tmp/tmpjelcqqw7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @int96_muls(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
store i32 0, ptr %5, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 11
%8 = load i8, ptr %7, align 1
%9 = zext i8 %8 to i32
%10 = icmp sge i32 %9, 128
br i1 %10, label %11, label %14
11: ; preds = %2
store i32 1, ptr %5, align 4
%12 = load ptr, ptr %3, align 8
%13 = call i32 @int96_negate(ptr noundef %12)
br label %14
14: ; preds = %11, %2
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 11
%17 = load i8, ptr %16, align 1
%18 = zext i8 %17 to i32
%19 = icmp sge i32 %18, 128
br i1 %19, label %20, label %25
20: ; preds = %14
%21 = load i32, ptr %5, align 4
%22 = xor i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = load ptr, ptr %4, align 8
%24 = call i32 @int96_negate(ptr noundef %23)
br label %25
25: ; preds = %20, %14
%26 = load ptr, ptr %3, align 8
%27 = load ptr, ptr %4, align 8
%28 = call i32 @int96_mulu(ptr noundef %26, ptr noundef %27)
%29 = load i32, ptr %5, align 4
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %25
%32 = load ptr, ptr %3, align 8
%33 = call i32 @int96_negate(ptr noundef %32)
br label %34
34: ; preds = %31, %25
%35 = load ptr, ptr %3, align 8
ret ptr %35
}
declare i32 @int96_negate(ptr noundef) #1
declare i32 @int96_mulu(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/tmpjelcqqw7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @int96_muls(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
store i32 0, ptr %5, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 11
%8 = load i8, ptr %7, align 1
%9 = zext i8 %8 to i32
%10 = icmp sge i32 %9, 128
br i1 %10, label %11, label %14
11: ; preds = %2
store i32 1, ptr %5, align 4
%12 = load ptr, ptr %3, align 8
%13 = call i32 @int96_negate(ptr noundef %12)
br label %14
14: ; preds = %11, %2
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 11
%17 = load i8, ptr %16, align 1
%18 = zext i8 %17 to i32
%19 = icmp sge i32 %18, 128
br i1 %19, label %20, label %25
20: ; preds = %14
%21 = load i32, ptr %5, align 4
%22 = xor i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = load ptr, ptr %4, align 8
%24 = call i32 @int96_negate(ptr noundef %23)
br label %25
25: ; preds = %20, %14
%26 = load ptr, ptr %3, align 8
%27 = load ptr, ptr %4, align 8
%28 = call i32 @int96_mulu(ptr noundef %26, ptr noundef %27)
%29 = load i32, ptr %5, align 4
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %25
%32 = load ptr, ptr %3, align 8
%33 = call i32 @int96_negate(ptr noundef %32)
br label %34
34: ; preds = %31, %25
%35 = load ptr, ptr %3, align 8
ret ptr %35
}
declare i32 @int96_negate(ptr noundef) #1
declare i32 @int96_mulu(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/tmpgsoeaebj.c'
source_filename = "/tmp/tmpgsoeaebj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isxdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"isxdigit should be 1 for 2\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isxdigit_0x32() #0 {
%1 = call i32 @isxdigit(i32 noundef 50) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 255, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isxdigit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgsoeaebj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isxdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"isxdigit should be 1 for 2\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isxdigit_0x32() #0 {
%1 = call i32 @isxdigit(i32 noundef 50) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 255, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isxdigit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdz1qords.c'
source_filename = "/tmp/tmpdz1qords.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"the_time is: %ld\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
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %12, %0
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 10
br i1 %6, label %7, label %15
7: ; preds = %4
%8 = call i32 @time(ptr noundef null)
store i32 %8, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
%11 = call i32 @sleep(i32 noundef 2)
br label %12
12: ; preds = %7
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %3, align 4
br label %4, !llvm.loop !6
15: ; preds = %4
%16 = load i32, ptr %1, align 4
ret i32 %16
}
declare i32 @time(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdz1qords.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"the_time is: %ld\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
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 10
br i1 %5, label %.lr.ph, label %16
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %11
%7 = call i32 @time(ptr noundef null)
store i32 %7, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
%10 = call i32 @sleep(i32 noundef 2)
br label %11
11: ; preds = %6
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp slt i32 %14, 10
br i1 %15, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %16
16: ; preds = %._crit_edge, %0
%17 = load i32, ptr %1, align 4
ret i32 %17
}
declare i32 @time(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvltg3u4c.c'
source_filename = "/tmp/tmpvltg3u4c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c" %d\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 @get_factors(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %6, align 4
%8 = load i32, ptr %3, align 4
%9 = call i64 @sqrt(i32 noundef %8)
%10 = trunc i64 %9 to i32
store i32 %10, ptr %7, align 4
store i32 1, ptr %5, align 4
br label %11
11: ; preds = %49, %2
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %7, align 4
%14 = icmp sle i32 %12, %13
br i1 %14, label %15, label %52
15: ; preds = %11
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %5, align 4
%18 = srem i32 %16, %17
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %48
20: ; preds = %15
%21 = load i32, ptr %5, align 4
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %6, align 4
%25 = sext i32 %23 to i64
%26 = getelementptr inbounds i32, ptr %22, i64 %25
store i32 %21, ptr %26, align 4
%27 = load i32, ptr %5, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %27)
%29 = load i32, ptr %5, align 4
%30 = load i32, ptr %3, align 4
%31 = load i32, ptr %5, align 4
%32 = sdiv i32 %30, %31
%33 = icmp ne i32 %29, %32
br i1 %33, label %34, label %47
34: ; preds = %20
%35 = load i32, ptr %3, align 4
%36 = load i32, ptr %5, align 4
%37 = sdiv i32 %35, %36
%38 = load ptr, ptr %4, align 8
%39 = load i32, ptr %6, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %6, align 4
%41 = sext i32 %39 to i64
%42 = getelementptr inbounds i32, ptr %38, i64 %41
store i32 %37, ptr %42, align 4
%43 = load i32, ptr %3, align 4
%44 = load i32, ptr %5, align 4
%45 = sdiv i32 %43, %44
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %45)
br label %47
47: ; preds = %34, %20
br label %48
48: ; preds = %47, %15
br label %49
49: ; preds = %48
%50 = load i32, ptr %5, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %5, align 4
br label %11, !llvm.loop !6
52: ; preds = %11
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i64 @sqrt(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvltg3u4c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c" %d\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 @get_factors(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %6, align 4
%8 = load i32, ptr %3, align 4
%9 = call i64 @sqrt(i32 noundef %8)
%10 = trunc i64 %9 to i32
store i32 %10, ptr %7, align 4
store i32 1, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp sle i32 %11, %12
br i1 %13, label %.lr.ph, label %54
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %48
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %5, align 4
%17 = srem i32 %15, %16
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %47
19: ; preds = %14
%20 = load i32, ptr %5, align 4
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
%24 = sext i32 %22 to i64
%25 = getelementptr inbounds i32, ptr %21, i64 %24
store i32 %20, ptr %25, align 4
%26 = load i32, ptr %5, align 4
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %26)
%28 = load i32, ptr %5, align 4
%29 = load i32, ptr %3, align 4
%30 = load i32, ptr %5, align 4
%31 = sdiv i32 %29, %30
%32 = icmp ne i32 %28, %31
br i1 %32, label %33, label %46
33: ; preds = %19
%34 = load i32, ptr %3, align 4
%35 = load i32, ptr %5, align 4
%36 = sdiv i32 %34, %35
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %6, align 4
%40 = sext i32 %38 to i64
%41 = getelementptr inbounds i32, ptr %37, i64 %40
store i32 %36, ptr %41, align 4
%42 = load i32, ptr %3, align 4
%43 = load i32, ptr %5, align 4
%44 = sdiv i32 %42, %43
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %44)
br label %46
46: ; preds = %33, %19
br label %47
47: ; preds = %46, %14
br label %48
48: ; preds = %47
%49 = load i32, ptr %5, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %5, align 4
%51 = load i32, ptr %5, align 4
%52 = load i32, ptr %7, align 4
%53 = icmp sle i32 %51, %52
br i1 %53, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %48
br label %54
54: ; preds = %._crit_edge, %2
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i64 @sqrt(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpyc8tt9am.c'
source_filename = "/tmp/tmpyc8tt9am.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.s2 = private unnamed_addr constant [2 x i8] c"c\00", align 1
@__const.main.s1 = private unnamed_addr constant [2 x i8] c"ac", 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 [2 x i8], align 1
%8 = alloca [2 x i8], align 1
%9 = alloca i8, align 1
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
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.main.s2, i64 2, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.main.s1, i64 2, i1 false)
store i8 0, ptr %9, align 1
%10 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0
%11 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
%12 = call ptr @strstr(ptr noundef %10, ptr noundef %11)
store ptr %12, ptr %6, align 8
%13 = load ptr, ptr %6, align 8
%14 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0
%15 = getelementptr inbounds i8, ptr %14, i64 1
%16 = icmp eq ptr %13, %15
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare ptr @strstr(ptr noundef, ptr noundef) #2
declare i32 @assert(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/tmpyc8tt9am.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.s2 = private unnamed_addr constant [2 x i8] c"c\00", align 1
@__const.main.s1 = private unnamed_addr constant [2 x i8] c"ac", 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 [2 x i8], align 1
%8 = alloca [2 x i8], align 1
%9 = alloca i8, align 1
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
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.main.s2, i64 2, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.main.s1, i64 2, i1 false)
store i8 0, ptr %9, align 1
%10 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0
%11 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
%12 = call ptr @strstr(ptr noundef %10, ptr noundef %11)
store ptr %12, ptr %6, align 8
%13 = load ptr, ptr %6, align 8
%14 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0
%15 = getelementptr inbounds i8, ptr %14, i64 1
%16 = icmp eq ptr %13, %15
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare ptr @strstr(ptr noundef, ptr noundef) #2
declare i32 @assert(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/tmpfgi2725s.c'
source_filename = "/tmp/tmpfgi2725s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_llrintl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load x86_fp80, ptr %2, align 16
%4 = call i64 @llrintl(x86_fp80 noundef %3)
%5 = load x86_fp80, ptr %2, align 16
%6 = call i64 @llrintl(x86_fp80 noundef %5)
%7 = icmp ne i64 %4, %6
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 (...) @link_failure_llrintl()
br label %10
10: ; preds = %8, %1
ret void
}
declare i64 @llrintl(x86_fp80 noundef) #1
declare i32 @link_failure_llrintl(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfgi2725s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_llrintl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load x86_fp80, ptr %2, align 16
%4 = call i64 @llrintl(x86_fp80 noundef %3)
%5 = load x86_fp80, ptr %2, align 16
%6 = call i64 @llrintl(x86_fp80 noundef %5)
%7 = icmp ne i64 %4, %6
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 (...) @link_failure_llrintl()
br label %10
10: ; preds = %8, %1
ret void
}
declare i64 @llrintl(x86_fp80 noundef) #1
declare i32 @link_failure_llrintl(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj2yldalw.c'
source_filename = "/tmp/tmpj2yldalw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NOTICE \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" :\01\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\01\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ctcp_reply(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @evbuffer_add(ptr noundef %7, ptr noundef @.str, i32 noundef 7)
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = call i32 @strlen(ptr noundef %11)
%13 = call i32 @evbuffer_add(ptr noundef %9, ptr noundef %10, i32 noundef %12)
%14 = load ptr, ptr %4, align 8
%15 = call i32 @evbuffer_add(ptr noundef %14, ptr noundef @.str.1, i32 noundef 3)
%16 = load ptr, ptr %4, align 8
%17 = load ptr, ptr %6, align 8
%18 = load ptr, ptr %6, align 8
%19 = call i32 @strlen(ptr noundef %18)
%20 = call i32 @evbuffer_add(ptr noundef %16, ptr noundef %17, i32 noundef %19)
%21 = load ptr, ptr %4, align 8
%22 = call i32 @evbuffer_add(ptr noundef %21, ptr noundef @.str.2, i32 noundef 2)
ret void
}
declare i32 @evbuffer_add(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj2yldalw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NOTICE \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" :\01\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\01\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ctcp_reply(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @evbuffer_add(ptr noundef %7, ptr noundef @.str, i32 noundef 7)
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
%12 = call i32 @strlen(ptr noundef %11)
%13 = call i32 @evbuffer_add(ptr noundef %9, ptr noundef %10, i32 noundef %12)
%14 = load ptr, ptr %4, align 8
%15 = call i32 @evbuffer_add(ptr noundef %14, ptr noundef @.str.1, i32 noundef 3)
%16 = load ptr, ptr %4, align 8
%17 = load ptr, ptr %6, align 8
%18 = load ptr, ptr %6, align 8
%19 = call i32 @strlen(ptr noundef %18)
%20 = call i32 @evbuffer_add(ptr noundef %16, ptr noundef %17, i32 noundef %19)
%21 = load ptr, ptr %4, align 8
%22 = call i32 @evbuffer_add(ptr noundef %21, ptr noundef @.str.2, i32 noundef 2)
ret void
}
declare i32 @evbuffer_add(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjstsea2c.c'
source_filename = "/tmp/tmpjstsea2c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i32 4, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = sext i32 %6 to i64
%8 = mul i64 %7, 8
%9 = trunc i64 %8 to i32
%10 = call ptr @malloc(i32 noundef %9)
store ptr %10, ptr %4, align 8
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = mul i64 %12, 4
%14 = trunc i64 %13 to i32
%15 = call ptr @malloc(i32 noundef %14)
store ptr %15, ptr %5, align 8
store i32 0, ptr %2, align 4
br label %16
16: ; preds = %40, %0
%17 = load i32, ptr %2, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %43
20: ; preds = %16
%21 = load i32, ptr %2, align 4
%22 = add nsw i32 %21, 1
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %2, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
store i32 %22, ptr %26, align 4
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %2, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
%31 = load i32, ptr %30, align 4
%32 = sext i32 %31 to i64
%33 = mul i64 %32, 4
%34 = trunc i64 %33 to i32
%35 = call ptr @malloc(i32 noundef %34)
%36 = load ptr, ptr %4, align 8
%37 = load i32, ptr %2, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds ptr, ptr %36, i64 %38
store ptr %35, ptr %39, align 8
br label %40
40: ; preds = %20
%41 = load i32, ptr %2, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %2, align 4
br label %16, !llvm.loop !6
43: ; preds = %16
%44 = load ptr, ptr %4, align 8
%45 = getelementptr inbounds ptr, ptr %44, i64 0
%46 = load ptr, ptr %45, align 8
%47 = getelementptr inbounds i32, ptr %46, i64 0
store i32 2, ptr %47, align 4
%48 = load ptr, ptr %4, align 8
%49 = getelementptr inbounds ptr, ptr %48, i64 1
%50 = load ptr, ptr %49, align 8
%51 = getelementptr inbounds i32, ptr %50, i64 0
store i32 3, ptr %51, align 4
%52 = load ptr, ptr %4, align 8
%53 = getelementptr inbounds ptr, ptr %52, i64 1
%54 = load ptr, ptr %53, align 8
%55 = getelementptr inbounds i32, ptr %54, i64 1
store i32 4, ptr %55, align 4
%56 = load ptr, ptr %4, align 8
%57 = getelementptr inbounds ptr, ptr %56, i64 2
%58 = load ptr, ptr %57, align 8
%59 = getelementptr inbounds i32, ptr %58, i64 0
store i32 6, ptr %59, align 4
%60 = load ptr, ptr %4, align 8
%61 = getelementptr inbounds ptr, ptr %60, i64 2
%62 = load ptr, ptr %61, align 8
%63 = getelementptr inbounds i32, ptr %62, i64 1
store i32 5, ptr %63, align 4
%64 = load ptr, ptr %4, align 8
%65 = getelementptr inbounds ptr, ptr %64, i64 2
%66 = load ptr, ptr %65, align 8
%67 = getelementptr inbounds i32, ptr %66, i64 2
store i32 7, ptr %67, align 4
%68 = load ptr, ptr %4, align 8
%69 = getelementptr inbounds ptr, ptr %68, i64 3
%70 = load ptr, ptr %69, align 8
%71 = getelementptr inbounds i32, ptr %70, i64 0
store i32 4, ptr %71, align 4
%72 = load ptr, ptr %4, align 8
%73 = getelementptr inbounds ptr, ptr %72, i64 3
%74 = load ptr, ptr %73, align 8
%75 = getelementptr inbounds i32, ptr %74, i64 1
store i32 1, ptr %75, align 4
%76 = load ptr, ptr %4, align 8
%77 = getelementptr inbounds ptr, ptr %76, i64 3
%78 = load ptr, ptr %77, align 8
%79 = getelementptr inbounds i32, ptr %78, i64 2
store i32 8, ptr %79, align 4
%80 = load ptr, ptr %4, align 8
%81 = getelementptr inbounds ptr, ptr %80, i64 3
%82 = load ptr, ptr %81, align 8
%83 = getelementptr inbounds i32, ptr %82, i64 3
store i32 3, ptr %83, align 4
%84 = load ptr, ptr %4, align 8
%85 = load i32, ptr %3, align 4
%86 = load ptr, ptr %5, align 8
%87 = call i32 @minimumTotal(ptr noundef %84, i32 noundef %85, ptr noundef %86)
%88 = call i32 @printf(ptr noundef @.str, i32 noundef %87)
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @minimumTotal(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjstsea2c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i32 4, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = sext i32 %6 to i64
%8 = mul i64 %7, 8
%9 = trunc i64 %8 to i32
%10 = call ptr @malloc(i32 noundef %9)
store ptr %10, ptr %4, align 8
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = mul i64 %12, 4
%14 = trunc i64 %13 to i32
%15 = call ptr @malloc(i32 noundef %14)
store ptr %15, ptr %5, align 8
store i32 0, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph, label %45
.lr.ph: ; preds = %0
br label %19
19: ; preds = %.lr.ph, %39
%20 = load i32, ptr %2, align 4
%21 = add nsw i32 %20, 1
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %2, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
store i32 %21, ptr %25, align 4
%26 = load ptr, ptr %5, align 8
%27 = load i32, ptr %2, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %26, i64 %28
%30 = load i32, ptr %29, align 4
%31 = sext i32 %30 to i64
%32 = mul i64 %31, 4
%33 = trunc i64 %32 to i32
%34 = call ptr @malloc(i32 noundef %33)
%35 = load ptr, ptr %4, align 8
%36 = load i32, ptr %2, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds ptr, ptr %35, i64 %37
store ptr %34, ptr %38, align 8
br label %39
39: ; preds = %19
%40 = load i32, ptr %2, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %2, align 4
%42 = load i32, ptr %2, align 4
%43 = load i32, ptr %3, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %45
45: ; preds = %._crit_edge, %0
%46 = load ptr, ptr %4, align 8
%47 = getelementptr inbounds ptr, ptr %46, i64 0
%48 = load ptr, ptr %47, align 8
%49 = getelementptr inbounds i32, ptr %48, i64 0
store i32 2, ptr %49, align 4
%50 = load ptr, ptr %4, align 8
%51 = getelementptr inbounds ptr, ptr %50, i64 1
%52 = load ptr, ptr %51, align 8
%53 = getelementptr inbounds i32, ptr %52, i64 0
store i32 3, ptr %53, align 4
%54 = load ptr, ptr %4, align 8
%55 = getelementptr inbounds ptr, ptr %54, i64 1
%56 = load ptr, ptr %55, align 8
%57 = getelementptr inbounds i32, ptr %56, i64 1
store i32 4, ptr %57, align 4
%58 = load ptr, ptr %4, align 8
%59 = getelementptr inbounds ptr, ptr %58, i64 2
%60 = load ptr, ptr %59, align 8
%61 = getelementptr inbounds i32, ptr %60, i64 0
store i32 6, ptr %61, align 4
%62 = load ptr, ptr %4, align 8
%63 = getelementptr inbounds ptr, ptr %62, i64 2
%64 = load ptr, ptr %63, align 8
%65 = getelementptr inbounds i32, ptr %64, i64 1
store i32 5, ptr %65, align 4
%66 = load ptr, ptr %4, align 8
%67 = getelementptr inbounds ptr, ptr %66, i64 2
%68 = load ptr, ptr %67, align 8
%69 = getelementptr inbounds i32, ptr %68, i64 2
store i32 7, ptr %69, align 4
%70 = load ptr, ptr %4, align 8
%71 = getelementptr inbounds ptr, ptr %70, i64 3
%72 = load ptr, ptr %71, align 8
%73 = getelementptr inbounds i32, ptr %72, i64 0
store i32 4, ptr %73, align 4
%74 = load ptr, ptr %4, align 8
%75 = getelementptr inbounds ptr, ptr %74, i64 3
%76 = load ptr, ptr %75, align 8
%77 = getelementptr inbounds i32, ptr %76, i64 1
store i32 1, ptr %77, align 4
%78 = load ptr, ptr %4, align 8
%79 = getelementptr inbounds ptr, ptr %78, i64 3
%80 = load ptr, ptr %79, align 8
%81 = getelementptr inbounds i32, ptr %80, i64 2
store i32 8, ptr %81, align 4
%82 = load ptr, ptr %4, align 8
%83 = getelementptr inbounds ptr, ptr %82, i64 3
%84 = load ptr, ptr %83, align 8
%85 = getelementptr inbounds i32, ptr %84, i64 3
store i32 3, ptr %85, align 4
%86 = load ptr, ptr %4, align 8
%87 = load i32, ptr %3, align 4
%88 = load ptr, ptr %5, align 8
%89 = call i32 @minimumTotal(ptr noundef %86, i32 noundef %87, ptr noundef %88)
%90 = call i32 @printf(ptr noundef @.str, i32 noundef %89)
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @minimumTotal(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp323buks0.c'
source_filename = "/tmp/tmp323buks0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gen_44() #0 {
%1 = alloca i32, align 4
%2 = call i32 @handle_44(i32 noundef 0)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @handle_44(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/tmp323buks0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gen_44() #0 {
%1 = alloca i32, align 4
%2 = call i32 @handle_44(i32 noundef 0)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @handle_44(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/tmp6hockba5.c'
source_filename = "/tmp/tmp6hockba5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UsageFault_Handler(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 @GenericFaultHandler(ptr noundef %3)
ret void
}
declare i32 @GenericFaultHandler(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6hockba5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UsageFault_Handler(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 @GenericFaultHandler(ptr noundef %3)
ret void
}
declare i32 @GenericFaultHandler(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsc6w99mx.c'
source_filename = "/tmp/tmpsc6w99mx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [53 x i8] c"Copyright (c) 2015-16. Al Poole <netstar@gmail.com>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @about() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsc6w99mx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [53 x i8] c"Copyright (c) 2015-16. Al Poole <netstar@gmail.com>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @about() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.