llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmp81bn56j_.c'
source_filename = "/tmp/tmp81bn56j_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rtas_get_hotplug_scn(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i64 @get_re_scn(ptr noundef %3, i32 noundef 19)
%5 = inttoptr i64 %4 to ptr
ret ptr %5
}
declare i64 @get_re_scn(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/tmp81bn56j_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rtas_get_hotplug_scn(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i64 @get_re_scn(ptr noundef %3, i32 noundef 19)
%5 = inttoptr i64 %4 to ptr
ret ptr %5
}
declare i64 @get_re_scn(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/tmpe05it11f.c'
source_filename = "/tmp/tmpe05it11f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"text/Hacker_Crackdown_1k.txt\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"+------------------+\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"+ READ NOISE START +\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"+ READ NOISE DONE +\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str.1)
%5 = call i32 @printf(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %12, %0
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 8
br i1 %8, label %9, label %15
9: ; preds = %6
%10 = load ptr, ptr %2, align 8
%11 = call i32 @readcall(ptr noundef %10)
br label %12
12: ; preds = %9
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %3, align 4
br label %6, !llvm.loop !6
15: ; preds = %6
%16 = call i32 @printf(ptr noundef @.str.3)
%17 = call i32 @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @readcall(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/tmpe05it11f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"text/Hacker_Crackdown_1k.txt\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"+------------------+\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"+ READ NOISE START +\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"+ READ NOISE DONE +\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str.1)
%5 = call i32 @printf(ptr noundef @.str.2)
store i32 0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 8
br i1 %7, label %.lr.ph, label %16
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %11
%9 = load ptr, ptr %2, align 8
%10 = call i32 @readcall(ptr noundef %9)
br label %11
11: ; preds = %8
%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, 8
br i1 %15, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %16
16: ; preds = %._crit_edge, %0
%17 = call i32 @printf(ptr noundef @.str.3)
%18 = call i32 @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @readcall(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/tmp7htg00r4.c'
source_filename = "/tmp/tmp7htg00r4.c"
target datalayout = "e-m:e-p270: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/tmp7htg00r4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_br8xd_m.c'
source_filename = "/tmp/tmp_br8xd_m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Enter size of Array \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Enter %d Integers \0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"Sorted Array:- \0A\00", align 1
@.str.4 = private unnamed_addr constant [5 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 ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = zext i32 %9 to i64
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %3, align 8
%12 = alloca i32, i64 %10, align 16
store i64 %10, ptr %4, align 8
%13 = load i32, ptr %2, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13)
store i32 0, ptr %5, align 4
br label %15
15: ; preds = %24, %0
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %27
19: ; preds = %15
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %12, i64 %21
%23 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %22)
br label %24
24: ; preds = %19
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %5, align 4
br label %15, !llvm.loop !6
27: ; preds = %15
%28 = load i32, ptr %2, align 4
%29 = call i32 @combSort(ptr noundef %12, i32 noundef %28)
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %6, align 4
br label %31
31: ; preds = %41, %27
%32 = load i32, ptr %6, align 4
%33 = load i32, ptr %2, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %44
35: ; preds = %31
%36 = load i32, ptr %6, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %12, i64 %37
%39 = load i32, ptr %38, align 4
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %39)
br label %41
41: ; preds = %35
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %6, align 4
br label %31, !llvm.loop !8
44: ; preds = %31
store i32 0, ptr %1, align 4
%45 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %45)
%46 = load i32, ptr %1, align 4
ret i32 %46
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @combSort(ptr noundef, i32 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/tmp_br8xd_m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"Enter size of Array \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Enter %d Integers \0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"Sorted Array:- \0A\00", align 1
@.str.4 = private unnamed_addr constant [5 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 ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = zext i32 %9 to i64
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %3, align 8
%12 = alloca i32, i64 %10, align 16
store i64 %10, ptr %4, align 8
%13 = load i32, ptr %2, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13)
store i32 0, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %29
.lr.ph: ; preds = %0
br label %18
18: ; preds = %.lr.ph, %23
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %12, i64 %20
%22 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %21)
br label %23
23: ; preds = %18
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %5, align 4
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %2, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %0
%30 = load i32, ptr %2, align 4
%31 = call i32 @combSort(ptr noundef %12, i32 noundef %30)
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %6, align 4
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr %2, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %.lr.ph2, label %48
.lr.ph2: ; preds = %29
br label %36
36: ; preds = %.lr.ph2, %42
%37 = load i32, ptr %6, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %12, i64 %38
%40 = load i32, ptr %39, align 4
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %40)
br label %42
42: ; preds = %36
%43 = load i32, ptr %6, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %6, align 4
%45 = load i32, ptr %6, align 4
%46 = load i32, ptr %2, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %36, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %42
br label %48
48: ; preds = %._crit_edge3, %29
store i32 0, ptr %1, align 4
%49 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %49)
%50 = load i32, ptr %1, align 4
ret i32 %50
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @combSort(ptr noundef, i32 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/tmpiqvp4eo5.c'
source_filename = "/tmp/tmpiqvp4eo5.c"
target datalayout = "e-m:e-p270: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"Syntaxe incorrecte.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"Nombre de caracteres : %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [54 x i8] c"Le fichier specifie contient moins de 30 caracteres.\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.4 = private unnamed_addr constant [43 x i8] c"Impossible d'acceder au fichier specifie.\0A\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = 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
%10 = load i32, ptr %4, align 4
%11 = icmp ne i32 %10, 2
br i1 %11, label %12, label %17
12: ; preds = %2
%13 = load i32, ptr @stderr, align 4
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str)
%15 = load i32, ptr @EXIT_FAILURE, align 4
%16 = call i32 @exit(i32 noundef %15) #3
unreachable
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = load i32, ptr @O_RDONLY, align 4
%22 = call i32 @open(ptr noundef %20, i32 noundef %21)
store i32 %22, ptr %6, align 4
%23 = icmp ne i32 %22, -1
br i1 %23, label %24, label %63
24: ; preds = %17
store i32 0, ptr %7, align 4
br label %25
25: ; preds = %29, %24
%26 = load i32, ptr %6, align 4
%27 = call i64 @read(i32 noundef %26, ptr noundef %8, i32 noundef 1)
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %25
%30 = load i32, ptr %7, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %7, align 4
br label %25, !llvm.loop !6
32: ; preds = %25
%33 = load i32, ptr %7, align 4
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %33)
%35 = load i32, ptr %7, align 4
%36 = icmp slt i32 %35, 30
br i1 %36, label %37, label %40
37: ; preds = %32
%38 = load i32, ptr @stderr, align 4
%39 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %38, ptr noundef @.str.2)
br label %60
40: ; preds = %32
%41 = load i32, ptr %6, align 4
%42 = load i32, ptr %7, align 4
%43 = sub nsw i32 %42, 30
%44 = load i32, ptr @SEEK_SET, align 4
%45 = call i32 @lseek(i32 noundef %41, i32 noundef %43, i32 noundef %44)
store i32 0, ptr %9, align 4
store i32 0, ptr %9, align 4
br label %46
46: ; preds = %56, %40
%47 = load i32, ptr %9, align 4
%48 = icmp slt i32 %47, 30
br i1 %48, label %49, label %59
49: ; preds = %46
%50 = load i32, ptr %6, align 4
%51 = call i64 @read(i32 noundef %50, ptr noundef %8, i32 noundef 1)
%52 = load i32, ptr @stdout, align 4
%53 = load i8, ptr %8, align 1
%54 = sext i8 %53 to i32
%55 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %52, ptr noundef @.str.3, i32 noundef %54)
br label %56
56: ; preds = %49
%57 = load i32, ptr %9, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %9, align 4
br label %46, !llvm.loop !8
59: ; preds = %46
br label %60
60: ; preds = %59, %37
%61 = load i32, ptr %6, align 4
%62 = call i32 @close(i32 noundef %61)
br label %66
63: ; preds = %17
%64 = load i32, ptr @stderr, align 4
%65 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %64, ptr noundef @.str.4)
br label %66
66: ; preds = %63, %60
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%68 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %68
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @open(ptr noundef, i32 noundef) #1
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @lseek(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiqvp4eo5.c"
target datalayout = "e-m:e-p270: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"Syntaxe incorrecte.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"Nombre de caracteres : %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [54 x i8] c"Le fichier specifie contient moins de 30 caracteres.\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.4 = private unnamed_addr constant [43 x i8] c"Impossible d'acceder au fichier specifie.\0A\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = 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
%10 = load i32, ptr %4, align 4
%11 = icmp ne i32 %10, 2
br i1 %11, label %12, label %17
12: ; preds = %2
%13 = load i32, ptr @stderr, align 4
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str)
%15 = load i32, ptr @EXIT_FAILURE, align 4
%16 = call i32 @exit(i32 noundef %15) #3
unreachable
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = load i32, ptr @O_RDONLY, align 4
%22 = call i32 @open(ptr noundef %20, i32 noundef %21)
store i32 %22, ptr %6, align 4
%23 = icmp ne i32 %22, -1
br i1 %23, label %24, label %66
24: ; preds = %17
store i32 0, ptr %7, align 4
%25 = load i32, ptr %6, align 4
%26 = call i64 @read(i32 noundef %25, ptr noundef %8, i32 noundef 1)
%27 = icmp ne i64 %26, 0
br i1 %27, label %.lr.ph, label %34
.lr.ph: ; preds = %24
br label %28
28: ; preds = %.lr.ph, %28
%29 = load i32, ptr %7, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %7, align 4
%31 = load i32, ptr %6, align 4
%32 = call i64 @read(i32 noundef %31, ptr noundef %8, i32 noundef 1)
%33 = icmp ne i64 %32, 0
br i1 %33, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %24
%35 = load i32, ptr %7, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %35)
%37 = load i32, ptr %7, align 4
%38 = icmp slt i32 %37, 30
br i1 %38, label %39, label %42
39: ; preds = %34
%40 = load i32, ptr @stderr, align 4
%41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %40, ptr noundef @.str.2)
br label %63
42: ; preds = %34
%43 = load i32, ptr %6, align 4
%44 = load i32, ptr %7, align 4
%45 = sub nsw i32 %44, 30
%46 = load i32, ptr @SEEK_SET, align 4
%47 = call i32 @lseek(i32 noundef %43, i32 noundef %45, i32 noundef %46)
store i32 0, ptr %9, align 4
store i32 0, ptr %9, align 4
%48 = load i32, ptr %9, align 4
%49 = icmp slt i32 %48, 30
br i1 %49, label %.lr.ph2, label %62
.lr.ph2: ; preds = %42
br label %50
50: ; preds = %.lr.ph2, %57
%51 = load i32, ptr %6, align 4
%52 = call i64 @read(i32 noundef %51, ptr noundef %8, i32 noundef 1)
%53 = load i32, ptr @stdout, align 4
%54 = load i8, ptr %8, align 1
%55 = sext i8 %54 to i32
%56 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %53, ptr noundef @.str.3, i32 noundef %55)
br label %57
57: ; preds = %50
%58 = load i32, ptr %9, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %9, align 4
%60 = load i32, ptr %9, align 4
%61 = icmp slt i32 %60, 30
br i1 %61, label %50, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %57
br label %62
62: ; preds = %._crit_edge3, %42
br label %63
63: ; preds = %62, %39
%64 = load i32, ptr %6, align 4
%65 = call i32 @close(i32 noundef %64)
br label %69
66: ; preds = %17
%67 = load i32, ptr @stderr, align 4
%68 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %67, ptr noundef @.str.4)
br label %69
69: ; preds = %66, %63
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%71 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %71
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @open(ptr noundef, i32 noundef) #1
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @lseek(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpnmiedh9m.c'
source_filename = "/tmp/tmpnmiedh9m.c"
target datalayout = "e-m:e-p270: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 [34 x i8] c"xterm decode: unknown option -%c\0A\00", align 1
@stdin = dso_local global ptr null, align 8
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"xterm_decode: can't open %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 ptr, align 8
%7 = 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
br label %8
8: ; preds = %47, %2
%9 = load i32, ptr %4, align 4
%10 = icmp sgt i32 %9, 1
br i1 %10, label %11, label %18
11: ; preds = %8
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 45
br label %18
18: ; preds = %11, %8
%19 = phi i1 [ false, %8 ], [ %17, %11 ]
br i1 %19, label %20, label %52
20: ; preds = %18
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 1
store ptr %24, ptr %6, align 8
br label %25
25: ; preds = %44, %20
%26 = load ptr, ptr %6, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %47
30: ; preds = %25
%31 = load ptr, ptr %6, align 8
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
switch i32 %33, label %36 [
i32 104, label %34
]
34: ; preds = %30
%35 = call i32 @usage(i32 noundef 0)
br label %43
36: ; preds = %30
%37 = load i32, ptr @stderr, align 4
%38 = load ptr, ptr %6, align 8
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str, i32 noundef %40)
%42 = call i32 @usage(i32 noundef 1)
br label %43
43: ; preds = %36, %34
br label %44
44: ; preds = %43
%45 = load ptr, ptr %6, align 8
%46 = getelementptr inbounds i8, ptr %45, i32 1
store ptr %46, ptr %6, align 8
br label %25, !llvm.loop !6
47: ; preds = %25
%48 = load i32, ptr %4, align 4
%49 = add nsw i32 %48, -1
store i32 %49, ptr %4, align 4
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds ptr, ptr %50, i32 1
store ptr %51, ptr %5, align 8
br label %8, !llvm.loop !8
52: ; preds = %18
%53 = load i32, ptr %4, align 4
%54 = icmp eq i32 %53, 1
br i1 %54, label %55, label %58
55: ; preds = %52
%56 = load ptr, ptr @stdin, align 8
%57 = call i32 @decode(ptr noundef %56)
br label %80
58: ; preds = %52
br label %59
59: ; preds = %74, %69, %58
%60 = load i32, ptr %4, align 4
%61 = add nsw i32 %60, -1
store i32 %61, ptr %4, align 4
%62 = icmp sgt i32 %61, 0
br i1 %62, label %63, label %79
63: ; preds = %59
%64 = load ptr, ptr %5, align 8
%65 = getelementptr inbounds ptr, ptr %64, i32 1
store ptr %65, ptr %5, align 8
%66 = load ptr, ptr %65, align 8
%67 = call ptr @fopen(ptr noundef %66, ptr noundef @.str.1)
store ptr %67, ptr %7, align 8
%68 = icmp eq ptr %67, null
br i1 %68, label %69, label %74
69: ; preds = %63
%70 = load i32, ptr @stderr, align 4
%71 = load ptr, ptr %5, align 8
%72 = load ptr, ptr %71, align 8
%73 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %70, ptr noundef @.str.2, ptr noundef %72)
br label %59, !llvm.loop !9
74: ; preds = %63
%75 = load ptr, ptr %7, align 8
%76 = call i32 @decode(ptr noundef %75)
%77 = load ptr, ptr %7, align 8
%78 = call i32 @fclose(ptr noundef %77)
br label %59, !llvm.loop !9
79: ; preds = %59
br label %80
80: ; preds = %79, %55
%81 = load i32, ptr %3, align 4
ret i32 %81
}
declare i32 @usage(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @decode(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnmiedh9m.c"
target datalayout = "e-m:e-p270: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 [34 x i8] c"xterm decode: unknown option -%c\0A\00", align 1
@stdin = dso_local global ptr null, align 8
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"xterm_decode: can't open %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 ptr, align 8
%7 = 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
br label %8
8: ; preds = %50, %2
%9 = load i32, ptr %4, align 4
%10 = icmp sgt i32 %9, 1
br i1 %10, label %11, label %18
11: ; preds = %8
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 45
br label %18
18: ; preds = %11, %8
%19 = phi i1 [ false, %8 ], [ %17, %11 ]
br i1 %19, label %20, label %55
20: ; preds = %18
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 1
store ptr %24, ptr %6, align 8
%25 = load ptr, ptr %6, align 8
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %27, 0
br i1 %28, label %.lr.ph, label %50
.lr.ph: ; preds = %20
br label %29
29: ; preds = %.lr.ph, %43
%30 = load ptr, ptr %6, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
switch i32 %32, label %35 [
i32 104, label %33
]
33: ; preds = %29
%34 = call i32 @usage(i32 noundef 0)
br label %42
35: ; preds = %29
%36 = load i32, ptr @stderr, align 4
%37 = load ptr, ptr %6, align 8
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %36, ptr noundef @.str, i32 noundef %39)
%41 = call i32 @usage(i32 noundef 1)
br label %42
42: ; preds = %35, %33
br label %43
43: ; preds = %42
%44 = load ptr, ptr %6, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 1
store ptr %45, ptr %6, align 8
%46 = load ptr, ptr %6, align 8
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp ne i32 %48, 0
br i1 %49, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %50
50: ; preds = %._crit_edge, %20
%51 = load i32, ptr %4, align 4
%52 = add nsw i32 %51, -1
store i32 %52, ptr %4, align 4
%53 = load ptr, ptr %5, align 8
%54 = getelementptr inbounds ptr, ptr %53, i32 1
store ptr %54, ptr %5, align 8
br label %8, !llvm.loop !8
55: ; preds = %18
%56 = load i32, ptr %4, align 4
%57 = icmp eq i32 %56, 1
br i1 %57, label %58, label %61
58: ; preds = %55
%59 = load ptr, ptr @stdin, align 8
%60 = call i32 @decode(ptr noundef %59)
br label %85
61: ; preds = %55
%62 = load i32, ptr %4, align 4
%63 = add nsw i32 %62, -1
store i32 %63, ptr %4, align 4
%64 = icmp sgt i32 %63, 0
br i1 %64, label %.lr.ph2, label %84
.lr.ph2: ; preds = %61
br label %65
65: ; preds = %.lr.ph2, %.backedge
%66 = load ptr, ptr %5, align 8
%67 = getelementptr inbounds ptr, ptr %66, i32 1
store ptr %67, ptr %5, align 8
%68 = load ptr, ptr %67, align 8
%69 = call ptr @fopen(ptr noundef %68, ptr noundef @.str.1)
store ptr %69, ptr %7, align 8
%70 = icmp eq ptr %69, null
br i1 %70, label %71, label %79
71: ; preds = %65
%72 = load i32, ptr @stderr, align 4
%73 = load ptr, ptr %5, align 8
%74 = load ptr, ptr %73, align 8
%75 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %72, ptr noundef @.str.2, ptr noundef %74)
br label %.backedge
.backedge: ; preds = %71, %79
%76 = load i32, ptr %4, align 4
%77 = add nsw i32 %76, -1
store i32 %77, ptr %4, align 4
%78 = icmp sgt i32 %77, 0
br i1 %78, label %65, label %._crit_edge3, !llvm.loop !9
79: ; preds = %65
%80 = load ptr, ptr %7, align 8
%81 = call i32 @decode(ptr noundef %80)
%82 = load ptr, ptr %7, align 8
%83 = call i32 @fclose(ptr noundef %82)
br label %.backedge
._crit_edge3: ; preds = %.backedge
br label %84
84: ; preds = %._crit_edge3, %61
br label %85
85: ; preds = %84, %58
%86 = load i32, ptr %3, align 4
ret i32 %86
}
declare i32 @usage(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @decode(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmprhy7qwfv.c'
source_filename = "/tmp/tmprhy7qwfv.c"
target datalayout = "e-m:e-p270: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/tmprhy7qwfv.c"
target datalayout = "e-m:e-p270: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/tmpj2r9rn_g.c'
source_filename = "/tmp/tmpj2r9rn_g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"quit\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"send a message:quit!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @handler2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %7, align 4
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = call i32 @write(i32 noundef %9, ptr noundef @.str, i32 noundef 4)
%11 = call i32 @printf(ptr noundef @.str.1)
%12 = load ptr, ptr %2, align 8
ret ptr %12
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj2r9rn_g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"quit\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"send a message:quit!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @handler2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %7, align 4
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = call i32 @write(i32 noundef %9, ptr noundef @.str, i32 noundef 4)
%11 = call i32 @printf(ptr noundef @.str.1)
%12 = load ptr, ptr %2, align 8
ret ptr %12
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvcmbakhn.c'
source_filename = "/tmp/tmpvcmbakhn.c"
target datalayout = "e-m:e-p270: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/tmpvcmbakhn.c"
target datalayout = "e-m:e-p270: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/tmpa2eafx3c.c'
source_filename = "/tmp/tmpa2eafx3c.c"
target datalayout = "e-m:e-p270: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/tmpa2eafx3c.c"
target datalayout = "e-m:e-p270: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/tmpehay3goe.c'
source_filename = "/tmp/tmpehay3goe.c"
target datalayout = "e-m:e-p270: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/tmpehay3goe.c"
target datalayout = "e-m:e-p270: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/tmpj9cfamj_.c'
source_filename = "/tmp/tmpj9cfamj_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\\t\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1024 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %8
8: ; preds = %65, %0
%9 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @getline(ptr noundef %9, i32 noundef 1024)
store i32 %10, ptr %3, align 4
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %66
12: ; preds = %8
store i32 0, ptr %7, align 4
br label %13
13: ; preds = %64, %12
%14 = load i32, ptr %7, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %65
17: ; preds = %13
%18 = load i32, ptr %7, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 32
br i1 %23, label %24, label %57
24: ; preds = %17
store i32 0, ptr %6, align 4
br label %25
25: ; preds = %33, %24
%26 = load i32, ptr %7, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %7, align 4
%28 = sext i32 %26 to i64
%29 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 32
br i1 %32, label %33, label %36
33: ; preds = %25
%34 = load i32, ptr %6, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %6, align 4
br label %25, !llvm.loop !6
36: ; preds = %25
%37 = load i32, ptr %7, align 4
%38 = add nsw i32 %37, -1
store i32 %38, ptr %7, align 4
%39 = load i32, ptr %6, align 4
%40 = sdiv i32 %39, 4
store i32 %40, ptr %4, align 4
%41 = load i32, ptr %6, align 4
%42 = srem i32 %41, 4
store i32 %42, ptr %5, align 4
br label %43
43: ; preds = %47, %36
%44 = load i32, ptr %4, align 4
%45 = add nsw i32 %44, -1
store i32 %45, ptr %4, align 4
%46 = icmp sgt i32 %44, 0
br i1 %46, label %47, label %49
47: ; preds = %43
%48 = call i32 @printf(ptr noundef @.str)
br label %43, !llvm.loop !8
49: ; preds = %43
br label %50
50: ; preds = %54, %49
%51 = load i32, ptr %5, align 4
%52 = add nsw i32 %51, -1
store i32 %52, ptr %5, align 4
%53 = icmp sgt i32 %51, 0
br i1 %53, label %54, label %56
54: ; preds = %50
%55 = call i32 @putchar(i8 noundef signext 95)
br label %50, !llvm.loop !9
56: ; preds = %50
br label %64
57: ; preds = %17
%58 = load i32, ptr %7, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %7, align 4
%60 = sext i32 %58 to i64
%61 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 %60
%62 = load i8, ptr %61, align 1
%63 = call i32 @putchar(i8 noundef signext %62)
br label %64
64: ; preds = %57, %56
br label %13, !llvm.loop !10
65: ; preds = %13
br label %8, !llvm.loop !11
66: ; preds = %8
ret i32 0
}
declare i32 @getline(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj9cfamj_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\\t\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1024 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @getline(ptr noundef %8, i32 noundef 1024)
store i32 %9, ptr %3, align 4
%10 = icmp sgt i32 %9, 0
br i1 %10, label %.lr.ph11, label %79
.lr.ph11: ; preds = %0
br label %11
11: ; preds = %.lr.ph11, %76
store i32 0, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph8, label %76
.lr.ph8: ; preds = %11
br label %15
15: ; preds = %.lr.ph8, %72
%16 = load i32, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 32
br i1 %21, label %22, label %65
22: ; preds = %15
store i32 0, ptr %6, align 4
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %7, align 4
%25 = sext i32 %23 to i64
%26 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 32
br i1 %29, label %.lr.ph, label %40
.lr.ph: ; preds = %22
br label %30
30: ; preds = %.lr.ph, %30
%31 = load i32, ptr %6, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %6, align 4
%33 = load i32, ptr %7, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %7, align 4
%35 = sext i32 %33 to i64
%36 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 32
br i1 %39, label %30, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %40
40: ; preds = %._crit_edge, %22
%41 = load i32, ptr %7, align 4
%42 = add nsw i32 %41, -1
store i32 %42, ptr %7, align 4
%43 = load i32, ptr %6, align 4
%44 = sdiv i32 %43, 4
store i32 %44, ptr %4, align 4
%45 = load i32, ptr %6, align 4
%46 = srem i32 %45, 4
store i32 %46, ptr %5, align 4
%47 = load i32, ptr %4, align 4
%48 = add nsw i32 %47, -1
store i32 %48, ptr %4, align 4
%49 = icmp sgt i32 %47, 0
br i1 %49, label %.lr.ph2, label %55
.lr.ph2: ; preds = %40
br label %50
50: ; preds = %.lr.ph2, %50
%51 = call i32 @printf(ptr noundef @.str)
%52 = load i32, ptr %4, align 4
%53 = add nsw i32 %52, -1
store i32 %53, ptr %4, align 4
%54 = icmp sgt i32 %52, 0
br i1 %54, label %50, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %50
br label %55
55: ; preds = %._crit_edge3, %40
%56 = load i32, ptr %5, align 4
%57 = add nsw i32 %56, -1
store i32 %57, ptr %5, align 4
%58 = icmp sgt i32 %56, 0
br i1 %58, label %.lr.ph5, label %64
.lr.ph5: ; preds = %55
br label %59
59: ; preds = %.lr.ph5, %59
%60 = call i32 @putchar(i8 noundef signext 95)
%61 = load i32, ptr %5, align 4
%62 = add nsw i32 %61, -1
store i32 %62, ptr %5, align 4
%63 = icmp sgt i32 %61, 0
br i1 %63, label %59, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %59
br label %64
64: ; preds = %._crit_edge6, %55
br label %72
65: ; preds = %15
%66 = load i32, ptr %7, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %7, align 4
%68 = sext i32 %66 to i64
%69 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 %68
%70 = load i8, ptr %69, align 1
%71 = call i32 @putchar(i8 noundef signext %70)
br label %72
72: ; preds = %65, %64
%73 = load i32, ptr %7, align 4
%74 = load i32, ptr %3, align 4
%75 = icmp slt i32 %73, %74
br i1 %75, label %15, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %72
br label %76
76: ; preds = %._crit_edge9, %11
%77 = call i32 @getline(ptr noundef %8, i32 noundef 1024)
store i32 %77, ptr %3, align 4
%78 = icmp sgt i32 %77, 0
br i1 %78, label %11, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %76
br label %79
79: ; preds = %._crit_edge12, %0
ret i32 0
}
declare i32 @getline(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpyc9bv487.c'
source_filename = "/tmp/tmpyc9bv487.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Heyy!!! \0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Refer 3.3 \0A\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c"HERE IS A SONG FOR YOU (VOL UP UP & UP) \0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\07\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"Bye!!!! :-) :-) \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 4, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @printf(ptr noundef @.str.1)
%5 = call i32 @printf(ptr noundef @.str.2)
%6 = load i32, ptr %2, align 4
%7 = call i32 @sleep(i32 noundef %6)
%8 = call i32 @printf(ptr noundef @.str.3)
%9 = call i32 @printf(ptr noundef @.str.4)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyc9bv487.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Heyy!!! \0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Refer 3.3 \0A\00", align 1
@.str.2 = private unnamed_addr constant [43 x i8] c"HERE IS A SONG FOR YOU (VOL UP UP & UP) \0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\07\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"Bye!!!! :-) :-) \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 4, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @printf(ptr noundef @.str.1)
%5 = call i32 @printf(ptr noundef @.str.2)
%6 = load i32, ptr %2, align 4
%7 = call i32 @sleep(i32 noundef %6)
%8 = call i32 @printf(ptr noundef @.str.3)
%9 = call i32 @printf(ptr noundef @.str.4)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkyhvdlq2.c'
source_filename = "/tmp/tmpkyhvdlq2.c"
target datalayout = "e-m:e-p270: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/tmpkyhvdlq2.c"
target datalayout = "e-m:e-p270: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/tmpes_7r_li.c'
source_filename = "/tmp/tmpes_7r_li.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_tanhf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i64 @tanhf(float noundef %3)
%5 = load float, ptr %2, align 4
%6 = call i64 @tanhf(float noundef %5)
%7 = icmp ne i64 %4, %6
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 (...) @link_failure_tanhf()
br label %10
10: ; preds = %8, %1
ret void
}
declare i64 @tanhf(float noundef) #1
declare i32 @link_failure_tanhf(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpes_7r_li.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_tanhf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i64 @tanhf(float noundef %3)
%5 = load float, ptr %2, align 4
%6 = call i64 @tanhf(float noundef %5)
%7 = icmp ne i64 %4, %6
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 (...) @link_failure_tanhf()
br label %10
10: ; preds = %8, %1
ret void
}
declare i64 @tanhf(float noundef) #1
declare i32 @link_failure_tanhf(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjaqyzt1p.c'
source_filename = "/tmp/tmpjaqyzt1p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"erreur d'alloc\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"carac not in alphabet\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"error incunue\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @error(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
switch i32 %3, label %8 [
i32 1, label %4
i32 2, label %6
]
4: ; preds = %1
%5 = call i32 @printf(ptr noundef @.str)
br label %10
6: ; preds = %1
%7 = call i32 @printf(ptr noundef @.str.1)
br label %10
8: ; preds = %1
%9 = call i32 @printf(ptr noundef @.str.2)
br label %10
10: ; preds = %8, %6, %4
%11 = load i32, ptr %2, align 4
%12 = call i32 @exit(i32 noundef %11) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjaqyzt1p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"erreur d'alloc\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"carac not in alphabet\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"error incunue\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @error(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
switch i32 %3, label %8 [
i32 1, label %4
i32 2, label %6
]
4: ; preds = %1
%5 = call i32 @printf(ptr noundef @.str)
br label %10
6: ; preds = %1
%7 = call i32 @printf(ptr noundef @.str.1)
br label %10
8: ; preds = %1
%9 = call i32 @printf(ptr noundef @.str.2)
br label %10
10: ; preds = %8, %6, %4
%11 = load i32, ptr %2, align 4
%12 = call i32 @exit(i32 noundef %11) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsp2ncsgc.c'
source_filename = "/tmp/tmpsp2ncsgc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_get_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i64 @strlen(ptr noundef %7)
store i64 %8, ptr %5, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i64 @str_last_index(ptr noundef %9, i8 noundef signext 47)
store i64 %10, ptr %6, align 8
%11 = icmp ne i64 %10, 0
br i1 %11, label %13, label %12
12: ; preds = %1
store ptr null, ptr %2, align 8
br label %31
13: ; preds = %1
%14 = load i64, ptr %5, align 8
%15 = load i64, ptr %6, align 8
%16 = sub i64 %14, %15
%17 = add i64 %16, 1
%18 = call ptr @calloc(i64 noundef %17, i32 noundef 1)
store ptr %18, ptr %4, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %21, label %20
20: ; preds = %13
store ptr null, ptr %2, align 8
br label %31
21: ; preds = %13
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %3, align 8
%24 = load i64, ptr %6, align 8
%25 = getelementptr inbounds i8, ptr %23, i64 %24
%26 = load i64, ptr %5, align 8
%27 = load i64, ptr %6, align 8
%28 = sub i64 %26, %27
%29 = call i32 @strncpy(ptr noundef %22, ptr noundef %25, i64 noundef %28)
%30 = load ptr, ptr %4, align 8
store ptr %30, ptr %2, align 8
br label %31
31: ; preds = %21, %20, %12
%32 = load ptr, ptr %2, align 8
ret ptr %32
}
declare i64 @strlen(ptr noundef) #1
declare i64 @str_last_index(ptr noundef, i8 noundef signext) #1
declare ptr @calloc(i64 noundef, i32 noundef) #1
declare i32 @strncpy(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/tmpsp2ncsgc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_get_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i64 @strlen(ptr noundef %7)
store i64 %8, ptr %5, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i64 @str_last_index(ptr noundef %9, i8 noundef signext 47)
store i64 %10, ptr %6, align 8
%11 = icmp ne i64 %10, 0
br i1 %11, label %13, label %12
12: ; preds = %1
store ptr null, ptr %2, align 8
br label %31
13: ; preds = %1
%14 = load i64, ptr %5, align 8
%15 = load i64, ptr %6, align 8
%16 = sub i64 %14, %15
%17 = add i64 %16, 1
%18 = call ptr @calloc(i64 noundef %17, i32 noundef 1)
store ptr %18, ptr %4, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %21, label %20
20: ; preds = %13
store ptr null, ptr %2, align 8
br label %31
21: ; preds = %13
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %3, align 8
%24 = load i64, ptr %6, align 8
%25 = getelementptr inbounds i8, ptr %23, i64 %24
%26 = load i64, ptr %5, align 8
%27 = load i64, ptr %6, align 8
%28 = sub i64 %26, %27
%29 = call i32 @strncpy(ptr noundef %22, ptr noundef %25, i64 noundef %28)
%30 = load ptr, ptr %4, align 8
store ptr %30, ptr %2, align 8
br label %31
31: ; preds = %21, %20, %12
%32 = load ptr, ptr %2, align 8
ret ptr %32
}
declare i64 @strlen(ptr noundef) #1
declare i64 @str_last_index(ptr noundef, i8 noundef signext) #1
declare ptr @calloc(i64 noundef, i32 noundef) #1
declare i32 @strncpy(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/tmp3ll4aej2.c'
source_filename = "/tmp/tmp3ll4aej2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @parse_int(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
store i64 0, ptr @errno, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @strtoul(ptr noundef %5, ptr noundef null, i32 noundef 0)
%7 = load ptr, ptr %4, align 8
store i32 %6, ptr %7, align 4
%8 = load i64, ptr @errno, align 8
ret i64 %8
}
declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3ll4aej2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @parse_int(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
store i64 0, ptr @errno, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @strtoul(ptr noundef %5, ptr noundef null, i32 noundef 0)
%7 = load ptr, ptr %4, align 8
store i32 %6, ptr %7, align 4
%8 = load i64, ptr @errno, align 8
ret i64 %8
}
declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9ae2gb9b.c'
source_filename = "/tmp/tmp9ae2gb9b.c"
target datalayout = "e-m:e-p270: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/tmp9ae2gb9b.c"
target datalayout = "e-m:e-p270: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/tmpsu9c0bef.c'
source_filename = "/tmp/tmpsu9c0bef.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @get_XErrorEvent_request_code(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0
%5 = load i64, ptr %4, align 8
%6 = trunc i64 %5 to i8
ret i8 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsu9c0bef.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @get_XErrorEvent_request_code(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0
%5 = load i64, ptr %4, align 8
%6 = trunc i64 %5 to i8
ret i8 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8lm932sb.c'
source_filename = "/tmp/tmp8lm932sb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@versio = external global ptr, align 8
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"gkermit UNKNOWN VERSION\00", align 1
@build = external global ptr, align 8
@.str.2 = private unnamed_addr constant [14 x i8] c"UNKNOWN BUILD\00", align 1
@url = external global ptr, align 8
@email = external global ptr, align 8
@stderr = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [9 x i8] c"%s: %s.\0A\00", align 1
@.str.4 = private unnamed_addr constant [29 x i8] c"Usage: gkermit [ options ]\0A\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"Options:\0A\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c" -r Receive files\0A\00", align 1
@.str.7 = private unnamed_addr constant [21 x i8] c" -s fn Send files\0A\00", align 1
@.str.8 = private unnamed_addr constant [32 x i8] c" -g fn Get files from server\0A\00", align 1
@.str.9 = private unnamed_addr constant [34 x i8] c" -a fn As-name for single file\0A\00", align 1
@.str.10 = private unnamed_addr constant [39 x i8] c" -i Image (binary) mode transfer\0A\00", align 1
@.str.11 = private unnamed_addr constant [29 x i8] c" -T Text mode transfer\0A\00", align 1
@.str.12 = private unnamed_addr constant [44 x i8] c" -P Path/filename conversion disabled\0A\00", align 1
@.str.13 = private unnamed_addr constant [51 x i8] c" -w Write over existing files with same name\0A\00", align 1
@.str.14 = private unnamed_addr constant [43 x i8] c" -K Keep incompletely received files\0A\00", align 1
@.str.15 = private unnamed_addr constant [57 x i8] c" -p x Parity: x = o[dd],e[ven],m[ark],s[pace],n[one]\0A\00", align 1
@.str.16 = private unnamed_addr constant [40 x i8] c" -e n Receive packet-length (40-%d)\0A\00", align 1
@.str.17 = private unnamed_addr constant [34 x i8] c" -b n Timeout (sec, 0 = none)\0A\00", align 1
@.str.18 = private unnamed_addr constant [54 x i8] c" -x Force Xon/Xoff (--x = Don't force Xon/Xoff)\0A\00", align 1
@.str.19 = private unnamed_addr constant [28 x i8] c" -S Disable streaming\0A\00", align 1
@.str.20 = private unnamed_addr constant [28 x i8] c" -X External protocol\0A\00", align 1
@.str.21 = private unnamed_addr constant [36 x i8] c" -q Quiet (suppress messages)\0A\00", align 1
@.str.22 = private unnamed_addr constant [51 x i8] c" -d [fn] Debug to ./debug.log [or specified file]\0A\00", align 1
@.str.23 = private unnamed_addr constant [30 x i8] c" -h Help (this message)\0A\00", align 1
@.str.24 = private unnamed_addr constant [19 x i8] c"More info: %s <%s>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load ptr, ptr @versio, align 8
%2 = icmp ne ptr %1, null
br i1 %2, label %4, label %3
3: ; preds = %0
store ptr @.str, ptr @versio, align 8
br label %4
4: ; preds = %3, %0
%5 = load ptr, ptr @versio, align 8
%6 = load i8, ptr %5, align 1
%7 = icmp ne i8 %6, 0
br i1 %7, label %9, label %8
8: ; preds = %4
store ptr @.str.1, ptr @versio, align 8
br label %9
9: ; preds = %8, %4
%10 = load ptr, ptr @build, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %13, label %12
12: ; preds = %9
store ptr @.str.2, ptr @build, align 8
br label %13
13: ; preds = %12, %9
%14 = load ptr, ptr @url, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %17, label %16
16: ; preds = %13
store ptr @.str, ptr @url, align 8
br label %17
17: ; preds = %16, %13
%18 = load ptr, ptr @email, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %21, label %20
20: ; preds = %17
store ptr @.str, ptr @email, align 8
br label %21
21: ; preds = %20, %17
%22 = load i32, ptr @stderr, align 4
%23 = load ptr, ptr @versio, align 8
%24 = load ptr, ptr @build, align 8
%25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.3, ptr noundef %23, ptr noundef %24)
%26 = load i32, ptr @stderr, align 4
%27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.4)
%28 = load i32, ptr @stderr, align 4
%29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef @.str.5)
%30 = load i32, ptr @stderr, align 4
%31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %30, ptr noundef @.str.6)
%32 = load i32, ptr @stderr, align 4
%33 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %32, ptr noundef @.str.7)
%34 = load i32, ptr @stderr, align 4
%35 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %34, ptr noundef @.str.8)
%36 = load i32, ptr @stderr, align 4
%37 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %36, ptr noundef @.str.9)
%38 = load i32, ptr @stderr, align 4
%39 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %38, ptr noundef @.str.10)
%40 = load i32, ptr @stderr, align 4
%41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %40, ptr noundef @.str.11)
%42 = load i32, ptr @stderr, align 4
%43 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %42, ptr noundef @.str.12)
%44 = load i32, ptr @stderr, align 4
%45 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %44, ptr noundef @.str.13)
%46 = load i32, ptr @stderr, align 4
%47 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %46, ptr noundef @.str.14)
%48 = load i32, ptr @stderr, align 4
%49 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %48, ptr noundef @.str.15)
%50 = load i32, ptr @stderr, align 4
%51 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %50, ptr noundef @.str.16, i32 noundef 9000)
%52 = load i32, ptr @stderr, align 4
%53 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %52, ptr noundef @.str.17)
%54 = load i32, ptr @stderr, align 4
%55 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %54, ptr noundef @.str.18)
%56 = load i32, ptr @stderr, align 4
%57 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %56, ptr noundef @.str.19)
%58 = load i32, ptr @stderr, align 4
%59 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %58, ptr noundef @.str.20)
%60 = load i32, ptr @stderr, align 4
%61 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %60, ptr noundef @.str.21)
%62 = load i32, ptr @stderr, align 4
%63 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %62, ptr noundef @.str.22)
%64 = load i32, ptr @stderr, align 4
%65 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %64, ptr noundef @.str.23)
%66 = load ptr, ptr @url, align 8
%67 = load i8, ptr %66, align 1
%68 = sext i8 %67 to i32
%69 = icmp ne i32 %68, 0
br i1 %69, label %75, label %70
70: ; preds = %21
%71 = load ptr, ptr @email, align 8
%72 = load i8, ptr %71, align 1
%73 = sext i8 %72 to i32
%74 = icmp ne i32 %73, 0
br i1 %74, label %75, label %80
75: ; preds = %70, %21
%76 = load i32, ptr @stderr, align 4
%77 = load ptr, ptr @url, align 8
%78 = load ptr, ptr @email, align 8
%79 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %76, ptr noundef @.str.24, ptr noundef %77, ptr noundef %78)
br label %80
80: ; preds = %75, %70
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8lm932sb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@versio = external global ptr, align 8
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"gkermit UNKNOWN VERSION\00", align 1
@build = external global ptr, align 8
@.str.2 = private unnamed_addr constant [14 x i8] c"UNKNOWN BUILD\00", align 1
@url = external global ptr, align 8
@email = external global ptr, align 8
@stderr = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [9 x i8] c"%s: %s.\0A\00", align 1
@.str.4 = private unnamed_addr constant [29 x i8] c"Usage: gkermit [ options ]\0A\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"Options:\0A\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c" -r Receive files\0A\00", align 1
@.str.7 = private unnamed_addr constant [21 x i8] c" -s fn Send files\0A\00", align 1
@.str.8 = private unnamed_addr constant [32 x i8] c" -g fn Get files from server\0A\00", align 1
@.str.9 = private unnamed_addr constant [34 x i8] c" -a fn As-name for single file\0A\00", align 1
@.str.10 = private unnamed_addr constant [39 x i8] c" -i Image (binary) mode transfer\0A\00", align 1
@.str.11 = private unnamed_addr constant [29 x i8] c" -T Text mode transfer\0A\00", align 1
@.str.12 = private unnamed_addr constant [44 x i8] c" -P Path/filename conversion disabled\0A\00", align 1
@.str.13 = private unnamed_addr constant [51 x i8] c" -w Write over existing files with same name\0A\00", align 1
@.str.14 = private unnamed_addr constant [43 x i8] c" -K Keep incompletely received files\0A\00", align 1
@.str.15 = private unnamed_addr constant [57 x i8] c" -p x Parity: x = o[dd],e[ven],m[ark],s[pace],n[one]\0A\00", align 1
@.str.16 = private unnamed_addr constant [40 x i8] c" -e n Receive packet-length (40-%d)\0A\00", align 1
@.str.17 = private unnamed_addr constant [34 x i8] c" -b n Timeout (sec, 0 = none)\0A\00", align 1
@.str.18 = private unnamed_addr constant [54 x i8] c" -x Force Xon/Xoff (--x = Don't force Xon/Xoff)\0A\00", align 1
@.str.19 = private unnamed_addr constant [28 x i8] c" -S Disable streaming\0A\00", align 1
@.str.20 = private unnamed_addr constant [28 x i8] c" -X External protocol\0A\00", align 1
@.str.21 = private unnamed_addr constant [36 x i8] c" -q Quiet (suppress messages)\0A\00", align 1
@.str.22 = private unnamed_addr constant [51 x i8] c" -d [fn] Debug to ./debug.log [or specified file]\0A\00", align 1
@.str.23 = private unnamed_addr constant [30 x i8] c" -h Help (this message)\0A\00", align 1
@.str.24 = private unnamed_addr constant [19 x i8] c"More info: %s <%s>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load ptr, ptr @versio, align 8
%2 = icmp ne ptr %1, null
br i1 %2, label %4, label %3
3: ; preds = %0
store ptr @.str, ptr @versio, align 8
br label %4
4: ; preds = %3, %0
%5 = load ptr, ptr @versio, align 8
%6 = load i8, ptr %5, align 1
%7 = icmp ne i8 %6, 0
br i1 %7, label %9, label %8
8: ; preds = %4
store ptr @.str.1, ptr @versio, align 8
br label %9
9: ; preds = %8, %4
%10 = load ptr, ptr @build, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %13, label %12
12: ; preds = %9
store ptr @.str.2, ptr @build, align 8
br label %13
13: ; preds = %12, %9
%14 = load ptr, ptr @url, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %17, label %16
16: ; preds = %13
store ptr @.str, ptr @url, align 8
br label %17
17: ; preds = %16, %13
%18 = load ptr, ptr @email, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %21, label %20
20: ; preds = %17
store ptr @.str, ptr @email, align 8
br label %21
21: ; preds = %20, %17
%22 = load i32, ptr @stderr, align 4
%23 = load ptr, ptr @versio, align 8
%24 = load ptr, ptr @build, align 8
%25 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.3, ptr noundef %23, ptr noundef %24)
%26 = load i32, ptr @stderr, align 4
%27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.4)
%28 = load i32, ptr @stderr, align 4
%29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef @.str.5)
%30 = load i32, ptr @stderr, align 4
%31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %30, ptr noundef @.str.6)
%32 = load i32, ptr @stderr, align 4
%33 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %32, ptr noundef @.str.7)
%34 = load i32, ptr @stderr, align 4
%35 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %34, ptr noundef @.str.8)
%36 = load i32, ptr @stderr, align 4
%37 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %36, ptr noundef @.str.9)
%38 = load i32, ptr @stderr, align 4
%39 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %38, ptr noundef @.str.10)
%40 = load i32, ptr @stderr, align 4
%41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %40, ptr noundef @.str.11)
%42 = load i32, ptr @stderr, align 4
%43 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %42, ptr noundef @.str.12)
%44 = load i32, ptr @stderr, align 4
%45 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %44, ptr noundef @.str.13)
%46 = load i32, ptr @stderr, align 4
%47 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %46, ptr noundef @.str.14)
%48 = load i32, ptr @stderr, align 4
%49 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %48, ptr noundef @.str.15)
%50 = load i32, ptr @stderr, align 4
%51 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %50, ptr noundef @.str.16, i32 noundef 9000)
%52 = load i32, ptr @stderr, align 4
%53 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %52, ptr noundef @.str.17)
%54 = load i32, ptr @stderr, align 4
%55 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %54, ptr noundef @.str.18)
%56 = load i32, ptr @stderr, align 4
%57 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %56, ptr noundef @.str.19)
%58 = load i32, ptr @stderr, align 4
%59 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %58, ptr noundef @.str.20)
%60 = load i32, ptr @stderr, align 4
%61 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %60, ptr noundef @.str.21)
%62 = load i32, ptr @stderr, align 4
%63 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %62, ptr noundef @.str.22)
%64 = load i32, ptr @stderr, align 4
%65 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %64, ptr noundef @.str.23)
%66 = load ptr, ptr @url, align 8
%67 = load i8, ptr %66, align 1
%68 = sext i8 %67 to i32
%69 = icmp ne i32 %68, 0
br i1 %69, label %75, label %70
70: ; preds = %21
%71 = load ptr, ptr @email, align 8
%72 = load i8, ptr %71, align 1
%73 = sext i8 %72 to i32
%74 = icmp ne i32 %73, 0
br i1 %74, label %75, label %80
75: ; preds = %70, %21
%76 = load i32, ptr @stderr, align 4
%77 = load ptr, ptr @url, align 8
%78 = load ptr, ptr @email, align 8
%79 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %76, ptr noundef @.str.24, ptr noundef %77, ptr noundef %78)
br label %80
80: ; preds = %75, %70
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0irt3_xs.c'
source_filename = "/tmp/tmp0irt3_xs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@STDOUT_FILENO = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printbufs(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load i32, ptr @stdout, align 4
%7 = call i32 @fflush(i32 noundef %6)
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %21, %2
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %9, 512
br i1 %10, label %11, label %24
11: ; preds = %8
%12 = load i32, ptr @STDOUT_FILENO, align 4
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds ptr, ptr %13, i64 %15
%17 = load ptr, ptr %16, align 8
%18 = load i32, ptr %4, align 4
%19 = call i32 @write(i32 noundef %12, ptr noundef %17, i32 noundef %18)
%20 = call i32 @printf(ptr noundef @.str)
br label %21
21: ; preds = %11
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %8, !llvm.loop !6
24: ; preds = %8
%25 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @fflush(i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0irt3_xs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@STDOUT_FILENO = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printbufs(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load i32, ptr @stdout, align 4
%7 = call i32 @fflush(i32 noundef %6)
store i32 0, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %8, 512
br i1 %9, label %.lr.ph, label %25
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %20
%11 = load i32, ptr @STDOUT_FILENO, align 4
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds ptr, ptr %12, i64 %14
%16 = load ptr, ptr %15, align 8
%17 = load i32, ptr %4, align 4
%18 = call i32 @write(i32 noundef %11, ptr noundef %16, i32 noundef %17)
%19 = call i32 @printf(ptr noundef @.str)
br label %20
20: ; preds = %10
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = icmp slt i32 %23, 512
br i1 %24, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %25
25: ; preds = %._crit_edge, %2
%26 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @fflush(i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5me9i1pp.c'
source_filename = "/tmp/tmp5me9i1pp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_int16_t_div(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, ptr noalias noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
store i32 0, ptr %11, align 4
br label %12
12: ; preds = %47, %5
%13 = load i32, ptr %11, align 4
%14 = load i32, ptr %10, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %50
16: ; preds = %12
%17 = load ptr, ptr %9, align 8
%18 = load i32, ptr %11, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %17, i64 %19
%21 = load i32, ptr %20, align 4
%22 = icmp ne i32 %21, 1
br i1 %22, label %23, label %35
23: ; preds = %16
%24 = load ptr, ptr %7, align 8
%25 = load i32, ptr %11, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
%28 = load i32, ptr %27, align 4
%29 = load ptr, ptr %8, align 8
%30 = load i32, ptr %11, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %29, i64 %31
%33 = load i32, ptr %32, align 4
%34 = sdiv i32 %28, %33
br label %41
35: ; preds = %16
%36 = load ptr, ptr %7, align 8
%37 = load i32, ptr %11, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%40 = load i32, ptr %39, align 4
br label %41
41: ; preds = %35, %23
%42 = phi i32 [ %34, %23 ], [ %40, %35 ]
%43 = load ptr, ptr %6, align 8
%44 = load i32, ptr %11, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %43, i64 %45
store i32 %42, ptr %46, align 4
br label %47
47: ; preds = %41
%48 = load i32, ptr %11, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %11, align 4
br label %12, !llvm.loop !6
50: ; preds = %12
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/tmp5me9i1pp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_int16_t_div(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, ptr noalias noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
store i32 0, ptr %11, align 4
%12 = load i32, ptr %11, align 4
%13 = load i32, ptr %10, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %52
.lr.ph: ; preds = %5
br label %15
15: ; preds = %.lr.ph, %46
%16 = load ptr, ptr %9, align 8
%17 = load i32, ptr %11, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
%20 = load i32, ptr %19, align 4
%21 = icmp ne i32 %20, 1
br i1 %21, label %22, label %34
22: ; preds = %15
%23 = load ptr, ptr %7, align 8
%24 = load i32, ptr %11, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load ptr, ptr %8, align 8
%29 = load i32, ptr %11, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
%32 = load i32, ptr %31, align 4
%33 = sdiv i32 %27, %32
br label %40
34: ; preds = %15
%35 = load ptr, ptr %7, align 8
%36 = load i32, ptr %11, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
%39 = load i32, ptr %38, align 4
br label %40
40: ; preds = %34, %22
%41 = phi i32 [ %33, %22 ], [ %39, %34 ]
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %11, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
store i32 %41, ptr %45, align 4
br label %46
46: ; preds = %40
%47 = load i32, ptr %11, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %11, align 4
%49 = load i32, ptr %11, align 4
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %46
br label %52
52: ; preds = %._crit_edge, %5
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/tmpnydua5g_.c'
source_filename = "/tmp/tmpnydua5g_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @date_get_current_yyyy_mm_dd(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 ptr @date_get_now_date_yyyy_mm_dd(i32 noundef %3)
ret ptr %4
}
declare ptr @date_get_now_date_yyyy_mm_dd(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/tmpnydua5g_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @date_get_current_yyyy_mm_dd(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 ptr @date_get_now_date_yyyy_mm_dd(i32 noundef %3)
ret ptr %4
}
declare ptr @date_get_now_date_yyyy_mm_dd(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/tmppvfeybmh.c'
source_filename = "/tmp/tmppvfeybmh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @display_loading() #0 {
%1 = alloca i32, align 4
store i32 1, ptr %1, align 4
br label %2
2: ; preds = %0, %11
%3 = call i32 @ledctl(i32 noundef 1)
%4 = call i32 @sleep(i32 noundef 300)
%5 = load i32, ptr %1, align 4
%6 = icmp eq i32 %5, 7
br i1 %6, label %7, label %8
7: ; preds = %2
br label %11
8: ; preds = %2
%9 = load i32, ptr %1, align 4
%10 = shl i32 %9, 1
br label %11
11: ; preds = %8, %7
%12 = phi i32 [ 1, %7 ], [ %10, %8 ]
store i32 %12, ptr %1, align 4
br label %2
}
declare i32 @ledctl(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppvfeybmh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @display_loading() #0 {
%1 = alloca i32, align 4
store i32 1, ptr %1, align 4
br label %2
2: ; preds = %11, %0
%3 = call i32 @ledctl(i32 noundef 1)
%4 = call i32 @sleep(i32 noundef 300)
%5 = load i32, ptr %1, align 4
%6 = icmp eq i32 %5, 7
br i1 %6, label %7, label %8
7: ; preds = %2
br label %11
8: ; preds = %2
%9 = load i32, ptr %1, align 4
%10 = shl i32 %9, 1
br label %11
11: ; preds = %8, %7
%12 = phi i32 [ 1, %7 ], [ %10, %8 ]
store i32 %12, ptr %1, align 4
br label %2
}
declare i32 @ledctl(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"}
|
; ModuleID = '/tmp/tmpkaggmb3o.c'
source_filename = "/tmp/tmpkaggmb3o.c"
target datalayout = "e-m:e-p270: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/tmpkaggmb3o.c"
target datalayout = "e-m:e-p270: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/tmp8m0z3bu9.c'
source_filename = "/tmp/tmp8m0z3bu9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"ERROR: malloc failed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @my_strncpy(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = sext i32 %10 to i64
%12 = mul i64 %11, 1
%13 = trunc i64 %12 to i32
%14 = call i64 @malloc(i32 noundef %13)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %8, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %3
%18 = call i32 @my_puts(ptr noundef @.str)
store ptr null, ptr %4, align 8
br label %53
19: ; preds = %3
store i32 0, ptr %9, align 4
br label %20
20: ; preds = %45, %19
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %7, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %48
24: ; preds = %20
%25 = load i32, ptr %9, align 4
%26 = load ptr, ptr %6, align 8
%27 = call i32 @my_strlen(ptr noundef %26)
%28 = icmp slt i32 %25, %27
br i1 %28, label %29, label %39
29: ; preds = %24
%30 = load ptr, ptr %6, align 8
%31 = load i32, ptr %9, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = load ptr, ptr %8, align 8
%36 = load i32, ptr %9, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
store i8 %34, ptr %38, align 1
br label %44
39: ; preds = %24
%40 = load ptr, ptr %8, align 8
%41 = load i32, ptr %9, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
store i8 0, ptr %43, align 1
br label %44
44: ; preds = %39, %29
br label %45
45: ; preds = %44
%46 = load i32, ptr %9, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %9, align 4
br label %20, !llvm.loop !6
48: ; preds = %20
%49 = load ptr, ptr %8, align 8
store ptr %49, ptr %5, align 8
%50 = load ptr, ptr %8, align 8
%51 = call i32 @free(ptr noundef %50)
%52 = load ptr, ptr %5, align 8
store ptr %52, ptr %4, align 8
br label %53
53: ; preds = %48, %17
%54 = load ptr, ptr %4, align 8
ret ptr %54
}
declare i64 @malloc(i32 noundef) #1
declare i32 @my_puts(ptr noundef) #1
declare i32 @my_strlen(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8m0z3bu9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"ERROR: malloc failed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @my_strncpy(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = sext i32 %10 to i64
%12 = mul i64 %11, 1
%13 = trunc i64 %12 to i32
%14 = call i64 @malloc(i32 noundef %13)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %8, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %3
%18 = call i32 @my_puts(ptr noundef @.str)
store ptr null, ptr %4, align 8
br label %55
19: ; preds = %3
store i32 0, ptr %9, align 4
%20 = load i32, ptr %9, align 4
%21 = load i32, ptr %7, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %.lr.ph, label %50
.lr.ph: ; preds = %19
br label %23
23: ; preds = %.lr.ph, %44
%24 = load i32, ptr %9, align 4
%25 = load ptr, ptr %6, align 8
%26 = call i32 @my_strlen(ptr noundef %25)
%27 = icmp slt i32 %24, %26
br i1 %27, label %28, label %38
28: ; preds = %23
%29 = load ptr, ptr %6, align 8
%30 = load i32, ptr %9, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = load i8, ptr %32, align 1
%34 = load ptr, ptr %8, align 8
%35 = load i32, ptr %9, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
store i8 %33, ptr %37, align 1
br label %43
38: ; preds = %23
%39 = load ptr, ptr %8, align 8
%40 = load i32, ptr %9, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
store i8 0, ptr %42, align 1
br label %43
43: ; preds = %38, %28
br label %44
44: ; preds = %43
%45 = load i32, ptr %9, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %9, align 4
%47 = load i32, ptr %9, align 4
%48 = load i32, ptr %7, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %50
50: ; preds = %._crit_edge, %19
%51 = load ptr, ptr %8, align 8
store ptr %51, ptr %5, align 8
%52 = load ptr, ptr %8, align 8
%53 = call i32 @free(ptr noundef %52)
%54 = load ptr, ptr %5, align 8
store ptr %54, ptr %4, align 8
br label %55
55: ; preds = %50, %17
%56 = load ptr, ptr %4, align 8
ret ptr %56
}
declare i64 @malloc(i32 noundef) #1
declare i32 @my_puts(ptr noundef) #1
declare i32 @my_strlen(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp6nf_5g98.c'
source_filename = "/tmp/tmp6nf_5g98.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_strcmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %12, label %9
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %13
12: ; preds = %9, %2
store i32 1, ptr %3, align 4
br label %49
13: ; preds = %9
br label %14
14: ; preds = %47, %13
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %6, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %20, %26
br i1 %27, label %28, label %48
28: ; preds = %14
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %6, align 4
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %6, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 0
br i1 %37, label %46, label %38
38: ; preds = %28
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %6, 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, 0
br i1 %45, label %46, label %47
46: ; preds = %38, %28
store i32 0, ptr %3, align 4
br label %49
47: ; preds = %38
br label %14, !llvm.loop !6
48: ; preds = %14
store i32 1, ptr %3, align 4
br label %49
49: ; preds = %48, %46, %12
%50 = load i32, ptr %3, align 4
ret i32 %50
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6nf_5g98.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_strcmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %12, label %9
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %13
12: ; preds = %9, %2
store i32 1, ptr %3, align 4
br label %61
13: ; preds = %9
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %6, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %19, %25
br i1 %26, label %.lr.ph, label %60
.lr.ph: ; preds = %13
br label %41
27: ; preds = %51
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %6, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = load ptr, ptr %5, align 8
%35 = load i32, ptr %6, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp eq i32 %33, %39
br i1 %40, label %41, label %._crit_edge, !llvm.loop !6
41: ; preds = %.lr.ph, %27
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %6, align 4
%44 = load ptr, ptr %4, align 8
%45 = load i32, ptr %6, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp eq i32 %49, 0
br i1 %50, label %59, label %51
51: ; preds = %41
%52 = load ptr, ptr %5, align 8
%53 = load i32, ptr %6, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %57, 0
br i1 %58, label %59, label %27
59: ; preds = %51, %41
store i32 0, ptr %3, align 4
br label %61
._crit_edge: ; preds = %27
br label %60
60: ; preds = %._crit_edge, %13
store i32 1, ptr %3, align 4
br label %61
61: ; preds = %60, %59, %12
%62 = load i32, ptr %3, align 4
ret i32 %62
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp5f689mrl.c'
source_filename = "/tmp/tmp5f689mrl.c"
target datalayout = "e-m:e-p270: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.to_hash = private unnamed_addr constant [4 x i8] c"ppp\00", align 1
@.str = private unnamed_addr constant [13 x i8] c"%x %x %x %x\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"MD5 hash of the above:\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%x \00", align 1
@.str.3 = 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 [4 x i8], align 1
%3 = alloca ptr, align 8
%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.to_hash, i64 4, i1 false)
%5 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 0
%6 = load i8, ptr %5, align 1
%7 = zext i8 %6 to i32
%8 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 1
%9 = load i8, ptr %8, align 1
%10 = zext i8 %9 to i32
%11 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 2
%12 = load i8, ptr %11, align 1
%13 = zext i8 %12 to i32
%14 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 3
%15 = load i8, ptr %14, align 1
%16 = zext i8 %15 to i32
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %10, i32 noundef %13, i32 noundef %16)
%18 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 0
%19 = call ptr @MD5(ptr noundef %18, i32 noundef 4, ptr noundef null)
store ptr %19, ptr %3, align 8
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %4, align 4
br label %21
21: ; preds = %32, %0
%22 = load i32, ptr %4, align 4
%23 = icmp slt i32 %22, 16
br i1 %23, label %24, label %35
24: ; preds = %21
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %4, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %28, align 1
%30 = zext i8 %29 to i32
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %30)
br label %32
32: ; preds = %24
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %4, align 4
br label %21, !llvm.loop !6
35: ; preds = %21
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
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, ...) #2
declare ptr @MD5(ptr noundef, i32 noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5f689mrl.c"
target datalayout = "e-m:e-p270: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.to_hash = private unnamed_addr constant [4 x i8] c"ppp\00", align 1
@.str = private unnamed_addr constant [13 x i8] c"%x %x %x %x\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"MD5 hash of the above:\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%x \00", align 1
@.str.3 = 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 [4 x i8], align 1
%3 = alloca ptr, align 8
%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.to_hash, i64 4, i1 false)
%5 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 0
%6 = load i8, ptr %5, align 1
%7 = zext i8 %6 to i32
%8 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 1
%9 = load i8, ptr %8, align 1
%10 = zext i8 %9 to i32
%11 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 2
%12 = load i8, ptr %11, align 1
%13 = zext i8 %12 to i32
%14 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 3
%15 = load i8, ptr %14, align 1
%16 = zext i8 %15 to i32
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %10, i32 noundef %13, i32 noundef %16)
%18 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 0
%19 = call ptr @MD5(ptr noundef %18, i32 noundef 4, ptr noundef null)
store ptr %19, ptr %3, align 8
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %4, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp slt i32 %21, 16
br i1 %22, label %.lr.ph, label %36
.lr.ph: ; preds = %0
br label %23
23: ; preds = %.lr.ph, %31
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %4, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = zext i8 %28 to i32
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %29)
br label %31
31: ; preds = %23
%32 = load i32, ptr %4, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %4, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp slt i32 %34, 16
br i1 %35, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %36
36: ; preds = %._crit_edge, %0
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
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, ...) #2
declare ptr @MD5(ptr noundef, i32 noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpus8a3gsj.c'
source_filename = "/tmp/tmpus8a3gsj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rightWall() #0 {
%1 = call i32 (...) @glPushMatrix()
%2 = call i32 @glColor3f(double noundef 1.000000e+00, double noundef 0x3FE6666666666666, double noundef 0.000000e+00)
%3 = call i32 @glTranslatef(double noundef 1.000000e+00, double noundef 5.000000e-01, double noundef -4.000000e-01)
%4 = call i32 @glRotatef(i32 noundef 50, double noundef 0.000000e+00, double noundef 1.000000e+00, double noundef 0.000000e+00)
%5 = call i32 @glutSolidCube(double noundef 1.000000e+00)
%6 = call i32 (...) @glPopMatrix()
%7 = call i32 (...) @glPushMatrix()
%8 = call i32 @glColor3f(double noundef 1.000000e+00, double noundef 0x3FE6666666666666, double noundef 0.000000e+00)
%9 = call i32 @glTranslatef(double noundef 4.000000e-01, double noundef 5.000000e-01, double noundef 3.200000e-01)
%10 = call i32 @glRotatef(i32 noundef 50, double noundef 0.000000e+00, double noundef 1.000000e+00, double noundef 0.000000e+00)
%11 = call i32 @glutSolidCube(double noundef 1.000000e+00)
%12 = call i32 (...) @glPopMatrix()
ret void
}
declare i32 @glPushMatrix(...) #1
declare i32 @glColor3f(double noundef, double noundef, double noundef) #1
declare i32 @glTranslatef(double noundef, double noundef, double noundef) #1
declare i32 @glRotatef(i32 noundef, double noundef, double noundef, double noundef) #1
declare i32 @glutSolidCube(double noundef) #1
declare i32 @glPopMatrix(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpus8a3gsj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rightWall() #0 {
%1 = call i32 (...) @glPushMatrix()
%2 = call i32 @glColor3f(double noundef 1.000000e+00, double noundef 0x3FE6666666666666, double noundef 0.000000e+00)
%3 = call i32 @glTranslatef(double noundef 1.000000e+00, double noundef 5.000000e-01, double noundef -4.000000e-01)
%4 = call i32 @glRotatef(i32 noundef 50, double noundef 0.000000e+00, double noundef 1.000000e+00, double noundef 0.000000e+00)
%5 = call i32 @glutSolidCube(double noundef 1.000000e+00)
%6 = call i32 (...) @glPopMatrix()
%7 = call i32 (...) @glPushMatrix()
%8 = call i32 @glColor3f(double noundef 1.000000e+00, double noundef 0x3FE6666666666666, double noundef 0.000000e+00)
%9 = call i32 @glTranslatef(double noundef 4.000000e-01, double noundef 5.000000e-01, double noundef 3.200000e-01)
%10 = call i32 @glRotatef(i32 noundef 50, double noundef 0.000000e+00, double noundef 1.000000e+00, double noundef 0.000000e+00)
%11 = call i32 @glutSolidCube(double noundef 1.000000e+00)
%12 = call i32 (...) @glPopMatrix()
ret void
}
declare i32 @glPushMatrix(...) #1
declare i32 @glColor3f(double noundef, double noundef, double noundef) #1
declare i32 @glTranslatef(double noundef, double noundef, double noundef) #1
declare i32 @glRotatef(i32 noundef, double noundef, double noundef, double noundef) #1
declare i32 @glutSolidCube(double noundef) #1
declare i32 @glPopMatrix(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_q96zcv1.c'
source_filename = "/tmp/tmp_q96zcv1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"packet data: \0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%02X \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_packet(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %25, %2
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %8, 133
br i1 %9, label %10, label %28
10: ; preds = %7
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = zext i8 %15 to i32
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16)
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
%20 = srem i32 %19, 16
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %10
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %24
24: ; preds = %22, %10
br label %25
25: ; preds = %24
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %5, align 4
br label %7, !llvm.loop !6
28: ; preds = %7
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_q96zcv1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"packet data: \0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%02X \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_packet(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp slt i32 %7, 133
br i1 %8, label %.lr.ph, label %29
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %24
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = load i8, ptr %13, align 1
%15 = zext i8 %14 to i32
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15)
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, 1
%19 = srem i32 %18, 16
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %9
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %23
23: ; preds = %21, %9
br label %24
24: ; preds = %23
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %5, align 4
%27 = load i32, ptr %5, align 4
%28 = icmp slt i32 %27, 133
br i1 %28, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %29
29: ; preds = %._crit_edge, %2
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5mpxvjxv.c'
source_filename = "/tmp/tmp5mpxvjxv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @Nuclear_3S(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = load double, ptr %3, align 8
%7 = fdiv double 1.000000e+00, %6
%8 = load double, ptr %3, align 8
%9 = fmul double 7.500000e+01, %8
%10 = load double, ptr %4, align 8
%11 = call double @llvm.fmuladd.f64(double %9, double %10, double 4.500000e+01)
%12 = load double, ptr %3, align 8
%13 = call i32 @pow(double noundef %12, double noundef 2.000000e+00)
%14 = sitofp i32 %13 to double
%15 = fmul double 6.000000e+01, %14
%16 = load double, ptr %4, align 8
%17 = call i32 @pow(double noundef %16, double noundef 2.000000e+00)
%18 = sitofp i32 %17 to double
%19 = call double @llvm.fmuladd.f64(double %15, double %18, double %11)
%20 = load double, ptr %3, align 8
%21 = call i32 @pow(double noundef %20, double noundef 3.000000e+00)
%22 = sitofp i32 %21 to double
%23 = fmul double 3.000000e+01, %22
%24 = load double, ptr %4, align 8
%25 = call i32 @pow(double noundef %24, double noundef 3.000000e+00)
%26 = sitofp i32 %25 to double
%27 = call double @llvm.fmuladd.f64(double %23, double %26, double %19)
%28 = load double, ptr %3, align 8
%29 = call i32 @pow(double noundef %28, double noundef 4.000000e+00)
%30 = sitofp i32 %29 to double
%31 = fmul double 1.000000e+01, %30
%32 = load double, ptr %4, align 8
%33 = call i32 @pow(double noundef %32, double noundef 4.000000e+00)
%34 = sitofp i32 %33 to double
%35 = call double @llvm.fmuladd.f64(double %31, double %34, double %27)
%36 = load double, ptr %3, align 8
%37 = call i32 @pow(double noundef %36, double noundef 5.000000e+00)
%38 = sitofp i32 %37 to double
%39 = fmul double 2.000000e+00, %38
%40 = load double, ptr %4, align 8
%41 = call i32 @pow(double noundef %40, double noundef 5.000000e+00)
%42 = sitofp i32 %41 to double
%43 = call double @llvm.fmuladd.f64(double %39, double %42, double %35)
%44 = load double, ptr %3, align 8
%45 = fmul double 2.000000e+00, %44
%46 = load double, ptr %4, align 8
%47 = fmul double %45, %46
%48 = call i32 @pow(double noundef 0x4005BF0A8B145769, double noundef %47)
%49 = sitofp i32 %48 to double
%50 = fmul double 4.500000e+01, %49
%51 = load double, ptr %3, align 8
%52 = fmul double %50, %51
%53 = fdiv double %43, %52
%54 = fsub double %7, %53
store double %54, ptr %5, align 8
%55 = load double, ptr %5, align 8
ret double %55
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare i32 @pow(double noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5mpxvjxv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @Nuclear_3S(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = load double, ptr %3, align 8
%7 = fdiv double 1.000000e+00, %6
%8 = load double, ptr %3, align 8
%9 = fmul double 7.500000e+01, %8
%10 = load double, ptr %4, align 8
%11 = call double @llvm.fmuladd.f64(double %9, double %10, double 4.500000e+01)
%12 = load double, ptr %3, align 8
%13 = call i32 @pow(double noundef %12, double noundef 2.000000e+00)
%14 = sitofp i32 %13 to double
%15 = fmul double 6.000000e+01, %14
%16 = load double, ptr %4, align 8
%17 = call i32 @pow(double noundef %16, double noundef 2.000000e+00)
%18 = sitofp i32 %17 to double
%19 = call double @llvm.fmuladd.f64(double %15, double %18, double %11)
%20 = load double, ptr %3, align 8
%21 = call i32 @pow(double noundef %20, double noundef 3.000000e+00)
%22 = sitofp i32 %21 to double
%23 = fmul double 3.000000e+01, %22
%24 = load double, ptr %4, align 8
%25 = call i32 @pow(double noundef %24, double noundef 3.000000e+00)
%26 = sitofp i32 %25 to double
%27 = call double @llvm.fmuladd.f64(double %23, double %26, double %19)
%28 = load double, ptr %3, align 8
%29 = call i32 @pow(double noundef %28, double noundef 4.000000e+00)
%30 = sitofp i32 %29 to double
%31 = fmul double 1.000000e+01, %30
%32 = load double, ptr %4, align 8
%33 = call i32 @pow(double noundef %32, double noundef 4.000000e+00)
%34 = sitofp i32 %33 to double
%35 = call double @llvm.fmuladd.f64(double %31, double %34, double %27)
%36 = load double, ptr %3, align 8
%37 = call i32 @pow(double noundef %36, double noundef 5.000000e+00)
%38 = sitofp i32 %37 to double
%39 = fmul double 2.000000e+00, %38
%40 = load double, ptr %4, align 8
%41 = call i32 @pow(double noundef %40, double noundef 5.000000e+00)
%42 = sitofp i32 %41 to double
%43 = call double @llvm.fmuladd.f64(double %39, double %42, double %35)
%44 = load double, ptr %3, align 8
%45 = fmul double 2.000000e+00, %44
%46 = load double, ptr %4, align 8
%47 = fmul double %45, %46
%48 = call i32 @pow(double noundef 0x4005BF0A8B145769, double noundef %47)
%49 = sitofp i32 %48 to double
%50 = fmul double 4.500000e+01, %49
%51 = load double, ptr %3, align 8
%52 = fmul double %50, %51
%53 = fdiv double %43, %52
%54 = fsub double %7, %53
store double %54, ptr %5, align 8
%55 = load double, ptr %5, align 8
ret double %55
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare i32 @pow(double noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxlfqoy0r.c'
source_filename = "/tmp/tmpxlfqoy0r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\\\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @genMSG_in(ptr 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 ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%9 = load ptr, ptr %7, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = icmp sgt i32 %11, 1023
br i1 %12, label %13, label %14
13: ; preds = %3
store i32 -1, ptr %4, align 4
br label %21
14: ; preds = %3
%15 = load ptr, ptr %5, align 8
%16 = load ptr, ptr %7, align 8
%17 = call i32 @sprintf(ptr noundef %15, ptr noundef @.str, ptr noundef %16)
%18 = load i32, ptr %8, align 4
%19 = add nsw i32 %18, 1
%20 = load ptr, ptr %6, align 8
store i32 %19, ptr %20, align 4
store i32 0, ptr %4, align 4
br label %21
21: ; preds = %14, %13
%22 = load i32, ptr %4, align 4
ret i32 %22
}
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/tmpxlfqoy0r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\\\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @genMSG_in(ptr 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 ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%9 = load ptr, ptr %7, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = icmp sgt i32 %11, 1023
br i1 %12, label %13, label %14
13: ; preds = %3
store i32 -1, ptr %4, align 4
br label %21
14: ; preds = %3
%15 = load ptr, ptr %5, align 8
%16 = load ptr, ptr %7, align 8
%17 = call i32 @sprintf(ptr noundef %15, ptr noundef @.str, ptr noundef %16)
%18 = load i32, ptr %8, align 4
%19 = add nsw i32 %18, 1
%20 = load ptr, ptr %6, align 8
store i32 %19, ptr %20, align 4
store i32 0, ptr %4, align 4
br label %21
21: ; preds = %14, %13
%22 = load i32, ptr %4, align 4
ret i32 %22
}
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/tmpj2ih84jk.c'
source_filename = "/tmp/tmpj2ih84jk.c"
target datalayout = "e-m:e-p270: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_8__ = type { i64 }
%struct.TYPE_7__ = type { i32 }
@XDR_FREE = dso_local global i32 0, align 4
@XDR_DECODE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @byz_freeargs(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load i32, ptr @XDR_FREE, align 4
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds %struct.TYPE_8__, ptr %9, i32 0, i32 0
%11 = load i64, ptr %10, align 8
%12 = inttoptr i64 %11 to ptr
%13 = getelementptr inbounds %struct.TYPE_7__, ptr %12, i32 0, i32 0
store i32 %8, ptr %13, align 4
%14 = load ptr, ptr %5, align 8
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds %struct.TYPE_8__, ptr %15, i32 0, i32 0
%17 = load i64, ptr %16, align 8
%18 = inttoptr i64 %17 to ptr
%19 = load i64, ptr %6, align 8
%20 = inttoptr i64 %19 to ptr
%21 = call i32 %14(ptr noundef %18, ptr noundef %20)
store i32 %21, ptr %7, align 4
%22 = load i32, ptr @XDR_DECODE, align 4
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds %struct.TYPE_8__, ptr %23, i32 0, i32 0
%25 = load i64, ptr %24, align 8
%26 = inttoptr i64 %25 to ptr
%27 = getelementptr inbounds %struct.TYPE_7__, ptr %26, i32 0, i32 0
store i32 %22, ptr %27, align 4
%28 = load i32, ptr %7, align 4
ret i32 %28
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj2ih84jk.c"
target datalayout = "e-m:e-p270: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_8__ = type { i64 }
%struct.TYPE_7__ = type { i32 }
@XDR_FREE = dso_local global i32 0, align 4
@XDR_DECODE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @byz_freeargs(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load i32, ptr @XDR_FREE, align 4
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds %struct.TYPE_8__, ptr %9, i32 0, i32 0
%11 = load i64, ptr %10, align 8
%12 = inttoptr i64 %11 to ptr
%13 = getelementptr inbounds %struct.TYPE_7__, ptr %12, i32 0, i32 0
store i32 %8, ptr %13, align 4
%14 = load ptr, ptr %5, align 8
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds %struct.TYPE_8__, ptr %15, i32 0, i32 0
%17 = load i64, ptr %16, align 8
%18 = inttoptr i64 %17 to ptr
%19 = load i64, ptr %6, align 8
%20 = inttoptr i64 %19 to ptr
%21 = call i32 %14(ptr noundef %18, ptr noundef %20)
store i32 %21, ptr %7, align 4
%22 = load i32, ptr @XDR_DECODE, align 4
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds %struct.TYPE_8__, ptr %23, i32 0, i32 0
%25 = load i64, ptr %24, align 8
%26 = inttoptr i64 %25 to ptr
%27 = getelementptr inbounds %struct.TYPE_7__, ptr %26, i32 0, i32 0
store i32 %22, ptr %27, align 4
%28 = load i32, ptr %7, align 4
ret i32 %28
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd0mxjtkd.c'
source_filename = "/tmp/tmpd0mxjtkd.c"
target datalayout = "e-m:e-p270: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/tmpd0mxjtkd.c"
target datalayout = "e-m:e-p270: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/tmprelwos2d.c'
source_filename = "/tmp/tmprelwos2d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @need_malloc() #0 {
%1 = call ptr @malloc(i32 noundef 1)
ret ptr %1
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprelwos2d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @need_malloc() #0 {
%1 = call ptr @malloc(i32 noundef 1)
ret ptr %1
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq1ngc_3d.c'
source_filename = "/tmp/tmpq1ngc_3d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"\09Uso de Operadores L\C3\B3gicos\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"Introduce el primer valor: \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"Introduce el segundo valor: \00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"a && b = %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"!(a && b) = %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"a || b = %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [16 x i8] c"!(a || b) = %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [19 x i8] c"\0AFin del Programa\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
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%6 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%8 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3)
%9 = load i32, ptr %2, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %0
%12 = load i32, ptr %3, align 4
%13 = icmp ne i32 %12, 0
br label %14
14: ; preds = %11, %0
%15 = phi i1 [ false, %0 ], [ %13, %11 ]
%16 = zext i1 %15 to i32
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %16)
%18 = load i32, ptr %2, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %14
%21 = load i32, ptr %3, align 4
%22 = icmp ne i32 %21, 0
br label %23
23: ; preds = %20, %14
%24 = phi i1 [ false, %14 ], [ %22, %20 ]
%25 = xor i1 %24, true
%26 = zext i1 %25 to i32
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %26)
%28 = load i32, ptr %2, align 4
%29 = icmp ne i32 %28, 0
br i1 %29, label %33, label %30
30: ; preds = %23
%31 = load i32, ptr %3, align 4
%32 = icmp ne i32 %31, 0
br label %33
33: ; preds = %30, %23
%34 = phi i1 [ true, %23 ], [ %32, %30 ]
%35 = zext i1 %34 to i32
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %35)
%37 = load i32, ptr %2, align 4
%38 = icmp ne i32 %37, 0
br i1 %38, label %42, label %39
39: ; preds = %33
%40 = load i32, ptr %3, align 4
%41 = icmp ne i32 %40, 0
br label %42
42: ; preds = %39, %33
%43 = phi i1 [ true, %33 ], [ %41, %39 ]
%44 = xor i1 %43, true
%45 = zext i1 %44 to i32
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %45)
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq1ngc_3d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"\09Uso de Operadores L\C3\B3gicos\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"Introduce el primer valor: \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"Introduce el segundo valor: \00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"a && b = %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"!(a && b) = %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"a || b = %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [16 x i8] c"!(a || b) = %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [19 x i8] c"\0AFin del Programa\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
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%6 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%8 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3)
%9 = load i32, ptr %2, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %0
%12 = load i32, ptr %3, align 4
%13 = icmp ne i32 %12, 0
br label %14
14: ; preds = %11, %0
%15 = phi i1 [ false, %0 ], [ %13, %11 ]
%16 = zext i1 %15 to i32
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %16)
%18 = load i32, ptr %2, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %14
%21 = load i32, ptr %3, align 4
%22 = icmp ne i32 %21, 0
br label %23
23: ; preds = %20, %14
%24 = phi i1 [ false, %14 ], [ %22, %20 ]
%25 = xor i1 %24, true
%26 = zext i1 %25 to i32
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %26)
%28 = load i32, ptr %2, align 4
%29 = icmp ne i32 %28, 0
br i1 %29, label %33, label %30
30: ; preds = %23
%31 = load i32, ptr %3, align 4
%32 = icmp ne i32 %31, 0
br label %33
33: ; preds = %30, %23
%34 = phi i1 [ true, %23 ], [ %32, %30 ]
%35 = zext i1 %34 to i32
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %35)
%37 = load i32, ptr %2, align 4
%38 = icmp ne i32 %37, 0
br i1 %38, label %42, label %39
39: ; preds = %33
%40 = load i32, ptr %3, align 4
%41 = icmp ne i32 %40, 0
br label %42
42: ; preds = %39, %33
%43 = phi i1 [ true, %33 ], [ %41, %39 ]
%44 = xor i1 %43, true
%45 = zext i1 %44 to i32
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %45)
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6dpaz96o.c'
source_filename = "/tmp/tmp6dpaz96o.c"
target datalayout = "e-m:e-p270: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/tmp6dpaz96o.c"
target datalayout = "e-m:e-p270: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/tmpxf35dp5u.c'
source_filename = "/tmp/tmpxf35dp5u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxf35dp5u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoxwb1ypq.c'
source_filename = "/tmp/tmpoxwb1ypq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"foo\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_IWGRP = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
@S_IWOTH = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [20 x i8] c"creat error for foo\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"bar\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"creat error for bar\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @umask(i32 noundef 0)
%3 = load i32, ptr @S_IRUSR, align 4
%4 = load i32, ptr @S_IWUSR, align 4
%5 = or i32 %3, %4
%6 = load i32, ptr @S_IRGRP, align 4
%7 = or i32 %5, %6
%8 = load i32, ptr @S_IWGRP, align 4
%9 = or i32 %7, %8
%10 = load i32, ptr @S_IROTH, align 4
%11 = or i32 %9, %10
%12 = load i32, ptr @S_IWOTH, align 4
%13 = or i32 %11, %12
%14 = call i64 @creat(ptr noundef @.str, i32 noundef %13)
%15 = icmp slt i64 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %0
%17 = call i32 @err_sys(ptr noundef @.str.1)
br label %18
18: ; preds = %16, %0
%19 = load i32, ptr @S_IRGRP, align 4
%20 = load i32, ptr @S_IWGRP, align 4
%21 = or i32 %19, %20
%22 = load i32, ptr @S_IROTH, align 4
%23 = or i32 %21, %22
%24 = load i32, ptr @S_IWOTH, align 4
%25 = or i32 %23, %24
%26 = call i32 @umask(i32 noundef %25)
%27 = load i32, ptr @S_IRUSR, align 4
%28 = load i32, ptr @S_IWUSR, align 4
%29 = or i32 %27, %28
%30 = load i32, ptr @S_IRGRP, align 4
%31 = or i32 %29, %30
%32 = load i32, ptr @S_IWGRP, align 4
%33 = or i32 %31, %32
%34 = load i32, ptr @S_IROTH, align 4
%35 = or i32 %33, %34
%36 = load i32, ptr @S_IWOTH, align 4
%37 = or i32 %35, %36
%38 = call i64 @creat(ptr noundef @.str.2, i32 noundef %37)
%39 = icmp slt i64 %38, 0
br i1 %39, label %40, label %42
40: ; preds = %18
%41 = call i32 @err_sys(ptr noundef @.str.3)
br label %42
42: ; preds = %40, %18
%43 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @umask(i32 noundef) #1
declare i64 @creat(ptr noundef, i32 noundef) #1
declare i32 @err_sys(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/tmpoxwb1ypq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"foo\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_IWGRP = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
@S_IWOTH = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [20 x i8] c"creat error for foo\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"bar\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"creat error for bar\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @umask(i32 noundef 0)
%3 = load i32, ptr @S_IRUSR, align 4
%4 = load i32, ptr @S_IWUSR, align 4
%5 = or i32 %3, %4
%6 = load i32, ptr @S_IRGRP, align 4
%7 = or i32 %5, %6
%8 = load i32, ptr @S_IWGRP, align 4
%9 = or i32 %7, %8
%10 = load i32, ptr @S_IROTH, align 4
%11 = or i32 %9, %10
%12 = load i32, ptr @S_IWOTH, align 4
%13 = or i32 %11, %12
%14 = call i64 @creat(ptr noundef @.str, i32 noundef %13)
%15 = icmp slt i64 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %0
%17 = call i32 @err_sys(ptr noundef @.str.1)
br label %18
18: ; preds = %16, %0
%19 = load i32, ptr @S_IRGRP, align 4
%20 = load i32, ptr @S_IWGRP, align 4
%21 = or i32 %19, %20
%22 = load i32, ptr @S_IROTH, align 4
%23 = or i32 %21, %22
%24 = load i32, ptr @S_IWOTH, align 4
%25 = or i32 %23, %24
%26 = call i32 @umask(i32 noundef %25)
%27 = load i32, ptr @S_IRUSR, align 4
%28 = load i32, ptr @S_IWUSR, align 4
%29 = or i32 %27, %28
%30 = load i32, ptr @S_IRGRP, align 4
%31 = or i32 %29, %30
%32 = load i32, ptr @S_IWGRP, align 4
%33 = or i32 %31, %32
%34 = load i32, ptr @S_IROTH, align 4
%35 = or i32 %33, %34
%36 = load i32, ptr @S_IWOTH, align 4
%37 = or i32 %35, %36
%38 = call i64 @creat(ptr noundef @.str.2, i32 noundef %37)
%39 = icmp slt i64 %38, 0
br i1 %39, label %40, label %42
40: ; preds = %18
%41 = call i32 @err_sys(ptr noundef @.str.3)
br label %42
42: ; preds = %40, %18
%43 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @umask(i32 noundef) #1
declare i64 @creat(ptr noundef, i32 noundef) #1
declare i32 @err_sys(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/tmp_236ebxd.c'
source_filename = "/tmp/tmp_236ebxd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @inverted_fermi_dirac_derivative(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%7 = load double, ptr %5, align 8
%8 = load double, ptr %4, align 8
%9 = load double, ptr %6, align 8
%10 = call double @fermi_dirac_derivative(double noundef %7, double noundef %8, double noundef %9)
ret double %10
}
declare double @fermi_dirac_derivative(double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_236ebxd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @inverted_fermi_dirac_derivative(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%7 = load double, ptr %5, align 8
%8 = load double, ptr %4, align 8
%9 = load double, ptr %6, align 8
%10 = call double @fermi_dirac_derivative(double noundef %7, double noundef %8, double noundef %9)
ret double %10
}
declare double @fermi_dirac_derivative(double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv3dfj315.c'
source_filename = "/tmp/tmpv3dfj315.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_remove_after() #0 {
%1 = call i32 (...) @test_remove_after_last()
%2 = call i32 (...) @test_remove_last()
ret void
}
declare i32 @test_remove_after_last(...) #1
declare i32 @test_remove_last(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv3dfj315.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_remove_after() #0 {
%1 = call i32 (...) @test_remove_after_last()
%2 = call i32 (...) @test_remove_last()
ret void
}
declare i32 @test_remove_after_last(...) #1
declare i32 @test_remove_last(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq1j_3ac7.c'
source_filename = "/tmp/tmpq1j_3ac7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f_max_int8_t(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2, ptr noalias noundef %3, i64 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i64, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i64 %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
store i32 0, ptr %13, align 4
br label %15
15: ; preds = %58, %6
%16 = load i32, ptr %13, align 4
%17 = load i32, ptr %12, align 4
%18 = icmp ult i32 %16, %17
br i1 %18, label %19, label %61
19: ; preds = %15
%20 = load ptr, ptr %10, align 8
%21 = load i32, ptr %13, align 4
%22 = zext i32 %21 to i64
%23 = getelementptr inbounds i64, ptr %20, i64 %22
%24 = load i64, ptr %23, align 8
%25 = load i64, ptr %11, align 8
%26 = icmp sgt i64 %24, %25
br i1 %26, label %27, label %33
27: ; preds = %19
%28 = load ptr, ptr %10, align 8
%29 = load i32, ptr %13, align 4
%30 = zext i32 %29 to i64
%31 = getelementptr inbounds i64, ptr %28, i64 %30
%32 = load i64, ptr %31, align 8
br label %35
33: ; preds = %19
%34 = load i64, ptr %11, align 8
br label %35
35: ; preds = %33, %27
%36 = phi i64 [ %32, %27 ], [ %34, %33 ]
store i64 %36, ptr %14, align 8
%37 = load ptr, ptr %8, align 8
%38 = load i32, ptr %13, align 4
%39 = zext i32 %38 to i64
%40 = getelementptr inbounds i64, ptr %37, i64 %39
%41 = load i64, ptr %40, align 8
%42 = load i64, ptr %9, align 8
%43 = icmp slt i64 %41, %42
br i1 %43, label %44, label %46
44: ; preds = %35
%45 = load i64, ptr %14, align 8
br label %52
46: ; preds = %35
%47 = load ptr, ptr %10, align 8
%48 = load i32, ptr %13, align 4
%49 = zext i32 %48 to i64
%50 = getelementptr inbounds i64, ptr %47, i64 %49
%51 = load i64, ptr %50, align 8
br label %52
52: ; preds = %46, %44
%53 = phi i64 [ %45, %44 ], [ %51, %46 ]
%54 = load ptr, ptr %7, align 8
%55 = load i32, ptr %13, align 4
%56 = zext i32 %55 to i64
%57 = getelementptr inbounds i64, ptr %54, i64 %56
store i64 %53, ptr %57, align 8
br label %58
58: ; preds = %52
%59 = load i32, ptr %13, align 4
%60 = add i32 %59, 1
store i32 %60, ptr %13, align 4
br label %15, !llvm.loop !6
61: ; preds = %15
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/tmpq1j_3ac7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f_max_int8_t(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2, ptr noalias noundef %3, i64 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i64, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i64 %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
store i32 0, ptr %13, align 4
%15 = load i32, ptr %13, align 4
%16 = load i32, ptr %12, align 4
%17 = icmp ult i32 %15, %16
br i1 %17, label %.lr.ph, label %63
.lr.ph: ; preds = %6
br label %18
18: ; preds = %.lr.ph, %57
%19 = load ptr, ptr %10, align 8
%20 = load i32, ptr %13, align 4
%21 = zext i32 %20 to i64
%22 = getelementptr inbounds i64, ptr %19, i64 %21
%23 = load i64, ptr %22, align 8
%24 = load i64, ptr %11, align 8
%25 = icmp sgt i64 %23, %24
br i1 %25, label %26, label %32
26: ; preds = %18
%27 = load ptr, ptr %10, align 8
%28 = load i32, ptr %13, align 4
%29 = zext i32 %28 to i64
%30 = getelementptr inbounds i64, ptr %27, i64 %29
%31 = load i64, ptr %30, align 8
br label %34
32: ; preds = %18
%33 = load i64, ptr %11, align 8
br label %34
34: ; preds = %32, %26
%35 = phi i64 [ %31, %26 ], [ %33, %32 ]
store i64 %35, ptr %14, align 8
%36 = load ptr, ptr %8, align 8
%37 = load i32, ptr %13, align 4
%38 = zext i32 %37 to i64
%39 = getelementptr inbounds i64, ptr %36, i64 %38
%40 = load i64, ptr %39, align 8
%41 = load i64, ptr %9, align 8
%42 = icmp slt i64 %40, %41
br i1 %42, label %43, label %45
43: ; preds = %34
%44 = load i64, ptr %14, align 8
br label %51
45: ; preds = %34
%46 = load ptr, ptr %10, align 8
%47 = load i32, ptr %13, align 4
%48 = zext i32 %47 to i64
%49 = getelementptr inbounds i64, ptr %46, i64 %48
%50 = load i64, ptr %49, align 8
br label %51
51: ; preds = %45, %43
%52 = phi i64 [ %44, %43 ], [ %50, %45 ]
%53 = load ptr, ptr %7, align 8
%54 = load i32, ptr %13, align 4
%55 = zext i32 %54 to i64
%56 = getelementptr inbounds i64, ptr %53, i64 %55
store i64 %52, ptr %56, align 8
br label %57
57: ; preds = %51
%58 = load i32, ptr %13, align 4
%59 = add i32 %58, 1
store i32 %59, ptr %13, align 4
%60 = load i32, ptr %13, align 4
%61 = load i32, ptr %12, align 4
%62 = icmp ult i32 %60, %61
br i1 %62, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %57
br label %63
63: ; preds = %._crit_edge, %6
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/tmphcvdeg8k.c'
source_filename = "/tmp/tmphcvdeg8k.c"
target datalayout = "e-m:e-p270: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/tmphcvdeg8k.c"
target datalayout = "e-m:e-p270: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/tmptwtn85ul.c'
source_filename = "/tmp/tmptwtn85ul.c"
target datalayout = "e-m:e-p270: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/tmptwtn85ul.c"
target datalayout = "e-m:e-p270: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/tmpxxe2ic_l.c'
source_filename = "/tmp/tmpxxe2ic_l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CmdAcknowledgments.oldalignment = internal global i8 0, align 1
@.str = private unnamed_addr constant [16 x i8] c"acknowledgments\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"\0A{\\b \00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Acknowledgments\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"}\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CmdAcknowledgments(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @CmdEndParagraph(i32 noundef 0)
%4 = load i32, ptr %2, align 4
%5 = icmp eq i32 %4, 16384
br i1 %5, label %6, label %15
6: ; preds = %1
%7 = call i32 @CmdVspace(i32 noundef 3)
%8 = call i32 @startParagraph(ptr noundef @.str, i32 noundef 2)
%9 = call i32 @fprintRTF(ptr noundef @.str.1)
%10 = call i32 @fprintRTF(ptr noundef @.str.2)
%11 = call i32 @fprintRTF(ptr noundef @.str.3)
%12 = call i32 @CmdEndParagraph(i32 noundef 0)
%13 = call signext i8 (...) @getAlignment()
store i8 %13, ptr @CmdAcknowledgments.oldalignment, align 1
%14 = call i32 @setAlignment(i8 noundef signext 106)
br label %19
15: ; preds = %1
%16 = load i8, ptr @CmdAcknowledgments.oldalignment, align 1
%17 = call i32 @setAlignment(i8 noundef signext %16)
%18 = call i32 @CmdVspace(i32 noundef 3)
br label %19
19: ; preds = %15, %6
ret void
}
declare i32 @CmdEndParagraph(i32 noundef) #1
declare i32 @CmdVspace(i32 noundef) #1
declare i32 @startParagraph(ptr noundef, i32 noundef) #1
declare i32 @fprintRTF(ptr noundef) #1
declare signext i8 @getAlignment(...) #1
declare i32 @setAlignment(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxxe2ic_l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CmdAcknowledgments.oldalignment = internal global i8 0, align 1
@.str = private unnamed_addr constant [16 x i8] c"acknowledgments\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"\0A{\\b \00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Acknowledgments\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"}\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CmdAcknowledgments(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @CmdEndParagraph(i32 noundef 0)
%4 = load i32, ptr %2, align 4
%5 = icmp eq i32 %4, 16384
br i1 %5, label %6, label %15
6: ; preds = %1
%7 = call i32 @CmdVspace(i32 noundef 3)
%8 = call i32 @startParagraph(ptr noundef @.str, i32 noundef 2)
%9 = call i32 @fprintRTF(ptr noundef @.str.1)
%10 = call i32 @fprintRTF(ptr noundef @.str.2)
%11 = call i32 @fprintRTF(ptr noundef @.str.3)
%12 = call i32 @CmdEndParagraph(i32 noundef 0)
%13 = call signext i8 (...) @getAlignment()
store i8 %13, ptr @CmdAcknowledgments.oldalignment, align 1
%14 = call i32 @setAlignment(i8 noundef signext 106)
br label %19
15: ; preds = %1
%16 = load i8, ptr @CmdAcknowledgments.oldalignment, align 1
%17 = call i32 @setAlignment(i8 noundef signext %16)
%18 = call i32 @CmdVspace(i32 noundef 3)
br label %19
19: ; preds = %15, %6
ret void
}
declare i32 @CmdEndParagraph(i32 noundef) #1
declare i32 @CmdVspace(i32 noundef) #1
declare i32 @startParagraph(ptr noundef, i32 noundef) #1
declare i32 @fprintRTF(ptr noundef) #1
declare signext i8 @getAlignment(...) #1
declare i32 @setAlignment(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7c0ehjzy.c'
source_filename = "/tmp/tmp7c0ehjzy.c"
target datalayout = "e-m:e-p270: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/tmp7c0ehjzy.c"
target datalayout = "e-m:e-p270: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/tmp1zavb8zh.c'
source_filename = "/tmp/tmp1zavb8zh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Stop Stepper\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @stop_motor() #0 {
%1 = call i32 @green(ptr noundef @.str)
ret void
}
declare i32 @green(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/tmp1zavb8zh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Stop Stepper\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @stop_motor() #0 {
%1 = call i32 @green(ptr noundef @.str)
ret void
}
declare i32 @green(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/tmpnmrfg630.c'
source_filename = "/tmp/tmpnmrfg630.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnmrfg630.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmgqnz8ki.c'
source_filename = "/tmp/tmpmgqnz8ki.c"
target datalayout = "e-m:e-p270: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/tmpmgqnz8ki.c"
target datalayout = "e-m:e-p270: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/tmp5bj1vylw.c'
source_filename = "/tmp/tmp5bj1vylw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(read) uwtable
define hidden i32 @__glTexEnvfv_size(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
switch i32 %4, label %7 [
i32 152, label %5
i32 129, label %5
i32 128, label %5
i32 149, label %5
i32 150, label %5
i32 139, label %5
i32 137, label %5
i32 135, label %5
i32 133, label %5
i32 131, label %5
i32 138, label %5
i32 136, label %5
i32 134, label %5
i32 132, label %5
i32 146, label %5
i32 144, label %5
i32 142, label %5
i32 140, label %5
i32 147, label %5
i32 145, label %5
i32 143, label %5
i32 141, label %5
i32 151, label %5
i32 148, label %5
i32 130, label %6
]
5: ; preds = %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1
store i32 1, ptr %2, align 4
br label %8
6: ; preds = %1
store i32 4, ptr %2, align 4
br label %8
7: ; preds = %1
store i32 0, ptr %2, align 4
br label %8
8: ; preds = %7, %6, %5
%9 = load i32, ptr %2, align 4
ret i32 %9
}
attributes #0 = { noinline nounwind sspstrong willreturn memory(read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5bj1vylw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(read) uwtable
define hidden i32 @__glTexEnvfv_size(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
switch i32 %4, label %7 [
i32 152, label %5
i32 129, label %5
i32 128, label %5
i32 149, label %5
i32 150, label %5
i32 139, label %5
i32 137, label %5
i32 135, label %5
i32 133, label %5
i32 131, label %5
i32 138, label %5
i32 136, label %5
i32 134, label %5
i32 132, label %5
i32 146, label %5
i32 144, label %5
i32 142, label %5
i32 140, label %5
i32 147, label %5
i32 145, label %5
i32 143, label %5
i32 141, label %5
i32 151, label %5
i32 148, label %5
i32 130, label %6
]
5: ; preds = %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1, %1
store i32 1, ptr %2, align 4
br label %8
6: ; preds = %1
store i32 4, ptr %2, align 4
br label %8
7: ; preds = %1
store i32 0, ptr %2, align 4
br label %8
8: ; preds = %7, %6, %5
%9 = load i32, ptr %2, align 4
ret i32 %9
}
attributes #0 = { noinline nounwind sspstrong willreturn memory(read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwcj9cmwt.c'
source_filename = "/tmp/tmpwcj9cmwt.c"
target datalayout = "e-m:e-p270: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/tmpwcj9cmwt.c"
target datalayout = "e-m:e-p270: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/tmpj09yus2c.c'
source_filename = "/tmp/tmpj09yus2c.c"
target datalayout = "e-m:e-p270: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/tmpj09yus2c.c"
target datalayout = "e-m:e-p270: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/tmpbrklcltz.c'
source_filename = "/tmp/tmpbrklcltz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"iopl(3)\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [51 x i8] c"this program must be run suid root (see chmod(1))\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"mlockall(1)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @begin_realtime() #0 {
%1 = call i64 @iopl(i32 noundef 3)
%2 = icmp slt i64 %1, 0
br i1 %2, label %3, label %8
3: ; preds = %0
%4 = call i32 @perror(ptr noundef @.str)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.1)
%7 = call i32 @exit(i32 noundef 1) #3
unreachable
8: ; preds = %0
%9 = call i64 @mlockall(i32 noundef 1)
%10 = icmp slt i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %8
%12 = call i32 @perror(ptr noundef @.str.2)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
14: ; preds = %8
ret void
}
declare i64 @iopl(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @mlockall(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/tmpbrklcltz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"iopl(3)\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [51 x i8] c"this program must be run suid root (see chmod(1))\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"mlockall(1)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @begin_realtime() #0 {
%1 = call i64 @iopl(i32 noundef 3)
%2 = icmp slt i64 %1, 0
br i1 %2, label %3, label %8
3: ; preds = %0
%4 = call i32 @perror(ptr noundef @.str)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.1)
%7 = call i32 @exit(i32 noundef 1) #3
unreachable
8: ; preds = %0
%9 = call i64 @mlockall(i32 noundef 1)
%10 = icmp slt i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %8
%12 = call i32 @perror(ptr noundef @.str.2)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
14: ; preds = %8
ret void
}
declare i64 @iopl(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @mlockall(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/tmp66g33sh0.c'
source_filename = "/tmp/tmp66g33sh0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"YUM, got %d bytes!\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"Wait error!\0A\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"Child IO error!\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"Child exit.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @RunFeedMe() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %5
5: ; preds = %33, %0
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 800
br i1 %7, label %8, label %36
8: ; preds = %5
%9 = call i64 (...) @fork()
store i64 %9, ptr %3, align 8
%10 = load i64, ptr %3, align 8
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %8
%13 = call i32 (...) @GetFood()
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %13)
br label %36
15: ; preds = %8
%16 = load i64, ptr %3, align 8
%17 = call i64 @waitpid(i64 noundef %16, ptr noundef %1, i32 noundef 0)
store i64 %17, ptr %4, align 8
%18 = load i64, ptr %4, align 8
%19 = icmp eq i64 %18, -1
br i1 %19, label %20, label %23
20: ; preds = %15
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%22 = call i32 @exit(i32 noundef -1) #3
unreachable
23: ; preds = %15
%24 = load i32, ptr %1, align 4
%25 = icmp eq i32 %24, -1
br i1 %25, label %26, label %29
26: ; preds = %23
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%28 = call i32 @exit(i32 noundef -1) #3
unreachable
29: ; preds = %23
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%31 = call i32 @fflush(i32 noundef 0)
br label %32
32: ; preds = %29
br label %33
33: ; preds = %32
%34 = load i32, ptr %2, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %2, align 4
br label %5, !llvm.loop !6
36: ; preds = %12, %5
ret void
}
declare i64 @fork(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @GetFood(...) #1
declare i64 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp66g33sh0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"YUM, got %d bytes!\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"Wait error!\0A\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"Child IO error!\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"Child exit.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @RunFeedMe() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 800
br i1 %6, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %32
%8 = call i64 (...) @fork()
store i64 %8, ptr %3, align 8
%9 = load i64, ptr %3, align 8
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %7
%12 = call i32 (...) @GetFood()
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %12)
br label %37
14: ; preds = %7
%15 = load i64, ptr %3, align 8
%16 = call i64 @waitpid(i64 noundef %15, ptr noundef %1, i32 noundef 0)
store i64 %16, ptr %4, align 8
%17 = load i64, ptr %4, align 8
%18 = icmp eq i64 %17, -1
br i1 %18, label %19, label %22
19: ; preds = %14
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%21 = call i32 @exit(i32 noundef -1) #3
unreachable
22: ; preds = %14
%23 = load i32, ptr %1, align 4
%24 = icmp eq i32 %23, -1
br i1 %24, label %25, label %28
25: ; preds = %22
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%27 = call i32 @exit(i32 noundef -1) #3
unreachable
28: ; preds = %22
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%30 = call i32 @fflush(i32 noundef 0)
br label %31
31: ; preds = %28
br label %32
32: ; preds = %31
%33 = load i32, ptr %2, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %2, align 4
%35 = load i32, ptr %2, align 4
%36 = icmp slt i32 %35, 800
br i1 %36, label %7, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %32
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %37
37: ; preds = %.loopexit, %11
ret void
}
declare i64 @fork(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @GetFood(...) #1
declare i64 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpypodgv50.c'
source_filename = "/tmp/tmpypodgv50.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"shutdown now...\EF\BC\9A\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"su -c 'reboot -p'\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @system(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @system(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/tmpypodgv50.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"shutdown now...\EF\BC\9A\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"su -c 'reboot -p'\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @system(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @system(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/tmp9pmvhgzl.c'
source_filename = "/tmp/tmp9pmvhgzl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%lld\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @jsonq_int(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [256 x i8], align 16
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i64 0, ptr %6, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%10 = call i32 @jsonq(ptr noundef %7, ptr noundef %8, ptr noundef %9, i32 noundef 256)
%11 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%12 = call i32 @sscanf(ptr noundef %11, ptr noundef @.str, ptr noundef %6)
%13 = load i64, ptr %6, align 8
ret i64 %13
}
declare i32 @jsonq(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9pmvhgzl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%lld\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @jsonq_int(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [256 x i8], align 16
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i64 0, ptr %6, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%10 = call i32 @jsonq(ptr noundef %7, ptr noundef %8, ptr noundef %9, i32 noundef 256)
%11 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%12 = call i32 @sscanf(ptr noundef %11, ptr noundef @.str, ptr noundef %6)
%13 = load i64, ptr %6, align 8
ret i64 %13
}
declare i32 @jsonq(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoijp1thl.c'
source_filename = "/tmp/tmpoijp1thl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"PATH\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"./\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"hold path elements\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @shellpath() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = call ptr @getenv(ptr noundef @.str)
store ptr %6, ptr %1, align 8
%7 = load ptr, ptr %1, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %10, label %9
9: ; preds = %0
store ptr @.str.1, ptr %1, align 8
br label %10
10: ; preds = %9, %0
%11 = load ptr, ptr %1, align 8
%12 = call i32 @strlen(ptr noundef %11)
%13 = sext i32 %12 to i64
%14 = mul i64 %13, 8
%15 = trunc i64 %14 to i32
%16 = call i64 @malloc_check(ptr noundef @.str.2, i32 noundef %15)
%17 = inttoptr i64 %16 to ptr
store ptr %17, ptr %2, align 8
%18 = load ptr, ptr %1, align 8
store ptr %18, ptr %3, align 8
store i32 0, ptr %4, align 4
br label %19
19: ; preds = %39, %10
%20 = load ptr, ptr %3, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %41
22: ; preds = %19
%23 = load ptr, ptr %3, align 8
%24 = call ptr @strchr(ptr noundef %23, i8 noundef signext 58)
store ptr %24, ptr %5, align 8
%25 = load ptr, ptr %3, align 8
%26 = load ptr, ptr %5, align 8
%27 = call ptr @strsave(ptr noundef %25, ptr noundef %26)
%28 = load ptr, ptr %2, align 8
%29 = load i32, ptr %4, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %4, align 4
%31 = sext i32 %29 to i64
%32 = getelementptr inbounds ptr, ptr %28, i64 %31
store ptr %27, ptr %32, align 8
%33 = load ptr, ptr %5, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %35, label %38
35: ; preds = %22
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds i8, ptr %36, i64 1
br label %39
38: ; preds = %22
br label %39
39: ; preds = %38, %35
%40 = phi ptr [ %37, %35 ], [ null, %38 ]
store ptr %40, ptr %3, align 8
br label %19, !llvm.loop !6
41: ; preds = %19
%42 = load ptr, ptr %2, align 8
%43 = load i32, ptr %4, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds ptr, ptr %42, i64 %44
store ptr null, ptr %45, align 8
%46 = load ptr, ptr %2, align 8
ret ptr %46
}
declare ptr @getenv(ptr noundef) #1
declare i64 @malloc_check(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @strsave(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoijp1thl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"PATH\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"./\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"hold path elements\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @shellpath() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = call ptr @getenv(ptr noundef @.str)
store ptr %6, ptr %1, align 8
%7 = load ptr, ptr %1, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %10, label %9
9: ; preds = %0
store ptr @.str.1, ptr %1, align 8
br label %10
10: ; preds = %9, %0
%11 = load ptr, ptr %1, align 8
%12 = call i32 @strlen(ptr noundef %11)
%13 = sext i32 %12 to i64
%14 = mul i64 %13, 8
%15 = trunc i64 %14 to i32
%16 = call i64 @malloc_check(ptr noundef @.str.2, i32 noundef %15)
%17 = inttoptr i64 %16 to ptr
store ptr %17, ptr %2, align 8
%18 = load ptr, ptr %1, align 8
store ptr %18, ptr %3, align 8
store i32 0, ptr %4, align 4
%19 = load ptr, ptr %3, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %.lr.ph, label %42
.lr.ph: ; preds = %10
br label %21
21: ; preds = %.lr.ph, %38
%22 = load ptr, ptr %3, align 8
%23 = call ptr @strchr(ptr noundef %22, i8 noundef signext 58)
store ptr %23, ptr %5, align 8
%24 = load ptr, ptr %3, align 8
%25 = load ptr, ptr %5, align 8
%26 = call ptr @strsave(ptr noundef %24, ptr noundef %25)
%27 = load ptr, ptr %2, align 8
%28 = load i32, ptr %4, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %4, align 4
%30 = sext i32 %28 to i64
%31 = getelementptr inbounds ptr, ptr %27, i64 %30
store ptr %26, ptr %31, align 8
%32 = load ptr, ptr %5, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %34, label %37
34: ; preds = %21
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds i8, ptr %35, i64 1
br label %38
37: ; preds = %21
br label %38
38: ; preds = %37, %34
%39 = phi ptr [ %36, %34 ], [ null, %37 ]
store ptr %39, ptr %3, align 8
%40 = load ptr, ptr %3, align 8
%41 = icmp ne ptr %40, null
br i1 %41, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %42
42: ; preds = %._crit_edge, %10
%43 = load ptr, ptr %2, align 8
%44 = load i32, ptr %4, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds ptr, ptr %43, i64 %45
store ptr null, ptr %46, align 8
%47 = load ptr, ptr %2, align 8
ret ptr %47
}
declare ptr @getenv(ptr noundef) #1
declare i64 @malloc_check(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @strsave(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfgvlhoq6.c'
source_filename = "/tmp/tmpfgvlhoq6.c"
target datalayout = "e-m:e-p270: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/tmpfgvlhoq6.c"
target datalayout = "e-m:e-p270: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/tmp5kkn9efr.c'
source_filename = "/tmp/tmp5kkn9efr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5kkn9efr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgsoshlci.c'
source_filename = "/tmp/tmpgsoshlci.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.dirent = type { i64, ptr }
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
@errno = dso_local global i32 0, align 4
@DT_DIR = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [13 x i8] c"\1B[32m%s\1B[0m\0A\00", align 1
@.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 ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, 2
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
store ptr %14, ptr %6, align 8
br label %16
15: ; preds = %2
store ptr @.str, ptr %6, align 8
br label %16
16: ; preds = %15, %11
%17 = load ptr, ptr %6, align 8
%18 = call ptr @opendir(ptr noundef %17)
store ptr %18, ptr %7, align 8
%19 = load ptr, ptr %7, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %23, label %21
21: ; preds = %16
%22 = load i32, ptr @errno, align 4
store i32 %22, ptr %3, align 4
br label %48
23: ; preds = %16
br label %24
24: ; preds = %23, %47
%25 = load ptr, ptr %7, align 8
%26 = call ptr @readdir(ptr noundef %25)
store ptr %26, ptr %8, align 8
%27 = load ptr, ptr %8, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %31, label %29
29: ; preds = %24
%30 = load i32, ptr @errno, align 4
store i32 %30, ptr %3, align 4
br label %48
31: ; preds = %24
%32 = load ptr, ptr %8, align 8
%33 = getelementptr inbounds %struct.dirent, ptr %32, i32 0, i32 0
%34 = load i64, ptr %33, align 8
%35 = load i64, ptr @DT_DIR, align 8
%36 = icmp eq i64 %34, %35
br i1 %36, label %37, label %42
37: ; preds = %31
%38 = load ptr, ptr %8, align 8
%39 = getelementptr inbounds %struct.dirent, ptr %38, i32 0, i32 1
%40 = load ptr, ptr %39, align 8
%41 = call i32 @printf(ptr noundef @.str.1, ptr noundef %40)
br label %47
42: ; preds = %31
%43 = load ptr, ptr %8, align 8
%44 = getelementptr inbounds %struct.dirent, ptr %43, i32 0, i32 1
%45 = load ptr, ptr %44, align 8
%46 = call i32 @printf(ptr noundef @.str.2, ptr noundef %45)
br label %47
47: ; preds = %42, %37
br label %24
48: ; preds = %29, %21
%49 = load i32, ptr %3, align 4
ret i32 %49
}
declare ptr @opendir(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgsoshlci.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.dirent = type { i64, ptr }
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
@errno = dso_local global i32 0, align 4
@DT_DIR = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [13 x i8] c"\1B[32m%s\1B[0m\0A\00", align 1
@.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 ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, 2
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
store ptr %14, ptr %6, align 8
br label %16
15: ; preds = %2
store ptr @.str, ptr %6, align 8
br label %16
16: ; preds = %15, %11
%17 = load ptr, ptr %6, align 8
%18 = call ptr @opendir(ptr noundef %17)
store ptr %18, ptr %7, align 8
%19 = load ptr, ptr %7, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %23, label %21
21: ; preds = %16
%22 = load i32, ptr @errno, align 4
store i32 %22, ptr %3, align 4
br label %51
23: ; preds = %16
%24 = load ptr, ptr %7, align 8
%25 = call ptr @readdir(ptr noundef %24)
store ptr %25, ptr %8, align 8
%26 = load ptr, ptr %8, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %.lr.ph, label %28
.lr.ph: ; preds = %23
br label %30
._crit_edge: ; preds = %46
br label %28
28: ; preds = %._crit_edge, %23
%29 = load i32, ptr @errno, align 4
store i32 %29, ptr %3, align 4
br label %51
30: ; preds = %.lr.ph, %46
%31 = load ptr, ptr %8, align 8
%32 = getelementptr inbounds %struct.dirent, ptr %31, i32 0, i32 0
%33 = load i64, ptr %32, align 8
%34 = load i64, ptr @DT_DIR, align 8
%35 = icmp eq i64 %33, %34
br i1 %35, label %36, label %41
36: ; preds = %30
%37 = load ptr, ptr %8, align 8
%38 = getelementptr inbounds %struct.dirent, ptr %37, i32 0, i32 1
%39 = load ptr, ptr %38, align 8
%40 = call i32 @printf(ptr noundef @.str.1, ptr noundef %39)
br label %46
41: ; preds = %30
%42 = load ptr, ptr %8, align 8
%43 = getelementptr inbounds %struct.dirent, ptr %42, i32 0, i32 1
%44 = load ptr, ptr %43, align 8
%45 = call i32 @printf(ptr noundef @.str.2, ptr noundef %44)
br label %46
46: ; preds = %41, %36
%47 = load ptr, ptr %7, align 8
%48 = call ptr @readdir(ptr noundef %47)
store ptr %48, ptr %8, align 8
%49 = load ptr, ptr %8, align 8
%50 = icmp ne ptr %49, null
br i1 %50, label %30, label %._crit_edge
51: ; preds = %28, %21
%52 = load i32, ptr %3, align 4
ret i32 %52
}
declare ptr @opendir(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6hysuc9t.c'
source_filename = "/tmp/tmp6hysuc9t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"*?\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dotconf_find_wild_card(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
store i32 -1, ptr %11, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
store ptr null, ptr %14, align 8
store i32 0, ptr %15, align 4
%17 = load ptr, ptr %6, align 8
%18 = call i32 @strlen(ptr noundef %17)
store i32 %18, ptr %16, align 4
%19 = load ptr, ptr %7, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %157
21: ; preds = %5
%22 = load i32, ptr %16, align 4
%23 = icmp sgt i32 %22, 0
br i1 %23, label %24, label %157
24: ; preds = %21
%25 = load ptr, ptr %8, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %157
27: ; preds = %24
%28 = load ptr, ptr %9, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %30, label %157
30: ; preds = %27
%31 = load ptr, ptr %10, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %33, label %157
33: ; preds = %30
%34 = load ptr, ptr %6, align 8
%35 = call i32 @strcspn(ptr noundef %34, ptr noundef @.str)
store i32 %35, ptr %12, align 4
%36 = load i32, ptr %12, align 4
%37 = load i32, ptr %16, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %156
39: ; preds = %33
%40 = load ptr, ptr %6, align 8
%41 = load i32, ptr %12, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
store ptr %43, ptr %14, align 8
%44 = load i32, ptr %12, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %13, align 4
br label %46
46: ; preds = %57, %39
%47 = load ptr, ptr %14, align 8
%48 = load ptr, ptr %6, align 8
%49 = icmp ne ptr %47, %48
br i1 %49, label %50, label %55
50: ; preds = %46
%51 = load ptr, ptr %14, align 8
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp ne i32 %53, 47
br label %55
55: ; preds = %50, %46
%56 = phi i1 [ false, %46 ], [ %54, %50 ]
br i1 %56, label %57, label %62
57: ; preds = %55
%58 = load ptr, ptr %14, align 8
%59 = getelementptr inbounds i8, ptr %58, i32 -1
store ptr %59, ptr %14, align 8
%60 = load i32, ptr %13, align 4
%61 = add nsw i32 %60, -1
store i32 %61, ptr %13, align 4
br label %46, !llvm.loop !6
62: ; preds = %55
%63 = load ptr, ptr %14, align 8
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = icmp eq i32 %65, 47
br i1 %66, label %67, label %73
67: ; preds = %62
%68 = load i32, ptr %13, align 4
%69 = add nsw i32 %68, 1
%70 = call i64 @malloc(i32 noundef %69)
%71 = inttoptr i64 %70 to ptr
%72 = load ptr, ptr %8, align 8
store ptr %71, ptr %72, align 8
store i32 1, ptr %15, align 4
br label %77
73: ; preds = %62
%74 = call i64 @malloc(i32 noundef 1)
%75 = inttoptr i64 %74 to ptr
%76 = load ptr, ptr %8, align 8
store ptr %75, ptr %76, align 8
br label %77
77: ; preds = %73, %67
%78 = load i32, ptr %12, align 4
%79 = load i32, ptr %13, align 4
%80 = load i32, ptr %15, align 4
%81 = icmp ne i32 %80, 0
%82 = zext i1 %81 to i64
%83 = select i1 %81, i32 0, i32 1
%84 = sub nsw i32 %79, %83
%85 = sub nsw i32 %78, %84
%86 = add nsw i32 %85, 1
%87 = call i64 @malloc(i32 noundef %86)
%88 = inttoptr i64 %87 to ptr
%89 = load ptr, ptr %9, align 8
store ptr %88, ptr %89, align 8
%90 = load ptr, ptr %8, align 8
%91 = load ptr, ptr %90, align 8
%92 = icmp ne ptr %91, null
br i1 %92, label %93, label %155
93: ; preds = %77
%94 = load ptr, ptr %9, align 8
%95 = load ptr, ptr %94, align 8
%96 = icmp ne ptr %95, null
br i1 %96, label %97, label %155
97: ; preds = %93
%98 = load i32, ptr %15, align 4
%99 = icmp ne i32 %98, 0
br i1 %99, label %100, label %106
100: ; preds = %97
%101 = load ptr, ptr %8, align 8
%102 = load ptr, ptr %101, align 8
%103 = load ptr, ptr %6, align 8
%104 = load i32, ptr %13, align 4
%105 = call i32 @strncpy(ptr noundef %102, ptr noundef %103, i32 noundef %104)
br label %106
106: ; preds = %100, %97
%107 = load ptr, ptr %8, align 8
%108 = load ptr, ptr %107, align 8
%109 = load i32, ptr %13, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i8, ptr %108, i64 %110
store i8 0, ptr %111, align 1
%112 = load ptr, ptr %9, align 8
%113 = load ptr, ptr %112, align 8
%114 = load ptr, ptr %14, align 8
%115 = load i32, ptr %15, align 4
%116 = icmp ne i32 %115, 0
%117 = zext i1 %116 to i64
%118 = select i1 %116, i32 1, i32 0
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds i8, ptr %114, i64 %119
%121 = load i32, ptr %12, align 4
%122 = load i32, ptr %13, align 4
%123 = load i32, ptr %15, align 4
%124 = icmp ne i32 %123, 0
%125 = zext i1 %124 to i64
%126 = select i1 %124, i32 0, i32 1
%127 = sub nsw i32 %122, %126
%128 = sub nsw i32 %121, %127
%129 = call i32 @strncpy(ptr noundef %113, ptr noundef %120, i32 noundef %128)
%130 = load ptr, ptr %9, align 8
%131 = load ptr, ptr %130, align 8
%132 = load i32, ptr %12, align 4
%133 = load i32, ptr %13, align 4
%134 = load i32, ptr %15, align 4
%135 = icmp ne i32 %134, 0
%136 = zext i1 %135 to i64
%137 = select i1 %135, i32 0, i32 1
%138 = sub nsw i32 %133, %137
%139 = sub nsw i32 %132, %138
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds i8, ptr %131, i64 %140
store i8 0, ptr %141, align 1
%142 = load ptr, ptr %6, align 8
%143 = load i32, ptr %12, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds i8, ptr %142, i64 %144
%146 = load ptr, ptr %10, align 8
store ptr %145, ptr %146, align 8
%147 = load ptr, ptr %10, align 8
%148 = load ptr, ptr %147, align 8
%149 = load i8, ptr %148, align 1
%150 = load ptr, ptr %7, align 8
store i8 %149, ptr %150, align 1
%151 = load ptr, ptr %10, align 8
%152 = load ptr, ptr %151, align 8
%153 = getelementptr inbounds i8, ptr %152, i32 1
store ptr %153, ptr %151, align 8
%154 = load i32, ptr %12, align 4
store i32 %154, ptr %11, align 4
br label %155
155: ; preds = %106, %93, %77
br label %156
156: ; preds = %155, %33
br label %157
157: ; preds = %156, %30, %27, %24, %21, %5
%158 = load i32, ptr %11, align 4
ret i32 %158
}
declare i32 @strlen(ptr noundef) #1
declare i32 @strcspn(ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6hysuc9t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"*?\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dotconf_find_wild_card(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
store i32 -1, ptr %11, align 4
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
store ptr null, ptr %14, align 8
store i32 0, ptr %15, align 4
%17 = load ptr, ptr %6, align 8
%18 = call i32 @strlen(ptr noundef %17)
store i32 %18, ptr %16, align 4
%19 = load ptr, ptr %7, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %157
21: ; preds = %5
%22 = load i32, ptr %16, align 4
%23 = icmp sgt i32 %22, 0
br i1 %23, label %24, label %157
24: ; preds = %21
%25 = load ptr, ptr %8, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %157
27: ; preds = %24
%28 = load ptr, ptr %9, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %30, label %157
30: ; preds = %27
%31 = load ptr, ptr %10, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %33, label %157
33: ; preds = %30
%34 = load ptr, ptr %6, align 8
%35 = call i32 @strcspn(ptr noundef %34, ptr noundef @.str)
store i32 %35, ptr %12, align 4
%36 = load i32, ptr %12, align 4
%37 = load i32, ptr %16, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %156
39: ; preds = %33
%40 = load ptr, ptr %6, align 8
%41 = load i32, ptr %12, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
store ptr %43, ptr %14, align 8
%44 = load i32, ptr %12, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %13, align 4
br label %46
46: ; preds = %57, %39
%47 = load ptr, ptr %14, align 8
%48 = load ptr, ptr %6, align 8
%49 = icmp ne ptr %47, %48
br i1 %49, label %50, label %55
50: ; preds = %46
%51 = load ptr, ptr %14, align 8
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp ne i32 %53, 47
br label %55
55: ; preds = %50, %46
%56 = phi i1 [ false, %46 ], [ %54, %50 ]
br i1 %56, label %57, label %62
57: ; preds = %55
%58 = load ptr, ptr %14, align 8
%59 = getelementptr inbounds i8, ptr %58, i32 -1
store ptr %59, ptr %14, align 8
%60 = load i32, ptr %13, align 4
%61 = add nsw i32 %60, -1
store i32 %61, ptr %13, align 4
br label %46, !llvm.loop !6
62: ; preds = %55
%63 = load ptr, ptr %14, align 8
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = icmp eq i32 %65, 47
br i1 %66, label %67, label %73
67: ; preds = %62
%68 = load i32, ptr %13, align 4
%69 = add nsw i32 %68, 1
%70 = call i64 @malloc(i32 noundef %69)
%71 = inttoptr i64 %70 to ptr
%72 = load ptr, ptr %8, align 8
store ptr %71, ptr %72, align 8
store i32 1, ptr %15, align 4
br label %77
73: ; preds = %62
%74 = call i64 @malloc(i32 noundef 1)
%75 = inttoptr i64 %74 to ptr
%76 = load ptr, ptr %8, align 8
store ptr %75, ptr %76, align 8
br label %77
77: ; preds = %73, %67
%78 = load i32, ptr %12, align 4
%79 = load i32, ptr %13, align 4
%80 = load i32, ptr %15, align 4
%81 = icmp ne i32 %80, 0
%82 = zext i1 %81 to i64
%83 = select i1 %81, i32 0, i32 1
%84 = sub nsw i32 %79, %83
%85 = sub nsw i32 %78, %84
%86 = add nsw i32 %85, 1
%87 = call i64 @malloc(i32 noundef %86)
%88 = inttoptr i64 %87 to ptr
%89 = load ptr, ptr %9, align 8
store ptr %88, ptr %89, align 8
%90 = load ptr, ptr %8, align 8
%91 = load ptr, ptr %90, align 8
%92 = icmp ne ptr %91, null
br i1 %92, label %93, label %155
93: ; preds = %77
%94 = load ptr, ptr %9, align 8
%95 = load ptr, ptr %94, align 8
%96 = icmp ne ptr %95, null
br i1 %96, label %97, label %155
97: ; preds = %93
%98 = load i32, ptr %15, align 4
%99 = icmp ne i32 %98, 0
br i1 %99, label %100, label %106
100: ; preds = %97
%101 = load ptr, ptr %8, align 8
%102 = load ptr, ptr %101, align 8
%103 = load ptr, ptr %6, align 8
%104 = load i32, ptr %13, align 4
%105 = call i32 @strncpy(ptr noundef %102, ptr noundef %103, i32 noundef %104)
br label %106
106: ; preds = %100, %97
%107 = load ptr, ptr %8, align 8
%108 = load ptr, ptr %107, align 8
%109 = load i32, ptr %13, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i8, ptr %108, i64 %110
store i8 0, ptr %111, align 1
%112 = load ptr, ptr %9, align 8
%113 = load ptr, ptr %112, align 8
%114 = load ptr, ptr %14, align 8
%115 = load i32, ptr %15, align 4
%116 = icmp ne i32 %115, 0
%117 = zext i1 %116 to i64
%118 = select i1 %116, i32 1, i32 0
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds i8, ptr %114, i64 %119
%121 = load i32, ptr %12, align 4
%122 = load i32, ptr %13, align 4
%123 = load i32, ptr %15, align 4
%124 = icmp ne i32 %123, 0
%125 = zext i1 %124 to i64
%126 = select i1 %124, i32 0, i32 1
%127 = sub nsw i32 %122, %126
%128 = sub nsw i32 %121, %127
%129 = call i32 @strncpy(ptr noundef %113, ptr noundef %120, i32 noundef %128)
%130 = load ptr, ptr %9, align 8
%131 = load ptr, ptr %130, align 8
%132 = load i32, ptr %12, align 4
%133 = load i32, ptr %13, align 4
%134 = load i32, ptr %15, align 4
%135 = icmp ne i32 %134, 0
%136 = zext i1 %135 to i64
%137 = select i1 %135, i32 0, i32 1
%138 = sub nsw i32 %133, %137
%139 = sub nsw i32 %132, %138
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds i8, ptr %131, i64 %140
store i8 0, ptr %141, align 1
%142 = load ptr, ptr %6, align 8
%143 = load i32, ptr %12, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds i8, ptr %142, i64 %144
%146 = load ptr, ptr %10, align 8
store ptr %145, ptr %146, align 8
%147 = load ptr, ptr %10, align 8
%148 = load ptr, ptr %147, align 8
%149 = load i8, ptr %148, align 1
%150 = load ptr, ptr %7, align 8
store i8 %149, ptr %150, align 1
%151 = load ptr, ptr %10, align 8
%152 = load ptr, ptr %151, align 8
%153 = getelementptr inbounds i8, ptr %152, i32 1
store ptr %153, ptr %151, align 8
%154 = load i32, ptr %12, align 4
store i32 %154, ptr %11, align 4
br label %155
155: ; preds = %106, %93, %77
br label %156
156: ; preds = %155, %33
br label %157
157: ; preds = %156, %30, %27, %24, %21, %5
%158 = load i32, ptr %11, align 4
ret i32 %158
}
declare i32 @strlen(ptr noundef) #1
declare i32 @strcspn(ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpzznorum6.c'
source_filename = "/tmp/tmpzznorum6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clrscr() #0 {
%1 = alloca ptr, align 8
%2 = alloca i64, align 8
%3 = alloca i64, align 8
store ptr inttoptr (i64 753664 to ptr), ptr %1, align 8
store i64 2000, ptr %2, align 8
store i64 0, ptr %3, align 8
br label %4
4: ; preds = %12, %0
%5 = load i64, ptr %3, align 8
%6 = icmp slt i64 %5, 2000
br i1 %6, label %7, label %15
7: ; preds = %4
%8 = load ptr, ptr %1, align 8
%9 = getelementptr inbounds i8, ptr %8, i32 1
store ptr %9, ptr %1, align 8
store i8 0, ptr %8, align 1
%10 = load ptr, ptr %1, align 8
%11 = getelementptr inbounds i8, ptr %10, i32 1
store ptr %11, ptr %1, align 8
store i8 15, ptr %10, align 1
br label %12
12: ; preds = %7
%13 = load i64, ptr %3, align 8
%14 = add nsw i64 %13, 1
store i64 %14, ptr %3, align 8
br label %4, !llvm.loop !6
15: ; preds = %4
%16 = call i32 @out(i32 noundef 980, i32 noundef 14)
%17 = call i32 @out(i32 noundef 981, i32 noundef 0)
%18 = call i32 @out(i32 noundef 980, i32 noundef 15)
%19 = call i32 @out(i32 noundef 981, i32 noundef 0)
ret void
}
declare i32 @out(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/tmpzznorum6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clrscr() #0 {
%1 = alloca ptr, align 8
%2 = alloca i64, align 8
%3 = alloca i64, align 8
store ptr inttoptr (i64 753664 to ptr), ptr %1, align 8
store i64 2000, ptr %2, align 8
store i64 0, ptr %3, align 8
%4 = load i64, ptr %3, align 8
%5 = icmp slt i64 %4, 2000
br i1 %5, label %.lr.ph, label %16
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %11
%7 = load ptr, ptr %1, align 8
%8 = getelementptr inbounds i8, ptr %7, i32 1
store ptr %8, ptr %1, align 8
store i8 0, ptr %7, align 1
%9 = load ptr, ptr %1, align 8
%10 = getelementptr inbounds i8, ptr %9, i32 1
store ptr %10, ptr %1, align 8
store i8 15, ptr %9, align 1
br label %11
11: ; preds = %6
%12 = load i64, ptr %3, align 8
%13 = add nsw i64 %12, 1
store i64 %13, ptr %3, align 8
%14 = load i64, ptr %3, align 8
%15 = icmp slt i64 %14, 2000
br i1 %15, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %16
16: ; preds = %._crit_edge, %0
%17 = call i32 @out(i32 noundef 980, i32 noundef 14)
%18 = call i32 @out(i32 noundef 981, i32 noundef 0)
%19 = call i32 @out(i32 noundef 980, i32 noundef 15)
%20 = call i32 @out(i32 noundef 981, i32 noundef 0)
ret void
}
declare i32 @out(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/tmph9e_rvmj.c'
source_filename = "/tmp/tmph9e_rvmj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SYS_mprotect = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @remote_mprotect(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr @SYS_mprotect, align 4
%11 = load ptr, ptr %6, align 8
%12 = ptrtoint ptr %11 to i32
%13 = load i64, ptr %7, align 8
%14 = trunc i64 %13 to i32
%15 = load i32, ptr %8, align 4
%16 = call i64 @remote_syscall(i32 noundef %9, i32 noundef %10, i32 noundef %12, i32 noundef %14, i32 noundef %15, i32 noundef 0, i32 noundef 0, i32 noundef 0)
%17 = inttoptr i64 %16 to ptr
ret ptr %17
}
declare i64 @remote_syscall(i32 noundef, 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/tmph9e_rvmj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SYS_mprotect = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @remote_mprotect(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr @SYS_mprotect, align 4
%11 = load ptr, ptr %6, align 8
%12 = ptrtoint ptr %11 to i32
%13 = load i64, ptr %7, align 8
%14 = trunc i64 %13 to i32
%15 = load i32, ptr %8, align 4
%16 = call i64 @remote_syscall(i32 noundef %9, i32 noundef %10, i32 noundef %12, i32 noundef %14, i32 noundef %15, i32 noundef 0, i32 noundef 0, i32 noundef 0)
%17 = inttoptr i64 %16 to ptr
ret ptr %17
}
declare i64 @remote_syscall(i32 noundef, 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/tmp4i4_5udd.c'
source_filename = "/tmp/tmp4i4_5udd.c"
target datalayout = "e-m:e-p270: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/tmp4i4_5udd.c"
target datalayout = "e-m:e-p270: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/tmpc6jxdnd5.c'
source_filename = "/tmp/tmpc6jxdnd5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Reserved_Handler25() #0 {
br label %1
1: ; preds = %0, %1
br label %1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc6jxdnd5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Reserved_Handler25() #0 {
br label %1
1: ; preds = %1, %0
br label %1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw39vm7dn.c'
source_filename = "/tmp/tmpw39vm7dn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0ASo.. do you wanna stop?\0A\09Okey...\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @comparison(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %43, %2
%8 = call signext i8 (...) @getchar()
store i8 %8, ptr %6, align 1
%9 = load i8, ptr %6, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 126
br i1 %11, label %12, label %22
12: ; preds = %7
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
store i8 0, ptr %16, align 1
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %4, align 4
%19 = load ptr, ptr %3, align 8
%20 = call i32 @print_prop(i32 noundef %17, i32 noundef %18, ptr noundef %19)
%21 = call i32 @puts(ptr noundef @.str)
br label %44
22: ; preds = %7
%23 = load i8, ptr %6, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 10
br i1 %25, label %26, label %35
26: ; preds = %22
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %5, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
store i8 0, ptr %30, align 1
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %4, align 4
%33 = load ptr, ptr %3, align 8
%34 = call i32 @print_prop(i32 noundef %31, i32 noundef %32, ptr noundef %33)
store i32 0, ptr %5, align 4
br label %42
35: ; preds = %22
%36 = load i8, ptr %6, align 1
%37 = load ptr, ptr %3, align 8
%38 = load i32, ptr %5, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %5, align 4
%40 = sext i32 %38 to i64
%41 = getelementptr inbounds i8, ptr %37, i64 %40
store i8 %36, ptr %41, align 1
br label %42
42: ; preds = %35, %26
br label %43
43: ; preds = %42
br label %7
44: ; preds = %12
ret void
}
declare signext i8 @getchar(...) #1
declare i32 @print_prop(i32 noundef, i32 noundef, ptr 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/tmpw39vm7dn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0ASo.. do you wanna stop?\0A\09Okey...\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @comparison(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%7 = call signext i8 (...) @getchar()
store i8 %7, ptr %6, align 1
%8 = load i8, ptr %6, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 126
br i1 %10, label %11, label %.lr.ph
.lr.ph: ; preds = %2
br label %21
._crit_edge: ; preds = %42
br label %11
11: ; preds = %._crit_edge, %2
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
store i8 0, ptr %15, align 1
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %4, align 4
%18 = load ptr, ptr %3, align 8
%19 = call i32 @print_prop(i32 noundef %16, i32 noundef %17, ptr noundef %18)
%20 = call i32 @puts(ptr noundef @.str)
br label %47
21: ; preds = %.lr.ph, %42
%22 = load i8, ptr %6, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 10
br i1 %24, label %25, label %34
25: ; preds = %21
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %5, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
store i8 0, ptr %29, align 1
%30 = load i32, ptr %5, align 4
%31 = load i32, ptr %4, align 4
%32 = load ptr, ptr %3, align 8
%33 = call i32 @print_prop(i32 noundef %30, i32 noundef %31, ptr noundef %32)
store i32 0, ptr %5, align 4
br label %41
34: ; preds = %21
%35 = load i8, ptr %6, align 1
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %5, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %5, align 4
%39 = sext i32 %37 to i64
%40 = getelementptr inbounds i8, ptr %36, i64 %39
store i8 %35, ptr %40, align 1
br label %41
41: ; preds = %34, %25
br label %42
42: ; preds = %41
%43 = call signext i8 (...) @getchar()
store i8 %43, ptr %6, align 1
%44 = load i8, ptr %6, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 126
br i1 %46, label %._crit_edge, label %21
47: ; preds = %11
ret void
}
declare signext i8 @getchar(...) #1
declare i32 @print_prop(i32 noundef, i32 noundef, ptr 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/tmp14m8gxoa.c'
source_filename = "/tmp/tmp14m8gxoa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@radix_uint2str.buffer = internal global [80 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [5 x i8] c"%0*u\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%s%0*o\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"%s%0*x\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"0x\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [45 x i8] c"radix_uint2str(): radix must be 10, 8 or 16\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @radix_uint2str(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %4
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %7, align 4
%15 = call i32 @digitcount_from_bitlen(i32 noundef %13, i32 noundef %14)
store i32 %15, ptr %9, align 4
br label %16
16: ; preds = %12, %4
%17 = load i32, ptr %6, align 4
%18 = icmp eq i32 %17, 10
br i1 %18, label %19, label %23
19: ; preds = %16
%20 = load i32, ptr %9, align 4
%21 = load i32, ptr %5, align 4
%22 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef @radix_uint2str.buffer, ptr noundef @.str, i32 noundef %20, i32 noundef %21)
br label %51
23: ; preds = %16
%24 = load i32, ptr %6, align 4
%25 = icmp eq i32 %24, 8
br i1 %25, label %26, label %34
26: ; preds = %23
%27 = load i32, ptr %8, align 4
%28 = icmp ne i32 %27, 0
%29 = zext i1 %28 to i64
%30 = select i1 %28, ptr @.str.2, ptr @.str.3
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr %5, align 4
%33 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef @radix_uint2str.buffer, ptr noundef @.str.1, ptr noundef %30, i32 noundef %31, i32 noundef %32)
br label %50
34: ; preds = %23
%35 = load i32, ptr %6, align 4
%36 = icmp eq i32 %35, 16
br i1 %36, label %37, label %45
37: ; preds = %34
%38 = load i32, ptr %8, align 4
%39 = icmp ne i32 %38, 0
%40 = zext i1 %39 to i64
%41 = select i1 %39, ptr @.str.5, ptr @.str.3
%42 = load i32, ptr %9, align 4
%43 = load i32, ptr %5, align 4
%44 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef @radix_uint2str.buffer, ptr noundef @.str.4, ptr noundef %41, i32 noundef %42, i32 noundef %43)
br label %49
45: ; preds = %34
%46 = load i32, ptr @stderr, align 4
%47 = call i32 @fprintf(i32 noundef %46, ptr noundef @.str.6)
%48 = call i32 @exit(i32 noundef 1) #3
unreachable
49: ; preds = %37
br label %50
50: ; preds = %49, %26
br label %51
51: ; preds = %50, %19
ret ptr @radix_uint2str.buffer
}
declare i32 @digitcount_from_bitlen(i32 noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp14m8gxoa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@radix_uint2str.buffer = internal global [80 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [5 x i8] c"%0*u\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%s%0*o\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"%s%0*x\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"0x\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [45 x i8] c"radix_uint2str(): radix must be 10, 8 or 16\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @radix_uint2str(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %4
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %7, align 4
%15 = call i32 @digitcount_from_bitlen(i32 noundef %13, i32 noundef %14)
store i32 %15, ptr %9, align 4
br label %16
16: ; preds = %12, %4
%17 = load i32, ptr %6, align 4
%18 = icmp eq i32 %17, 10
br i1 %18, label %19, label %23
19: ; preds = %16
%20 = load i32, ptr %9, align 4
%21 = load i32, ptr %5, align 4
%22 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef @radix_uint2str.buffer, ptr noundef @.str, i32 noundef %20, i32 noundef %21)
br label %51
23: ; preds = %16
%24 = load i32, ptr %6, align 4
%25 = icmp eq i32 %24, 8
br i1 %25, label %26, label %34
26: ; preds = %23
%27 = load i32, ptr %8, align 4
%28 = icmp ne i32 %27, 0
%29 = zext i1 %28 to i64
%30 = select i1 %28, ptr @.str.2, ptr @.str.3
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr %5, align 4
%33 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef @radix_uint2str.buffer, ptr noundef @.str.1, ptr noundef %30, i32 noundef %31, i32 noundef %32)
br label %50
34: ; preds = %23
%35 = load i32, ptr %6, align 4
%36 = icmp eq i32 %35, 16
br i1 %36, label %37, label %45
37: ; preds = %34
%38 = load i32, ptr %8, align 4
%39 = icmp ne i32 %38, 0
%40 = zext i1 %39 to i64
%41 = select i1 %39, ptr @.str.5, ptr @.str.3
%42 = load i32, ptr %9, align 4
%43 = load i32, ptr %5, align 4
%44 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef @radix_uint2str.buffer, ptr noundef @.str.4, ptr noundef %41, i32 noundef %42, i32 noundef %43)
br label %49
45: ; preds = %34
%46 = load i32, ptr @stderr, align 4
%47 = call i32 @fprintf(i32 noundef %46, ptr noundef @.str.6)
%48 = call i32 @exit(i32 noundef 1) #3
unreachable
49: ; preds = %37
br label %50
50: ; preds = %49, %26
br label %51
51: ; preds = %50, %19
ret ptr @radix_uint2str.buffer
}
declare i32 @digitcount_from_bitlen(i32 noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmuzz6_zf.c'
source_filename = "/tmp/tmpmuzz6_zf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fork() \00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [45 x i8] c"This is child with pid %u and parent pid %u\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"This is parent with pid %u\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 i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i64 (...) @fork()
store i64 %7, ptr %6, align 8
%8 = load i64, ptr %6, align 8
%9 = icmp slt i64 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = call i32 @perror(ptr noundef @.str)
%12 = load i32, ptr @EXIT_FAILURE, align 4
%13 = call i32 @exit(i32 noundef %12) #3
unreachable
14: ; preds = %2
%15 = load i64, ptr %6, align 8
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %21
17: ; preds = %14
%18 = call i32 (...) @getpid()
%19 = call i32 (...) @getppid()
%20 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %18, i32 noundef %19)
br label %25
21: ; preds = %14
%22 = call i32 (...) @getpid()
%23 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %22)
%24 = call i32 @sleep(i32 noundef 3)
br label %25
25: ; preds = %21, %17
br label %26
26: ; preds = %25
%27 = load i32, ptr @EXIT_SUCCESS, align 4
%28 = call i32 @exit(i32 noundef %27) #3
unreachable
}
declare i64 @fork(...) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @getpid(...) #1
declare i32 @getppid(...) #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" }
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/tmpmuzz6_zf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fork() \00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [45 x i8] c"This is child with pid %u and parent pid %u\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"This is parent with pid %u\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 i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i64 (...) @fork()
store i64 %7, ptr %6, align 8
%8 = load i64, ptr %6, align 8
%9 = icmp slt i64 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = call i32 @perror(ptr noundef @.str)
%12 = load i32, ptr @EXIT_FAILURE, align 4
%13 = call i32 @exit(i32 noundef %12) #3
unreachable
14: ; preds = %2
%15 = load i64, ptr %6, align 8
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %21
17: ; preds = %14
%18 = call i32 (...) @getpid()
%19 = call i32 (...) @getppid()
%20 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %18, i32 noundef %19)
br label %25
21: ; preds = %14
%22 = call i32 (...) @getpid()
%23 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %22)
%24 = call i32 @sleep(i32 noundef 3)
br label %25
25: ; preds = %21, %17
br label %26
26: ; preds = %25
%27 = load i32, ptr @EXIT_SUCCESS, align 4
%28 = call i32 @exit(i32 noundef %27) #3
unreachable
}
declare i64 @fork(...) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @getpid(...) #1
declare i32 @getppid(...) #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" }
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/tmpts8ffxxb.c'
source_filename = "/tmp/tmpts8ffxxb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SYS_gettid = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_thread_id() #0 {
%1 = load i32, ptr @SYS_gettid, align 4
%2 = call i32 @syscall(i32 noundef %1)
ret i32 %2
}
declare i32 @syscall(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/tmpts8ffxxb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SYS_gettid = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_thread_id() #0 {
%1 = load i32, ptr @SYS_gettid, align 4
%2 = call i32 @syscall(i32 noundef %1)
ret i32 %2
}
declare i32 @syscall(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_jg_6m4l.c'
source_filename = "/tmp/tmp_jg_6m4l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"fib(%i) = %i calls = %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i32 -1, ptr %3, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = sext i32 %9 to i64
%11 = mul i64 4, %10
%12 = trunc i64 %11 to i32
%13 = call i64 @malloc(i32 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %5, align 8
%15 = load i32, ptr %2, align 4
%16 = sext i32 %15 to i64
%17 = mul i64 4, %16
%18 = trunc i64 %17 to i32
%19 = call i64 @malloc(i32 noundef %18)
%20 = inttoptr i64 %19 to ptr
store ptr %20, ptr %6, align 8
%21 = load i32, ptr %2, align 4
%22 = sext i32 %21 to i64
%23 = mul i64 4, %22
%24 = trunc i64 %23 to i32
%25 = call i64 @malloc(i32 noundef %24)
%26 = inttoptr i64 %25 to ptr
store ptr %26, ptr %7, align 8
br label %27
27: ; preds = %32, %0
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
%30 = load i32, ptr %2, align 4
%31 = icmp ne i32 %29, %30
br i1 %31, label %32, label %53
32: ; preds = %27
%33 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%34 = load ptr, ptr %7, align 8
%35 = load i32, ptr %3, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
store i32 -1, ptr %37, align 4
%38 = load i32, ptr %4, align 4
%39 = load ptr, ptr %7, align 8
%40 = load i32, ptr %3, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %39, i64 %41
%43 = call i32 @fib(i32 noundef %38, ptr noundef %42)
%44 = load ptr, ptr %5, align 8
%45 = load i32, ptr %3, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %44, i64 %46
store i32 %43, ptr %47, align 4
%48 = load i32, ptr %4, align 4
%49 = load ptr, ptr %6, align 8
%50 = load i32, ptr %3, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, ptr %49, i64 %51
store i32 %48, ptr %52, align 4
br label %27, !llvm.loop !6
53: ; preds = %27
store i32 -1, ptr %3, align 4
br label %54
54: ; preds = %59, %53
%55 = load i32, ptr %3, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %3, align 4
%57 = load i32, ptr %2, align 4
%58 = icmp ne i32 %56, %57
br i1 %58, label %59, label %76
59: ; preds = %54
%60 = load ptr, ptr %6, align 8
%61 = load i32, ptr %3, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i32, ptr %60, i64 %62
%64 = load i32, ptr %63, align 4
%65 = load ptr, ptr %7, align 8
%66 = load i32, ptr %3, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i32, ptr %65, i64 %67
%69 = load i32, ptr %68, align 4
%70 = load ptr, ptr %5, align 8
%71 = load i32, ptr %3, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %70, i64 %72
%74 = load i32, ptr %73, align 4
%75 = call i32 @printf(ptr noundef @.str.1, i32 noundef %64, i32 noundef %69, i32 noundef %74)
br label %54, !llvm.loop !8
76: ; preds = %54
%77 = load ptr, ptr %5, align 8
%78 = call i32 @free(ptr noundef %77)
%79 = load ptr, ptr %6, align 8
%80 = call i32 @free(ptr noundef %79)
%81 = load ptr, ptr %7, align 8
%82 = call i32 @free(ptr noundef %81)
%83 = load i32, ptr %1, align 4
ret i32 %83
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @fib(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_jg_6m4l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"fib(%i) = %i calls = %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i32 -1, ptr %3, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = sext i32 %9 to i64
%11 = mul i64 4, %10
%12 = trunc i64 %11 to i32
%13 = call i64 @malloc(i32 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %5, align 8
%15 = load i32, ptr %2, align 4
%16 = sext i32 %15 to i64
%17 = mul i64 4, %16
%18 = trunc i64 %17 to i32
%19 = call i64 @malloc(i32 noundef %18)
%20 = inttoptr i64 %19 to ptr
store ptr %20, ptr %6, align 8
%21 = load i32, ptr %2, align 4
%22 = sext i32 %21 to i64
%23 = mul i64 4, %22
%24 = trunc i64 %23 to i32
%25 = call i64 @malloc(i32 noundef %24)
%26 = inttoptr i64 %25 to ptr
store ptr %26, ptr %7, align 8
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %3, align 4
%29 = load i32, ptr %2, align 4
%30 = icmp ne i32 %28, %29
br i1 %30, label %.lr.ph, label %56
.lr.ph: ; preds = %0
br label %31
31: ; preds = %.lr.ph, %31
%32 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%33 = load ptr, ptr %7, align 8
%34 = load i32, ptr %3, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
store i32 -1, ptr %36, align 4
%37 = load i32, ptr %4, align 4
%38 = load ptr, ptr %7, align 8
%39 = load i32, ptr %3, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
%42 = call i32 @fib(i32 noundef %37, ptr noundef %41)
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %3, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %43, i64 %45
store i32 %42, ptr %46, align 4
%47 = load i32, ptr %4, align 4
%48 = load ptr, ptr %6, align 8
%49 = load i32, ptr %3, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %48, i64 %50
store i32 %47, ptr %51, align 4
%52 = load i32, ptr %3, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %3, align 4
%54 = load i32, ptr %2, align 4
%55 = icmp ne i32 %53, %54
br i1 %55, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %56
56: ; preds = %._crit_edge, %0
store i32 -1, ptr %3, align 4
%57 = load i32, ptr %3, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %3, align 4
%59 = load i32, ptr %2, align 4
%60 = icmp ne i32 %58, %59
br i1 %60, label %.lr.ph2, label %82
.lr.ph2: ; preds = %56
br label %61
61: ; preds = %.lr.ph2, %61
%62 = load ptr, ptr %6, align 8
%63 = load i32, ptr %3, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i32, ptr %62, i64 %64
%66 = load i32, ptr %65, align 4
%67 = load ptr, ptr %7, align 8
%68 = load i32, ptr %3, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i32, ptr %67, i64 %69
%71 = load i32, ptr %70, align 4
%72 = load ptr, ptr %5, align 8
%73 = load i32, ptr %3, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i32, ptr %72, i64 %74
%76 = load i32, ptr %75, align 4
%77 = call i32 @printf(ptr noundef @.str.1, i32 noundef %66, i32 noundef %71, i32 noundef %76)
%78 = load i32, ptr %3, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %3, align 4
%80 = load i32, ptr %2, align 4
%81 = icmp ne i32 %79, %80
br i1 %81, label %61, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %61
br label %82
82: ; preds = %._crit_edge3, %56
%83 = load ptr, ptr %5, align 8
%84 = call i32 @free(ptr noundef %83)
%85 = load ptr, ptr %6, align 8
%86 = call i32 @free(ptr noundef %85)
%87 = load ptr, ptr %7, align 8
%88 = call i32 @free(ptr noundef %87)
%89 = load i32, ptr %1, align 4
ret i32 %89
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @fib(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 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}
|
; ModuleID = '/tmp/tmpv7nqju7y.c'
source_filename = "/tmp/tmpv7nqju7y.c"
target datalayout = "e-m:e-p270: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/tmpv7nqju7y.c"
target datalayout = "e-m:e-p270: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/tmpznhis8cm.c'
source_filename = "/tmp/tmpznhis8cm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"ecma: invalid file entry\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @decode_ext_file_entry(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds i32, ptr %10, i64 208
%12 = call i64 @_get_u32(ptr noundef %11)
store i64 %12, ptr %8, align 8
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds i32, ptr %13, i64 212
%15 = call i64 @_get_u32(ptr noundef %14)
store i64 %15, ptr %9, align 8
%16 = load i64, ptr %8, align 8
%17 = load i64, ptr %9, align 8
%18 = add nsw i64 %16, %17
%19 = add nsw i64 %18, 216
%20 = icmp sge i64 %19, 4294967296
br i1 %20, label %21, label %24
21: ; preds = %3
%22 = load i32, ptr @stderr, align 4
%23 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str)
store ptr null, ptr %4, align 8
br label %32
24: ; preds = %3
%25 = load ptr, ptr %5, align 8
%26 = load i64, ptr %6, align 8
%27 = load i32, ptr %7, align 4
%28 = load i64, ptr %9, align 8
%29 = load i64, ptr %8, align 8
%30 = add nsw i64 216, %29
%31 = call ptr @_decode_file_entry(ptr noundef %25, i64 noundef %26, i32 noundef %27, i64 noundef %28, i64 noundef %30)
store ptr %31, ptr %4, align 8
br label %32
32: ; preds = %24, %21
%33 = load ptr, ptr %4, align 8
ret ptr %33
}
declare i64 @_get_u32(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare ptr @_decode_file_entry(ptr noundef, i64 noundef, i32 noundef, i64 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/tmpznhis8cm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"ecma: invalid file entry\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @decode_ext_file_entry(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds i32, ptr %10, i64 208
%12 = call i64 @_get_u32(ptr noundef %11)
store i64 %12, ptr %8, align 8
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds i32, ptr %13, i64 212
%15 = call i64 @_get_u32(ptr noundef %14)
store i64 %15, ptr %9, align 8
%16 = load i64, ptr %8, align 8
%17 = load i64, ptr %9, align 8
%18 = add nsw i64 %16, %17
%19 = add nsw i64 %18, 216
%20 = icmp sge i64 %19, 4294967296
br i1 %20, label %21, label %24
21: ; preds = %3
%22 = load i32, ptr @stderr, align 4
%23 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str)
store ptr null, ptr %4, align 8
br label %32
24: ; preds = %3
%25 = load ptr, ptr %5, align 8
%26 = load i64, ptr %6, align 8
%27 = load i32, ptr %7, align 4
%28 = load i64, ptr %9, align 8
%29 = load i64, ptr %8, align 8
%30 = add nsw i64 216, %29
%31 = call ptr @_decode_file_entry(ptr noundef %25, i64 noundef %26, i32 noundef %27, i64 noundef %28, i64 noundef %30)
store ptr %31, ptr %4, align 8
br label %32
32: ; preds = %24, %21
%33 = load ptr, ptr %4, align 8
ret ptr %33
}
declare i64 @_get_u32(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare ptr @_decode_file_entry(ptr noundef, i64 noundef, i32 noundef, i64 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/tmp0kpp7961.c'
source_filename = "/tmp/tmp0kpp7961.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"The value of %s is %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @mgetline(ptr noundef %4, i32 noundef 100)
%6 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%7 = call i32 @htoi(ptr noundef %6)
store i32 %7, ptr %3, align 4
%8 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%9 = load i32, ptr %3, align 4
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %8, i32 noundef %9)
ret i32 0
}
declare i32 @mgetline(ptr noundef, i32 noundef) #1
declare i32 @htoi(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0kpp7961.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"The value of %s is %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @mgetline(ptr noundef %4, i32 noundef 100)
%6 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%7 = call i32 @htoi(ptr noundef %6)
store i32 %7, ptr %3, align 4
%8 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%9 = load i32, ptr %3, align 4
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %8, i32 noundef %9)
ret i32 0
}
declare i32 @mgetline(ptr noundef, i32 noundef) #1
declare i32 @htoi(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz5asitn5.c'
source_filename = "/tmp/tmpz5asitn5.c"
target datalayout = "e-m:e-p270: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/tmpz5asitn5.c"
target datalayout = "e-m:e-p270: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/tmp5lvy4g0v.c'
source_filename = "/tmp/tmp5lvy4g0v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @udelay(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @__delay(i64 noundef %3)
ret void
}
declare i32 @__delay(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/tmp5lvy4g0v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @udelay(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @__delay(i64 noundef %3)
ret void
}
declare i32 @__delay(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/tmpe8j0lcsj.c'
source_filename = "/tmp/tmpe8j0lcsj.c"
target datalayout = "e-m:e-p270: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/tmpe8j0lcsj.c"
target datalayout = "e-m:e-p270: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/tmp1eg8ptze.c'
source_filename = "/tmp/tmp1eg8ptze.c"
target datalayout = "e-m:e-p270: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/tmp1eg8ptze.c"
target datalayout = "e-m:e-p270: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/tmph9li8r18.c'
source_filename = "/tmp/tmph9li8r18.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"Cannot read number from ASCII table\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"Column field = %s.\00", align 1
@UCHAR_MAX = dso_local global i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fffstri1(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i64 noundef %4, double noundef %5, i32 noundef %6, ptr noundef %7, i8 noundef zeroext %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) #0 {
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i64, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca i64, align 8
%20 = alloca double, align 8
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
%23 = alloca i8, align 1
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca i32, align 4
%29 = alloca i64, align 8
%30 = alloca double, align 8
%31 = alloca ptr, align 8
%32 = alloca [81 x i8], align 16
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca i8, align 1
%36 = alloca i8, align 1
%37 = alloca double, align 8
%38 = alloca double, align 8
%39 = alloca i32, align 4
%40 = alloca i32, align 4
%41 = alloca i32, align 4
%42 = alloca i32, align 4
store ptr %0, ptr %15, align 8
store i64 %1, ptr %16, align 8
store double %2, ptr %17, align 8
store double %3, ptr %18, align 8
store i64 %4, ptr %19, align 8
store double %5, ptr %20, align 8
store i32 %6, ptr %21, align 4
store ptr %7, ptr %22, align 8
store i8 %8, ptr %23, align 1
store ptr %9, ptr %24, align 8
store ptr %10, ptr %25, align 8
store ptr %11, ptr %26, align 8
store ptr %12, ptr %27, align 8
store i8 48, ptr %36, align 1
%43 = load ptr, ptr %22, align 8
%44 = call i32 @strlen(ptr noundef %43)
store i32 %44, ptr %28, align 4
%45 = load ptr, ptr %15, align 8
store ptr %45, ptr %33, align 8
store i64 0, ptr %29, align 8
br label %46
46: ; preds = %368, %13
%47 = load i64, ptr %29, align 8
%48 = load i64, ptr %16, align 8
%49 = icmp slt i64 %47, %48
br i1 %49, label %50, label %371
50: ; preds = %46
%51 = load ptr, ptr %33, align 8
store ptr %51, ptr %31, align 8
%52 = load ptr, ptr %33, align 8
%53 = load i64, ptr %19, align 8
%54 = getelementptr inbounds i8, ptr %52, i64 %53
store ptr %54, ptr %34, align 8
%55 = load ptr, ptr %34, align 8
%56 = load i8, ptr %55, align 1
store i8 %56, ptr %35, align 1
%57 = load ptr, ptr %34, align 8
store i8 0, ptr %57, align 1
%58 = load ptr, ptr %22, align 8
%59 = getelementptr inbounds i8, ptr %58, i64 0
%60 = load i8, ptr %59, align 1
%61 = sext i8 %60 to i32
%62 = icmp ne i32 %61, 1
br i1 %62, label %63, label %90
63: ; preds = %50
%64 = load ptr, ptr %22, align 8
%65 = load ptr, ptr %33, align 8
%66 = load i32, ptr %28, align 4
%67 = call i32 @strncmp(ptr noundef %64, ptr noundef %65, i32 noundef %66)
%68 = icmp ne i32 %67, 0
br i1 %68, label %90, label %69
69: ; preds = %63
%70 = load i32, ptr %21, align 4
%71 = icmp ne i32 %70, 0
br i1 %71, label %72, label %86
72: ; preds = %69
%73 = load ptr, ptr %25, align 8
store i32 1, ptr %73, align 4
%74 = load i32, ptr %21, align 4
%75 = icmp eq i32 %74, 1
br i1 %75, label %76, label %81
76: ; preds = %72
%77 = load i8, ptr %23, align 1
%78 = load ptr, ptr %26, align 8
%79 = load i64, ptr %29, align 8
%80 = getelementptr inbounds i8, ptr %78, i64 %79
store i8 %77, ptr %80, align 1
br label %85
81: ; preds = %72
%82 = load ptr, ptr %24, align 8
%83 = load i64, ptr %29, align 8
%84 = getelementptr inbounds i8, ptr %82, i64 %83
store i8 1, ptr %84, align 1
br label %85
85: ; preds = %81, %76
br label %86
86: ; preds = %85, %69
%87 = load i64, ptr %19, align 8
%88 = load ptr, ptr %33, align 8
%89 = getelementptr inbounds i8, ptr %88, i64 %87
store ptr %89, ptr %33, align 8
br label %365
90: ; preds = %63, %50
store i32 0, ptr %42, align 4
store i32 1, ptr %40, align 4
store double 0.000000e+00, ptr %37, align 8
store double 1.000000e+00, ptr %38, align 8
store i32 0, ptr %39, align 4
store i32 1, ptr %41, align 4
br label %91
91: ; preds = %96, %90
%92 = load ptr, ptr %33, align 8
%93 = load i8, ptr %92, align 1
%94 = sext i8 %93 to i32
%95 = icmp eq i32 %94, 32
br i1 %95, label %96, label %99
96: ; preds = %91
%97 = load ptr, ptr %33, align 8
%98 = getelementptr inbounds i8, ptr %97, i32 1
store ptr %98, ptr %33, align 8
br label %91, !llvm.loop !6
99: ; preds = %91
%100 = load ptr, ptr %33, align 8
%101 = load i8, ptr %100, align 1
%102 = sext i8 %101 to i32
%103 = icmp eq i32 %102, 45
br i1 %103, label %109, label %104
104: ; preds = %99
%105 = load ptr, ptr %33, align 8
%106 = load i8, ptr %105, align 1
%107 = sext i8 %106 to i32
%108 = icmp eq i32 %107, 43
br i1 %108, label %109, label %127
109: ; preds = %104, %99
%110 = load ptr, ptr %33, align 8
%111 = load i8, ptr %110, align 1
%112 = sext i8 %111 to i32
%113 = icmp eq i32 %112, 45
br i1 %113, label %114, label %115
114: ; preds = %109
store i32 -1, ptr %40, align 4
br label %115
115: ; preds = %114, %109
%116 = load ptr, ptr %33, align 8
%117 = getelementptr inbounds i8, ptr %116, i32 1
store ptr %117, ptr %33, align 8
br label %118
118: ; preds = %123, %115
%119 = load ptr, ptr %33, align 8
%120 = load i8, ptr %119, align 1
%121 = sext i8 %120 to i32
%122 = icmp eq i32 %121, 32
br i1 %122, label %123, label %126
123: ; preds = %118
%124 = load ptr, ptr %33, align 8
%125 = getelementptr inbounds i8, ptr %124, i32 1
store ptr %125, ptr %33, align 8
br label %118, !llvm.loop !8
126: ; preds = %118
br label %127
127: ; preds = %126, %104
br label %128
128: ; preds = %161, %127
%129 = load ptr, ptr %33, align 8
%130 = load i8, ptr %129, align 1
%131 = sext i8 %130 to i32
%132 = icmp sge i32 %131, 48
br i1 %132, label %133, label %138
133: ; preds = %128
%134 = load ptr, ptr %33, align 8
%135 = load i8, ptr %134, align 1
%136 = sext i8 %135 to i32
%137 = icmp sle i32 %136, 57
br label %138
138: ; preds = %133, %128
%139 = phi i1 [ false, %128 ], [ %137, %133 ]
br i1 %139, label %140, label %162
140: ; preds = %138
%141 = load double, ptr %37, align 8
%142 = load ptr, ptr %33, align 8
%143 = load i8, ptr %142, align 1
%144 = sext i8 %143 to i32
%145 = sitofp i32 %144 to double
%146 = call double @llvm.fmuladd.f64(double %141, double 1.000000e+01, double %145)
%147 = load i8, ptr %36, align 1
%148 = sext i8 %147 to i32
%149 = sitofp i32 %148 to double
%150 = fsub double %146, %149
store double %150, ptr %37, align 8
%151 = load ptr, ptr %33, align 8
%152 = getelementptr inbounds i8, ptr %151, i32 1
store ptr %152, ptr %33, align 8
br label %153
153: ; preds = %158, %140
%154 = load ptr, ptr %33, align 8
%155 = load i8, ptr %154, align 1
%156 = sext i8 %155 to i32
%157 = icmp eq i32 %156, 32
br i1 %157, label %158, label %161
158: ; preds = %153
%159 = load ptr, ptr %33, align 8
%160 = getelementptr inbounds i8, ptr %159, i32 1
store ptr %160, ptr %33, align 8
br label %153, !llvm.loop !9
161: ; preds = %153
br label %128, !llvm.loop !10
162: ; preds = %138
%163 = load ptr, ptr %33, align 8
%164 = load i8, ptr %163, align 1
%165 = sext i8 %164 to i32
%166 = icmp eq i32 %165, 46
br i1 %166, label %167, label %216
167: ; preds = %162
store i32 1, ptr %42, align 4
%168 = load ptr, ptr %33, align 8
%169 = getelementptr inbounds i8, ptr %168, i32 1
store ptr %169, ptr %33, align 8
br label %170
170: ; preds = %175, %167
%171 = load ptr, ptr %33, align 8
%172 = load i8, ptr %171, align 1
%173 = sext i8 %172 to i32
%174 = icmp eq i32 %173, 32
br i1 %174, label %175, label %178
175: ; preds = %170
%176 = load ptr, ptr %33, align 8
%177 = getelementptr inbounds i8, ptr %176, i32 1
store ptr %177, ptr %33, align 8
br label %170, !llvm.loop !11
178: ; preds = %170
br label %179
179: ; preds = %214, %178
%180 = load ptr, ptr %33, align 8
%181 = load i8, ptr %180, align 1
%182 = sext i8 %181 to i32
%183 = icmp sge i32 %182, 48
br i1 %183, label %184, label %189
184: ; preds = %179
%185 = load ptr, ptr %33, align 8
%186 = load i8, ptr %185, align 1
%187 = sext i8 %186 to i32
%188 = icmp sle i32 %187, 57
br label %189
189: ; preds = %184, %179
%190 = phi i1 [ false, %179 ], [ %188, %184 ]
br i1 %190, label %191, label %215
191: ; preds = %189
%192 = load double, ptr %37, align 8
%193 = load ptr, ptr %33, align 8
%194 = load i8, ptr %193, align 1
%195 = sext i8 %194 to i32
%196 = sitofp i32 %195 to double
%197 = call double @llvm.fmuladd.f64(double %192, double 1.000000e+01, double %196)
%198 = load i8, ptr %36, align 1
%199 = sext i8 %198 to i32
%200 = sitofp i32 %199 to double
%201 = fsub double %197, %200
store double %201, ptr %37, align 8
%202 = load double, ptr %38, align 8
%203 = fmul double %202, 1.000000e+01
store double %203, ptr %38, align 8
%204 = load ptr, ptr %33, align 8
%205 = getelementptr inbounds i8, ptr %204, i32 1
store ptr %205, ptr %33, align 8
br label %206
206: ; preds = %211, %191
%207 = load ptr, ptr %33, align 8
%208 = load i8, ptr %207, align 1
%209 = sext i8 %208 to i32
%210 = icmp eq i32 %209, 32
br i1 %210, label %211, label %214
211: ; preds = %206
%212 = load ptr, ptr %33, align 8
%213 = getelementptr inbounds i8, ptr %212, i32 1
store ptr %213, ptr %33, align 8
br label %206, !llvm.loop !12
214: ; preds = %206
br label %179, !llvm.loop !13
215: ; preds = %189
br label %216
216: ; preds = %215, %162
%217 = load ptr, ptr %33, align 8
%218 = load i8, ptr %217, align 1
%219 = sext i8 %218 to i32
%220 = icmp eq i32 %219, 69
br i1 %220, label %226, label %221
221: ; preds = %216
%222 = load ptr, ptr %33, align 8
%223 = load i8, ptr %222, align 1
%224 = sext i8 %223 to i32
%225 = icmp eq i32 %224, 68
br i1 %225, label %226, label %300
226: ; preds = %221, %216
%227 = load ptr, ptr %33, align 8
%228 = getelementptr inbounds i8, ptr %227, i32 1
store ptr %228, ptr %33, align 8
br label %229
229: ; preds = %234, %226
%230 = load ptr, ptr %33, align 8
%231 = load i8, ptr %230, align 1
%232 = sext i8 %231 to i32
%233 = icmp eq i32 %232, 32
br i1 %233, label %234, label %237
234: ; preds = %229
%235 = load ptr, ptr %33, align 8
%236 = getelementptr inbounds i8, ptr %235, i32 1
store ptr %236, ptr %33, align 8
br label %229, !llvm.loop !14
237: ; preds = %229
%238 = load ptr, ptr %33, align 8
%239 = load i8, ptr %238, align 1
%240 = sext i8 %239 to i32
%241 = icmp eq i32 %240, 45
br i1 %241, label %247, label %242
242: ; preds = %237
%243 = load ptr, ptr %33, align 8
%244 = load i8, ptr %243, align 1
%245 = sext i8 %244 to i32
%246 = icmp eq i32 %245, 43
br i1 %246, label %247, label %265
247: ; preds = %242, %237
%248 = load ptr, ptr %33, align 8
%249 = load i8, ptr %248, align 1
%250 = sext i8 %249 to i32
%251 = icmp eq i32 %250, 45
br i1 %251, label %252, label %253
252: ; preds = %247
store i32 -1, ptr %41, align 4
br label %253
253: ; preds = %252, %247
%254 = load ptr, ptr %33, align 8
%255 = getelementptr inbounds i8, ptr %254, i32 1
store ptr %255, ptr %33, align 8
br label %256
256: ; preds = %261, %253
%257 = load ptr, ptr %33, align 8
%258 = load i8, ptr %257, align 1
%259 = sext i8 %258 to i32
%260 = icmp eq i32 %259, 32
br i1 %260, label %261, label %264
261: ; preds = %256
%262 = load ptr, ptr %33, align 8
%263 = getelementptr inbounds i8, ptr %262, i32 1
store ptr %263, ptr %33, align 8
br label %256, !llvm.loop !15
264: ; preds = %256
br label %265
265: ; preds = %264, %242
br label %266
266: ; preds = %298, %265
%267 = load ptr, ptr %33, align 8
%268 = load i8, ptr %267, align 1
%269 = sext i8 %268 to i32
%270 = icmp sge i32 %269, 48
br i1 %270, label %271, label %276
271: ; preds = %266
%272 = load ptr, ptr %33, align 8
%273 = load i8, ptr %272, align 1
%274 = sext i8 %273 to i32
%275 = icmp sle i32 %274, 57
br label %276
276: ; preds = %271, %266
%277 = phi i1 [ false, %266 ], [ %275, %271 ]
br i1 %277, label %278, label %299
278: ; preds = %276
%279 = load i32, ptr %39, align 4
%280 = mul nsw i32 %279, 10
%281 = load ptr, ptr %33, align 8
%282 = load i8, ptr %281, align 1
%283 = sext i8 %282 to i32
%284 = add nsw i32 %280, %283
%285 = load i8, ptr %36, align 1
%286 = sext i8 %285 to i32
%287 = sub nsw i32 %284, %286
store i32 %287, ptr %39, align 4
%288 = load ptr, ptr %33, align 8
%289 = getelementptr inbounds i8, ptr %288, i32 1
store ptr %289, ptr %33, align 8
br label %290
290: ; preds = %295, %278
%291 = load ptr, ptr %33, align 8
%292 = load i8, ptr %291, align 1
%293 = sext i8 %292 to i32
%294 = icmp eq i32 %293, 32
br i1 %294, label %295, label %298
295: ; preds = %290
%296 = load ptr, ptr %33, align 8
%297 = getelementptr inbounds i8, ptr %296, i32 1
store ptr %297, ptr %33, align 8
br label %290, !llvm.loop !16
298: ; preds = %290
br label %266, !llvm.loop !17
299: ; preds = %276
br label %300
300: ; preds = %299, %221
%301 = load ptr, ptr %33, align 8
%302 = load i8, ptr %301, align 1
%303 = sext i8 %302 to i32
%304 = icmp ne i32 %303, 0
br i1 %304, label %305, label %318
305: ; preds = %300
%306 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0
%307 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %306, ptr noundef @.str)
%308 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0
%309 = call i32 @ffpmsg(ptr noundef %308)
%310 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0
%311 = load ptr, ptr %31, align 8
%312 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %310, ptr noundef @.str.1, ptr noundef %311)
%313 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0
%314 = call i32 @ffpmsg(ptr noundef %313)
%315 = load i8, ptr %35, align 1
%316 = load ptr, ptr %34, align 8
store i8 %315, ptr %316, align 1
%317 = load ptr, ptr %27, align 8
store i32 409, ptr %317, align 4
store i32 409, ptr %14, align 4
br label %374
318: ; preds = %300
%319 = load i32, ptr %42, align 4
%320 = icmp ne i32 %319, 0
br i1 %320, label %323, label %321
321: ; preds = %318
%322 = load double, ptr %20, align 8
store double %322, ptr %38, align 8
br label %323
323: ; preds = %321, %318
%324 = load i32, ptr %40, align 4
%325 = sitofp i32 %324 to double
%326 = load double, ptr %37, align 8
%327 = fmul double %325, %326
%328 = load double, ptr %38, align 8
%329 = fdiv double %327, %328
%330 = load i32, ptr %41, align 4
%331 = load i32, ptr %39, align 4
%332 = mul nsw i32 %330, %331
%333 = sitofp i32 %332 to double
%334 = call i32 @pow(i32 noundef 10, double noundef %333)
%335 = sitofp i32 %334 to double
%336 = fmul double %329, %335
store double %336, ptr %30, align 8
%337 = load double, ptr %30, align 8
%338 = load double, ptr %17, align 8
%339 = load double, ptr %18, align 8
%340 = call double @llvm.fmuladd.f64(double %337, double %338, double %339)
store double %340, ptr %30, align 8
%341 = load double, ptr %30, align 8
%342 = fcmp olt double %341, -4.900000e-01
br i1 %342, label %343, label %348
343: ; preds = %323
%344 = load ptr, ptr %27, align 8
store i32 -11, ptr %344, align 4
%345 = load ptr, ptr %26, align 8
%346 = load i64, ptr %29, align 8
%347 = getelementptr inbounds i8, ptr %345, i64 %346
store i8 0, ptr %347, align 1
br label %364
348: ; preds = %323
%349 = load double, ptr %30, align 8
%350 = fcmp ogt double %349, 2.554900e+02
br i1 %350, label %351, label %357
351: ; preds = %348
%352 = load ptr, ptr %27, align 8
store i32 -11, ptr %352, align 4
%353 = load i8, ptr @UCHAR_MAX, align 1
%354 = load ptr, ptr %26, align 8
%355 = load i64, ptr %29, align 8
%356 = getelementptr inbounds i8, ptr %354, i64 %355
store i8 %353, ptr %356, align 1
br label %363
357: ; preds = %348
%358 = load double, ptr %30, align 8
%359 = fptoui double %358 to i8
%360 = load ptr, ptr %26, align 8
%361 = load i64, ptr %29, align 8
%362 = getelementptr inbounds i8, ptr %360, i64 %361
store i8 %359, ptr %362, align 1
br label %363
363: ; preds = %357, %351
br label %364
364: ; preds = %363, %343
br label %365
365: ; preds = %364, %86
%366 = load i8, ptr %35, align 1
%367 = load ptr, ptr %34, align 8
store i8 %366, ptr %367, align 1
br label %368
368: ; preds = %365
%369 = load i64, ptr %29, align 8
%370 = add nsw i64 %369, 1
store i64 %370, ptr %29, align 8
br label %46, !llvm.loop !18
371: ; preds = %46
%372 = load ptr, ptr %27, align 8
%373 = load i32, ptr %372, align 4
store i32 %373, ptr %14, align 4
br label %374
374: ; preds = %371, %305
%375 = load i32, ptr %14, align 4
ret i32 %375
}
declare i32 @strlen(ptr noundef) #1
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @ffpmsg(ptr noundef) #1
declare i32 @pow(i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph9li8r18.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"Cannot read number from ASCII table\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"Column field = %s.\00", align 1
@UCHAR_MAX = dso_local global i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fffstri1(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i64 noundef %4, double noundef %5, i32 noundef %6, ptr noundef %7, i8 noundef zeroext %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) #0 {
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i64, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca i64, align 8
%20 = alloca double, align 8
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
%23 = alloca i8, align 1
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca i32, align 4
%29 = alloca i64, align 8
%30 = alloca double, align 8
%31 = alloca ptr, align 8
%32 = alloca [81 x i8], align 16
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca i8, align 1
%36 = alloca i8, align 1
%37 = alloca double, align 8
%38 = alloca double, align 8
%39 = alloca i32, align 4
%40 = alloca i32, align 4
%41 = alloca i32, align 4
%42 = alloca i32, align 4
store ptr %0, ptr %15, align 8
store i64 %1, ptr %16, align 8
store double %2, ptr %17, align 8
store double %3, ptr %18, align 8
store i64 %4, ptr %19, align 8
store double %5, ptr %20, align 8
store i32 %6, ptr %21, align 4
store ptr %7, ptr %22, align 8
store i8 %8, ptr %23, align 1
store ptr %9, ptr %24, align 8
store ptr %10, ptr %25, align 8
store ptr %11, ptr %26, align 8
store ptr %12, ptr %27, align 8
store i8 48, ptr %36, align 1
%43 = load ptr, ptr %22, align 8
%44 = call i32 @strlen(ptr noundef %43)
store i32 %44, ptr %28, align 4
%45 = load ptr, ptr %15, align 8
store ptr %45, ptr %33, align 8
store i64 0, ptr %29, align 8
%46 = load i64, ptr %29, align 8
%47 = load i64, ptr %16, align 8
%48 = icmp slt i64 %46, %47
br i1 %48, label %.lr.ph23, label %397
.lr.ph23: ; preds = %13
br label %49
49: ; preds = %.lr.ph23, %391
%50 = load ptr, ptr %33, align 8
store ptr %50, ptr %31, align 8
%51 = load ptr, ptr %33, align 8
%52 = load i64, ptr %19, align 8
%53 = getelementptr inbounds i8, ptr %51, i64 %52
store ptr %53, ptr %34, align 8
%54 = load ptr, ptr %34, align 8
%55 = load i8, ptr %54, align 1
store i8 %55, ptr %35, align 1
%56 = load ptr, ptr %34, align 8
store i8 0, ptr %56, align 1
%57 = load ptr, ptr %22, align 8
%58 = getelementptr inbounds i8, ptr %57, i64 0
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp ne i32 %60, 1
br i1 %61, label %62, label %89
62: ; preds = %49
%63 = load ptr, ptr %22, align 8
%64 = load ptr, ptr %33, align 8
%65 = load i32, ptr %28, align 4
%66 = call i32 @strncmp(ptr noundef %63, ptr noundef %64, i32 noundef %65)
%67 = icmp ne i32 %66, 0
br i1 %67, label %89, label %68
68: ; preds = %62
%69 = load i32, ptr %21, align 4
%70 = icmp ne i32 %69, 0
br i1 %70, label %71, label %85
71: ; preds = %68
%72 = load ptr, ptr %25, align 8
store i32 1, ptr %72, align 4
%73 = load i32, ptr %21, align 4
%74 = icmp eq i32 %73, 1
br i1 %74, label %75, label %80
75: ; preds = %71
%76 = load i8, ptr %23, align 1
%77 = load ptr, ptr %26, align 8
%78 = load i64, ptr %29, align 8
%79 = getelementptr inbounds i8, ptr %77, i64 %78
store i8 %76, ptr %79, align 1
br label %84
80: ; preds = %71
%81 = load ptr, ptr %24, align 8
%82 = load i64, ptr %29, align 8
%83 = getelementptr inbounds i8, ptr %81, i64 %82
store i8 1, ptr %83, align 1
br label %84
84: ; preds = %80, %75
br label %85
85: ; preds = %84, %68
%86 = load i64, ptr %19, align 8
%87 = load ptr, ptr %33, align 8
%88 = getelementptr inbounds i8, ptr %87, i64 %86
store ptr %88, ptr %33, align 8
br label %388
89: ; preds = %62, %49
store i32 0, ptr %42, align 4
store i32 1, ptr %40, align 4
store double 0.000000e+00, ptr %37, align 8
store double 1.000000e+00, ptr %38, align 8
store i32 0, ptr %39, align 4
store i32 1, ptr %41, align 4
%90 = load ptr, ptr %33, align 8
%91 = load i8, ptr %90, align 1
%92 = sext i8 %91 to i32
%93 = icmp eq i32 %92, 32
br i1 %93, label %.lr.ph, label %101
.lr.ph: ; preds = %89
br label %94
94: ; preds = %.lr.ph, %94
%95 = load ptr, ptr %33, align 8
%96 = getelementptr inbounds i8, ptr %95, i32 1
store ptr %96, ptr %33, align 8
%97 = load ptr, ptr %33, align 8
%98 = load i8, ptr %97, align 1
%99 = sext i8 %98 to i32
%100 = icmp eq i32 %99, 32
br i1 %100, label %94, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %94
br label %101
101: ; preds = %._crit_edge, %89
%102 = load ptr, ptr %33, align 8
%103 = load i8, ptr %102, align 1
%104 = sext i8 %103 to i32
%105 = icmp eq i32 %104, 45
br i1 %105, label %111, label %106
106: ; preds = %101
%107 = load ptr, ptr %33, align 8
%108 = load i8, ptr %107, align 1
%109 = sext i8 %108 to i32
%110 = icmp eq i32 %109, 43
br i1 %110, label %111, label %132
111: ; preds = %106, %101
%112 = load ptr, ptr %33, align 8
%113 = load i8, ptr %112, align 1
%114 = sext i8 %113 to i32
%115 = icmp eq i32 %114, 45
br i1 %115, label %116, label %117
116: ; preds = %111
store i32 -1, ptr %40, align 4
br label %117
117: ; preds = %116, %111
%118 = load ptr, ptr %33, align 8
%119 = getelementptr inbounds i8, ptr %118, i32 1
store ptr %119, ptr %33, align 8
%120 = load ptr, ptr %33, align 8
%121 = load i8, ptr %120, align 1
%122 = sext i8 %121 to i32
%123 = icmp eq i32 %122, 32
br i1 %123, label %.lr.ph2, label %131
.lr.ph2: ; preds = %117
br label %124
124: ; preds = %.lr.ph2, %124
%125 = load ptr, ptr %33, align 8
%126 = getelementptr inbounds i8, ptr %125, i32 1
store ptr %126, ptr %33, align 8
%127 = load ptr, ptr %33, align 8
%128 = load i8, ptr %127, align 1
%129 = sext i8 %128 to i32
%130 = icmp eq i32 %129, 32
br i1 %130, label %124, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %124
br label %131
131: ; preds = %._crit_edge3, %117
br label %132
132: ; preds = %131, %106
br label %133
133: ; preds = %169, %132
%134 = load ptr, ptr %33, align 8
%135 = load i8, ptr %134, align 1
%136 = sext i8 %135 to i32
%137 = icmp sge i32 %136, 48
br i1 %137, label %138, label %143
138: ; preds = %133
%139 = load ptr, ptr %33, align 8
%140 = load i8, ptr %139, align 1
%141 = sext i8 %140 to i32
%142 = icmp sle i32 %141, 57
br label %143
143: ; preds = %138, %133
%144 = phi i1 [ false, %133 ], [ %142, %138 ]
br i1 %144, label %145, label %170
145: ; preds = %143
%146 = load double, ptr %37, align 8
%147 = load ptr, ptr %33, align 8
%148 = load i8, ptr %147, align 1
%149 = sext i8 %148 to i32
%150 = sitofp i32 %149 to double
%151 = call double @llvm.fmuladd.f64(double %146, double 1.000000e+01, double %150)
%152 = load i8, ptr %36, align 1
%153 = sext i8 %152 to i32
%154 = sitofp i32 %153 to double
%155 = fsub double %151, %154
store double %155, ptr %37, align 8
%156 = load ptr, ptr %33, align 8
%157 = getelementptr inbounds i8, ptr %156, i32 1
store ptr %157, ptr %33, align 8
%158 = load ptr, ptr %33, align 8
%159 = load i8, ptr %158, align 1
%160 = sext i8 %159 to i32
%161 = icmp eq i32 %160, 32
br i1 %161, label %.lr.ph5, label %169
.lr.ph5: ; preds = %145
br label %162
162: ; preds = %.lr.ph5, %162
%163 = load ptr, ptr %33, align 8
%164 = getelementptr inbounds i8, ptr %163, i32 1
store ptr %164, ptr %33, align 8
%165 = load ptr, ptr %33, align 8
%166 = load i8, ptr %165, align 1
%167 = sext i8 %166 to i32
%168 = icmp eq i32 %167, 32
br i1 %168, label %162, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %162
br label %169
169: ; preds = %._crit_edge6, %145
br label %133, !llvm.loop !10
170: ; preds = %143
%171 = load ptr, ptr %33, align 8
%172 = load i8, ptr %171, align 1
%173 = sext i8 %172 to i32
%174 = icmp eq i32 %173, 46
br i1 %174, label %175, label %230
175: ; preds = %170
store i32 1, ptr %42, align 4
%176 = load ptr, ptr %33, align 8
%177 = getelementptr inbounds i8, ptr %176, i32 1
store ptr %177, ptr %33, align 8
%178 = load ptr, ptr %33, align 8
%179 = load i8, ptr %178, align 1
%180 = sext i8 %179 to i32
%181 = icmp eq i32 %180, 32
br i1 %181, label %.lr.ph8, label %189
.lr.ph8: ; preds = %175
br label %182
182: ; preds = %.lr.ph8, %182
%183 = load ptr, ptr %33, align 8
%184 = getelementptr inbounds i8, ptr %183, i32 1
store ptr %184, ptr %33, align 8
%185 = load ptr, ptr %33, align 8
%186 = load i8, ptr %185, align 1
%187 = sext i8 %186 to i32
%188 = icmp eq i32 %187, 32
br i1 %188, label %182, label %._crit_edge9, !llvm.loop !11
._crit_edge9: ; preds = %182
br label %189
189: ; preds = %._crit_edge9, %175
br label %190
190: ; preds = %228, %189
%191 = load ptr, ptr %33, align 8
%192 = load i8, ptr %191, align 1
%193 = sext i8 %192 to i32
%194 = icmp sge i32 %193, 48
br i1 %194, label %195, label %200
195: ; preds = %190
%196 = load ptr, ptr %33, align 8
%197 = load i8, ptr %196, align 1
%198 = sext i8 %197 to i32
%199 = icmp sle i32 %198, 57
br label %200
200: ; preds = %195, %190
%201 = phi i1 [ false, %190 ], [ %199, %195 ]
br i1 %201, label %202, label %229
202: ; preds = %200
%203 = load double, ptr %37, align 8
%204 = load ptr, ptr %33, align 8
%205 = load i8, ptr %204, align 1
%206 = sext i8 %205 to i32
%207 = sitofp i32 %206 to double
%208 = call double @llvm.fmuladd.f64(double %203, double 1.000000e+01, double %207)
%209 = load i8, ptr %36, align 1
%210 = sext i8 %209 to i32
%211 = sitofp i32 %210 to double
%212 = fsub double %208, %211
store double %212, ptr %37, align 8
%213 = load double, ptr %38, align 8
%214 = fmul double %213, 1.000000e+01
store double %214, ptr %38, align 8
%215 = load ptr, ptr %33, align 8
%216 = getelementptr inbounds i8, ptr %215, i32 1
store ptr %216, ptr %33, align 8
%217 = load ptr, ptr %33, align 8
%218 = load i8, ptr %217, align 1
%219 = sext i8 %218 to i32
%220 = icmp eq i32 %219, 32
br i1 %220, label %.lr.ph11, label %228
.lr.ph11: ; preds = %202
br label %221
221: ; preds = %.lr.ph11, %221
%222 = load ptr, ptr %33, align 8
%223 = getelementptr inbounds i8, ptr %222, i32 1
store ptr %223, ptr %33, align 8
%224 = load ptr, ptr %33, align 8
%225 = load i8, ptr %224, align 1
%226 = sext i8 %225 to i32
%227 = icmp eq i32 %226, 32
br i1 %227, label %221, label %._crit_edge12, !llvm.loop !12
._crit_edge12: ; preds = %221
br label %228
228: ; preds = %._crit_edge12, %202
br label %190, !llvm.loop !13
229: ; preds = %200
br label %230
230: ; preds = %229, %170
%231 = load ptr, ptr %33, align 8
%232 = load i8, ptr %231, align 1
%233 = sext i8 %232 to i32
%234 = icmp eq i32 %233, 69
br i1 %234, label %240, label %235
235: ; preds = %230
%236 = load ptr, ptr %33, align 8
%237 = load i8, ptr %236, align 1
%238 = sext i8 %237 to i32
%239 = icmp eq i32 %238, 68
br i1 %239, label %240, label %323
240: ; preds = %235, %230
%241 = load ptr, ptr %33, align 8
%242 = getelementptr inbounds i8, ptr %241, i32 1
store ptr %242, ptr %33, align 8
%243 = load ptr, ptr %33, align 8
%244 = load i8, ptr %243, align 1
%245 = sext i8 %244 to i32
%246 = icmp eq i32 %245, 32
br i1 %246, label %.lr.ph14, label %254
.lr.ph14: ; preds = %240
br label %247
247: ; preds = %.lr.ph14, %247
%248 = load ptr, ptr %33, align 8
%249 = getelementptr inbounds i8, ptr %248, i32 1
store ptr %249, ptr %33, align 8
%250 = load ptr, ptr %33, align 8
%251 = load i8, ptr %250, align 1
%252 = sext i8 %251 to i32
%253 = icmp eq i32 %252, 32
br i1 %253, label %247, label %._crit_edge15, !llvm.loop !14
._crit_edge15: ; preds = %247
br label %254
254: ; preds = %._crit_edge15, %240
%255 = load ptr, ptr %33, align 8
%256 = load i8, ptr %255, align 1
%257 = sext i8 %256 to i32
%258 = icmp eq i32 %257, 45
br i1 %258, label %264, label %259
259: ; preds = %254
%260 = load ptr, ptr %33, align 8
%261 = load i8, ptr %260, align 1
%262 = sext i8 %261 to i32
%263 = icmp eq i32 %262, 43
br i1 %263, label %264, label %285
264: ; preds = %259, %254
%265 = load ptr, ptr %33, align 8
%266 = load i8, ptr %265, align 1
%267 = sext i8 %266 to i32
%268 = icmp eq i32 %267, 45
br i1 %268, label %269, label %270
269: ; preds = %264
store i32 -1, ptr %41, align 4
br label %270
270: ; preds = %269, %264
%271 = load ptr, ptr %33, align 8
%272 = getelementptr inbounds i8, ptr %271, i32 1
store ptr %272, ptr %33, align 8
%273 = load ptr, ptr %33, align 8
%274 = load i8, ptr %273, align 1
%275 = sext i8 %274 to i32
%276 = icmp eq i32 %275, 32
br i1 %276, label %.lr.ph17, label %284
.lr.ph17: ; preds = %270
br label %277
277: ; preds = %.lr.ph17, %277
%278 = load ptr, ptr %33, align 8
%279 = getelementptr inbounds i8, ptr %278, i32 1
store ptr %279, ptr %33, align 8
%280 = load ptr, ptr %33, align 8
%281 = load i8, ptr %280, align 1
%282 = sext i8 %281 to i32
%283 = icmp eq i32 %282, 32
br i1 %283, label %277, label %._crit_edge18, !llvm.loop !15
._crit_edge18: ; preds = %277
br label %284
284: ; preds = %._crit_edge18, %270
br label %285
285: ; preds = %284, %259
br label %286
286: ; preds = %321, %285
%287 = load ptr, ptr %33, align 8
%288 = load i8, ptr %287, align 1
%289 = sext i8 %288 to i32
%290 = icmp sge i32 %289, 48
br i1 %290, label %291, label %296
291: ; preds = %286
%292 = load ptr, ptr %33, align 8
%293 = load i8, ptr %292, align 1
%294 = sext i8 %293 to i32
%295 = icmp sle i32 %294, 57
br label %296
296: ; preds = %291, %286
%297 = phi i1 [ false, %286 ], [ %295, %291 ]
br i1 %297, label %298, label %322
298: ; preds = %296
%299 = load i32, ptr %39, align 4
%300 = mul nsw i32 %299, 10
%301 = load ptr, ptr %33, align 8
%302 = load i8, ptr %301, align 1
%303 = sext i8 %302 to i32
%304 = add nsw i32 %300, %303
%305 = load i8, ptr %36, align 1
%306 = sext i8 %305 to i32
%307 = sub nsw i32 %304, %306
store i32 %307, ptr %39, align 4
%308 = load ptr, ptr %33, align 8
%309 = getelementptr inbounds i8, ptr %308, i32 1
store ptr %309, ptr %33, align 8
%310 = load ptr, ptr %33, align 8
%311 = load i8, ptr %310, align 1
%312 = sext i8 %311 to i32
%313 = icmp eq i32 %312, 32
br i1 %313, label %.lr.ph20, label %321
.lr.ph20: ; preds = %298
br label %314
314: ; preds = %.lr.ph20, %314
%315 = load ptr, ptr %33, align 8
%316 = getelementptr inbounds i8, ptr %315, i32 1
store ptr %316, ptr %33, align 8
%317 = load ptr, ptr %33, align 8
%318 = load i8, ptr %317, align 1
%319 = sext i8 %318 to i32
%320 = icmp eq i32 %319, 32
br i1 %320, label %314, label %._crit_edge21, !llvm.loop !16
._crit_edge21: ; preds = %314
br label %321
321: ; preds = %._crit_edge21, %298
br label %286, !llvm.loop !17
322: ; preds = %296
br label %323
323: ; preds = %322, %235
%324 = load ptr, ptr %33, align 8
%325 = load i8, ptr %324, align 1
%326 = sext i8 %325 to i32
%327 = icmp ne i32 %326, 0
br i1 %327, label %328, label %341
328: ; preds = %323
%329 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0
%330 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %329, ptr noundef @.str)
%331 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0
%332 = call i32 @ffpmsg(ptr noundef %331)
%333 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0
%334 = load ptr, ptr %31, align 8
%335 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %333, ptr noundef @.str.1, ptr noundef %334)
%336 = getelementptr inbounds [81 x i8], ptr %32, i64 0, i64 0
%337 = call i32 @ffpmsg(ptr noundef %336)
%338 = load i8, ptr %35, align 1
%339 = load ptr, ptr %34, align 8
store i8 %338, ptr %339, align 1
%340 = load ptr, ptr %27, align 8
store i32 409, ptr %340, align 4
store i32 409, ptr %14, align 4
br label %400
341: ; preds = %323
%342 = load i32, ptr %42, align 4
%343 = icmp ne i32 %342, 0
br i1 %343, label %346, label %344
344: ; preds = %341
%345 = load double, ptr %20, align 8
store double %345, ptr %38, align 8
br label %346
346: ; preds = %344, %341
%347 = load i32, ptr %40, align 4
%348 = sitofp i32 %347 to double
%349 = load double, ptr %37, align 8
%350 = fmul double %348, %349
%351 = load double, ptr %38, align 8
%352 = fdiv double %350, %351
%353 = load i32, ptr %41, align 4
%354 = load i32, ptr %39, align 4
%355 = mul nsw i32 %353, %354
%356 = sitofp i32 %355 to double
%357 = call i32 @pow(i32 noundef 10, double noundef %356)
%358 = sitofp i32 %357 to double
%359 = fmul double %352, %358
store double %359, ptr %30, align 8
%360 = load double, ptr %30, align 8
%361 = load double, ptr %17, align 8
%362 = load double, ptr %18, align 8
%363 = call double @llvm.fmuladd.f64(double %360, double %361, double %362)
store double %363, ptr %30, align 8
%364 = load double, ptr %30, align 8
%365 = fcmp olt double %364, -4.900000e-01
br i1 %365, label %366, label %371
366: ; preds = %346
%367 = load ptr, ptr %27, align 8
store i32 -11, ptr %367, align 4
%368 = load ptr, ptr %26, align 8
%369 = load i64, ptr %29, align 8
%370 = getelementptr inbounds i8, ptr %368, i64 %369
store i8 0, ptr %370, align 1
br label %387
371: ; preds = %346
%372 = load double, ptr %30, align 8
%373 = fcmp ogt double %372, 2.554900e+02
br i1 %373, label %374, label %380
374: ; preds = %371
%375 = load ptr, ptr %27, align 8
store i32 -11, ptr %375, align 4
%376 = load i8, ptr @UCHAR_MAX, align 1
%377 = load ptr, ptr %26, align 8
%378 = load i64, ptr %29, align 8
%379 = getelementptr inbounds i8, ptr %377, i64 %378
store i8 %376, ptr %379, align 1
br label %386
380: ; preds = %371
%381 = load double, ptr %30, align 8
%382 = fptoui double %381 to i8
%383 = load ptr, ptr %26, align 8
%384 = load i64, ptr %29, align 8
%385 = getelementptr inbounds i8, ptr %383, i64 %384
store i8 %382, ptr %385, align 1
br label %386
386: ; preds = %380, %374
br label %387
387: ; preds = %386, %366
br label %388
388: ; preds = %387, %85
%389 = load i8, ptr %35, align 1
%390 = load ptr, ptr %34, align 8
store i8 %389, ptr %390, align 1
br label %391
391: ; preds = %388
%392 = load i64, ptr %29, align 8
%393 = add nsw i64 %392, 1
store i64 %393, ptr %29, align 8
%394 = load i64, ptr %29, align 8
%395 = load i64, ptr %16, align 8
%396 = icmp slt i64 %394, %395
br i1 %396, label %49, label %._crit_edge24, !llvm.loop !18
._crit_edge24: ; preds = %391
br label %397
397: ; preds = %._crit_edge24, %13
%398 = load ptr, ptr %27, align 8
%399 = load i32, ptr %398, align 4
store i32 %399, ptr %14, align 4
br label %400
400: ; preds = %397, %328
%401 = load i32, ptr %14, align 4
ret i32 %401
}
declare i32 @strlen(ptr noundef) #1
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @ffpmsg(ptr noundef) #1
declare i32 @pow(i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
|
; ModuleID = '/tmp/tmpeuka_q09.c'
source_filename = "/tmp/tmpeuka_q09.c"
target datalayout = "e-m:e-p270: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/tmpeuka_q09.c"
target datalayout = "e-m:e-p270: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/tmp13rrnifb.c'
source_filename = "/tmp/tmp13rrnifb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ti_sum(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca double, align 8
%14 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%15 = load ptr, ptr %7, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 0
%17 = load ptr, ptr %16, align 8
store ptr %17, ptr %10, align 8
%18 = load ptr, ptr %8, align 8
%19 = getelementptr inbounds double, ptr %18, i64 0
%20 = load double, ptr %19, align 8
%21 = fptosi double %20 to i32
store i32 %21, ptr %11, align 4
%22 = load ptr, ptr %9, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 0
%24 = load ptr, ptr %23, align 8
store ptr %24, ptr %12, align 8
%25 = load i32, ptr %11, align 4
%26 = icmp slt i32 %25, 1
br i1 %26, label %27, label %28
27: ; preds = %4
store i32 1, ptr %5, align 4
br label %99
28: ; preds = %4
%29 = load i32, ptr %6, align 4
%30 = load ptr, ptr %8, align 8
%31 = call i32 @ti_sum_start(ptr noundef %30)
%32 = icmp sle i32 %29, %31
br i1 %32, label %33, label %34
33: ; preds = %28
store i32 0, ptr %5, align 4
br label %99
34: ; preds = %28
store double 0.000000e+00, ptr %13, align 8
store i32 0, ptr %14, align 4
br label %35
35: ; preds = %47, %34
%36 = load i32, ptr %14, align 4
%37 = load i32, ptr %11, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %50
39: ; preds = %35
%40 = load ptr, ptr %10, align 8
%41 = load i32, ptr %14, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds double, ptr %40, i64 %42
%44 = load double, ptr %43, align 8
%45 = load double, ptr %13, align 8
%46 = fadd double %45, %44
store double %46, ptr %13, align 8
br label %47
47: ; preds = %39
%48 = load i32, ptr %14, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %14, align 4
br label %35, !llvm.loop !6
50: ; preds = %35
%51 = load double, ptr %13, align 8
%52 = load ptr, ptr %12, align 8
%53 = getelementptr inbounds double, ptr %52, i32 1
store ptr %53, ptr %12, align 8
store double %51, ptr %52, align 8
%54 = load i32, ptr %11, align 4
store i32 %54, ptr %14, align 4
br label %55
55: ; preds = %79, %50
%56 = load i32, ptr %14, align 4
%57 = load i32, ptr %6, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %59, label %82
59: ; preds = %55
%60 = load ptr, ptr %10, align 8
%61 = load i32, ptr %14, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds double, ptr %60, i64 %62
%64 = load double, ptr %63, align 8
%65 = load double, ptr %13, align 8
%66 = fadd double %65, %64
store double %66, ptr %13, align 8
%67 = load ptr, ptr %10, align 8
%68 = load i32, ptr %14, align 4
%69 = load i32, ptr %11, align 4
%70 = sub nsw i32 %68, %69
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds double, ptr %67, i64 %71
%73 = load double, ptr %72, align 8
%74 = load double, ptr %13, align 8
%75 = fsub double %74, %73
store double %75, ptr %13, align 8
%76 = load double, ptr %13, align 8
%77 = load ptr, ptr %12, align 8
%78 = getelementptr inbounds double, ptr %77, i32 1
store ptr %78, ptr %12, align 8
store double %76, ptr %77, align 8
br label %79
79: ; preds = %59
%80 = load i32, ptr %14, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %14, align 4
br label %55, !llvm.loop !8
82: ; preds = %55
%83 = load ptr, ptr %12, align 8
%84 = load ptr, ptr %9, align 8
%85 = getelementptr inbounds ptr, ptr %84, i64 0
%86 = load ptr, ptr %85, align 8
%87 = ptrtoint ptr %83 to i64
%88 = ptrtoint ptr %86 to i64
%89 = sub i64 %87, %88
%90 = sdiv exact i64 %89, 8
%91 = load i32, ptr %6, align 4
%92 = load ptr, ptr %8, align 8
%93 = call i32 @ti_sum_start(ptr noundef %92)
%94 = sub nsw i32 %91, %93
%95 = sext i32 %94 to i64
%96 = icmp eq i64 %90, %95
%97 = zext i1 %96 to i32
%98 = call i32 @assert(i32 noundef %97)
store i32 0, ptr %5, align 4
br label %99
99: ; preds = %82, %33, %27
%100 = load i32, ptr %5, align 4
ret i32 %100
}
declare i32 @ti_sum_start(ptr noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp13rrnifb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ti_sum(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca double, align 8
%14 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%15 = load ptr, ptr %7, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 0
%17 = load ptr, ptr %16, align 8
store ptr %17, ptr %10, align 8
%18 = load ptr, ptr %8, align 8
%19 = getelementptr inbounds double, ptr %18, i64 0
%20 = load double, ptr %19, align 8
%21 = fptosi double %20 to i32
store i32 %21, ptr %11, align 4
%22 = load ptr, ptr %9, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 0
%24 = load ptr, ptr %23, align 8
store ptr %24, ptr %12, align 8
%25 = load i32, ptr %11, align 4
%26 = icmp slt i32 %25, 1
br i1 %26, label %27, label %28
27: ; preds = %4
store i32 1, ptr %5, align 4
br label %103
28: ; preds = %4
%29 = load i32, ptr %6, align 4
%30 = load ptr, ptr %8, align 8
%31 = call i32 @ti_sum_start(ptr noundef %30)
%32 = icmp sle i32 %29, %31
br i1 %32, label %33, label %34
33: ; preds = %28
store i32 0, ptr %5, align 4
br label %103
34: ; preds = %28
store double 0.000000e+00, ptr %13, align 8
store i32 0, ptr %14, align 4
%35 = load i32, ptr %14, align 4
%36 = load i32, ptr %11, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %.lr.ph, label %52
.lr.ph: ; preds = %34
br label %38
38: ; preds = %.lr.ph, %46
%39 = load ptr, ptr %10, align 8
%40 = load i32, ptr %14, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds double, ptr %39, i64 %41
%43 = load double, ptr %42, align 8
%44 = load double, ptr %13, align 8
%45 = fadd double %44, %43
store double %45, ptr %13, align 8
br label %46
46: ; preds = %38
%47 = load i32, ptr %14, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %14, align 4
%49 = load i32, ptr %14, align 4
%50 = load i32, ptr %11, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %38, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %46
br label %52
52: ; preds = %._crit_edge, %34
%53 = load double, ptr %13, align 8
%54 = load ptr, ptr %12, align 8
%55 = getelementptr inbounds double, ptr %54, i32 1
store ptr %55, ptr %12, align 8
store double %53, ptr %54, align 8
%56 = load i32, ptr %11, align 4
store i32 %56, ptr %14, align 4
%57 = load i32, ptr %14, align 4
%58 = load i32, ptr %6, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %.lr.ph2, label %86
.lr.ph2: ; preds = %52
br label %60
60: ; preds = %.lr.ph2, %80
%61 = load ptr, ptr %10, align 8
%62 = load i32, ptr %14, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds double, ptr %61, i64 %63
%65 = load double, ptr %64, align 8
%66 = load double, ptr %13, align 8
%67 = fadd double %66, %65
store double %67, ptr %13, align 8
%68 = load ptr, ptr %10, align 8
%69 = load i32, ptr %14, align 4
%70 = load i32, ptr %11, align 4
%71 = sub nsw i32 %69, %70
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds double, ptr %68, i64 %72
%74 = load double, ptr %73, align 8
%75 = load double, ptr %13, align 8
%76 = fsub double %75, %74
store double %76, ptr %13, align 8
%77 = load double, ptr %13, align 8
%78 = load ptr, ptr %12, align 8
%79 = getelementptr inbounds double, ptr %78, i32 1
store ptr %79, ptr %12, align 8
store double %77, ptr %78, align 8
br label %80
80: ; preds = %60
%81 = load i32, ptr %14, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %14, align 4
%83 = load i32, ptr %14, align 4
%84 = load i32, ptr %6, align 4
%85 = icmp slt i32 %83, %84
br i1 %85, label %60, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %80
br label %86
86: ; preds = %._crit_edge3, %52
%87 = load ptr, ptr %12, align 8
%88 = load ptr, ptr %9, align 8
%89 = getelementptr inbounds ptr, ptr %88, i64 0
%90 = load ptr, ptr %89, align 8
%91 = ptrtoint ptr %87 to i64
%92 = ptrtoint ptr %90 to i64
%93 = sub i64 %91, %92
%94 = sdiv exact i64 %93, 8
%95 = load i32, ptr %6, align 4
%96 = load ptr, ptr %8, align 8
%97 = call i32 @ti_sum_start(ptr noundef %96)
%98 = sub nsw i32 %95, %97
%99 = sext i32 %98 to i64
%100 = icmp eq i64 %94, %99
%101 = zext i1 %100 to i32
%102 = call i32 @assert(i32 noundef %101)
store i32 0, ptr %5, align 4
br label %103
103: ; preds = %86, %33, %27
%104 = load i32, ptr %5, align 4
ret i32 %104
}
declare i32 @ti_sum_start(ptr noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpu0o4c9vn.c'
source_filename = "/tmp/tmpu0o4c9vn.c"
target datalayout = "e-m:e-p270: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.takeDataPacket.header = private unnamed_addr constant <{ [13 x i8], [19 x i8] }> <{ [13 x i8] c"V\00\86\18d3\87B\90\15\09\00\02", [19 x i8] zeroinitializer }>, align 16
@.str = private unnamed_addr constant [41 x i8] c"header[30]: %d, header[31]:%d, total:%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @takeDataPacket(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [32768 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [32 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds [32768 x i8], ptr %7, i64 0, i64 0
%15 = call i32 @read_dat(ptr noundef %13, ptr noundef %14, i32 noundef 32768)
store i32 %15, ptr %11, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.takeDataPacket.header, i64 32, i1 false)
store i32 0, ptr %8, align 4
br label %16
16: ; preds = %29, %3
%17 = load i32, ptr %8, align 4
%18 = icmp slt i32 %17, 8
br i1 %18, label %19, label %32
19: ; preds = %16
%20 = load ptr, ptr %6, align 8
%21 = load i32, ptr %8, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = load i32, ptr %8, align 4
%26 = add nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 %27
store i8 %24, ptr %28, align 1
br label %29
29: ; preds = %19
%30 = load i32, ptr %8, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %8, align 4
br label %16, !llvm.loop !6
32: ; preds = %16
%33 = load i32, ptr %11, align 4
%34 = srem i32 %33, 992
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %42
36: ; preds = %32
%37 = load i32, ptr %11, align 4
%38 = sdiv i32 %37, 992
%39 = add nsw i32 %38, 1
%40 = trunc i32 %39 to i8
%41 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 29
store i8 %40, ptr %41, align 1
br label %47
42: ; preds = %32
%43 = load i32, ptr %11, align 4
%44 = sdiv i32 %43, 992
%45 = trunc i32 %44 to i8
%46 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 29
store i8 %45, ptr %46, align 1
br label %47
47: ; preds = %42, %36
store i32 0, ptr %8, align 4
br label %48
48: ; preds = %101, %47
%49 = load i32, ptr %8, align 4
%50 = load i32, ptr %11, align 4
%51 = sdiv i32 %50, 992
%52 = icmp slt i32 %49, %51
br i1 %52, label %53, label %104
53: ; preds = %48
%54 = load i32, ptr %8, align 4
%55 = trunc i32 %54 to i8
%56 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 13
store i8 %55, ptr %56, align 1
%57 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 30
store i8 3, ptr %57, align 2
%58 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 31
store i8 -32, ptr %58, align 1
%59 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 30
%60 = load i8, ptr %59, align 2
%61 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 31
%62 = load i8, ptr %61, align 1
%63 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %60, i8 noundef zeroext %62, i32 noundef 992)
store i32 0, ptr %10, align 4
br label %64
64: ; preds = %77, %53
%65 = load i32, ptr %10, align 4
%66 = icmp slt i32 %65, 32
br i1 %66, label %67, label %80
67: ; preds = %64
%68 = load i32, ptr %10, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 %69
%71 = load i8, ptr %70, align 1
%72 = load ptr, ptr %5, align 8
%73 = load i32, ptr %9, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %9, align 4
%75 = sext i32 %73 to i64
%76 = getelementptr inbounds i8, ptr %72, i64 %75
store i8 %71, ptr %76, align 1
br label %77
77: ; preds = %67
%78 = load i32, ptr %10, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %10, align 4
br label %64, !llvm.loop !8
80: ; preds = %64
store i32 0, ptr %10, align 4
br label %81
81: ; preds = %97, %80
%82 = load i32, ptr %10, align 4
%83 = icmp slt i32 %82, 992
br i1 %83, label %84, label %100
84: ; preds = %81
%85 = load i32, ptr %8, align 4
%86 = mul nsw i32 %85, 992
%87 = load i32, ptr %10, align 4
%88 = add nsw i32 %86, %87
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds [32768 x i8], ptr %7, i64 0, i64 %89
%91 = load i8, ptr %90, align 1
%92 = load ptr, ptr %5, align 8
%93 = load i32, ptr %9, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %9, align 4
%95 = sext i32 %93 to i64
%96 = getelementptr inbounds i8, ptr %92, i64 %95
store i8 %91, ptr %96, align 1
br label %97
97: ; preds = %84
%98 = load i32, ptr %10, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %10, align 4
br label %81, !llvm.loop !9
100: ; preds = %81
br label %101
101: ; preds = %100
%102 = load i32, ptr %8, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %8, align 4
br label %48, !llvm.loop !10
104: ; preds = %48
%105 = load i32, ptr %11, align 4
%106 = srem i32 %105, 992
%107 = icmp ne i32 %106, 0
br i1 %107, label %108, label %168
108: ; preds = %104
%109 = load i32, ptr %8, align 4
%110 = trunc i32 %109 to i8
%111 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 13
store i8 %110, ptr %111, align 1
%112 = load i32, ptr %11, align 4
%113 = srem i32 %112, 992
%114 = sdiv i32 %113, 256
%115 = trunc i32 %114 to i8
%116 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 30
store i8 %115, ptr %116, align 2
%117 = load i32, ptr %11, align 4
%118 = srem i32 %117, 992
%119 = srem i32 %118, 256
%120 = trunc i32 %119 to i8
%121 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 31
store i8 %120, ptr %121, align 1
%122 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 30
%123 = load i8, ptr %122, align 2
%124 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 31
%125 = load i8, ptr %124, align 1
%126 = load i32, ptr %11, align 4
%127 = srem i32 %126, 992
%128 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %123, i8 noundef zeroext %125, i32 noundef %127)
store i32 0, ptr %10, align 4
br label %129
129: ; preds = %142, %108
%130 = load i32, ptr %10, align 4
%131 = icmp slt i32 %130, 32
br i1 %131, label %132, label %145
132: ; preds = %129
%133 = load i32, ptr %10, align 4
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 %134
%136 = load i8, ptr %135, align 1
%137 = load ptr, ptr %5, align 8
%138 = load i32, ptr %9, align 4
%139 = add nsw i32 %138, 1
store i32 %139, ptr %9, align 4
%140 = sext i32 %138 to i64
%141 = getelementptr inbounds i8, ptr %137, i64 %140
store i8 %136, ptr %141, align 1
br label %142
142: ; preds = %132
%143 = load i32, ptr %10, align 4
%144 = add nsw i32 %143, 1
store i32 %144, ptr %10, align 4
br label %129, !llvm.loop !11
145: ; preds = %129
store i32 0, ptr %10, align 4
br label %146
146: ; preds = %164, %145
%147 = load i32, ptr %10, align 4
%148 = load i32, ptr %11, align 4
%149 = srem i32 %148, 992
%150 = icmp slt i32 %147, %149
br i1 %150, label %151, label %167
151: ; preds = %146
%152 = load i32, ptr %8, align 4
%153 = mul nsw i32 %152, 992
%154 = load i32, ptr %10, align 4
%155 = add nsw i32 %153, %154
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds [32768 x i8], ptr %7, i64 0, i64 %156
%158 = load i8, ptr %157, align 1
%159 = load ptr, ptr %5, align 8
%160 = load i32, ptr %9, align 4
%161 = add nsw i32 %160, 1
store i32 %161, ptr %9, align 4
%162 = sext i32 %160 to i64
%163 = getelementptr inbounds i8, ptr %159, i64 %162
store i8 %158, ptr %163, align 1
br label %164
164: ; preds = %151
%165 = load i32, ptr %10, align 4
%166 = add nsw i32 %165, 1
store i32 %166, ptr %10, align 4
br label %146, !llvm.loop !12
167: ; preds = %146
br label %168
168: ; preds = %167, %104
%169 = load i32, ptr %9, align 4
ret i32 %169
}
declare i32 @read_dat(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @printf(ptr noundef, i8 noundef zeroext, i8 noundef zeroext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu0o4c9vn.c"
target datalayout = "e-m:e-p270: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.takeDataPacket.header = private unnamed_addr constant <{ [13 x i8], [19 x i8] }> <{ [13 x i8] c"V\00\86\18d3\87B\90\15\09\00\02", [19 x i8] zeroinitializer }>, align 16
@.str = private unnamed_addr constant [41 x i8] c"header[30]: %d, header[31]:%d, total:%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @takeDataPacket(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [32768 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [32 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds [32768 x i8], ptr %7, i64 0, i64 0
%15 = call i32 @read_dat(ptr noundef %13, ptr noundef %14, i32 noundef 32768)
store i32 %15, ptr %11, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.takeDataPacket.header, i64 32, i1 false)
store i32 0, ptr %8, align 4
%16 = load i32, ptr %8, align 4
%17 = icmp slt i32 %16, 8
br i1 %17, label %.lr.ph, label %33
.lr.ph: ; preds = %3
br label %18
18: ; preds = %.lr.ph, %28
%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
%23 = load i8, ptr %22, align 1
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 %26
store i8 %23, ptr %27, align 1
br label %28
28: ; preds = %18
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %8, align 4
%31 = load i32, ptr %8, align 4
%32 = icmp slt i32 %31, 8
br i1 %32, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %33
33: ; preds = %._crit_edge, %3
%34 = load i32, ptr %11, align 4
%35 = srem i32 %34, 992
%36 = icmp ne i32 %35, 0
br i1 %36, label %37, label %43
37: ; preds = %33
%38 = load i32, ptr %11, align 4
%39 = sdiv i32 %38, 992
%40 = add nsw i32 %39, 1
%41 = trunc i32 %40 to i8
%42 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 29
store i8 %41, ptr %42, align 1
br label %48
43: ; preds = %33
%44 = load i32, ptr %11, align 4
%45 = sdiv i32 %44, 992
%46 = trunc i32 %45 to i8
%47 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 29
store i8 %46, ptr %47, align 1
br label %48
48: ; preds = %43, %37
store i32 0, ptr %8, align 4
%49 = load i32, ptr %8, align 4
%50 = load i32, ptr %11, align 4
%51 = sdiv i32 %50, 992
%52 = icmp slt i32 %49, %51
br i1 %52, label %.lr.ph8, label %110
.lr.ph8: ; preds = %48
br label %53
53: ; preds = %.lr.ph8, %103
%54 = load i32, ptr %8, align 4
%55 = trunc i32 %54 to i8
%56 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 13
store i8 %55, ptr %56, align 1
%57 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 30
store i8 3, ptr %57, align 2
%58 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 31
store i8 -32, ptr %58, align 1
%59 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 30
%60 = load i8, ptr %59, align 2
%61 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 31
%62 = load i8, ptr %61, align 1
%63 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %60, i8 noundef zeroext %62, i32 noundef 992)
store i32 0, ptr %10, align 4
%64 = load i32, ptr %10, align 4
%65 = icmp slt i32 %64, 32
br i1 %65, label %.lr.ph2, label %81
.lr.ph2: ; preds = %53
br label %66
66: ; preds = %.lr.ph2, %76
%67 = load i32, ptr %10, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 %68
%70 = load i8, ptr %69, align 1
%71 = load ptr, ptr %5, align 8
%72 = load i32, ptr %9, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %9, align 4
%74 = sext i32 %72 to i64
%75 = getelementptr inbounds i8, ptr %71, i64 %74
store i8 %70, ptr %75, align 1
br label %76
76: ; preds = %66
%77 = load i32, ptr %10, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %10, align 4
%79 = load i32, ptr %10, align 4
%80 = icmp slt i32 %79, 32
br i1 %80, label %66, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %76
br label %81
81: ; preds = %._crit_edge3, %53
store i32 0, ptr %10, align 4
%82 = load i32, ptr %10, align 4
%83 = icmp slt i32 %82, 992
br i1 %83, label %.lr.ph5, label %102
.lr.ph5: ; preds = %81
br label %84
84: ; preds = %.lr.ph5, %97
%85 = load i32, ptr %8, align 4
%86 = mul nsw i32 %85, 992
%87 = load i32, ptr %10, align 4
%88 = add nsw i32 %86, %87
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds [32768 x i8], ptr %7, i64 0, i64 %89
%91 = load i8, ptr %90, align 1
%92 = load ptr, ptr %5, align 8
%93 = load i32, ptr %9, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %9, align 4
%95 = sext i32 %93 to i64
%96 = getelementptr inbounds i8, ptr %92, i64 %95
store i8 %91, ptr %96, align 1
br label %97
97: ; preds = %84
%98 = load i32, ptr %10, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %10, align 4
%100 = load i32, ptr %10, align 4
%101 = icmp slt i32 %100, 992
br i1 %101, label %84, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %97
br label %102
102: ; preds = %._crit_edge6, %81
br label %103
103: ; preds = %102
%104 = load i32, ptr %8, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %8, align 4
%106 = load i32, ptr %8, align 4
%107 = load i32, ptr %11, align 4
%108 = sdiv i32 %107, 992
%109 = icmp slt i32 %106, %108
br i1 %109, label %53, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %103
br label %110
110: ; preds = %._crit_edge9, %48
%111 = load i32, ptr %11, align 4
%112 = srem i32 %111, 992
%113 = icmp ne i32 %112, 0
br i1 %113, label %114, label %178
114: ; preds = %110
%115 = load i32, ptr %8, align 4
%116 = trunc i32 %115 to i8
%117 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 13
store i8 %116, ptr %117, align 1
%118 = load i32, ptr %11, align 4
%119 = srem i32 %118, 992
%120 = sdiv i32 %119, 256
%121 = trunc i32 %120 to i8
%122 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 30
store i8 %121, ptr %122, align 2
%123 = load i32, ptr %11, align 4
%124 = srem i32 %123, 992
%125 = srem i32 %124, 256
%126 = trunc i32 %125 to i8
%127 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 31
store i8 %126, ptr %127, align 1
%128 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 30
%129 = load i8, ptr %128, align 2
%130 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 31
%131 = load i8, ptr %130, align 1
%132 = load i32, ptr %11, align 4
%133 = srem i32 %132, 992
%134 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %129, i8 noundef zeroext %131, i32 noundef %133)
store i32 0, ptr %10, align 4
%135 = load i32, ptr %10, align 4
%136 = icmp slt i32 %135, 32
br i1 %136, label %.lr.ph11, label %152
.lr.ph11: ; preds = %114
br label %137
137: ; preds = %.lr.ph11, %147
%138 = load i32, ptr %10, align 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 %139
%141 = load i8, ptr %140, align 1
%142 = load ptr, ptr %5, align 8
%143 = load i32, ptr %9, align 4
%144 = add nsw i32 %143, 1
store i32 %144, ptr %9, align 4
%145 = sext i32 %143 to i64
%146 = getelementptr inbounds i8, ptr %142, i64 %145
store i8 %141, ptr %146, align 1
br label %147
147: ; preds = %137
%148 = load i32, ptr %10, align 4
%149 = add nsw i32 %148, 1
store i32 %149, ptr %10, align 4
%150 = load i32, ptr %10, align 4
%151 = icmp slt i32 %150, 32
br i1 %151, label %137, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %147
br label %152
152: ; preds = %._crit_edge12, %114
store i32 0, ptr %10, align 4
%153 = load i32, ptr %10, align 4
%154 = load i32, ptr %11, align 4
%155 = srem i32 %154, 992
%156 = icmp slt i32 %153, %155
br i1 %156, label %.lr.ph14, label %177
.lr.ph14: ; preds = %152
br label %157
157: ; preds = %.lr.ph14, %170
%158 = load i32, ptr %8, align 4
%159 = mul nsw i32 %158, 992
%160 = load i32, ptr %10, align 4
%161 = add nsw i32 %159, %160
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds [32768 x i8], ptr %7, i64 0, i64 %162
%164 = load i8, ptr %163, align 1
%165 = load ptr, ptr %5, align 8
%166 = load i32, ptr %9, align 4
%167 = add nsw i32 %166, 1
store i32 %167, ptr %9, align 4
%168 = sext i32 %166 to i64
%169 = getelementptr inbounds i8, ptr %165, i64 %168
store i8 %164, ptr %169, align 1
br label %170
170: ; preds = %157
%171 = load i32, ptr %10, align 4
%172 = add nsw i32 %171, 1
store i32 %172, ptr %10, align 4
%173 = load i32, ptr %10, align 4
%174 = load i32, ptr %11, align 4
%175 = srem i32 %174, 992
%176 = icmp slt i32 %173, %175
br i1 %176, label %157, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %170
br label %177
177: ; preds = %._crit_edge15, %152
br label %178
178: ; preds = %177, %110
%179 = load i32, ptr %9, align 4
ret i32 %179
}
declare i32 @read_dat(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @printf(ptr noundef, i8 noundef zeroext, i8 noundef zeroext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmpu5eirkqz.c'
source_filename = "/tmp/tmpu5eirkqz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PEM_F_PEM_READ_PRIVATEKEY = dso_local global i32 0, align 4
@ERR_R_BUF_LIB = dso_local global i32 0, align 4
@BIO_NOCLOSE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @PEM_read_PrivateKey(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%12 = call i32 (...) @BIO_s_file()
%13 = call ptr @BIO_new(i32 noundef %12)
store ptr %13, ptr %10, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %19
15: ; preds = %4
%16 = load i32, ptr @PEM_F_PEM_READ_PRIVATEKEY, align 4
%17 = load i32, ptr @ERR_R_BUF_LIB, align 4
%18 = call i32 @PEMerr(i32 noundef %16, i32 noundef %17)
store ptr null, ptr %5, align 8
br label %32
19: ; preds = %4
%20 = load ptr, ptr %10, align 8
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr @BIO_NOCLOSE, align 4
%23 = call i32 @BIO_set_fp(ptr noundef %20, ptr noundef %21, i32 noundef %22)
%24 = load ptr, ptr %10, align 8
%25 = load ptr, ptr %7, align 8
%26 = load ptr, ptr %8, align 8
%27 = load ptr, ptr %9, align 8
%28 = call ptr @PEM_read_bio_PrivateKey(ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27)
store ptr %28, ptr %11, align 8
%29 = load ptr, ptr %10, align 8
%30 = call i32 @BIO_free(ptr noundef %29)
%31 = load ptr, ptr %11, align 8
store ptr %31, ptr %5, align 8
br label %32
32: ; preds = %19, %15
%33 = load ptr, ptr %5, align 8
ret ptr %33
}
declare ptr @BIO_new(i32 noundef) #1
declare i32 @BIO_s_file(...) #1
declare i32 @PEMerr(i32 noundef, i32 noundef) #1
declare i32 @BIO_set_fp(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @PEM_read_bio_PrivateKey(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @BIO_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/tmpu5eirkqz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PEM_F_PEM_READ_PRIVATEKEY = dso_local global i32 0, align 4
@ERR_R_BUF_LIB = dso_local global i32 0, align 4
@BIO_NOCLOSE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @PEM_read_PrivateKey(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%12 = call i32 (...) @BIO_s_file()
%13 = call ptr @BIO_new(i32 noundef %12)
store ptr %13, ptr %10, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %19
15: ; preds = %4
%16 = load i32, ptr @PEM_F_PEM_READ_PRIVATEKEY, align 4
%17 = load i32, ptr @ERR_R_BUF_LIB, align 4
%18 = call i32 @PEMerr(i32 noundef %16, i32 noundef %17)
store ptr null, ptr %5, align 8
br label %32
19: ; preds = %4
%20 = load ptr, ptr %10, align 8
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr @BIO_NOCLOSE, align 4
%23 = call i32 @BIO_set_fp(ptr noundef %20, ptr noundef %21, i32 noundef %22)
%24 = load ptr, ptr %10, align 8
%25 = load ptr, ptr %7, align 8
%26 = load ptr, ptr %8, align 8
%27 = load ptr, ptr %9, align 8
%28 = call ptr @PEM_read_bio_PrivateKey(ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27)
store ptr %28, ptr %11, align 8
%29 = load ptr, ptr %10, align 8
%30 = call i32 @BIO_free(ptr noundef %29)
%31 = load ptr, ptr %11, align 8
store ptr %31, ptr %5, align 8
br label %32
32: ; preds = %19, %15
%33 = load ptr, ptr %5, align 8
ret ptr %33
}
declare ptr @BIO_new(i32 noundef) #1
declare i32 @BIO_s_file(...) #1
declare i32 @PEMerr(i32 noundef, i32 noundef) #1
declare i32 @BIO_set_fp(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @PEM_read_bio_PrivateKey(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @BIO_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/tmpjvc39vbl.c'
source_filename = "/tmp/tmpjvc39vbl.c"
target datalayout = "e-m:e-p270: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/tmpjvc39vbl.c"
target datalayout = "e-m:e-p270: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/tmphiqzj107.c'
source_filename = "/tmp/tmphiqzj107.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @setblock(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr @F_GETFL, align 4
%6 = call i32 @fcntl(i32 noundef %4, i32 noundef %5, i32 noundef 0)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr @O_NONBLOCK, align 4
%8 = xor i32 %7, -1
%9 = load i32, ptr %3, align 4
%10 = and i32 %9, %8
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr @F_SETFL, align 4
%13 = load i32, ptr %3, align 4
%14 = call i32 @fcntl(i32 noundef %11, i32 noundef %12, i32 noundef %13)
ret i32 %14
}
declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphiqzj107.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @setblock(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr @F_GETFL, align 4
%6 = call i32 @fcntl(i32 noundef %4, i32 noundef %5, i32 noundef 0)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr @O_NONBLOCK, align 4
%8 = xor i32 %7, -1
%9 = load i32, ptr %3, align 4
%10 = and i32 %9, %8
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr @F_SETFL, align 4
%13 = load i32, ptr %3, align 4
%14 = call i32 @fcntl(i32 noundef %11, i32 noundef %12, i32 noundef %13)
ret i32 %14
}
declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjiik7mja.c'
source_filename = "/tmp/tmpjiik7mja.c"
target datalayout = "e-m:e-p270: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/tmpjiik7mja.c"
target datalayout = "e-m:e-p270: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/tmp0ulmt5_v.c'
source_filename = "/tmp/tmp0ulmt5_v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bst_assert_insert(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call ptr @bst_probe(ptr noundef %6, ptr noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %16
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %12, align 8
%14 = load ptr, ptr %4, align 8
%15 = icmp eq ptr %13, %14
br label %16
16: ; preds = %11, %2
%17 = phi i1 [ false, %2 ], [ %15, %11 ]
%18 = zext i1 %17 to i32
%19 = call i32 @assert(i32 noundef %18)
ret void
}
declare ptr @bst_probe(ptr noundef, ptr noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0ulmt5_v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bst_assert_insert(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call ptr @bst_probe(ptr noundef %6, ptr noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %16
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %12, align 8
%14 = load ptr, ptr %4, align 8
%15 = icmp eq ptr %13, %14
br label %16
16: ; preds = %11, %2
%17 = phi i1 [ false, %2 ], [ %15, %11 ]
%18 = zext i1 %17 to i32
%19 = call i32 @assert(i32 noundef %18)
ret void
}
declare ptr @bst_probe(ptr noundef, ptr noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptkjsc5sn.c'
source_filename = "/tmp/tmptkjsc5sn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lcd_init() #0 {
%1 = call i32 (...) @lcd_reset()
%2 = call i32 @lcd_cmd(i32 noundef 234, i32 noundef 0)
%3 = call i32 @lcd_cmd(i32 noundef 235, i32 noundef 32)
%4 = call i32 @lcd_cmd(i32 noundef 236, i32 noundef 12)
%5 = call i32 @lcd_cmd(i32 noundef 237, i32 noundef 196)
%6 = call i32 @lcd_cmd(i32 noundef 232, i32 noundef 64)
%7 = call i32 @lcd_cmd(i32 noundef 233, i32 noundef 56)
%8 = call i32 @lcd_cmd(i32 noundef 241, i32 noundef 1)
%9 = call i32 @lcd_cmd(i32 noundef 242, i32 noundef 16)
%10 = call i32 @lcd_cmd(i32 noundef 39, i32 noundef 163)
%11 = call i32 @lcd_cmd(i32 noundef 27, i32 noundef 27)
%12 = call i32 @lcd_cmd(i32 noundef 26, i32 noundef 1)
%13 = call i32 @lcd_cmd(i32 noundef 36, i32 noundef 47)
%14 = call i32 @lcd_cmd(i32 noundef 37, i32 noundef 87)
%15 = call i32 @lcd_cmd(i32 noundef 35, i32 noundef 141)
%16 = call i32 @lcd_cmd(i32 noundef 24, i32 noundef 54)
%17 = call i32 @lcd_cmd(i32 noundef 25, i32 noundef 1)
%18 = call i32 @lcd_cmd(i32 noundef 1, i32 noundef 0)
%19 = call i32 @lcd_cmd(i32 noundef 31, i32 noundef 136)
%20 = call i32 @usleep(i32 noundef 5000)
%21 = call i32 @lcd_cmd(i32 noundef 31, i32 noundef 128)
%22 = call i32 @usleep(i32 noundef 5000)
%23 = call i32 @lcd_cmd(i32 noundef 31, i32 noundef 144)
%24 = call i32 @usleep(i32 noundef 5000)
%25 = call i32 @lcd_cmd(i32 noundef 31, i32 noundef 208)
%26 = call i32 @usleep(i32 noundef 5000)
%27 = call i32 @lcd_cmd(i32 noundef 23, i32 noundef 5)
%28 = call i32 @lcd_cmd(i32 noundef 54, i32 noundef 0)
%29 = call i32 @lcd_cmd(i32 noundef 40, i32 noundef 56)
%30 = call i32 @usleep(i32 noundef 40000)
%31 = call i32 @lcd_cmd(i32 noundef 40, i32 noundef 60)
%32 = call i32 @lcd_cmd(i32 noundef 22, i32 noundef 168)
%33 = call i32 @lcd_area(i32 noundef 0, i32 noundef 0, i32 noundef 319, i32 noundef 239)
ret void
}
declare i32 @lcd_reset(...) #1
declare i32 @lcd_cmd(i32 noundef, i32 noundef) #1
declare i32 @usleep(i32 noundef) #1
declare i32 @lcd_area(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/tmptkjsc5sn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lcd_init() #0 {
%1 = call i32 (...) @lcd_reset()
%2 = call i32 @lcd_cmd(i32 noundef 234, i32 noundef 0)
%3 = call i32 @lcd_cmd(i32 noundef 235, i32 noundef 32)
%4 = call i32 @lcd_cmd(i32 noundef 236, i32 noundef 12)
%5 = call i32 @lcd_cmd(i32 noundef 237, i32 noundef 196)
%6 = call i32 @lcd_cmd(i32 noundef 232, i32 noundef 64)
%7 = call i32 @lcd_cmd(i32 noundef 233, i32 noundef 56)
%8 = call i32 @lcd_cmd(i32 noundef 241, i32 noundef 1)
%9 = call i32 @lcd_cmd(i32 noundef 242, i32 noundef 16)
%10 = call i32 @lcd_cmd(i32 noundef 39, i32 noundef 163)
%11 = call i32 @lcd_cmd(i32 noundef 27, i32 noundef 27)
%12 = call i32 @lcd_cmd(i32 noundef 26, i32 noundef 1)
%13 = call i32 @lcd_cmd(i32 noundef 36, i32 noundef 47)
%14 = call i32 @lcd_cmd(i32 noundef 37, i32 noundef 87)
%15 = call i32 @lcd_cmd(i32 noundef 35, i32 noundef 141)
%16 = call i32 @lcd_cmd(i32 noundef 24, i32 noundef 54)
%17 = call i32 @lcd_cmd(i32 noundef 25, i32 noundef 1)
%18 = call i32 @lcd_cmd(i32 noundef 1, i32 noundef 0)
%19 = call i32 @lcd_cmd(i32 noundef 31, i32 noundef 136)
%20 = call i32 @usleep(i32 noundef 5000)
%21 = call i32 @lcd_cmd(i32 noundef 31, i32 noundef 128)
%22 = call i32 @usleep(i32 noundef 5000)
%23 = call i32 @lcd_cmd(i32 noundef 31, i32 noundef 144)
%24 = call i32 @usleep(i32 noundef 5000)
%25 = call i32 @lcd_cmd(i32 noundef 31, i32 noundef 208)
%26 = call i32 @usleep(i32 noundef 5000)
%27 = call i32 @lcd_cmd(i32 noundef 23, i32 noundef 5)
%28 = call i32 @lcd_cmd(i32 noundef 54, i32 noundef 0)
%29 = call i32 @lcd_cmd(i32 noundef 40, i32 noundef 56)
%30 = call i32 @usleep(i32 noundef 40000)
%31 = call i32 @lcd_cmd(i32 noundef 40, i32 noundef 60)
%32 = call i32 @lcd_cmd(i32 noundef 22, i32 noundef 168)
%33 = call i32 @lcd_area(i32 noundef 0, i32 noundef 0, i32 noundef 319, i32 noundef 239)
ret void
}
declare i32 @lcd_reset(...) #1
declare i32 @lcd_cmd(i32 noundef, i32 noundef) #1
declare i32 @usleep(i32 noundef) #1
declare i32 @lcd_area(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/tmp1_883hju.c'
source_filename = "/tmp/tmp1_883hju.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"?\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @rewrite_url(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 = call ptr @strchr(ptr noundef %5, i8 noundef signext 63)
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
store ptr %9, ptr %2, align 8
br label %17
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = call ptr @strtok(ptr noundef %11, ptr noundef @.str)
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %3, align 8
%14 = load ptr, ptr %4, align 8
%15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14)
%16 = load ptr, ptr %3, align 8
store ptr %16, ptr %2, align 8
br label %17
17: ; preds = %10, %8
%18 = load ptr, ptr %2, align 8
ret ptr %18
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1_883hju.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"?\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @rewrite_url(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 = call ptr @strchr(ptr noundef %5, i8 noundef signext 63)
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
store ptr %9, ptr %2, align 8
br label %17
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = call ptr @strtok(ptr noundef %11, ptr noundef @.str)
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %3, align 8
%14 = load ptr, ptr %4, align 8
%15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14)
%16 = load ptr, ptr %3, align 8
store ptr %16, ptr %2, align 8
br label %17
17: ; preds = %10, %8
%18 = load ptr, ptr %2, align 8
ret ptr %18
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu5bqriyi.c'
source_filename = "/tmp/tmpu5bqriyi.c"
target datalayout = "e-m:e-p270: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/tmpu5bqriyi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp__7wxfb3.c'
source_filename = "/tmp/tmp__7wxfb3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [74 x i8] c"*********************************\0A* %s\0A*********************************\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_section(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp__7wxfb3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [74 x i8] c"*********************************\0A* %s\0A*********************************\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_section(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvey_gh8d.c'
source_filename = "/tmp/tmpvey_gh8d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"[-]>\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 void @clear_cells_right(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %11, %1
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %9, label %14
9: ; preds = %5
%10 = call i32 @emit(ptr noundef @.str)
br label %11
11: ; preds = %9
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
br label %5, !llvm.loop !6
14: ; preds = %5
store i32 0, ptr %4, align 4
br label %15
15: ; preds = %21, %14
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %24
19: ; preds = %15
%20 = call i32 @emit(ptr noundef @.str.1)
br label %21
21: ; preds = %19
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %4, align 4
br label %15, !llvm.loop !8
24: ; preds = %15
ret void
}
declare i32 @emit(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/tmpvey_gh8d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"[-]>\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 void @clear_cells_right(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %5, %6
br i1 %7, label %.lr.ph, label %16
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %10
%9 = call i32 @emit(ptr noundef @.str)
br label %10
10: ; preds = %8
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %16
16: ; preds = %._crit_edge, %1
store i32 0, ptr %4, align 4
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph2, label %28
.lr.ph2: ; preds = %16
br label %20
20: ; preds = %.lr.ph2, %22
%21 = call i32 @emit(ptr noundef @.str.1)
br label %22
22: ; preds = %20
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
%25 = load i32, ptr %4, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %20, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %22
br label %28
28: ; preds = %._crit_edge3, %16
ret void
}
declare i32 @emit(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/tmpi99vv7ab.c'
source_filename = "/tmp/tmpi99vv7ab.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy_18(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @memcpy(ptr noundef %5, ptr noundef %6, i32 noundef 18)
ret void
}
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi99vv7ab.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy_18(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @memcpy(ptr noundef %5, ptr noundef %6, i32 noundef 18)
ret void
}
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"}
|
; ModuleID = '/tmp/tmpipjy466k.c'
source_filename = "/tmp/tmpipjy466k.c"
target datalayout = "e-m:e-p270: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
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpipjy466k.c"
target datalayout = "e-m:e-p270: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
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph_c3yjx7.c'
source_filename = "/tmp/tmph_c3yjx7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph_c3yjx7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv_ewykth.c'
source_filename = "/tmp/tmpv_ewykth.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [38 x i8] c"%s: cannot open file for writing: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"awa-server-list-clients\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cmdline_parser_file_save(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %4, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %17, label %12
12: ; preds = %2
%13 = load i32, ptr @stderr, align 4
%14 = load ptr, ptr %4, align 8
%15 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %14)
%16 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %16, ptr %3, align 4
br label %24
17: ; preds = %2
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %5, align 8
%20 = call i32 @cmdline_parser_dump(ptr noundef %18, ptr noundef %19)
store i32 %20, ptr %7, align 4
%21 = load ptr, ptr %6, align 8
%22 = call i32 @fclose(ptr noundef %21)
%23 = load i32, ptr %7, align 4
store i32 %23, ptr %3, align 4
br label %24
24: ; preds = %17, %12
%25 = load i32, ptr %3, align 4
ret i32 %25
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @cmdline_parser_dump(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv_ewykth.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [38 x i8] c"%s: cannot open file for writing: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"awa-server-list-clients\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cmdline_parser_file_save(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %4, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %17, label %12
12: ; preds = %2
%13 = load i32, ptr @stderr, align 4
%14 = load ptr, ptr %4, align 8
%15 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %14)
%16 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %16, ptr %3, align 4
br label %24
17: ; preds = %2
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %5, align 8
%20 = call i32 @cmdline_parser_dump(ptr noundef %18, ptr noundef %19)
store i32 %20, ptr %7, align 4
%21 = load ptr, ptr %6, align 8
%22 = call i32 @fclose(ptr noundef %21)
%23 = load i32, ptr %7, align 4
store i32 %23, ptr %3, align 4
br label %24
24: ; preds = %17, %12
%25 = load i32, ptr %3, align 4
ret i32 %25
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @cmdline_parser_dump(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5xl7uiu7.c'
source_filename = "/tmp/tmp5xl7uiu7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"fglrxinfo -v 2> /dev/null > fglrxinfo.txt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dump_fglrxinfo() #0 {
%1 = call i32 @system(ptr noundef @.str)
ret void
}
declare i32 @system(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/tmp5xl7uiu7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"fglrxinfo -v 2> /dev/null > fglrxinfo.txt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dump_fglrxinfo() #0 {
%1 = call i32 @system(ptr noundef @.str)
ret void
}
declare i32 @system(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/tmpntyprpex.c'
source_filename = "/tmp/tmpntyprpex.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_merge_sort(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %8, align 4
%12 = icmp sge i32 %10, %11
br i1 %12, label %13, label %14
13: ; preds = %4
br label %36
14: ; preds = %4
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr %7, align 4
%18 = sub nsw i32 %16, %17
%19 = sdiv i32 %18, 2
%20 = add nsw i32 %15, %19
store i32 %20, ptr %9, align 4
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %9, align 4
call void @_merge_sort(ptr noundef %21, ptr noundef %22, i32 noundef %23, i32 noundef %24)
%25 = load ptr, ptr %5, align 8
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %9, align 4
%28 = add nsw i32 %27, 1
%29 = load i32, ptr %8, align 4
call void @_merge_sort(ptr noundef %25, ptr noundef %26, i32 noundef %28, i32 noundef %29)
%30 = load ptr, ptr %5, align 8
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %9, align 4
%34 = load i32, ptr %8, align 4
%35 = call i32 @_merge(ptr noundef %30, ptr noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef %34)
br label %36
36: ; preds = %14, %13
ret void
}
declare i32 @_merge(ptr noundef, ptr 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/tmpntyprpex.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_merge_sort(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %8, align 4
%12 = icmp sge i32 %10, %11
br i1 %12, label %13, label %14
13: ; preds = %4
br label %36
14: ; preds = %4
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr %7, align 4
%18 = sub nsw i32 %16, %17
%19 = sdiv i32 %18, 2
%20 = add nsw i32 %15, %19
store i32 %20, ptr %9, align 4
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %9, align 4
call void @_merge_sort(ptr noundef %21, ptr noundef %22, i32 noundef %23, i32 noundef %24)
%25 = load ptr, ptr %5, align 8
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %9, align 4
%28 = add nsw i32 %27, 1
%29 = load i32, ptr %8, align 4
call void @_merge_sort(ptr noundef %25, ptr noundef %26, i32 noundef %28, i32 noundef %29)
%30 = load ptr, ptr %5, align 8
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %9, align 4
%34 = load i32, ptr %8, align 4
%35 = call i32 @_merge(ptr noundef %30, ptr noundef %31, i32 noundef %32, i32 noundef %33, i32 noundef %34)
br label %36
36: ; preds = %14, %13
ret void
}
declare i32 @_merge(ptr noundef, ptr 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/tmp_cdrvdih.c'
source_filename = "/tmp/tmp_cdrvdih.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @byte_array_reserve(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = sub nsw i32 %7, 1
store i32 %8, ptr %4, align 4
br label %9
9: ; preds = %33, %2
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %38
13: ; preds = %9
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
%18 = load i32, ptr %17, align 4
store i32 %18, ptr %6, align 4
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %4, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
store i32 %23, ptr %27, align 4
%28 = load i32, ptr %6, align 4
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %4, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %29, i64 %31
store i32 %28, ptr %32, align 4
br label %33
33: ; preds = %13
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %5, align 4
%36 = load i32, ptr %4, align 4
%37 = add nsw i32 %36, -1
store i32 %37, ptr %4, align 4
br label %9, !llvm.loop !6
38: ; preds = %9
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/tmp_cdrvdih.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @byte_array_reserve(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = sub nsw i32 %7, 1
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %40
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %32
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %6, align 4
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
%22 = load i32, ptr %21, align 4
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %5, 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 i32, ptr %6, align 4
%28 = load ptr, ptr %3, align 8
%29 = load i32, ptr %4, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
store i32 %27, ptr %31, align 4
br label %32
32: ; preds = %12
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4
%35 = load i32, ptr %4, align 4
%36 = add nsw i32 %35, -1
store i32 %36, ptr %4, align 4
%37 = load i32, ptr %5, align 4
%38 = load i32, ptr %4, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %40
40: ; preds = %._crit_edge, %2
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/tmpjg6l4qct.c'
source_filename = "/tmp/tmpjg6l4qct.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mgmt_listuser_req_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @osapi_free(ptr noundef %3)
ret void
}
declare i32 @osapi_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/tmpjg6l4qct.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mgmt_listuser_req_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @osapi_free(ptr noundef %3)
ret void
}
declare i32 @osapi_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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.