llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmp77et3yyx.c'
source_filename = "/tmp/tmp77et3yyx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_atoi(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %10, %1
%6 = load ptr, ptr %2, align 8
%7 = load i8, ptr %6, align 1
%8 = call i64 @ft_isspace(i8 noundef signext %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %5
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %2, align 8
br label %5, !llvm.loop !6
13: ; preds = %5
%14 = load ptr, ptr %2, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 43
br i1 %17, label %23, label %18
18: ; preds = %13
%19 = load ptr, ptr %2, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 45
br i1 %22, label %23, label %32
23: ; preds = %18, %13
%24 = load ptr, ptr %2, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 45
br i1 %27, label %28, label %29
28: ; preds = %23
store i32 1, ptr %4, align 4
br label %29
29: ; preds = %28, %23
%30 = load ptr, ptr %2, align 8
%31 = getelementptr inbounds i8, ptr %30, i32 1
store ptr %31, ptr %2, align 8
br label %32
32: ; preds = %29, %18
br label %33
33: ; preds = %38, %32
%34 = load ptr, ptr %2, align 8
%35 = load i8, ptr %34, align 1
%36 = call i64 @ft_isdigit(i8 noundef signext %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %48
38: ; preds = %33
%39 = load i32, ptr %3, align 4
%40 = mul nsw i32 %39, 10
%41 = load ptr, ptr %2, align 8
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = sub nsw i32 %43, 48
%45 = add nsw i32 %40, %44
store i32 %45, ptr %3, align 4
%46 = load ptr, ptr %2, align 8
%47 = getelementptr inbounds i8, ptr %46, i32 1
store ptr %47, ptr %2, align 8
br label %33, !llvm.loop !8
48: ; preds = %33
%49 = load i32, ptr %4, align 4
%50 = icmp ne i32 %49, 0
br i1 %50, label %51, label %54
51: ; preds = %48
%52 = load i32, ptr %3, align 4
%53 = sub nsw i32 0, %52
store i32 %53, ptr %3, align 4
br label %54
54: ; preds = %51, %48
%55 = load i32, ptr %3, align 4
ret i32 %55
}
declare i64 @ft_isspace(i8 noundef signext) #1
declare i64 @ft_isdigit(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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp77et3yyx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_atoi(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
%5 = load ptr, ptr %2, align 8
%6 = load i8, ptr %5, align 1
%7 = call i64 @ft_isspace(i8 noundef signext %6)
%8 = icmp ne i64 %7, 0
br i1 %8, label %.lr.ph, label %16
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %9
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds i8, ptr %10, i32 1
store ptr %11, ptr %2, align 8
%12 = load ptr, ptr %2, align 8
%13 = load i8, ptr %12, align 1
%14 = call i64 @ft_isspace(i8 noundef signext %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %16
16: ; preds = %._crit_edge, %1
%17 = load ptr, ptr %2, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 43
br i1 %20, label %26, label %21
21: ; preds = %16
%22 = load ptr, ptr %2, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 45
br i1 %25, label %26, label %35
26: ; preds = %21, %16
%27 = load ptr, ptr %2, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 45
br i1 %30, label %31, label %32
31: ; preds = %26
store i32 1, ptr %4, align 4
br label %32
32: ; preds = %31, %26
%33 = load ptr, ptr %2, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %2, align 8
br label %35
35: ; preds = %32, %21
%36 = load ptr, ptr %2, align 8
%37 = load i8, ptr %36, align 1
%38 = call i64 @ft_isdigit(i8 noundef signext %37)
%39 = icmp ne i64 %38, 0
br i1 %39, label %.lr.ph2, label %54
.lr.ph2: ; preds = %35
br label %40
40: ; preds = %.lr.ph2, %40
%41 = load i32, ptr %3, align 4
%42 = mul nsw i32 %41, 10
%43 = load ptr, ptr %2, align 8
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = sub nsw i32 %45, 48
%47 = add nsw i32 %42, %46
store i32 %47, ptr %3, align 4
%48 = load ptr, ptr %2, align 8
%49 = getelementptr inbounds i8, ptr %48, i32 1
store ptr %49, ptr %2, align 8
%50 = load ptr, ptr %2, align 8
%51 = load i8, ptr %50, align 1
%52 = call i64 @ft_isdigit(i8 noundef signext %51)
%53 = icmp ne i64 %52, 0
br i1 %53, label %40, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %40
br label %54
54: ; preds = %._crit_edge3, %35
%55 = load i32, ptr %4, align 4
%56 = icmp ne i32 %55, 0
br i1 %56, label %57, label %60
57: ; preds = %54
%58 = load i32, ptr %3, align 4
%59 = sub nsw i32 0, %58
store i32 %59, ptr %3, align 4
br label %60
60: ; preds = %57, %54
%61 = load i32, ptr %3, align 4
ret i32 %61
}
declare i64 @ft_isspace(i8 noundef signext) #1
declare i64 @ft_isdigit(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}
|
; ModuleID = '/tmp/tmppi37p5tg.c'
source_filename = "/tmp/tmppi37p5tg.c"
target datalayout = "e-m:e-p270: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.bl_uart_init.fraction_L_mapping = private unnamed_addr constant [10 x i32] [i32 0, i32 0, i32 32, i32 144, i32 168, i32 84, i32 108, i32 186, i32 246, i32 254], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bl_uart_init(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [10 x i32], align 16
%11 = alloca [10 x i32], align 16
store i32 %0, ptr %2, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.bl_uart_init.fraction_L_mapping, i64 40, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 40, i1 false)
%12 = getelementptr inbounds [10 x i32], ptr %11, i32 0, i32 5
store i32 1, ptr %12, align 4
%13 = getelementptr inbounds [10 x i32], ptr %11, i32 0, i32 6
store i32 1, ptr %13, align 8
%14 = getelementptr inbounds [10 x i32], ptr %11, i32 0, i32 7
store i32 1, ptr %14, align 4
%15 = getelementptr inbounds [10 x i32], ptr %11, i32 0, i32 8
store i32 1, ptr %15, align 16
%16 = getelementptr inbounds [10 x i32], ptr %11, i32 0, i32 9
store i32 1, ptr %16, align 4
store volatile i32 255, ptr inttoptr (i64 2718043144 to ptr), align 4
store volatile i32 51, ptr inttoptr (i64 2718043140 to ptr), align 4
%17 = load volatile i32, ptr inttoptr (i64 2717975332 to ptr), align 4
%18 = or i32 %17, 32768
store volatile i32 %18, ptr inttoptr (i64 2717975332 to ptr), align 4
%19 = load i32, ptr %2, align 4
%20 = sdiv i32 %19, 29491200
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %2, align 4
%22 = mul nsw i32 %21, 10
%23 = sdiv i32 %22, 29491200
%24 = srem i32 %23, 10
store i32 %24, ptr %4, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %30, label %27
27: ; preds = %1
%28 = load i32, ptr %3, align 4
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %27, %1
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %3, align 4
br label %33
33: ; preds = %30, %27
%34 = load i32, ptr %3, align 4
store i32 %34, ptr %6, align 4
%35 = load i32, ptr %2, align 4
%36 = load i32, ptr %6, align 4
%37 = mul nsw i32 115200, %36
%38 = sdiv i32 %35, %37
store i32 %38, ptr %7, align 4
br label %39
39: ; preds = %42, %33
%40 = load i32, ptr %7, align 4
%41 = icmp sgt i32 %40, 256
br i1 %41, label %42, label %49
42: ; preds = %39
%43 = load i32, ptr %6, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %6, align 4
%45 = load i32, ptr %2, align 4
%46 = load i32, ptr %6, align 4
%47 = mul nsw i32 115200, %46
%48 = sdiv i32 %45, %47
store i32 %48, ptr %7, align 4
br label %39, !llvm.loop !6
49: ; preds = %39
%50 = load i32, ptr %2, align 4
%51 = mul nsw i32 %50, 10
%52 = load i32, ptr %6, align 4
%53 = mul nsw i32 115200, %52
%54 = sdiv i32 %51, %53
%55 = srem i32 %54, 10
store i32 %55, ptr %5, align 4
%56 = load i32, ptr %7, align 4
%57 = sub nsw i32 %56, 1
store i32 %57, ptr %7, align 4
%58 = load i32, ptr %7, align 4
%59 = sub nsw i32 %58, 1
%60 = ashr i32 %59, 1
store i32 %60, ptr %8, align 4
%61 = call i32 @bl_uart_write_reg(i32 noundef -1609629660, i32 noundef 3)
%62 = call i32 @bl_uart_read_reg(i32 noundef -1609629684)
store i32 %62, ptr %9, align 4
%63 = load i32, ptr %9, align 4
%64 = or i32 %63, 128
%65 = call i32 @bl_uart_write_reg(i32 noundef -1609629684, i32 noundef %64)
%66 = load i32, ptr %6, align 4
%67 = and i32 %66, 255
%68 = call i32 @bl_uart_write_reg(i32 noundef -1609629696, i32 noundef %67)
%69 = load i32, ptr %6, align 4
%70 = ashr i32 %69, 8
%71 = and i32 %70, 255
%72 = call i32 @bl_uart_write_reg(i32 noundef -1609629692, i32 noundef %71)
%73 = load i32, ptr %9, align 4
%74 = call i32 @bl_uart_write_reg(i32 noundef -1609629684, i32 noundef %73)
%75 = load i32, ptr %7, align 4
%76 = call i32 @bl_uart_write_reg(i32 noundef -1609629656, i32 noundef %75)
%77 = load i32, ptr %8, align 4
%78 = call i32 @bl_uart_write_reg(i32 noundef -1609629652, i32 noundef %77)
%79 = load i32, ptr %5, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %80
%82 = load i32, ptr %81, align 4
%83 = call i32 @bl_uart_write_reg(i32 noundef -1609629612, i32 noundef %82)
%84 = load i32, ptr %5, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [10 x i32], ptr %11, i64 0, i64 %85
%87 = load i32, ptr %86, align 4
%88 = call i32 @bl_uart_write_reg(i32 noundef -1609629608, i32 noundef %87)
%89 = call i32 @bl_uart_write_reg(i32 noundef -1609629684, i32 noundef 3)
%90 = call i32 @bl_uart_write_reg(i32 noundef -1609629688, i32 noundef 151)
%91 = call i32 @bl_uart_write_reg(i32 noundef -1609629692, i32 noundef 0)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @bl_uart_write_reg(i32 noundef, i32 noundef) #3
declare i32 @bl_uart_read_reg(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmppi37p5tg.c"
target datalayout = "e-m:e-p270: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.bl_uart_init.fraction_L_mapping = private unnamed_addr constant [10 x i32] [i32 0, i32 0, i32 32, i32 144, i32 168, i32 84, i32 108, i32 186, i32 246, i32 254], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bl_uart_init(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [10 x i32], align 16
%11 = alloca [10 x i32], align 16
store i32 %0, ptr %2, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.bl_uart_init.fraction_L_mapping, i64 40, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 40, i1 false)
%12 = getelementptr inbounds [10 x i32], ptr %11, i32 0, i32 5
store i32 1, ptr %12, align 4
%13 = getelementptr inbounds [10 x i32], ptr %11, i32 0, i32 6
store i32 1, ptr %13, align 8
%14 = getelementptr inbounds [10 x i32], ptr %11, i32 0, i32 7
store i32 1, ptr %14, align 4
%15 = getelementptr inbounds [10 x i32], ptr %11, i32 0, i32 8
store i32 1, ptr %15, align 16
%16 = getelementptr inbounds [10 x i32], ptr %11, i32 0, i32 9
store i32 1, ptr %16, align 4
store volatile i32 255, ptr inttoptr (i64 2718043144 to ptr), align 4
store volatile i32 51, ptr inttoptr (i64 2718043140 to ptr), align 4
%17 = load volatile i32, ptr inttoptr (i64 2717975332 to ptr), align 4
%18 = or i32 %17, 32768
store volatile i32 %18, ptr inttoptr (i64 2717975332 to ptr), align 4
%19 = load i32, ptr %2, align 4
%20 = sdiv i32 %19, 29491200
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %2, align 4
%22 = mul nsw i32 %21, 10
%23 = sdiv i32 %22, 29491200
%24 = srem i32 %23, 10
store i32 %24, ptr %4, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %30, label %27
27: ; preds = %1
%28 = load i32, ptr %3, align 4
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %27, %1
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %3, align 4
br label %33
33: ; preds = %30, %27
%34 = load i32, ptr %3, align 4
store i32 %34, ptr %6, align 4
%35 = load i32, ptr %2, align 4
%36 = load i32, ptr %6, align 4
%37 = mul nsw i32 115200, %36
%38 = sdiv i32 %35, %37
store i32 %38, ptr %7, align 4
%39 = load i32, ptr %7, align 4
%40 = icmp sgt i32 %39, 256
br i1 %40, label %.lr.ph, label %50
.lr.ph: ; preds = %33
br label %41
41: ; preds = %.lr.ph, %41
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %6, align 4
%44 = load i32, ptr %2, align 4
%45 = load i32, ptr %6, align 4
%46 = mul nsw i32 115200, %45
%47 = sdiv i32 %44, %46
store i32 %47, ptr %7, align 4
%48 = load i32, ptr %7, align 4
%49 = icmp sgt i32 %48, 256
br i1 %49, label %41, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %50
50: ; preds = %._crit_edge, %33
%51 = load i32, ptr %2, align 4
%52 = mul nsw i32 %51, 10
%53 = load i32, ptr %6, align 4
%54 = mul nsw i32 115200, %53
%55 = sdiv i32 %52, %54
%56 = srem i32 %55, 10
store i32 %56, ptr %5, align 4
%57 = load i32, ptr %7, align 4
%58 = sub nsw i32 %57, 1
store i32 %58, ptr %7, align 4
%59 = load i32, ptr %7, align 4
%60 = sub nsw i32 %59, 1
%61 = ashr i32 %60, 1
store i32 %61, ptr %8, align 4
%62 = call i32 @bl_uart_write_reg(i32 noundef -1609629660, i32 noundef 3)
%63 = call i32 @bl_uart_read_reg(i32 noundef -1609629684)
store i32 %63, ptr %9, align 4
%64 = load i32, ptr %9, align 4
%65 = or i32 %64, 128
%66 = call i32 @bl_uart_write_reg(i32 noundef -1609629684, i32 noundef %65)
%67 = load i32, ptr %6, align 4
%68 = and i32 %67, 255
%69 = call i32 @bl_uart_write_reg(i32 noundef -1609629696, i32 noundef %68)
%70 = load i32, ptr %6, align 4
%71 = ashr i32 %70, 8
%72 = and i32 %71, 255
%73 = call i32 @bl_uart_write_reg(i32 noundef -1609629692, i32 noundef %72)
%74 = load i32, ptr %9, align 4
%75 = call i32 @bl_uart_write_reg(i32 noundef -1609629684, i32 noundef %74)
%76 = load i32, ptr %7, align 4
%77 = call i32 @bl_uart_write_reg(i32 noundef -1609629656, i32 noundef %76)
%78 = load i32, ptr %8, align 4
%79 = call i32 @bl_uart_write_reg(i32 noundef -1609629652, i32 noundef %78)
%80 = load i32, ptr %5, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %81
%83 = load i32, ptr %82, align 4
%84 = call i32 @bl_uart_write_reg(i32 noundef -1609629612, i32 noundef %83)
%85 = load i32, ptr %5, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds [10 x i32], ptr %11, i64 0, i64 %86
%88 = load i32, ptr %87, align 4
%89 = call i32 @bl_uart_write_reg(i32 noundef -1609629608, i32 noundef %88)
%90 = call i32 @bl_uart_write_reg(i32 noundef -1609629684, i32 noundef 3)
%91 = call i32 @bl_uart_write_reg(i32 noundef -1609629688, i32 noundef 151)
%92 = call i32 @bl_uart_write_reg(i32 noundef -1609629692, i32 noundef 0)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @bl_uart_write_reg(i32 noundef, i32 noundef) #3
declare i32 @bl_uart_read_reg(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp6jzcw7kk.c'
source_filename = "/tmp/tmp6jzcw7kk.c"
target datalayout = "e-m:e-p270: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.src1 = private unnamed_addr constant [11 x i8] c"0123456789\00", align 1
@__const.main.src2 = private unnamed_addr constant [21 x i8] c"01234567890123456789\00", align 16
@EXIT_SUCCESS = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [46 x i8] c"Attempt to copy %d characters to destination\0A\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"Wrong number of characters copied\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [26 x i8] c"Did truncate as expected\0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"Should have truncated\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"XX\00", align 1
@.str.5 = private unnamed_addr constant [33 x i8] c"Did not append string correctly\0A\00", align 1
@.str.6 = private unnamed_addr constant [30 x i8] c"Did get truncation correctly\0A\00", align 1
@.str.7 = private unnamed_addr constant [53 x i8] c"Did not get truncation status. Copied %d characters\0A\00", align 1
@.str.8 = private unnamed_addr constant [23 x i8] c"No ellipsis - correct\0A\00", align 1
@.str.9 = private unnamed_addr constant [25 x i8] c"Got ellipsis by mistake\0A\00", align 1
@.str.10 = private unnamed_addr constant [16 x i8] c"Ellipsis: '%s'\0A\00", align 1
@.str.11 = private unnamed_addr constant [26 x i8] c"Got small ellipsis: '%s'\0A\00", align 1
@.str.12 = private unnamed_addr constant [19 x i8] c"Did not truncate!\0A\00", align 1
@.str.13 = private unnamed_addr constant [22 x i8] c"Truncation - correct\0A\00", align 1
@.str.14 = private unnamed_addr constant [30 x i8] c"Got no truncation by mistake\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca [11 x i8], align 1
%4 = alloca [21 x i8], align 16
%5 = alloca [15 x i8], align 1
%6 = alloca i32, align 4
%7 = alloca [3 x i8], align 1
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.src1, i64 11, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.src2, i64 21, i1 false)
%8 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %8, ptr %6, align 4
%9 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0
store i8 0, ptr %9, align 1
%10 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
store i8 0, ptr %10, align 1
%11 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0
%12 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 0
%13 = call i64 @star_strlcpy(ptr noundef %11, ptr noundef %12, i32 noundef 15)
store i64 %13, ptr %2, align 8
%14 = load i64, ptr %2, align 8
%15 = trunc i64 %14 to i32
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15)
%17 = load i64, ptr %2, align 8
%18 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 0
%19 = call i64 @strlen(ptr noundef %18)
%20 = icmp ne i64 %17, %19
br i1 %20, label %21, label %24
21: ; preds = %0
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%23 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %23, ptr %6, align 4
br label %24
24: ; preds = %21, %0
%25 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0
%26 = getelementptr inbounds [21 x i8], ptr %4, i64 0, i64 0
%27 = call i64 @star_strlcpy(ptr noundef %25, ptr noundef %26, i32 noundef 15)
store i64 %27, ptr %2, align 8
%28 = load i64, ptr %2, align 8
%29 = icmp uge i64 %28, 15
br i1 %29, label %30, label %32
30: ; preds = %24
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %35
32: ; preds = %24
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%34 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %34, ptr %6, align 4
br label %35
35: ; preds = %32, %30
%36 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0
%37 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 0
%38 = call i64 @star_strlcpy(ptr noundef %36, ptr noundef %37, i32 noundef 15)
store i64 %38, ptr %2, align 8
%39 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0
%40 = call i64 @star_strlcat(ptr noundef %39, ptr noundef @.str.4, i32 noundef 15)
store i64 %40, ptr %2, align 8
%41 = load i64, ptr %2, align 8
%42 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0
%43 = call i64 @strlen(ptr noundef %42)
%44 = icmp ne i64 %41, %43
br i1 %44, label %45, label %48
45: ; preds = %35
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%47 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %47, ptr %6, align 4
br label %48
48: ; preds = %45, %35
%49 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0
%50 = getelementptr inbounds [21 x i8], ptr %4, i64 0, i64 0
%51 = call i64 @star_strlcat(ptr noundef %49, ptr noundef %50, i32 noundef 15)
store i64 %51, ptr %2, align 8
%52 = load i64, ptr %2, align 8
%53 = icmp uge i64 %52, 15
br i1 %53, label %54, label %56
54: ; preds = %48
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %61
56: ; preds = %48
%57 = load i64, ptr %2, align 8
%58 = trunc i64 %57 to i32
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %58)
%60 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %60, ptr %6, align 4
br label %61
61: ; preds = %56, %54
%62 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0
store i8 0, ptr %62, align 1
%63 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0
%64 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 0
%65 = call i64 @star_strappend(ptr noundef %63, ptr noundef %64, i32 noundef 15)
%66 = icmp ne i64 %65, 0
br i1 %66, label %67, label %69
67: ; preds = %61
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %72
69: ; preds = %61
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%71 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %71, ptr %6, align 4
br label %72
72: ; preds = %69, %67
%73 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0
%74 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 0
%75 = call i64 @star_strappend(ptr noundef %73, ptr noundef %74, i32 noundef 15)
%76 = icmp ne i64 %75, 0
br i1 %76, label %80, label %77
77: ; preds = %72
%78 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0
%79 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %78)
br label %83
80: ; preds = %72
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%82 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %82, ptr %6, align 4
br label %83
83: ; preds = %80, %77
%84 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%85 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 0
%86 = call i64 @star_strappend(ptr noundef %84, ptr noundef %85, i32 noundef 3)
%87 = icmp ne i64 %86, 0
br i1 %87, label %91, label %88
88: ; preds = %83
%89 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %89)
br label %94
91: ; preds = %83
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%93 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %93, ptr %6, align 4
br label %94
94: ; preds = %91, %88
%95 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0
store i8 0, ptr %95, align 1
%96 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0
%97 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 0
%98 = call i64 @star_strellcpy(ptr noundef %96, ptr noundef %97, i32 noundef 15)
%99 = icmp ne i64 %98, 0
br i1 %99, label %100, label %102
100: ; preds = %94
%101 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %105
102: ; preds = %94
%103 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%104 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %104, ptr %6, align 4
br label %105
105: ; preds = %102, %100
%106 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0
%107 = getelementptr inbounds [21 x i8], ptr %4, i64 0, i64 0
%108 = call i64 @star_strellcpy(ptr noundef %106, ptr noundef %107, i32 noundef 15)
%109 = icmp ne i64 %108, 0
br i1 %109, label %112, label %110
110: ; preds = %105
%111 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
br label %115
112: ; preds = %105
%113 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
%114 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %114, ptr %6, align 4
br label %115
115: ; preds = %112, %110
%116 = load i32, ptr %6, align 4
ret i32 %116
}
; 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 i64 @star_strlcpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i64 @strlen(ptr noundef) #2
declare i64 @star_strlcat(ptr noundef, ptr noundef, i32 noundef) #2
declare i64 @star_strappend(ptr noundef, ptr noundef, i32 noundef) #2
declare i64 @star_strellcpy(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6jzcw7kk.c"
target datalayout = "e-m:e-p270: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.src1 = private unnamed_addr constant [11 x i8] c"0123456789\00", align 1
@__const.main.src2 = private unnamed_addr constant [21 x i8] c"01234567890123456789\00", align 16
@EXIT_SUCCESS = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [46 x i8] c"Attempt to copy %d characters to destination\0A\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"Wrong number of characters copied\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [26 x i8] c"Did truncate as expected\0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"Should have truncated\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"XX\00", align 1
@.str.5 = private unnamed_addr constant [33 x i8] c"Did not append string correctly\0A\00", align 1
@.str.6 = private unnamed_addr constant [30 x i8] c"Did get truncation correctly\0A\00", align 1
@.str.7 = private unnamed_addr constant [53 x i8] c"Did not get truncation status. Copied %d characters\0A\00", align 1
@.str.8 = private unnamed_addr constant [23 x i8] c"No ellipsis - correct\0A\00", align 1
@.str.9 = private unnamed_addr constant [25 x i8] c"Got ellipsis by mistake\0A\00", align 1
@.str.10 = private unnamed_addr constant [16 x i8] c"Ellipsis: '%s'\0A\00", align 1
@.str.11 = private unnamed_addr constant [26 x i8] c"Got small ellipsis: '%s'\0A\00", align 1
@.str.12 = private unnamed_addr constant [19 x i8] c"Did not truncate!\0A\00", align 1
@.str.13 = private unnamed_addr constant [22 x i8] c"Truncation - correct\0A\00", align 1
@.str.14 = private unnamed_addr constant [30 x i8] c"Got no truncation by mistake\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca [11 x i8], align 1
%4 = alloca [21 x i8], align 16
%5 = alloca [15 x i8], align 1
%6 = alloca i32, align 4
%7 = alloca [3 x i8], align 1
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.src1, i64 11, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.src2, i64 21, i1 false)
%8 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %8, ptr %6, align 4
%9 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0
store i8 0, ptr %9, align 1
%10 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
store i8 0, ptr %10, align 1
%11 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0
%12 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 0
%13 = call i64 @star_strlcpy(ptr noundef %11, ptr noundef %12, i32 noundef 15)
store i64 %13, ptr %2, align 8
%14 = load i64, ptr %2, align 8
%15 = trunc i64 %14 to i32
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15)
%17 = load i64, ptr %2, align 8
%18 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 0
%19 = call i64 @strlen(ptr noundef %18)
%20 = icmp ne i64 %17, %19
br i1 %20, label %21, label %24
21: ; preds = %0
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%23 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %23, ptr %6, align 4
br label %24
24: ; preds = %21, %0
%25 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0
%26 = getelementptr inbounds [21 x i8], ptr %4, i64 0, i64 0
%27 = call i64 @star_strlcpy(ptr noundef %25, ptr noundef %26, i32 noundef 15)
store i64 %27, ptr %2, align 8
%28 = load i64, ptr %2, align 8
%29 = icmp uge i64 %28, 15
br i1 %29, label %30, label %32
30: ; preds = %24
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %35
32: ; preds = %24
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%34 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %34, ptr %6, align 4
br label %35
35: ; preds = %32, %30
%36 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0
%37 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 0
%38 = call i64 @star_strlcpy(ptr noundef %36, ptr noundef %37, i32 noundef 15)
store i64 %38, ptr %2, align 8
%39 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0
%40 = call i64 @star_strlcat(ptr noundef %39, ptr noundef @.str.4, i32 noundef 15)
store i64 %40, ptr %2, align 8
%41 = load i64, ptr %2, align 8
%42 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0
%43 = call i64 @strlen(ptr noundef %42)
%44 = icmp ne i64 %41, %43
br i1 %44, label %45, label %48
45: ; preds = %35
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%47 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %47, ptr %6, align 4
br label %48
48: ; preds = %45, %35
%49 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0
%50 = getelementptr inbounds [21 x i8], ptr %4, i64 0, i64 0
%51 = call i64 @star_strlcat(ptr noundef %49, ptr noundef %50, i32 noundef 15)
store i64 %51, ptr %2, align 8
%52 = load i64, ptr %2, align 8
%53 = icmp uge i64 %52, 15
br i1 %53, label %54, label %56
54: ; preds = %48
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %61
56: ; preds = %48
%57 = load i64, ptr %2, align 8
%58 = trunc i64 %57 to i32
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %58)
%60 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %60, ptr %6, align 4
br label %61
61: ; preds = %56, %54
%62 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0
store i8 0, ptr %62, align 1
%63 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0
%64 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 0
%65 = call i64 @star_strappend(ptr noundef %63, ptr noundef %64, i32 noundef 15)
%66 = icmp ne i64 %65, 0
br i1 %66, label %67, label %69
67: ; preds = %61
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %72
69: ; preds = %61
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%71 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %71, ptr %6, align 4
br label %72
72: ; preds = %69, %67
%73 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0
%74 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 0
%75 = call i64 @star_strappend(ptr noundef %73, ptr noundef %74, i32 noundef 15)
%76 = icmp ne i64 %75, 0
br i1 %76, label %80, label %77
77: ; preds = %72
%78 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0
%79 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %78)
br label %83
80: ; preds = %72
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%82 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %82, ptr %6, align 4
br label %83
83: ; preds = %80, %77
%84 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%85 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 0
%86 = call i64 @star_strappend(ptr noundef %84, ptr noundef %85, i32 noundef 3)
%87 = icmp ne i64 %86, 0
br i1 %87, label %91, label %88
88: ; preds = %83
%89 = getelementptr inbounds [3 x i8], ptr %7, i64 0, i64 0
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %89)
br label %94
91: ; preds = %83
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%93 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %93, ptr %6, align 4
br label %94
94: ; preds = %91, %88
%95 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0
store i8 0, ptr %95, align 1
%96 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0
%97 = getelementptr inbounds [11 x i8], ptr %3, i64 0, i64 0
%98 = call i64 @star_strellcpy(ptr noundef %96, ptr noundef %97, i32 noundef 15)
%99 = icmp ne i64 %98, 0
br i1 %99, label %100, label %102
100: ; preds = %94
%101 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %105
102: ; preds = %94
%103 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%104 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %104, ptr %6, align 4
br label %105
105: ; preds = %102, %100
%106 = getelementptr inbounds [15 x i8], ptr %5, i64 0, i64 0
%107 = getelementptr inbounds [21 x i8], ptr %4, i64 0, i64 0
%108 = call i64 @star_strellcpy(ptr noundef %106, ptr noundef %107, i32 noundef 15)
%109 = icmp ne i64 %108, 0
br i1 %109, label %112, label %110
110: ; preds = %105
%111 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
br label %115
112: ; preds = %105
%113 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
%114 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %114, ptr %6, align 4
br label %115
115: ; preds = %112, %110
%116 = load i32, ptr %6, align 4
ret i32 %116
}
; 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 i64 @star_strlcpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i64 @strlen(ptr noundef) #2
declare i64 @star_strlcat(ptr noundef, ptr noundef, i32 noundef) #2
declare i64 @star_strappend(ptr noundef, ptr noundef, i32 noundef) #2
declare i64 @star_strellcpy(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1fo9siuc.c'
source_filename = "/tmp/tmp1fo9siuc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dw_solver(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1fo9siuc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dw_solver(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk39n2usa.c'
source_filename = "/tmp/tmpk39n2usa.c"
target datalayout = "e-m:e-p270: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/tmpk39n2usa.c"
target datalayout = "e-m:e-p270: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/tmpw5ipwiae.c'
source_filename = "/tmp/tmpw5ipwiae.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_uint16_t(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2, ptr noalias noundef %3, ptr noalias 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 ptr, 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 ptr %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
store i32 0, ptr %13, align 4
br label %15
15: ; preds = %66, %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 %69
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 ptr, ptr %11, align 8
%26 = load i32, ptr %13, align 4
%27 = zext i32 %26 to i64
%28 = getelementptr inbounds i64, ptr %25, i64 %27
%29 = load i64, ptr %28, align 8
%30 = icmp sgt i64 %24, %29
br i1 %30, label %31, label %37
31: ; preds = %19
%32 = load ptr, ptr %10, align 8
%33 = load i32, ptr %13, align 4
%34 = zext i32 %33 to i64
%35 = getelementptr inbounds i64, ptr %32, i64 %34
%36 = load i64, ptr %35, align 8
br label %43
37: ; preds = %19
%38 = load ptr, ptr %11, align 8
%39 = load i32, ptr %13, align 4
%40 = zext i32 %39 to i64
%41 = getelementptr inbounds i64, ptr %38, i64 %40
%42 = load i64, ptr %41, align 8
br label %43
43: ; preds = %37, %31
%44 = phi i64 [ %36, %31 ], [ %42, %37 ]
store i64 %44, ptr %14, align 8
%45 = load ptr, ptr %8, align 8
%46 = load i32, ptr %13, align 4
%47 = zext i32 %46 to i64
%48 = getelementptr inbounds i64, ptr %45, i64 %47
%49 = load i64, ptr %48, align 8
%50 = load i64, ptr %9, align 8
%51 = icmp slt i64 %49, %50
br i1 %51, label %52, label %54
52: ; preds = %43
%53 = load i64, ptr %14, align 8
br label %60
54: ; preds = %43
%55 = load ptr, ptr %11, align 8
%56 = load i32, ptr %13, align 4
%57 = zext i32 %56 to i64
%58 = getelementptr inbounds i64, ptr %55, i64 %57
%59 = load i64, ptr %58, align 8
br label %60
60: ; preds = %54, %52
%61 = phi i64 [ %53, %52 ], [ %59, %54 ]
%62 = load ptr, ptr %7, align 8
%63 = load i32, ptr %13, align 4
%64 = zext i32 %63 to i64
%65 = getelementptr inbounds i64, ptr %62, i64 %64
store i64 %61, ptr %65, align 8
br label %66
66: ; preds = %60
%67 = load i32, ptr %13, align 4
%68 = add i32 %67, 1
store i32 %68, ptr %13, align 4
br label %15, !llvm.loop !6
69: ; 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/tmpw5ipwiae.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_uint16_t(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2, ptr noalias noundef %3, ptr noalias 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 ptr, 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 ptr %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 %71
.lr.ph: ; preds = %6
br label %18
18: ; preds = %.lr.ph, %65
%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 ptr, ptr %11, align 8
%25 = load i32, ptr %13, align 4
%26 = zext i32 %25 to i64
%27 = getelementptr inbounds i64, ptr %24, i64 %26
%28 = load i64, ptr %27, align 8
%29 = icmp sgt i64 %23, %28
br i1 %29, label %30, label %36
30: ; preds = %18
%31 = load ptr, ptr %10, align 8
%32 = load i32, ptr %13, align 4
%33 = zext i32 %32 to i64
%34 = getelementptr inbounds i64, ptr %31, i64 %33
%35 = load i64, ptr %34, align 8
br label %42
36: ; preds = %18
%37 = load ptr, ptr %11, 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
br label %42
42: ; preds = %36, %30
%43 = phi i64 [ %35, %30 ], [ %41, %36 ]
store i64 %43, ptr %14, align 8
%44 = load ptr, ptr %8, align 8
%45 = load i32, ptr %13, align 4
%46 = zext i32 %45 to i64
%47 = getelementptr inbounds i64, ptr %44, i64 %46
%48 = load i64, ptr %47, align 8
%49 = load i64, ptr %9, align 8
%50 = icmp slt i64 %48, %49
br i1 %50, label %51, label %53
51: ; preds = %42
%52 = load i64, ptr %14, align 8
br label %59
53: ; preds = %42
%54 = load ptr, ptr %11, align 8
%55 = load i32, ptr %13, align 4
%56 = zext i32 %55 to i64
%57 = getelementptr inbounds i64, ptr %54, i64 %56
%58 = load i64, ptr %57, align 8
br label %59
59: ; preds = %53, %51
%60 = phi i64 [ %52, %51 ], [ %58, %53 ]
%61 = load ptr, ptr %7, align 8
%62 = load i32, ptr %13, align 4
%63 = zext i32 %62 to i64
%64 = getelementptr inbounds i64, ptr %61, i64 %63
store i64 %60, ptr %64, align 8
br label %65
65: ; preds = %59
%66 = load i32, ptr %13, align 4
%67 = add i32 %66, 1
store i32 %67, ptr %13, align 4
%68 = load i32, ptr %13, align 4
%69 = load i32, ptr %12, align 4
%70 = icmp ult i32 %68, %69
br i1 %70, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %65
br label %71
71: ; 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/tmpxve8xgme.c'
source_filename = "/tmp/tmpxve8xgme.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @isOnlyInstance()
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = load i32, ptr @stdout, align 4
%5 = call i32 @fflush(i32 noundef %4)
%6 = call i32 @sleep(i32 noundef 10)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @isOnlyInstance(...) #1
declare i32 @fflush(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/tmpxve8xgme.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @isOnlyInstance()
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = load i32, ptr @stdout, align 4
%5 = call i32 @fflush(i32 noundef %4)
%6 = call i32 @sleep(i32 noundef 10)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @isOnlyInstance(...) #1
declare i32 @fflush(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/tmpe2rfhr5u.c'
source_filename = "/tmp/tmpe2rfhr5u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unlink_mcwd() #0 {
%1 = alloca [1025 x i8], align 16
%2 = getelementptr inbounds [1025 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @get_mcwd_file_name(ptr noundef %2)
%4 = getelementptr inbounds [1025 x i8], ptr %1, i64 0, i64 0
%5 = call i32 @unlink(ptr noundef %4)
ret void
}
declare i32 @get_mcwd_file_name(ptr noundef) #1
declare i32 @unlink(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe2rfhr5u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unlink_mcwd() #0 {
%1 = alloca [1025 x i8], align 16
%2 = getelementptr inbounds [1025 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @get_mcwd_file_name(ptr noundef %2)
%4 = getelementptr inbounds [1025 x i8], ptr %1, i64 0, i64 0
%5 = call i32 @unlink(ptr noundef %4)
ret void
}
declare i32 @get_mcwd_file_name(ptr noundef) #1
declare i32 @unlink(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaye1xku9.c'
source_filename = "/tmp/tmpaye1xku9.c"
target datalayout = "e-m:e-p270: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/tmpaye1xku9.c"
target datalayout = "e-m:e-p270: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/tmprp_17_7b.c'
source_filename = "/tmp/tmprp_17_7b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"user subdir\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_user_subdirectory(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 ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %5, align 8
%11 = call ptr @get_user_directory(ptr noundef %9, ptr noundef %10)
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %6, align 8
%14 = call ptr @concatenate(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 2, ptr noundef %12, ptr noundef %13)
store ptr %14, ptr %8, align 8
%15 = load ptr, ptr %7, align 8
%16 = call i32 @free(ptr noundef %15)
%17 = load ptr, ptr %8, align 8
ret ptr %17
}
declare ptr @get_user_directory(ptr noundef, ptr noundef) #1
declare ptr @concatenate(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprp_17_7b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"user subdir\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_user_subdirectory(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 ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %5, align 8
%11 = call ptr @get_user_directory(ptr noundef %9, ptr noundef %10)
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %6, align 8
%14 = call ptr @concatenate(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 2, ptr noundef %12, ptr noundef %13)
store ptr %14, ptr %8, align 8
%15 = load ptr, ptr %7, align 8
%16 = call i32 @free(ptr noundef %15)
%17 = load ptr, ptr %8, align 8
ret ptr %17
}
declare ptr @get_user_directory(ptr noundef, ptr noundef) #1
declare ptr @concatenate(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnmumlr_0.c'
source_filename = "/tmp/tmpnmumlr_0.c"
target datalayout = "e-m:e-p270: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/tmpnmumlr_0.c"
target datalayout = "e-m:e-p270: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/tmpq0mza084.c'
source_filename = "/tmp/tmpq0mza084.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_RCVTIMEO = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fnet_set_recv_timeout(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr @SOL_SOCKET, align 4
%7 = load i32, ptr @SO_RCVTIMEO, align 4
%8 = call i32 @setsockopt(i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %4, i32 noundef 4)
ret i32 %8
}
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq0mza084.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_RCVTIMEO = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fnet_set_recv_timeout(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr @SOL_SOCKET, align 4
%7 = load i32, ptr @SO_RCVTIMEO, align 4
%8 = call i32 @setsockopt(i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %4, i32 noundef 4)
ret i32 %8
}
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgup6uho0.c'
source_filename = "/tmp/tmpgup6uho0.c"
target datalayout = "e-m:e-p270: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 [36 x i8] c"Unrecoverable error in %s(%d): %s\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [132 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/iagox86/nbtool/refs/heads/master/crypto.c\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"This function doesn't work.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @lmv2_create_session_key(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 [16 x i32], align 16
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%12 = load ptr, ptr %6, align 8
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %8, align 8
%15 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 0
%16 = call i32 @ntlmv2_create_hash(ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15)
%17 = call i32 (...) @EVP_md5()
%18 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 0
%19 = load ptr, ptr %9, align 8
%20 = load ptr, ptr %10, align 8
%21 = call i32 @HMAC(i32 noundef %17, ptr noundef %18, i32 noundef 16, ptr noundef %19, i32 noundef 16, ptr noundef %20, ptr noundef null)
%22 = load i32, ptr @stderr, align 4
%23 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 252, ptr noundef @.str.2)
%24 = call i32 (...) @abort() #3
unreachable
}
declare i32 @ntlmv2_create_hash(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @HMAC(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @EVP_md5(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpgup6uho0.c"
target datalayout = "e-m:e-p270: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 [36 x i8] c"Unrecoverable error in %s(%d): %s\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [132 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/iagox86/nbtool/refs/heads/master/crypto.c\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"This function doesn't work.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @lmv2_create_session_key(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 [16 x i32], align 16
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%12 = load ptr, ptr %6, align 8
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %8, align 8
%15 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 0
%16 = call i32 @ntlmv2_create_hash(ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15)
%17 = call i32 (...) @EVP_md5()
%18 = getelementptr inbounds [16 x i32], ptr %11, i64 0, i64 0
%19 = load ptr, ptr %9, align 8
%20 = load ptr, ptr %10, align 8
%21 = call i32 @HMAC(i32 noundef %17, ptr noundef %18, i32 noundef 16, ptr noundef %19, i32 noundef 16, ptr noundef %20, ptr noundef null)
%22 = load i32, ptr @stderr, align 4
%23 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 252, ptr noundef @.str.2)
%24 = call i32 (...) @abort() #3
unreachable
}
declare i32 @ntlmv2_create_hash(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @HMAC(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @EVP_md5(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmplsksnifb.c'
source_filename = "/tmp/tmplsksnifb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @interpolate_bilinear(ptr noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
store ptr %0, ptr %4, align 8
store float %1, ptr %5, align 4
store float %2, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds [2 x float], ptr %9, i64 0
%11 = getelementptr inbounds [2 x float], ptr %10, i64 0, i64 0
%12 = load float, ptr %11, align 4
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds [2 x float], ptr %13, i64 0
%15 = getelementptr inbounds [2 x float], ptr %14, i64 0, i64 1
%16 = load float, ptr %15, align 4
%17 = load float, ptr %5, align 4
%18 = call float @interpolate(float noundef %12, float noundef %16, float noundef %17)
store float %18, ptr %7, align 4
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds [2 x float], ptr %19, i64 1
%21 = getelementptr inbounds [2 x float], ptr %20, i64 0, i64 0
%22 = load float, ptr %21, align 4
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds [2 x float], ptr %23, i64 1
%25 = getelementptr inbounds [2 x float], ptr %24, i64 0, i64 1
%26 = load float, ptr %25, align 4
%27 = load float, ptr %5, align 4
%28 = call float @interpolate(float noundef %22, float noundef %26, float noundef %27)
store float %28, ptr %8, align 4
%29 = load float, ptr %7, align 4
%30 = load float, ptr %8, align 4
%31 = load float, ptr %6, align 4
%32 = call float @interpolate(float noundef %29, float noundef %30, float noundef %31)
ret float %32
}
declare float @interpolate(float noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplsksnifb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @interpolate_bilinear(ptr noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
store ptr %0, ptr %4, align 8
store float %1, ptr %5, align 4
store float %2, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds [2 x float], ptr %9, i64 0
%11 = getelementptr inbounds [2 x float], ptr %10, i64 0, i64 0
%12 = load float, ptr %11, align 4
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds [2 x float], ptr %13, i64 0
%15 = getelementptr inbounds [2 x float], ptr %14, i64 0, i64 1
%16 = load float, ptr %15, align 4
%17 = load float, ptr %5, align 4
%18 = call float @interpolate(float noundef %12, float noundef %16, float noundef %17)
store float %18, ptr %7, align 4
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds [2 x float], ptr %19, i64 1
%21 = getelementptr inbounds [2 x float], ptr %20, i64 0, i64 0
%22 = load float, ptr %21, align 4
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds [2 x float], ptr %23, i64 1
%25 = getelementptr inbounds [2 x float], ptr %24, i64 0, i64 1
%26 = load float, ptr %25, align 4
%27 = load float, ptr %5, align 4
%28 = call float @interpolate(float noundef %22, float noundef %26, float noundef %27)
store float %28, ptr %8, align 4
%29 = load float, ptr %7, align 4
%30 = load float, ptr %8, align 4
%31 = load float, ptr %6, align 4
%32 = call float @interpolate(float noundef %29, float noundef %30, float noundef %31)
ret float %32
}
declare float @interpolate(float noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7uwf9mfn.c'
source_filename = "/tmp/tmp7uwf9mfn.c"
target datalayout = "e-m:e-p270: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/tmp7uwf9mfn.c"
target datalayout = "e-m:e-p270: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/tmpz613avzi.c'
source_filename = "/tmp/tmpz613avzi.c"
target datalayout = "e-m:e-p270: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 [31 x i8] c"ERROR: you need one argument.\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"%i: %c\0A\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"%i: %c is not a vowel\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 2
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %70
13: ; preds = %2
store i32 0, ptr %6, align 4
br label %14
14: ; preds = %60, %13
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %69
24: ; preds = %14
%25 = load i8, ptr %7, align 1
%26 = sext i8 %25 to i32
switch i32 %26, label %55 [
i32 97, label %27
i32 65, label %27
i32 101, label %31
i32 69, label %31
i32 105, label %35
i32 73, label %35
i32 111, label %39
i32 79, label %39
i32 117, label %43
i32 85, label %43
i32 121, label %47
i32 89, label %47
]
27: ; preds = %24, %24
%28 = load i32, ptr %6, align 4
%29 = load i8, ptr %7, align 1
%30 = call i32 @printf(ptr noundef @.str.1, i32 noundef %28, i8 noundef signext %29)
br label %59
31: ; preds = %24, %24
%32 = load i32, ptr %6, align 4
%33 = load i8, ptr %7, align 1
%34 = call i32 @printf(ptr noundef @.str.1, i32 noundef %32, i8 noundef signext %33)
br label %59
35: ; preds = %24, %24
%36 = load i32, ptr %6, align 4
%37 = load i8, ptr %7, align 1
%38 = call i32 @printf(ptr noundef @.str.1, i32 noundef %36, i8 noundef signext %37)
br label %59
39: ; preds = %24, %24
%40 = load i32, ptr %6, align 4
%41 = load i8, ptr %7, align 1
%42 = call i32 @printf(ptr noundef @.str.1, i32 noundef %40, i8 noundef signext %41)
br label %59
43: ; preds = %24, %24
%44 = load i32, ptr %6, align 4
%45 = load i8, ptr %7, align 1
%46 = call i32 @printf(ptr noundef @.str.1, i32 noundef %44, i8 noundef signext %45)
br label %59
47: ; preds = %24, %24
%48 = load i32, ptr %6, align 4
%49 = icmp sgt i32 %48, 2
br i1 %49, label %50, label %54
50: ; preds = %47
%51 = load i32, ptr %6, align 4
%52 = load i8, ptr %7, align 1
%53 = call i32 @printf(ptr noundef @.str.1, i32 noundef %51, i8 noundef signext %52)
br label %54
54: ; preds = %50, %47
br label %59
55: ; preds = %24
%56 = load i32, ptr %6, align 4
%57 = load i8, ptr %7, align 1
%58 = call i32 @printf(ptr noundef @.str.2, i32 noundef %56, i8 noundef signext %57)
br label %59
59: ; preds = %55, %54, %43, %39, %35, %31, %27
br label %60
60: ; preds = %59
%61 = load ptr, ptr %5, align 8
%62 = getelementptr inbounds ptr, ptr %61, i64 1
%63 = load ptr, ptr %62, align 8
%64 = load i32, ptr %6, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %6, align 4
%66 = sext i32 %64 to i64
%67 = getelementptr inbounds i8, ptr %63, i64 %66
%68 = load i8, ptr %67, align 1
store i8 %68, ptr %7, align 1
br label %14, !llvm.loop !6
69: ; preds = %14
store i32 0, ptr %3, align 4
br label %70
70: ; preds = %69, %10
%71 = load i32, ptr %3, align 4
ret i32 %71
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz613avzi.c"
target datalayout = "e-m:e-p270: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 [31 x i8] c"ERROR: you need one argument.\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"%i: %c\0A\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"%i: %c is not a vowel\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 2
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %78
13: ; preds = %2
store i32 0, ptr %6, align 4
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %21, 0
br i1 %22, label %.lr.ph, label %77
.lr.ph: ; preds = %13
br label %23
23: ; preds = %.lr.ph, %59
%24 = load i8, ptr %7, align 1
%25 = sext i8 %24 to i32
switch i32 %25, label %54 [
i32 97, label %26
i32 65, label %26
i32 101, label %30
i32 69, label %30
i32 105, label %34
i32 73, label %34
i32 111, label %38
i32 79, label %38
i32 117, label %42
i32 85, label %42
i32 121, label %46
i32 89, label %46
]
26: ; preds = %23, %23
%27 = load i32, ptr %6, align 4
%28 = load i8, ptr %7, align 1
%29 = call i32 @printf(ptr noundef @.str.1, i32 noundef %27, i8 noundef signext %28)
br label %58
30: ; preds = %23, %23
%31 = load i32, ptr %6, align 4
%32 = load i8, ptr %7, align 1
%33 = call i32 @printf(ptr noundef @.str.1, i32 noundef %31, i8 noundef signext %32)
br label %58
34: ; preds = %23, %23
%35 = load i32, ptr %6, align 4
%36 = load i8, ptr %7, align 1
%37 = call i32 @printf(ptr noundef @.str.1, i32 noundef %35, i8 noundef signext %36)
br label %58
38: ; preds = %23, %23
%39 = load i32, ptr %6, align 4
%40 = load i8, ptr %7, align 1
%41 = call i32 @printf(ptr noundef @.str.1, i32 noundef %39, i8 noundef signext %40)
br label %58
42: ; preds = %23, %23
%43 = load i32, ptr %6, align 4
%44 = load i8, ptr %7, align 1
%45 = call i32 @printf(ptr noundef @.str.1, i32 noundef %43, i8 noundef signext %44)
br label %58
46: ; preds = %23, %23
%47 = load i32, ptr %6, align 4
%48 = icmp sgt i32 %47, 2
br i1 %48, label %49, label %53
49: ; preds = %46
%50 = load i32, ptr %6, align 4
%51 = load i8, ptr %7, align 1
%52 = call i32 @printf(ptr noundef @.str.1, i32 noundef %50, i8 noundef signext %51)
br label %53
53: ; preds = %49, %46
br label %58
54: ; preds = %23
%55 = load i32, ptr %6, align 4
%56 = load i8, ptr %7, align 1
%57 = call i32 @printf(ptr noundef @.str.2, i32 noundef %55, i8 noundef signext %56)
br label %58
58: ; preds = %54, %53, %42, %38, %34, %30, %26
br label %59
59: ; preds = %58
%60 = load ptr, ptr %5, align 8
%61 = getelementptr inbounds ptr, ptr %60, i64 1
%62 = load ptr, ptr %61, align 8
%63 = load i32, ptr %6, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %6, align 4
%65 = sext i32 %63 to i64
%66 = getelementptr inbounds i8, ptr %62, i64 %65
%67 = load i8, ptr %66, align 1
store i8 %67, ptr %7, align 1
%68 = load ptr, ptr %5, align 8
%69 = getelementptr inbounds ptr, ptr %68, i64 1
%70 = load ptr, ptr %69, align 8
%71 = load i32, ptr %6, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i8, ptr %70, i64 %72
%74 = load i8, ptr %73, align 1
%75 = sext i8 %74 to i32
%76 = icmp ne i32 %75, 0
br i1 %76, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %59
br label %77
77: ; preds = %._crit_edge, %13
store i32 0, ptr %3, align 4
br label %78
78: ; preds = %77, %10
%79 = load i32, ptr %3, align 4
ret i32 %79
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpa9x72s6p.c'
source_filename = "/tmp/tmpa9x72s6p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call ptr @malloc(i32 noundef 4096)
store ptr %8, ptr %6, align 8
store i32 0, ptr %7, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 3
br i1 %10, label %11, label %16
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 @printHelp(ptr noundef %14)
br label %16
16: ; preds = %11, %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 0
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 45
br i1 %23, label %24, label %93
24: ; preds = %16
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 1
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
switch i32 %30, label %87 [
i32 102, label %31
i32 120, label %37
i32 110, label %51
i32 100, label %65
i32 101, label %76
i32 104, label %82
]
31: ; preds = %24
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 2
%34 = load ptr, ptr %33, align 8
%35 = load ptr, ptr %6, align 8
%36 = call i32 @findFiles(ptr noundef %34, ptr noundef %35, ptr noundef %7)
br label %92
37: ; preds = %24
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds ptr, ptr %38, i64 2
%40 = load ptr, ptr %39, align 8
%41 = load ptr, ptr %6, align 8
%42 = call i32 @findFiles(ptr noundef %40, ptr noundef %41, ptr noundef %7)
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds ptr, ptr %43, i64 2
%45 = load ptr, ptr %44, align 8
%46 = load ptr, ptr %5, align 8
%47 = getelementptr inbounds ptr, ptr %46, i64 2
%48 = load ptr, ptr %47, align 8
%49 = load ptr, ptr %6, align 8
%50 = call i32 @extractFiles(ptr noundef %45, ptr noundef %48, ptr noundef %49, ptr noundef %7)
br label %92
51: ; preds = %24
%52 = load ptr, ptr %5, align 8
%53 = getelementptr inbounds ptr, ptr %52, i64 3
%54 = load ptr, ptr %53, align 8
%55 = load ptr, ptr %6, align 8
%56 = call i32 @findFiles(ptr noundef %54, ptr noundef %55, ptr noundef %7)
%57 = load ptr, ptr %5, align 8
%58 = getelementptr inbounds ptr, ptr %57, i64 3
%59 = load ptr, ptr %58, align 8
%60 = load ptr, ptr %5, align 8
%61 = getelementptr inbounds ptr, ptr %60, i64 2
%62 = load ptr, ptr %61, align 8
%63 = load ptr, ptr %6, align 8
%64 = call i32 @extractFiles(ptr noundef %59, ptr noundef %62, ptr noundef %63, ptr noundef %7)
br label %92
65: ; preds = %24
%66 = load ptr, ptr %5, align 8
%67 = getelementptr inbounds ptr, ptr %66, i64 3
%68 = load ptr, ptr %67, align 8
%69 = load ptr, ptr %6, align 8
%70 = call i32 @findFiles(ptr noundef %68, ptr noundef %69, ptr noundef %7)
%71 = load ptr, ptr %5, align 8
%72 = getelementptr inbounds ptr, ptr %71, i64 2
%73 = load ptr, ptr %72, align 8
%74 = load ptr, ptr %6, align 8
%75 = call i32 @outputMatrix(ptr noundef %73, ptr noundef %74, ptr noundef %7)
br label %92
76: ; preds = %24
%77 = load ptr, ptr %5, align 8
%78 = getelementptr inbounds ptr, ptr %77, i64 2
%79 = load ptr, ptr %78, align 8
%80 = load ptr, ptr %6, align 8
%81 = call i32 @findFiles(ptr noundef %79, ptr noundef %80, ptr noundef %7)
br label %92
82: ; preds = %24
%83 = load ptr, ptr %5, align 8
%84 = getelementptr inbounds ptr, ptr %83, i64 0
%85 = load ptr, ptr %84, align 8
%86 = call i32 @printHelp(ptr noundef %85)
br label %92
87: ; preds = %24
%88 = load ptr, ptr %5, align 8
%89 = getelementptr inbounds ptr, ptr %88, i64 0
%90 = load ptr, ptr %89, align 8
%91 = call i32 @printHelp(ptr noundef %90)
br label %92
92: ; preds = %87, %82, %76, %65, %51, %37, %31
br label %98
93: ; preds = %16
%94 = load ptr, ptr %5, align 8
%95 = getelementptr inbounds ptr, ptr %94, i64 0
%96 = load ptr, ptr %95, align 8
%97 = call i32 @printHelp(ptr noundef %96)
br label %98
98: ; preds = %93, %92
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printHelp(ptr noundef) #1
declare i32 @findFiles(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @extractFiles(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @outputMatrix(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/tmpa9x72s6p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call ptr @malloc(i32 noundef 4096)
store ptr %8, ptr %6, align 8
store i32 0, ptr %7, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 3
br i1 %10, label %11, label %16
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 @printHelp(ptr noundef %14)
br label %16
16: ; preds = %11, %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 0
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 45
br i1 %23, label %24, label %93
24: ; preds = %16
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 1
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
switch i32 %30, label %87 [
i32 102, label %31
i32 120, label %37
i32 110, label %51
i32 100, label %65
i32 101, label %76
i32 104, label %82
]
31: ; preds = %24
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 2
%34 = load ptr, ptr %33, align 8
%35 = load ptr, ptr %6, align 8
%36 = call i32 @findFiles(ptr noundef %34, ptr noundef %35, ptr noundef %7)
br label %92
37: ; preds = %24
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds ptr, ptr %38, i64 2
%40 = load ptr, ptr %39, align 8
%41 = load ptr, ptr %6, align 8
%42 = call i32 @findFiles(ptr noundef %40, ptr noundef %41, ptr noundef %7)
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds ptr, ptr %43, i64 2
%45 = load ptr, ptr %44, align 8
%46 = load ptr, ptr %5, align 8
%47 = getelementptr inbounds ptr, ptr %46, i64 2
%48 = load ptr, ptr %47, align 8
%49 = load ptr, ptr %6, align 8
%50 = call i32 @extractFiles(ptr noundef %45, ptr noundef %48, ptr noundef %49, ptr noundef %7)
br label %92
51: ; preds = %24
%52 = load ptr, ptr %5, align 8
%53 = getelementptr inbounds ptr, ptr %52, i64 3
%54 = load ptr, ptr %53, align 8
%55 = load ptr, ptr %6, align 8
%56 = call i32 @findFiles(ptr noundef %54, ptr noundef %55, ptr noundef %7)
%57 = load ptr, ptr %5, align 8
%58 = getelementptr inbounds ptr, ptr %57, i64 3
%59 = load ptr, ptr %58, align 8
%60 = load ptr, ptr %5, align 8
%61 = getelementptr inbounds ptr, ptr %60, i64 2
%62 = load ptr, ptr %61, align 8
%63 = load ptr, ptr %6, align 8
%64 = call i32 @extractFiles(ptr noundef %59, ptr noundef %62, ptr noundef %63, ptr noundef %7)
br label %92
65: ; preds = %24
%66 = load ptr, ptr %5, align 8
%67 = getelementptr inbounds ptr, ptr %66, i64 3
%68 = load ptr, ptr %67, align 8
%69 = load ptr, ptr %6, align 8
%70 = call i32 @findFiles(ptr noundef %68, ptr noundef %69, ptr noundef %7)
%71 = load ptr, ptr %5, align 8
%72 = getelementptr inbounds ptr, ptr %71, i64 2
%73 = load ptr, ptr %72, align 8
%74 = load ptr, ptr %6, align 8
%75 = call i32 @outputMatrix(ptr noundef %73, ptr noundef %74, ptr noundef %7)
br label %92
76: ; preds = %24
%77 = load ptr, ptr %5, align 8
%78 = getelementptr inbounds ptr, ptr %77, i64 2
%79 = load ptr, ptr %78, align 8
%80 = load ptr, ptr %6, align 8
%81 = call i32 @findFiles(ptr noundef %79, ptr noundef %80, ptr noundef %7)
br label %92
82: ; preds = %24
%83 = load ptr, ptr %5, align 8
%84 = getelementptr inbounds ptr, ptr %83, i64 0
%85 = load ptr, ptr %84, align 8
%86 = call i32 @printHelp(ptr noundef %85)
br label %92
87: ; preds = %24
%88 = load ptr, ptr %5, align 8
%89 = getelementptr inbounds ptr, ptr %88, i64 0
%90 = load ptr, ptr %89, align 8
%91 = call i32 @printHelp(ptr noundef %90)
br label %92
92: ; preds = %87, %82, %76, %65, %51, %37, %31
br label %98
93: ; preds = %16
%94 = load ptr, ptr %5, align 8
%95 = getelementptr inbounds ptr, ptr %94, i64 0
%96 = load ptr, ptr %95, align 8
%97 = call i32 @printHelp(ptr noundef %96)
br label %98
98: ; preds = %93, %92
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printHelp(ptr noundef) #1
declare i32 @findFiles(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @extractFiles(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @outputMatrix(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/tmp6f_fxzp_.c'
source_filename = "/tmp/tmp6f_fxzp_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Please enter the message: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [43 x i8] c"ERROR removing the newline char from input\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"\0AHere is the message: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sendMessage(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = load ptr, ptr %3, align 8
%9 = call i32 @bzero(ptr noundef %8, i32 noundef 256)
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr @stdin, align 4
%12 = call i32 @fgets(ptr noundef %10, i32 noundef 255, i32 noundef %11)
%13 = load ptr, ptr %3, align 8
%14 = call ptr @strchr(ptr noundef %13, i8 noundef signext 10)
store ptr %14, ptr %5, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %18
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
store i8 0, ptr %17, align 1
br label %20
18: ; preds = %2
%19 = call i32 @error(ptr noundef @.str.1)
br label %20
20: ; preds = %18, %16
%21 = load i32, ptr %4, align 4
%22 = load ptr, ptr %3, align 8
%23 = load ptr, ptr %3, align 8
%24 = call i32 @strlen(ptr noundef %23)
%25 = call i32 @write(i32 noundef %21, ptr noundef %22, i32 noundef %24)
store i32 %25, ptr %6, align 4
%26 = load ptr, ptr %3, align 8
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %26)
%28 = load i32, ptr %6, align 4
ret i32 %28
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @error(ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6f_fxzp_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Please enter the message: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [43 x i8] c"ERROR removing the newline char from input\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"\0AHere is the message: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sendMessage(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = load ptr, ptr %3, align 8
%9 = call i32 @bzero(ptr noundef %8, i32 noundef 256)
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr @stdin, align 4
%12 = call i32 @fgets(ptr noundef %10, i32 noundef 255, i32 noundef %11)
%13 = load ptr, ptr %3, align 8
%14 = call ptr @strchr(ptr noundef %13, i8 noundef signext 10)
store ptr %14, ptr %5, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %18
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
store i8 0, ptr %17, align 1
br label %20
18: ; preds = %2
%19 = call i32 @error(ptr noundef @.str.1)
br label %20
20: ; preds = %18, %16
%21 = load i32, ptr %4, align 4
%22 = load ptr, ptr %3, align 8
%23 = load ptr, ptr %3, align 8
%24 = call i32 @strlen(ptr noundef %23)
%25 = call i32 @write(i32 noundef %21, ptr noundef %22, i32 noundef %24)
store i32 %25, ptr %6, align 4
%26 = load ptr, ptr %3, align 8
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %26)
%28 = load i32, ptr %6, align 4
ret i32 %28
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @error(ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpywq_ezb9.c'
source_filename = "/tmp/tmpywq_ezb9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_memregion_null(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%7 = load i64, ptr %4, align 8
%8 = sub i64 %7, 1
store i64 %8, ptr %5, align 8
%9 = load ptr, ptr %3, align 8
store ptr %9, ptr %6, align 8
br label %10
10: ; preds = %21, %2
%11 = load ptr, ptr %6, align 8
%12 = load i64, ptr %5, align 8
%13 = getelementptr inbounds i8, ptr %11, i64 %12
%14 = load i8, ptr %13, align 1
%15 = icmp ne i8 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %10
%17 = load i64, ptr %5, align 8
%18 = icmp ne i64 %17, 0
br label %19
19: ; preds = %16, %10
%20 = phi i1 [ false, %10 ], [ %18, %16 ]
br i1 %20, label %21, label %24
21: ; preds = %19
%22 = load i64, ptr %5, align 8
%23 = add i64 %22, -1
store i64 %23, ptr %5, align 8
br label %10, !llvm.loop !6
24: ; preds = %19
%25 = load i64, ptr %5, align 8
%26 = trunc i64 %25 to i32
ret i32 %26
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpywq_ezb9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_memregion_null(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%7 = load i64, ptr %4, align 8
%8 = sub i64 %7, 1
store i64 %8, ptr %5, align 8
%9 = load ptr, ptr %3, align 8
store ptr %9, ptr %6, align 8
br label %10
10: ; preds = %21, %2
%11 = load ptr, ptr %6, align 8
%12 = load i64, ptr %5, align 8
%13 = getelementptr inbounds i8, ptr %11, i64 %12
%14 = load i8, ptr %13, align 1
%15 = icmp ne i8 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %10
%17 = load i64, ptr %5, align 8
%18 = icmp ne i64 %17, 0
br label %19
19: ; preds = %16, %10
%20 = phi i1 [ false, %10 ], [ %18, %16 ]
br i1 %20, label %21, label %24
21: ; preds = %19
%22 = load i64, ptr %5, align 8
%23 = add i64 %22, -1
store i64 %23, ptr %5, align 8
br label %10, !llvm.loop !6
24: ; preds = %19
%25 = load i64, ptr %5, align 8
%26 = trunc i64 %25 to i32
ret i32 %26
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpnqyo6eq8.c'
source_filename = "/tmp/tmpnqyo6eq8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"D\C3\A1 o p\C3\A9 %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s \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 i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 1
br i1 %8, label %9, label %14
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 0
%12 = load ptr, ptr %11, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %12)
br label %31
14: ; preds = %2
store i32 1, ptr %6, align 4
br label %15
15: ; preds = %26, %14
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %29
19: ; preds = %15
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %6, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds ptr, ptr %20, i64 %22
%24 = load ptr, ptr %23, align 8
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %24)
br label %26
26: ; preds = %19
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %6, align 4
br label %15, !llvm.loop !6
29: ; preds = %15
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %31
31: ; preds = %29, %9
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnqyo6eq8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"D\C3\A1 o p\C3\A9 %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s \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 i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 1
br i1 %8, label %9, label %14
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 0
%12 = load ptr, ptr %11, align 8
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %12)
br label %33
14: ; preds = %2
store i32 1, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %31
.lr.ph: ; preds = %14
br label %18
18: ; preds = %.lr.ph, %25
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds ptr, ptr %19, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %23)
br label %25
25: ; preds = %18
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %6, align 4
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %4, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %14
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %33
33: ; preds = %31, %9
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxiajvs5k.c'
source_filename = "/tmp/tmpxiajvs5k.c"
target datalayout = "e-m:e-p270: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/tmpxiajvs5k.c"
target datalayout = "e-m:e-p270: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/tmpcfuefapd.c'
source_filename = "/tmp/tmpcfuefapd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = add nsw i32 %7, 1
%9 = sext i32 %8 to i64
store i64 %9, ptr %4, align 8
%10 = load i64, ptr %4, align 8
%11 = call ptr @malloc(i64 noundef %10) #3
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %1
store ptr null, ptr %2, align 8
br label %21
15: ; preds = %1
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %3, align 8
%18 = load i64, ptr %4, align 8
%19 = call i64 @memcpy(ptr noundef %16, ptr noundef %17, i64 noundef %18)
%20 = inttoptr i64 %19 to ptr
store ptr %20, ptr %2, align 8
br label %21
21: ; preds = %15, %14
%22 = load ptr, ptr %2, align 8
ret ptr %22
}
declare i32 @strlen(ptr noundef) #1
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #2
declare i64 @memcpy(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" }
attributes #2 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcfuefapd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = add nsw i32 %7, 1
%9 = sext i32 %8 to i64
store i64 %9, ptr %4, align 8
%10 = load i64, ptr %4, align 8
%11 = call ptr @malloc(i64 noundef %10) #3
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %1
store ptr null, ptr %2, align 8
br label %21
15: ; preds = %1
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %3, align 8
%18 = load i64, ptr %4, align 8
%19 = call i64 @memcpy(ptr noundef %16, ptr noundef %17, i64 noundef %18)
%20 = inttoptr i64 %19 to ptr
store ptr %20, ptr %2, align 8
br label %21
21: ; preds = %15, %14
%22 = load ptr, ptr %2, align 8
ret ptr %22
}
declare i32 @strlen(ptr noundef) #1
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #2
declare i64 @memcpy(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" }
attributes #2 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplg1_ufso.c'
source_filename = "/tmp/tmplg1_ufso.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_passable(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 0
br i1 %8, label %18, label %9
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = icmp sge i32 %10, 40
br i1 %11, label %18, label %12
12: ; preds = %9
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %12
%16 = load i32, ptr %5, align 4
%17 = icmp sge i32 %16, 20
br i1 %17, label %18, label %19
18: ; preds = %15, %12, %9, %2
store i32 0, ptr %3, align 4
br label %20
19: ; preds = %15
store i32 1, ptr %3, align 4
br label %20
20: ; preds = %19, %18
%21 = load i32, ptr %3, align 4
ret i32 %21
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplg1_ufso.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_passable(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 0
br i1 %8, label %18, label %9
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = icmp sge i32 %10, 40
br i1 %11, label %18, label %12
12: ; preds = %9
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %13, 0
br i1 %14, label %18, label %15
15: ; preds = %12
%16 = load i32, ptr %5, align 4
%17 = icmp sge i32 %16, 20
br i1 %17, label %18, label %19
18: ; preds = %15, %12, %9, %2
store i32 0, ptr %3, align 4
br label %20
19: ; preds = %15
store i32 1, ptr %3, align 4
br label %20
20: ; preds = %19, %18
%21 = load i32, ptr %3, align 4
ret i32 %21
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprmrbv11j.c'
source_filename = "/tmp/tmprmrbv11j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @plugin_api_info_version_cb(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call ptr (...) @version_get_version()
ret ptr %10
}
declare ptr @version_get_version(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprmrbv11j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @plugin_api_info_version_cb(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call ptr (...) @version_get_version()
ret ptr %10
}
declare ptr @version_get_version(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp00a967mv.c'
source_filename = "/tmp/tmp00a967mv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"Address of 'ptr' inside foo(): %p: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @foo(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 10, ptr %3, align 4
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store i32 30, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = load i32, ptr %6, align 4
%8 = call i32 @printf(ptr noundef @.str, ptr noundef %5, i32 noundef %7)
ret void
}
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/tmp00a967mv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"Address of 'ptr' inside foo(): %p: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @foo(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 10, ptr %3, align 4
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store i32 30, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = load i32, ptr %6, align 4
%8 = call i32 @printf(ptr noundef @.str, ptr noundef %5, i32 noundef %7)
ret void
}
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/tmp7w2dlulj.c'
source_filename = "/tmp/tmp7w2dlulj.c"
target datalayout = "e-m:e-p270: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/tmp7w2dlulj.c"
target datalayout = "e-m:e-p270: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/tmpfjiatzmq.c'
source_filename = "/tmp/tmpfjiatzmq.c"
target datalayout = "e-m:e-p270: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/tmpfjiatzmq.c"
target datalayout = "e-m:e-p270: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/tmp06sysn85.c'
source_filename = "/tmp/tmp06sysn85.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isodigit.c\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"isodigit should be 0 for 0x9e\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isodigit_0x9e() #0 {
%1 = call i64 @isodigit(i32 noundef 158)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 795, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isodigit(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/tmp06sysn85.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isodigit.c\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"isodigit should be 0 for 0x9e\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isodigit_0x9e() #0 {
%1 = call i64 @isodigit(i32 noundef 158)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 795, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isodigit(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/tmpe3u35tus.c'
source_filename = "/tmp/tmpe3u35tus.c"
target datalayout = "e-m:e-p270: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.option = type { ptr, i8, i32, i32 }
@.str = private unnamed_addr constant [12 x i8] c"./templates\00", align 1
@main.options = internal constant [6 x %struct.option] [%struct.option { ptr @.str.1, i8 -127, i32 0, i32 72 }, %struct.option { ptr @.str.2, i8 -127, i32 0, i32 104 }, %struct.option { ptr @.str.3, i8 -128, i32 0, i32 110 }, %struct.option { ptr @.str.4, i8 -127, i32 0, i32 115 }, %struct.option { ptr @.str.5, i8 -128, i32 0, i32 116 }, %struct.option zeroinitializer], align 16
@.str.1 = private unnamed_addr constant [7 x i8] c"header\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"help\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"name\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"source\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"template-path\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"Hhn:st:\00", align 1
@optarg = dso_local global ptr null, align 8
@stderr = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [50 x i8] c"Can't output source and header at the same time.\0A\00", align 1
@.str.8 = private unnamed_addr constant [58 x i8] c"Please specify either source or header output: -s or -H.\0A\00", align 1
@optind = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [20 x i8] c"Too few arguments!\0A\00", align 1
@.str.10 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@.str.11 = private unnamed_addr constant [11 x i8] c"/dev/stdin\00", align 1
@.str.12 = private unnamed_addr constant [36 x i8] c"Failed to read input file '%s': %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.13 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
@.str.14 = private unnamed_addr constant [13 x i8] c"c_header.lua\00", align 1
@.str.15 = private unnamed_addr constant [13 x i8] c"c_source.lua\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca [256 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store ptr null, ptr %10, align 8
store ptr @.str, ptr %11, align 8
br label %16
16: ; preds = %2, %35
%17 = load i32, ptr %4, align 4
%18 = load ptr, ptr %5, align 8
%19 = call i32 @getopt_long(i32 noundef %17, ptr noundef %18, ptr noundef @.str.6, ptr noundef @main.options, ptr noundef null)
store i32 %19, ptr %7, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp eq i32 %20, -1
br i1 %21, label %22, label %23
22: ; preds = %16
br label %36
23: ; preds = %16
%24 = load i32, ptr %7, align 4
switch i32 %24, label %33 [
i32 72, label %25
i32 115, label %26
i32 104, label %27
i32 110, label %29
i32 116, label %31
]
25: ; preds = %23
store i32 1, ptr %9, align 4
br label %35
26: ; preds = %23
store i32 1, ptr %8, align 4
br label %35
27: ; preds = %23
%28 = call i32 (...) @usage()
store i32 0, ptr %3, align 4
br label %118
29: ; preds = %23
%30 = load ptr, ptr @optarg, align 8
store ptr %30, ptr %10, align 8
br label %35
31: ; preds = %23
%32 = load ptr, ptr @optarg, align 8
store ptr %32, ptr %11, align 8
br label %35
33: ; preds = %23
%34 = call i32 (...) @usage()
store i32 1, ptr %3, align 4
br label %118
35: ; preds = %31, %29, %26, %25
br label %16
36: ; preds = %22
%37 = load i32, ptr %9, align 4
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %46
39: ; preds = %36
%40 = load i32, ptr %8, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %46
42: ; preds = %39
%43 = load i32, ptr @stderr, align 4
%44 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.7)
%45 = call i32 (...) @usage()
store i32 1, ptr %3, align 4
br label %118
46: ; preds = %39, %36
%47 = load i32, ptr %9, align 4
%48 = icmp ne i32 %47, 0
br i1 %48, label %56, label %49
49: ; preds = %46
%50 = load i32, ptr %8, align 4
%51 = icmp ne i32 %50, 0
br i1 %51, label %56, label %52
52: ; preds = %49
%53 = load i32, ptr @stderr, align 4
%54 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %53, ptr noundef @.str.8)
%55 = call i32 (...) @usage()
store i32 1, ptr %3, align 4
br label %118
56: ; preds = %49, %46
%57 = load i32, ptr %4, align 4
%58 = load i32, ptr @optind, align 4
%59 = sub nsw i32 %57, %58
%60 = icmp slt i32 %59, 1
br i1 %60, label %61, label %64
61: ; preds = %56
%62 = load i32, ptr @stderr, align 4
%63 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %62, ptr noundef @.str.9)
store i32 1, ptr %3, align 4
br label %118
64: ; preds = %56
%65 = load ptr, ptr %5, align 8
%66 = load i32, ptr @optind, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds ptr, ptr %65, i64 %67
%69 = load ptr, ptr %68, align 8
store ptr %69, ptr %12, align 8
%70 = load ptr, ptr %12, align 8
%71 = call i64 @strcmp(ptr noundef @.str.10, ptr noundef %70)
%72 = icmp eq i64 %71, 0
br i1 %72, label %73, label %74
73: ; preds = %64
store ptr @.str.11, ptr %12, align 8
br label %74
74: ; preds = %73, %64
%75 = load ptr, ptr %12, align 8
%76 = call ptr @read_input_file(ptr noundef %75)
store ptr %76, ptr %13, align 8
%77 = load ptr, ptr %13, align 8
%78 = icmp ne ptr %77, null
br i1 %78, label %85, label %79
79: ; preds = %74
%80 = load i32, ptr @stderr, align 4
%81 = load ptr, ptr %12, align 8
%82 = load i32, ptr @errno, align 4
%83 = call ptr @strerror(i32 noundef %82)
%84 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %80, ptr noundef @.str.12, ptr noundef %81, ptr noundef %83)
store i32 1, ptr %3, align 4
br label %118
85: ; preds = %74
%86 = load ptr, ptr %10, align 8
%87 = icmp ne ptr %86, null
br i1 %87, label %92, label %88
88: ; preds = %85
%89 = load ptr, ptr %12, align 8
%90 = call i32 @basename(ptr noundef %89)
%91 = call ptr @strip_extension(i32 noundef %90)
store ptr %91, ptr %10, align 8
br label %92
92: ; preds = %88, %85
%93 = load ptr, ptr %13, align 8
%94 = call ptr @desc_parse(ptr noundef %93)
store ptr %94, ptr %14, align 8
%95 = load ptr, ptr %14, align 8
%96 = icmp ne ptr %95, null
br i1 %96, label %99, label %97
97: ; preds = %92
%98 = call i32 (...) @desc_print_error_report()
br label %114
99: ; preds = %92
%100 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0
%101 = load ptr, ptr %11, align 8
%102 = load i32, ptr %9, align 4
%103 = icmp ne i32 %102, 0
%104 = zext i1 %103 to i64
%105 = select i1 %103, ptr @.str.14, ptr @.str.15
%106 = call i32 @snprintf(ptr noundef %100, i32 noundef 256, ptr noundef @.str.13, ptr noundef %101, ptr noundef %105)
%107 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 255
store i8 0, ptr %107, align 1
%108 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0
%109 = load ptr, ptr %10, align 8
%110 = load ptr, ptr %14, align 8
%111 = call i32 @lua_codegen(ptr noundef %108, ptr noundef %109, ptr noundef %110)
%112 = load ptr, ptr %14, align 8
%113 = call i32 @obj_free(ptr noundef %112)
store i32 0, ptr %6, align 4
br label %114
114: ; preds = %99, %97
%115 = load ptr, ptr %13, align 8
%116 = call i32 @free(ptr noundef %115)
%117 = load i32, ptr %6, align 4
store i32 %117, ptr %3, align 4
br label %118
118: ; preds = %114, %79, %61, %52, %42, %33, %27
%119 = load i32, ptr %3, align 4
ret i32 %119
}
declare i32 @getopt_long(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @usage(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @read_input_file(ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare ptr @strip_extension(i32 noundef) #1
declare i32 @basename(ptr noundef) #1
declare ptr @desc_parse(ptr noundef) #1
declare i32 @desc_print_error_report(...) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @lua_codegen(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @obj_free(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe3u35tus.c"
target datalayout = "e-m:e-p270: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.option = type { ptr, i8, i32, i32 }
@.str = private unnamed_addr constant [12 x i8] c"./templates\00", align 1
@main.options = internal constant [6 x %struct.option] [%struct.option { ptr @.str.1, i8 -127, i32 0, i32 72 }, %struct.option { ptr @.str.2, i8 -127, i32 0, i32 104 }, %struct.option { ptr @.str.3, i8 -128, i32 0, i32 110 }, %struct.option { ptr @.str.4, i8 -127, i32 0, i32 115 }, %struct.option { ptr @.str.5, i8 -128, i32 0, i32 116 }, %struct.option zeroinitializer], align 16
@.str.1 = private unnamed_addr constant [7 x i8] c"header\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"help\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"name\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"source\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"template-path\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"Hhn:st:\00", align 1
@optarg = dso_local global ptr null, align 8
@stderr = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [50 x i8] c"Can't output source and header at the same time.\0A\00", align 1
@.str.8 = private unnamed_addr constant [58 x i8] c"Please specify either source or header output: -s or -H.\0A\00", align 1
@optind = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [20 x i8] c"Too few arguments!\0A\00", align 1
@.str.10 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@.str.11 = private unnamed_addr constant [11 x i8] c"/dev/stdin\00", align 1
@.str.12 = private unnamed_addr constant [36 x i8] c"Failed to read input file '%s': %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.13 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
@.str.14 = private unnamed_addr constant [13 x i8] c"c_header.lua\00", align 1
@.str.15 = private unnamed_addr constant [13 x i8] c"c_source.lua\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca [256 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store ptr null, ptr %10, align 8
store ptr @.str, ptr %11, align 8
%16 = load i32, ptr %4, align 4
%17 = load ptr, ptr %5, align 8
%18 = call i32 @getopt_long(i32 noundef %16, ptr noundef %17, ptr noundef @.str.6, ptr noundef @main.options, ptr noundef null)
store i32 %18, ptr %7, align 4
%19 = load i32, ptr %7, align 4
%20 = icmp eq i32 %19, -1
br i1 %20, label %21, label %.lr.ph
.lr.ph: ; preds = %2
br label %22
._crit_edge: ; preds = %34
br label %21
21: ; preds = %._crit_edge, %2
br label %40
22: ; preds = %.lr.ph, %34
%23 = load i32, ptr %7, align 4
switch i32 %23, label %32 [
i32 72, label %24
i32 115, label %25
i32 104, label %26
i32 110, label %28
i32 116, label %30
]
24: ; preds = %22
store i32 1, ptr %9, align 4
br label %34
25: ; preds = %22
store i32 1, ptr %8, align 4
br label %34
26: ; preds = %22
%27 = call i32 (...) @usage()
store i32 0, ptr %3, align 4
br label %122
28: ; preds = %22
%29 = load ptr, ptr @optarg, align 8
store ptr %29, ptr %10, align 8
br label %34
30: ; preds = %22
%31 = load ptr, ptr @optarg, align 8
store ptr %31, ptr %11, align 8
br label %34
32: ; preds = %22
%33 = call i32 (...) @usage()
store i32 1, ptr %3, align 4
br label %122
34: ; preds = %30, %28, %25, %24
%35 = load i32, ptr %4, align 4
%36 = load ptr, ptr %5, align 8
%37 = call i32 @getopt_long(i32 noundef %35, ptr noundef %36, ptr noundef @.str.6, ptr noundef @main.options, ptr noundef null)
store i32 %37, ptr %7, align 4
%38 = load i32, ptr %7, align 4
%39 = icmp eq i32 %38, -1
br i1 %39, label %._crit_edge, label %22
40: ; preds = %21
%41 = load i32, ptr %9, align 4
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %50
43: ; preds = %40
%44 = load i32, ptr %8, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %50
46: ; preds = %43
%47 = load i32, ptr @stderr, align 4
%48 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %47, ptr noundef @.str.7)
%49 = call i32 (...) @usage()
store i32 1, ptr %3, align 4
br label %122
50: ; preds = %43, %40
%51 = load i32, ptr %9, align 4
%52 = icmp ne i32 %51, 0
br i1 %52, label %60, label %53
53: ; preds = %50
%54 = load i32, ptr %8, align 4
%55 = icmp ne i32 %54, 0
br i1 %55, label %60, label %56
56: ; preds = %53
%57 = load i32, ptr @stderr, align 4
%58 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %57, ptr noundef @.str.8)
%59 = call i32 (...) @usage()
store i32 1, ptr %3, align 4
br label %122
60: ; preds = %53, %50
%61 = load i32, ptr %4, align 4
%62 = load i32, ptr @optind, align 4
%63 = sub nsw i32 %61, %62
%64 = icmp slt i32 %63, 1
br i1 %64, label %65, label %68
65: ; preds = %60
%66 = load i32, ptr @stderr, align 4
%67 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %66, ptr noundef @.str.9)
store i32 1, ptr %3, align 4
br label %122
68: ; preds = %60
%69 = load ptr, ptr %5, align 8
%70 = load i32, ptr @optind, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds ptr, ptr %69, i64 %71
%73 = load ptr, ptr %72, align 8
store ptr %73, ptr %12, align 8
%74 = load ptr, ptr %12, align 8
%75 = call i64 @strcmp(ptr noundef @.str.10, ptr noundef %74)
%76 = icmp eq i64 %75, 0
br i1 %76, label %77, label %78
77: ; preds = %68
store ptr @.str.11, ptr %12, align 8
br label %78
78: ; preds = %77, %68
%79 = load ptr, ptr %12, align 8
%80 = call ptr @read_input_file(ptr noundef %79)
store ptr %80, ptr %13, align 8
%81 = load ptr, ptr %13, align 8
%82 = icmp ne ptr %81, null
br i1 %82, label %89, label %83
83: ; preds = %78
%84 = load i32, ptr @stderr, align 4
%85 = load ptr, ptr %12, align 8
%86 = load i32, ptr @errno, align 4
%87 = call ptr @strerror(i32 noundef %86)
%88 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %84, ptr noundef @.str.12, ptr noundef %85, ptr noundef %87)
store i32 1, ptr %3, align 4
br label %122
89: ; preds = %78
%90 = load ptr, ptr %10, align 8
%91 = icmp ne ptr %90, null
br i1 %91, label %96, label %92
92: ; preds = %89
%93 = load ptr, ptr %12, align 8
%94 = call i32 @basename(ptr noundef %93)
%95 = call ptr @strip_extension(i32 noundef %94)
store ptr %95, ptr %10, align 8
br label %96
96: ; preds = %92, %89
%97 = load ptr, ptr %13, align 8
%98 = call ptr @desc_parse(ptr noundef %97)
store ptr %98, ptr %14, align 8
%99 = load ptr, ptr %14, align 8
%100 = icmp ne ptr %99, null
br i1 %100, label %103, label %101
101: ; preds = %96
%102 = call i32 (...) @desc_print_error_report()
br label %118
103: ; preds = %96
%104 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0
%105 = load ptr, ptr %11, align 8
%106 = load i32, ptr %9, align 4
%107 = icmp ne i32 %106, 0
%108 = zext i1 %107 to i64
%109 = select i1 %107, ptr @.str.14, ptr @.str.15
%110 = call i32 @snprintf(ptr noundef %104, i32 noundef 256, ptr noundef @.str.13, ptr noundef %105, ptr noundef %109)
%111 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 255
store i8 0, ptr %111, align 1
%112 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0
%113 = load ptr, ptr %10, align 8
%114 = load ptr, ptr %14, align 8
%115 = call i32 @lua_codegen(ptr noundef %112, ptr noundef %113, ptr noundef %114)
%116 = load ptr, ptr %14, align 8
%117 = call i32 @obj_free(ptr noundef %116)
store i32 0, ptr %6, align 4
br label %118
118: ; preds = %103, %101
%119 = load ptr, ptr %13, align 8
%120 = call i32 @free(ptr noundef %119)
%121 = load i32, ptr %6, align 4
store i32 %121, ptr %3, align 4
br label %122
122: ; preds = %118, %83, %65, %56, %46, %32, %26
%123 = load i32, ptr %3, align 4
ret i32 %123
}
declare i32 @getopt_long(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @usage(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @read_input_file(ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare ptr @strip_extension(i32 noundef) #1
declare i32 @basename(ptr noundef) #1
declare ptr @desc_parse(ptr noundef) #1
declare i32 @desc_print_error_report(...) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @lua_codegen(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @obj_free(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"}
|
; ModuleID = '/tmp/tmpgs8nugzi.c'
source_filename = "/tmp/tmpgs8nugzi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_M2_npn_init(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 (...) @init()
%6 = call i32 (...) @testNPN()
ret void
}
declare i32 @init(...) #1
declare i32 @testNPN(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgs8nugzi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_M2_npn_init(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 (...) @init()
%6 = call i32 (...) @testNPN()
ret void
}
declare i32 @init(...) #1
declare i32 @testNPN(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxk5fgtyg.c'
source_filename = "/tmp/tmpxk5fgtyg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"input arrayA: a b c d\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"input arrayB: a b c d\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"\0Aafter ADD,arrayA:\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c"\0Aafter ADD,arrayB:\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 i32], align 16
%3 = alloca [4 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 16, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 16, i1 false)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %4, align 4
br label %7
7: ; preds = %15, %0
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 4
br i1 %9, label %10, label %18
10: ; preds = %7
%11 = load i32, ptr %4, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %12
%14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %13)
br label %15
15: ; preds = %10
%16 = load i32, ptr %4, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %4, align 4
br label %7, !llvm.loop !6
18: ; preds = %7
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %4, align 4
br label %20
20: ; preds = %28, %18
%21 = load i32, ptr %4, align 4
%22 = icmp slt i32 %21, 4
br i1 %22, label %23, label %31
23: ; preds = %20
%24 = load i32, ptr %4, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 %25
%27 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %26)
br label %28
28: ; preds = %23
%29 = load i32, ptr %4, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %4, align 4
br label %20, !llvm.loop !8
31: ; preds = %20
store i32 0, ptr %4, align 4
br label %32
32: ; preds = %53, %31
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %33, 4
br i1 %34, label %35, label %56
35: ; preds = %32
%36 = load i32, ptr %4, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %37
%39 = load i32, ptr %38, align 4
%40 = load i32, ptr %4, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 %41
%43 = load i32, ptr %42, align 4
%44 = add nsw i32 %39, %43
store i32 %44, ptr %5, align 4
%45 = load i32, ptr %5, align 4
%46 = load i32, ptr %4, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %47
store i32 %45, ptr %48, align 4
%49 = load i32, ptr %5, align 4
%50 = load i32, ptr %4, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 %51
store i32 %49, ptr %52, align 4
br label %53
53: ; preds = %35
%54 = load i32, ptr %4, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %4, align 4
br label %32, !llvm.loop !9
56: ; preds = %32
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %4, align 4
br label %58
58: ; preds = %67, %56
%59 = load i32, ptr %4, align 4
%60 = icmp slt i32 %59, 4
br i1 %60, label %61, label %70
61: ; preds = %58
%62 = load i32, ptr %4, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %63
%65 = load i32, ptr %64, align 4
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %65)
br label %67
67: ; preds = %61
%68 = load i32, ptr %4, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %4, align 4
br label %58, !llvm.loop !10
70: ; preds = %58
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 0, ptr %4, align 4
br label %72
72: ; preds = %81, %70
%73 = load i32, ptr %4, align 4
%74 = icmp slt i32 %73, 4
br i1 %74, label %75, label %84
75: ; preds = %72
%76 = load i32, ptr %4, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 %77
%79 = load i32, ptr %78, align 4
%80 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %79)
br label %81
81: ; preds = %75
%82 = load i32, ptr %4, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %4, align 4
br label %72, !llvm.loop !11
84: ; preds = %72
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @scanf(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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/tmpxk5fgtyg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"input arrayA: a b c d\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"input arrayB: a b c d\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"\0Aafter ADD,arrayA:\0A\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c"\0Aafter ADD,arrayB:\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 i32], align 16
%3 = alloca [4 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 16, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 16, i1 false)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 4
br i1 %8, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %14
%10 = load i32, ptr %4, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %11
%13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %12)
br label %14
14: ; preds = %9
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %4, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %17, 4
br i1 %18, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %0
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %4, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp slt i32 %21, 4
br i1 %22, label %.lr.ph2, label %33
.lr.ph2: ; preds = %19
br label %23
23: ; preds = %.lr.ph2, %28
%24 = load i32, ptr %4, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 %25
%27 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %26)
br label %28
28: ; preds = %23
%29 = load i32, ptr %4, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %4, align 4
%31 = load i32, ptr %4, align 4
%32 = icmp slt i32 %31, 4
br i1 %32, label %23, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %28
br label %33
33: ; preds = %._crit_edge3, %19
store i32 0, ptr %4, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp slt i32 %34, 4
br i1 %35, label %.lr.ph5, label %59
.lr.ph5: ; preds = %33
br label %36
36: ; preds = %.lr.ph5, %54
%37 = load i32, ptr %4, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %38
%40 = load i32, ptr %39, align 4
%41 = load i32, ptr %4, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 %42
%44 = load i32, ptr %43, align 4
%45 = add nsw i32 %40, %44
store i32 %45, ptr %5, align 4
%46 = load i32, ptr %5, align 4
%47 = load i32, ptr %4, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %48
store i32 %46, ptr %49, align 4
%50 = load i32, ptr %5, align 4
%51 = load i32, ptr %4, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 %52
store i32 %50, ptr %53, align 4
br label %54
54: ; preds = %36
%55 = load i32, ptr %4, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %4, align 4
%57 = load i32, ptr %4, align 4
%58 = icmp slt i32 %57, 4
br i1 %58, label %36, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %54
br label %59
59: ; preds = %._crit_edge6, %33
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %4, align 4
%61 = load i32, ptr %4, align 4
%62 = icmp slt i32 %61, 4
br i1 %62, label %.lr.ph8, label %74
.lr.ph8: ; preds = %59
br label %63
63: ; preds = %.lr.ph8, %69
%64 = load i32, ptr %4, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %65
%67 = load i32, ptr %66, align 4
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %67)
br label %69
69: ; preds = %63
%70 = load i32, ptr %4, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %4, align 4
%72 = load i32, ptr %4, align 4
%73 = icmp slt i32 %72, 4
br i1 %73, label %63, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %69
br label %74
74: ; preds = %._crit_edge9, %59
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 0, ptr %4, align 4
%76 = load i32, ptr %4, align 4
%77 = icmp slt i32 %76, 4
br i1 %77, label %.lr.ph11, label %89
.lr.ph11: ; preds = %74
br label %78
78: ; preds = %.lr.ph11, %84
%79 = load i32, ptr %4, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 %80
%82 = load i32, ptr %81, align 4
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %82)
br label %84
84: ; preds = %78
%85 = load i32, ptr %4, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %4, align 4
%87 = load i32, ptr %4, align 4
%88 = icmp slt i32 %87, 4
br i1 %88, label %78, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %84
br label %89
89: ; preds = %._crit_edge12, %74
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @scanf(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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/tmpg298j9ax.c'
source_filename = "/tmp/tmpg298j9ax.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel204_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 {
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
%39 = alloca ptr, align 8
%40 = alloca ptr, align 8
%41 = alloca ptr, align 8
%42 = alloca ptr, align 8
%43 = alloca ptr, align 8
%44 = alloca ptr, align 8
%45 = alloca ptr, align 8
%46 = alloca ptr, align 8
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca ptr, align 8
%51 = alloca ptr, align 8
%52 = alloca ptr, align 8
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
%55 = alloca ptr, align 8
%56 = alloca ptr, align 8
%57 = alloca ptr, align 8
%58 = alloca ptr, align 8
%59 = alloca ptr, align 8
%60 = alloca ptr, align 8
%61 = alloca ptr, align 8
%62 = alloca ptr, align 8
store ptr %0, ptr %32, align 8
store ptr %1, ptr %33, align 8
store ptr %2, ptr %34, align 8
store ptr %3, ptr %35, align 8
store ptr %4, ptr %36, align 8
store ptr %5, ptr %37, align 8
store ptr %6, ptr %38, align 8
store ptr %7, ptr %39, align 8
store ptr %8, ptr %40, align 8
store ptr %9, ptr %41, align 8
store ptr %10, ptr %42, align 8
store ptr %11, ptr %43, align 8
store ptr %12, ptr %44, align 8
store ptr %13, ptr %45, align 8
store ptr %14, ptr %46, align 8
store ptr %15, ptr %47, align 8
store ptr %16, ptr %48, align 8
store ptr %17, ptr %49, align 8
store ptr %18, ptr %50, align 8
store ptr %19, ptr %51, align 8
store ptr %20, ptr %52, align 8
store ptr %21, ptr %53, align 8
store ptr %22, ptr %54, align 8
store ptr %23, ptr %55, align 8
store ptr %24, ptr %56, align 8
store ptr %25, ptr %57, align 8
store ptr %26, ptr %58, align 8
store ptr %27, ptr %59, align 8
store ptr %28, ptr %60, align 8
store ptr %29, ptr %61, align 8
store ptr %30, ptr %62, align 8
%63 = load ptr, ptr %32, align 8
%64 = load ptr, ptr %33, align 8
%65 = load ptr, ptr %34, align 8
%66 = load ptr, ptr %35, align 8
%67 = load ptr, ptr %36, align 8
%68 = load ptr, ptr %37, align 8
%69 = load ptr, ptr %38, align 8
%70 = load ptr, ptr %39, align 8
%71 = load ptr, ptr %40, align 8
%72 = load ptr, ptr %41, align 8
%73 = load ptr, ptr %42, align 8
%74 = load ptr, ptr %43, align 8
%75 = load ptr, ptr %44, align 8
%76 = load ptr, ptr %45, align 8
%77 = load ptr, ptr %46, align 8
%78 = load ptr, ptr %47, align 8
%79 = load ptr, ptr %48, align 8
%80 = load ptr, ptr %49, align 8
%81 = load ptr, ptr %50, align 8
%82 = load ptr, ptr %51, align 8
%83 = load ptr, ptr %52, align 8
%84 = load ptr, ptr %53, align 8
%85 = load ptr, ptr %54, align 8
%86 = load ptr, ptr %55, align 8
%87 = load ptr, ptr %56, align 8
%88 = load ptr, ptr %57, align 8
%89 = load ptr, ptr %58, align 8
%90 = load ptr, ptr %59, align 8
%91 = load ptr, ptr %60, align 8
%92 = load ptr, ptr %61, align 8
%93 = load ptr, ptr %62, align 8
%94 = call i32 @f77dkernel204_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93)
ret void
}
declare i32 @f77dkernel204_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg298j9ax.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel204_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 {
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
%39 = alloca ptr, align 8
%40 = alloca ptr, align 8
%41 = alloca ptr, align 8
%42 = alloca ptr, align 8
%43 = alloca ptr, align 8
%44 = alloca ptr, align 8
%45 = alloca ptr, align 8
%46 = alloca ptr, align 8
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca ptr, align 8
%51 = alloca ptr, align 8
%52 = alloca ptr, align 8
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
%55 = alloca ptr, align 8
%56 = alloca ptr, align 8
%57 = alloca ptr, align 8
%58 = alloca ptr, align 8
%59 = alloca ptr, align 8
%60 = alloca ptr, align 8
%61 = alloca ptr, align 8
%62 = alloca ptr, align 8
store ptr %0, ptr %32, align 8
store ptr %1, ptr %33, align 8
store ptr %2, ptr %34, align 8
store ptr %3, ptr %35, align 8
store ptr %4, ptr %36, align 8
store ptr %5, ptr %37, align 8
store ptr %6, ptr %38, align 8
store ptr %7, ptr %39, align 8
store ptr %8, ptr %40, align 8
store ptr %9, ptr %41, align 8
store ptr %10, ptr %42, align 8
store ptr %11, ptr %43, align 8
store ptr %12, ptr %44, align 8
store ptr %13, ptr %45, align 8
store ptr %14, ptr %46, align 8
store ptr %15, ptr %47, align 8
store ptr %16, ptr %48, align 8
store ptr %17, ptr %49, align 8
store ptr %18, ptr %50, align 8
store ptr %19, ptr %51, align 8
store ptr %20, ptr %52, align 8
store ptr %21, ptr %53, align 8
store ptr %22, ptr %54, align 8
store ptr %23, ptr %55, align 8
store ptr %24, ptr %56, align 8
store ptr %25, ptr %57, align 8
store ptr %26, ptr %58, align 8
store ptr %27, ptr %59, align 8
store ptr %28, ptr %60, align 8
store ptr %29, ptr %61, align 8
store ptr %30, ptr %62, align 8
%63 = load ptr, ptr %32, align 8
%64 = load ptr, ptr %33, align 8
%65 = load ptr, ptr %34, align 8
%66 = load ptr, ptr %35, align 8
%67 = load ptr, ptr %36, align 8
%68 = load ptr, ptr %37, align 8
%69 = load ptr, ptr %38, align 8
%70 = load ptr, ptr %39, align 8
%71 = load ptr, ptr %40, align 8
%72 = load ptr, ptr %41, align 8
%73 = load ptr, ptr %42, align 8
%74 = load ptr, ptr %43, align 8
%75 = load ptr, ptr %44, align 8
%76 = load ptr, ptr %45, align 8
%77 = load ptr, ptr %46, align 8
%78 = load ptr, ptr %47, align 8
%79 = load ptr, ptr %48, align 8
%80 = load ptr, ptr %49, align 8
%81 = load ptr, ptr %50, align 8
%82 = load ptr, ptr %51, align 8
%83 = load ptr, ptr %52, align 8
%84 = load ptr, ptr %53, align 8
%85 = load ptr, ptr %54, align 8
%86 = load ptr, ptr %55, align 8
%87 = load ptr, ptr %56, align 8
%88 = load ptr, ptr %57, align 8
%89 = load ptr, ptr %58, align 8
%90 = load ptr, ptr %59, align 8
%91 = load ptr, ptr %60, align 8
%92 = load ptr, ptr %61, align 8
%93 = load ptr, ptr %62, align 8
%94 = call i32 @f77dkernel204_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93)
ret void
}
declare i32 @f77dkernel204_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjh55p2ku.c'
source_filename = "/tmp/tmpjh55p2ku.c"
target datalayout = "e-m:e-p270: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/tmpjh55p2ku.c"
target datalayout = "e-m:e-p270: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/tmp9npxt8nw.c'
source_filename = "/tmp/tmp9npxt8nw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_sync() #0 {
%1 = call i32 @gpio_set(i32 noundef 27, i32 noundef 1)
%2 = call i32 @usleep(i32 noundef 320)
%3 = call i32 @gpio_set(i32 noundef 27, i32 noundef 0)
%4 = call i32 @usleep(i32 noundef 9920)
ret void
}
declare i32 @gpio_set(i32 noundef, i32 noundef) #1
declare i32 @usleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9npxt8nw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_sync() #0 {
%1 = call i32 @gpio_set(i32 noundef 27, i32 noundef 1)
%2 = call i32 @usleep(i32 noundef 320)
%3 = call i32 @gpio_set(i32 noundef 27, i32 noundef 0)
%4 = call i32 @usleep(i32 noundef 9920)
ret void
}
declare i32 @gpio_set(i32 noundef, i32 noundef) #1
declare i32 @usleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_x7wnrco.c'
source_filename = "/tmp/tmp_x7wnrco.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"(le(i,j,k,n),le(i,j,k,n))\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
%5 = call i32 @tmpl(ptr noundef @.str)
br label %6
6: ; preds = %10, %0
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %1, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %15
10: ; preds = %6
%11 = load i32, ptr %2, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %2, align 4
%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
store i32 0, ptr %4, align 4
br label %16
16: ; preds = %20, %15
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %1, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %29
20: ; preds = %16
%21 = load i32, ptr %3, align 4
%22 = icmp sgt i32 %21, 0
%23 = zext i1 %22 to i32
%24 = call i32 @assert(i32 noundef %23)
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, -1
store i32 %28, ptr %3, align 4
br label %16, !llvm.loop !8
29: ; preds = %16
ret void
}
declare i32 @tmpl(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/tmp_x7wnrco.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"(le(i,j,k,n),le(i,j,k,n))\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
%5 = call i32 @tmpl(ptr noundef @.str)
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %1, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %9
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %2, align 4
%15 = load i32, ptr %1, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %17
17: ; preds = %._crit_edge, %0
store i32 0, ptr %4, align 4
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %1, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph2, label %33
.lr.ph2: ; preds = %17
br label %21
21: ; preds = %.lr.ph2, %21
%22 = load i32, ptr %3, align 4
%23 = icmp sgt i32 %22, 0
%24 = zext i1 %23 to i32
%25 = call i32 @assert(i32 noundef %24)
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %4, align 4
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, -1
store i32 %29, ptr %3, align 4
%30 = load i32, ptr %4, align 4
%31 = load i32, ptr %1, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %21, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %21
br label %33
33: ; preds = %._crit_edge3, %17
ret void
}
declare i32 @tmpl(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/tmpec1wa8cp.c'
source_filename = "/tmp/tmpec1wa8cp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, i32 }
%struct.iovec = type { ptr, ptr }
%struct.msghdr = type { i32, ptr }
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@IPPROTO_UDP = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"socket() failed: %s\0A.\00", align 1
@errno = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"connect() failed: %s\0A.\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"short string\0A\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"This is a longer string\0A\00", align 1
@.str.5 = private unnamed_addr constant [44 x i8] c"This is the longest string in this example\0A\00", align 1
@.str.6 = private unnamed_addr constant [23 x i8] c"sendmsg() failed: %s\0A.\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca %struct.sockaddr_in, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [3 x %struct.iovec], align 16
%8 = alloca %struct.msghdr, align 8
store i32 0, ptr %1, align 4
%9 = load i32, ptr @AF_INET, align 4
%10 = load i32, ptr @SOCK_DGRAM, align 4
%11 = load i32, ptr @IPPROTO_UDP, align 4
%12 = call i32 @socket(i32 noundef %9, i32 noundef %10, i32 noundef %11)
store i32 %12, ptr %2, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %20
14: ; preds = %0
%15 = load i32, ptr @stderr, align 4
%16 = load i32, ptr @errno, align 4
%17 = call ptr @strerror(i32 noundef %16)
%18 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, ptr noundef %17)
%19 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %19, ptr %1, align 4
br label %73
20: ; preds = %0
%21 = load i32, ptr @AF_INET, align 4
%22 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 2
store i32 %21, ptr %22, align 4
%23 = call i32 @htons(i32 noundef 8000)
%24 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1
store i32 %23, ptr %24, align 4
%25 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0
%26 = call i32 @inet_aton(ptr noundef @.str.1, ptr noundef %25)
%27 = load i32, ptr %2, align 4
%28 = call i64 @connect(i32 noundef %27, ptr noundef %3, i32 noundef 12)
%29 = icmp slt i64 %28, 0
br i1 %29, label %30, label %36
30: ; preds = %20
%31 = load i32, ptr @stderr, align 4
%32 = load i32, ptr @errno, align 4
%33 = call ptr @strerror(i32 noundef %32)
%34 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str.2, ptr noundef %33)
%35 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %35, ptr %1, align 4
br label %73
36: ; preds = %20
store ptr @.str.3, ptr %4, align 8
store ptr @.str.4, ptr %5, align 8
store ptr @.str.5, ptr %6, align 8
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds [3 x %struct.iovec], ptr %7, i64 0, i64 0
%39 = getelementptr inbounds %struct.iovec, ptr %38, i32 0, i32 0
store ptr %37, ptr %39, align 16
%40 = load ptr, ptr %4, align 8
%41 = call ptr @strlen(ptr noundef %40)
%42 = getelementptr inbounds [3 x %struct.iovec], ptr %7, i64 0, i64 0
%43 = getelementptr inbounds %struct.iovec, ptr %42, i32 0, i32 1
store ptr %41, ptr %43, align 8
%44 = load ptr, ptr %5, align 8
%45 = getelementptr inbounds [3 x %struct.iovec], ptr %7, i64 0, i64 1
%46 = getelementptr inbounds %struct.iovec, ptr %45, i32 0, i32 0
store ptr %44, ptr %46, align 16
%47 = load ptr, ptr %5, align 8
%48 = call ptr @strlen(ptr noundef %47)
%49 = getelementptr inbounds [3 x %struct.iovec], ptr %7, i64 0, i64 1
%50 = getelementptr inbounds %struct.iovec, ptr %49, i32 0, i32 1
store ptr %48, ptr %50, align 8
%51 = load ptr, ptr %6, align 8
%52 = getelementptr inbounds [3 x %struct.iovec], ptr %7, i64 0, i64 2
%53 = getelementptr inbounds %struct.iovec, ptr %52, i32 0, i32 0
store ptr %51, ptr %53, align 16
%54 = load ptr, ptr %6, align 8
%55 = call ptr @strlen(ptr noundef %54)
%56 = getelementptr inbounds [3 x %struct.iovec], ptr %7, i64 0, i64 2
%57 = getelementptr inbounds %struct.iovec, ptr %56, i32 0, i32 1
store ptr %55, ptr %57, align 8
%58 = call i32 @memset(ptr noundef %8, i8 noundef signext 0, i32 noundef 16)
%59 = getelementptr inbounds [3 x %struct.iovec], ptr %7, i64 0, i64 0
%60 = getelementptr inbounds %struct.msghdr, ptr %8, i32 0, i32 1
store ptr %59, ptr %60, align 8
%61 = getelementptr inbounds %struct.msghdr, ptr %8, i32 0, i32 0
store i32 3, ptr %61, align 8
%62 = load i32, ptr %2, align 4
%63 = call i64 @sendmsg(i32 noundef %62, ptr noundef %8, i32 noundef 0)
%64 = icmp slt i64 %63, 0
br i1 %64, label %65, label %71
65: ; preds = %36
%66 = load i32, ptr @stderr, align 4
%67 = load i32, ptr @errno, align 4
%68 = call ptr @strerror(i32 noundef %67)
%69 = call i32 @fprintf(i32 noundef %66, ptr noundef @.str.6, ptr noundef %68)
%70 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %70, ptr %1, align 4
br label %73
71: ; preds = %36
%72 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %72, ptr %1, align 4
br label %73
73: ; preds = %71, %65, %30, %14
%74 = load i32, ptr %1, align 4
ret i32 %74
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @inet_aton(ptr noundef, ptr noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @strlen(ptr noundef) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i64 @sendmsg(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpec1wa8cp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, i32 }
%struct.iovec = type { ptr, ptr }
%struct.msghdr = type { i32, ptr }
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@IPPROTO_UDP = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"socket() failed: %s\0A.\00", align 1
@errno = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"connect() failed: %s\0A.\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"short string\0A\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"This is a longer string\0A\00", align 1
@.str.5 = private unnamed_addr constant [44 x i8] c"This is the longest string in this example\0A\00", align 1
@.str.6 = private unnamed_addr constant [23 x i8] c"sendmsg() failed: %s\0A.\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca %struct.sockaddr_in, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [3 x %struct.iovec], align 16
%8 = alloca %struct.msghdr, align 8
store i32 0, ptr %1, align 4
%9 = load i32, ptr @AF_INET, align 4
%10 = load i32, ptr @SOCK_DGRAM, align 4
%11 = load i32, ptr @IPPROTO_UDP, align 4
%12 = call i32 @socket(i32 noundef %9, i32 noundef %10, i32 noundef %11)
store i32 %12, ptr %2, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %20
14: ; preds = %0
%15 = load i32, ptr @stderr, align 4
%16 = load i32, ptr @errno, align 4
%17 = call ptr @strerror(i32 noundef %16)
%18 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, ptr noundef %17)
%19 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %19, ptr %1, align 4
br label %73
20: ; preds = %0
%21 = load i32, ptr @AF_INET, align 4
%22 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 2
store i32 %21, ptr %22, align 4
%23 = call i32 @htons(i32 noundef 8000)
%24 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1
store i32 %23, ptr %24, align 4
%25 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0
%26 = call i32 @inet_aton(ptr noundef @.str.1, ptr noundef %25)
%27 = load i32, ptr %2, align 4
%28 = call i64 @connect(i32 noundef %27, ptr noundef %3, i32 noundef 12)
%29 = icmp slt i64 %28, 0
br i1 %29, label %30, label %36
30: ; preds = %20
%31 = load i32, ptr @stderr, align 4
%32 = load i32, ptr @errno, align 4
%33 = call ptr @strerror(i32 noundef %32)
%34 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str.2, ptr noundef %33)
%35 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %35, ptr %1, align 4
br label %73
36: ; preds = %20
store ptr @.str.3, ptr %4, align 8
store ptr @.str.4, ptr %5, align 8
store ptr @.str.5, ptr %6, align 8
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds [3 x %struct.iovec], ptr %7, i64 0, i64 0
%39 = getelementptr inbounds %struct.iovec, ptr %38, i32 0, i32 0
store ptr %37, ptr %39, align 16
%40 = load ptr, ptr %4, align 8
%41 = call ptr @strlen(ptr noundef %40)
%42 = getelementptr inbounds [3 x %struct.iovec], ptr %7, i64 0, i64 0
%43 = getelementptr inbounds %struct.iovec, ptr %42, i32 0, i32 1
store ptr %41, ptr %43, align 8
%44 = load ptr, ptr %5, align 8
%45 = getelementptr inbounds [3 x %struct.iovec], ptr %7, i64 0, i64 1
%46 = getelementptr inbounds %struct.iovec, ptr %45, i32 0, i32 0
store ptr %44, ptr %46, align 16
%47 = load ptr, ptr %5, align 8
%48 = call ptr @strlen(ptr noundef %47)
%49 = getelementptr inbounds [3 x %struct.iovec], ptr %7, i64 0, i64 1
%50 = getelementptr inbounds %struct.iovec, ptr %49, i32 0, i32 1
store ptr %48, ptr %50, align 8
%51 = load ptr, ptr %6, align 8
%52 = getelementptr inbounds [3 x %struct.iovec], ptr %7, i64 0, i64 2
%53 = getelementptr inbounds %struct.iovec, ptr %52, i32 0, i32 0
store ptr %51, ptr %53, align 16
%54 = load ptr, ptr %6, align 8
%55 = call ptr @strlen(ptr noundef %54)
%56 = getelementptr inbounds [3 x %struct.iovec], ptr %7, i64 0, i64 2
%57 = getelementptr inbounds %struct.iovec, ptr %56, i32 0, i32 1
store ptr %55, ptr %57, align 8
%58 = call i32 @memset(ptr noundef %8, i8 noundef signext 0, i32 noundef 16)
%59 = getelementptr inbounds [3 x %struct.iovec], ptr %7, i64 0, i64 0
%60 = getelementptr inbounds %struct.msghdr, ptr %8, i32 0, i32 1
store ptr %59, ptr %60, align 8
%61 = getelementptr inbounds %struct.msghdr, ptr %8, i32 0, i32 0
store i32 3, ptr %61, align 8
%62 = load i32, ptr %2, align 4
%63 = call i64 @sendmsg(i32 noundef %62, ptr noundef %8, i32 noundef 0)
%64 = icmp slt i64 %63, 0
br i1 %64, label %65, label %71
65: ; preds = %36
%66 = load i32, ptr @stderr, align 4
%67 = load i32, ptr @errno, align 4
%68 = call ptr @strerror(i32 noundef %67)
%69 = call i32 @fprintf(i32 noundef %66, ptr noundef @.str.6, ptr noundef %68)
%70 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %70, ptr %1, align 4
br label %73
71: ; preds = %36
%72 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %72, ptr %1, align 4
br label %73
73: ; preds = %71, %65, %30, %14
%74 = load i32, ptr %1, align 4
ret i32 %74
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @inet_aton(ptr noundef, ptr noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @strlen(ptr noundef) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i64 @sendmsg(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4mv__vd0.c'
source_filename = "/tmp/tmp4mv__vd0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%11 = load i32, ptr %2, align 4
%12 = sext i32 %11 to i64
%13 = mul i64 %12, 1
%14 = trunc i64 %13 to i32
%15 = call i64 @malloc(i32 noundef %14)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %4, align 8
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = mul i64 %18, 1
%20 = trunc i64 %19 to i32
%21 = call i64 @malloc(i32 noundef %20)
%22 = inttoptr i64 %21 to ptr
store ptr %22, ptr %5, align 8
%23 = load ptr, ptr %4, align 8
%24 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %23)
%25 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3)
%26 = load ptr, ptr %5, align 8
%27 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %26)
store i32 0, ptr %7, align 4
br label %28
28: ; preds = %42, %0
%29 = load i32, ptr %7, align 4
%30 = load i32, ptr %3, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %32, label %45
32: ; preds = %28
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %7, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = load ptr, ptr %6, align 8
%39 = load i32, ptr %7, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
store i8 %37, ptr %41, align 1
br label %42
42: ; preds = %32
%43 = load i32, ptr %7, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %7, align 4
br label %28, !llvm.loop !6
45: ; preds = %28
%46 = load i32, ptr %2, align 4
%47 = load ptr, ptr %4, align 8
%48 = load i32, ptr %2, align 4
%49 = load ptr, ptr %5, align 8
%50 = load i32, ptr %3, align 4
%51 = call i32 @makeEqual(ptr noundef %47, i32 noundef %48, ptr noundef %49, i32 noundef %50)
%52 = sub nsw i32 %46, %51
store i32 %52, ptr %8, align 4
%53 = load i32, ptr %3, align 4
%54 = load ptr, ptr %6, align 8
%55 = load i32, ptr %3, align 4
%56 = load ptr, ptr %4, align 8
%57 = load i32, ptr %2, align 4
%58 = call i32 @makeEqual(ptr noundef %54, i32 noundef %55, ptr noundef %56, i32 noundef %57)
%59 = sub nsw i32 %53, %58
store i32 %59, ptr %9, align 4
%60 = load i32, ptr %8, align 4
%61 = load i32, ptr %9, align 4
%62 = add nsw i32 %60, %61
%63 = call i32 @printf(ptr noundef @.str, i32 noundef %62)
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @makeEqual(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4mv__vd0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%11 = load i32, ptr %2, align 4
%12 = sext i32 %11 to i64
%13 = mul i64 %12, 1
%14 = trunc i64 %13 to i32
%15 = call i64 @malloc(i32 noundef %14)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %4, align 8
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = mul i64 %18, 1
%20 = trunc i64 %19 to i32
%21 = call i64 @malloc(i32 noundef %20)
%22 = inttoptr i64 %21 to ptr
store ptr %22, ptr %5, align 8
%23 = load ptr, ptr %4, align 8
%24 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %23)
%25 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3)
%26 = load ptr, ptr %5, align 8
%27 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %26)
store i32 0, ptr %7, align 4
%28 = load i32, ptr %7, align 4
%29 = load i32, ptr %3, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %.lr.ph, label %47
.lr.ph: ; preds = %0
br label %31
31: ; preds = %.lr.ph, %41
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %7, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = load i8, ptr %35, align 1
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %7, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
store i8 %36, ptr %40, align 1
br label %41
41: ; preds = %31
%42 = load i32, ptr %7, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %7, align 4
%44 = load i32, ptr %7, align 4
%45 = load i32, ptr %3, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %47
47: ; preds = %._crit_edge, %0
%48 = load i32, ptr %2, align 4
%49 = load ptr, ptr %4, align 8
%50 = load i32, ptr %2, align 4
%51 = load ptr, ptr %5, align 8
%52 = load i32, ptr %3, align 4
%53 = call i32 @makeEqual(ptr noundef %49, i32 noundef %50, ptr noundef %51, i32 noundef %52)
%54 = sub nsw i32 %48, %53
store i32 %54, ptr %8, align 4
%55 = load i32, ptr %3, align 4
%56 = load ptr, ptr %6, align 8
%57 = load i32, ptr %3, align 4
%58 = load ptr, ptr %4, align 8
%59 = load i32, ptr %2, align 4
%60 = call i32 @makeEqual(ptr noundef %56, i32 noundef %57, ptr noundef %58, i32 noundef %59)
%61 = sub nsw i32 %55, %60
store i32 %61, ptr %9, align 4
%62 = load i32, ptr %8, align 4
%63 = load i32, ptr %9, align 4
%64 = add nsw i32 %62, %63
%65 = call i32 @printf(ptr noundef @.str, i32 noundef %64)
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @makeEqual(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_x1rzrjd.c'
source_filename = "/tmp/tmp_x1rzrjd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_x1rzrjd.c"
target datalayout = "e-m:e-p270: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/tmpns3rpbaa.c'
source_filename = "/tmp/tmpns3rpbaa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@date_stamp.tt = internal global [32 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [3 x i8] c"%x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @date_stamp(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = call i32 @time(ptr noundef null)
store i32 %5, ptr %4, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call ptr @gmtime(ptr noundef %4)
store ptr %9, ptr %3, align 8
br label %12
10: ; preds = %1
%11 = call ptr @localtime(ptr noundef %4)
store ptr %11, ptr %3, align 8
br label %12
12: ; preds = %10, %8
%13 = load ptr, ptr %3, align 8
%14 = call i32 @strftime(ptr noundef @date_stamp.tt, i32 noundef 30, ptr noundef @.str, ptr noundef %13)
ret ptr @date_stamp.tt
}
declare i32 @time(ptr noundef) #1
declare ptr @gmtime(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpns3rpbaa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@date_stamp.tt = internal global [32 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [3 x i8] c"%x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @date_stamp(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = call i32 @time(ptr noundef null)
store i32 %5, ptr %4, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call ptr @gmtime(ptr noundef %4)
store ptr %9, ptr %3, align 8
br label %12
10: ; preds = %1
%11 = call ptr @localtime(ptr noundef %4)
store ptr %11, ptr %3, align 8
br label %12
12: ; preds = %10, %8
%13 = load ptr, ptr %3, align 8
%14 = call i32 @strftime(ptr noundef @date_stamp.tt, i32 noundef 30, ptr noundef @.str, ptr noundef %13)
ret ptr @date_stamp.tt
}
declare i32 @time(ptr noundef) #1
declare ptr @gmtime(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpisd6a3wq.c'
source_filename = "/tmp/tmpisd6a3wq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@IPC_RMID = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"shmctl\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @remove_shm_block(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @IPC_RMID, align 4
%5 = call i32 @shmctl(i32 noundef %3, i32 noundef %4, ptr noundef null)
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = call i32 @perror(ptr noundef @.str)
%9 = call i32 @exit(i32 noundef 1) #3
unreachable
10: ; preds = %1
ret void
}
declare i32 @shmctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpisd6a3wq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@IPC_RMID = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"shmctl\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @remove_shm_block(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @IPC_RMID, align 4
%5 = call i32 @shmctl(i32 noundef %3, i32 noundef %4, ptr noundef null)
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = call i32 @perror(ptr noundef @.str)
%9 = call i32 @exit(i32 noundef 1) #3
unreachable
10: ; preds = %1
ret void
}
declare i32 @shmctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxcf4wu6o.c'
source_filename = "/tmp/tmpxcf4wu6o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_CLOEXEC = dso_local global i32 0, align 4
@F_SETFD = dso_local global i32 0, align 4
@FD_CLOEXEC = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@F_GETFL = 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 @xaccept4(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%11 = load i32, ptr %5, align 4
%12 = load ptr, ptr %6, align 8
%13 = load ptr, ptr %7, align 8
%14 = call i32 @accept(i32 noundef %11, ptr noundef %12, ptr noundef %13)
store i32 %14, ptr %9, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp eq i32 %15, -1
br i1 %16, label %17, label %18
17: ; preds = %4
br label %18
18: ; preds = %17, %4
%19 = load i32, ptr %8, align 4
%20 = load i32, ptr @O_CLOEXEC, align 4
%21 = and i32 %19, %20
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %28
23: ; preds = %18
%24 = load i32, ptr %9, align 4
%25 = load i32, ptr @F_SETFD, align 4
%26 = load i32, ptr @FD_CLOEXEC, align 4
%27 = call i32 (i32, i32, ...) @fcntl(i32 noundef %24, i32 noundef %25, i32 noundef %26)
br label %28
28: ; preds = %23, %18
%29 = load i32, ptr %8, align 4
%30 = load i32, ptr @O_NONBLOCK, align 4
%31 = and i32 %29, %30
%32 = icmp ne i32 %31, 0
br i1 %32, label %33, label %43
33: ; preds = %28
%34 = load i32, ptr %9, align 4
%35 = load i32, ptr @F_GETFL, align 4
%36 = call i32 (i32, i32, ...) @fcntl(i32 noundef %34, i32 noundef %35)
store i32 %36, ptr %10, align 4
%37 = load i32, ptr %9, align 4
%38 = load i32, ptr @F_SETFL, align 4
%39 = load i32, ptr %10, align 4
%40 = load i32, ptr @O_NONBLOCK, align 4
%41 = or i32 %39, %40
%42 = call i32 (i32, i32, ...) @fcntl(i32 noundef %37, i32 noundef %38, i32 noundef %41)
br label %43
43: ; preds = %33, %28
%44 = load i32, ptr %9, align 4
ret i32 %44
}
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fcntl(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/tmpxcf4wu6o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_CLOEXEC = dso_local global i32 0, align 4
@F_SETFD = dso_local global i32 0, align 4
@FD_CLOEXEC = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@F_GETFL = 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 @xaccept4(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%11 = load i32, ptr %5, align 4
%12 = load ptr, ptr %6, align 8
%13 = load ptr, ptr %7, align 8
%14 = call i32 @accept(i32 noundef %11, ptr noundef %12, ptr noundef %13)
store i32 %14, ptr %9, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp eq i32 %15, -1
br i1 %16, label %17, label %18
17: ; preds = %4
br label %18
18: ; preds = %17, %4
%19 = load i32, ptr %8, align 4
%20 = load i32, ptr @O_CLOEXEC, align 4
%21 = and i32 %19, %20
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %28
23: ; preds = %18
%24 = load i32, ptr %9, align 4
%25 = load i32, ptr @F_SETFD, align 4
%26 = load i32, ptr @FD_CLOEXEC, align 4
%27 = call i32 (i32, i32, ...) @fcntl(i32 noundef %24, i32 noundef %25, i32 noundef %26)
br label %28
28: ; preds = %23, %18
%29 = load i32, ptr %8, align 4
%30 = load i32, ptr @O_NONBLOCK, align 4
%31 = and i32 %29, %30
%32 = icmp ne i32 %31, 0
br i1 %32, label %33, label %43
33: ; preds = %28
%34 = load i32, ptr %9, align 4
%35 = load i32, ptr @F_GETFL, align 4
%36 = call i32 (i32, i32, ...) @fcntl(i32 noundef %34, i32 noundef %35)
store i32 %36, ptr %10, align 4
%37 = load i32, ptr %9, align 4
%38 = load i32, ptr @F_SETFL, align 4
%39 = load i32, ptr %10, align 4
%40 = load i32, ptr @O_NONBLOCK, align 4
%41 = or i32 %39, %40
%42 = call i32 (i32, i32, ...) @fcntl(i32 noundef %37, i32 noundef %38, i32 noundef %41)
br label %43
43: ; preds = %33, %28
%44 = load i32, ptr %9, align 4
ret i32 %44
}
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fcntl(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/tmpyjpgw1qz.c'
source_filename = "/tmp/tmpyjpgw1qz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"not_default\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @mu_badv_mesh_n_nodes(ptr noundef @.str.1, ptr noundef null)
%2 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @mu_badv_mesh_n_nodes(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/tmpyjpgw1qz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"not_default\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @mu_badv_mesh_n_nodes(ptr noundef @.str.1, ptr noundef null)
%2 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @mu_badv_mesh_n_nodes(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/tmp9m1lxr5b.c'
source_filename = "/tmp/tmp9m1lxr5b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @water_back() #0 {
%1 = call i32 @gpio_set(i32 noundef 20, i32 noundef 0)
%2 = call i32 @gpio_set(i32 noundef 21, i32 noundef 1)
ret void
}
declare i32 @gpio_set(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/tmp9m1lxr5b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @water_back() #0 {
%1 = call i32 @gpio_set(i32 noundef 20, i32 noundef 0)
%2 = call i32 @gpio_set(i32 noundef 21, i32 noundef 1)
ret void
}
declare i32 @gpio_set(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/tmpio53gwpl.c'
source_filename = "/tmp/tmpio53gwpl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printStr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %3
3: ; preds = %8, %1
%4 = load ptr, ptr %2, align 8
%5 = load i8, ptr %4, align 1
%6 = sext i8 %5 to i32
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %14
8: ; preds = %3
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i8, ptr %9, i32 1
store ptr %10, ptr %2, align 8
%11 = load i8, ptr %9, align 1
%12 = sext i8 %11 to i32
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %12)
br label %3, !llvm.loop !6
14: ; preds = %3
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpio53gwpl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printStr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i8, ptr %3, align 1
%5 = sext i8 %4 to i32
%6 = icmp ne i32 %5, 0
br i1 %6, label %.lr.ph, label %17
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %7
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds i8, ptr %8, i32 1
store ptr %9, ptr %2, align 8
%10 = load i8, ptr %8, align 1
%11 = sext i8 %10 to i32
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %11)
%13 = load ptr, ptr %2, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %17
17: ; preds = %._crit_edge, %1
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjx9wqpgu.c'
source_filename = "/tmp/tmpjx9wqpgu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @call_bad_if_alias_Good() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = load i32, ptr %1, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @bad_if_alias(i32 noundef %3, i32 noundef %4)
ret void
}
declare i32 @bad_if_alias(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/tmpjx9wqpgu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @call_bad_if_alias_Good() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = load i32, ptr %1, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @bad_if_alias(i32 noundef %3, i32 noundef %4)
ret void
}
declare i32 @bad_if_alias(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/tmpcx__su79.c'
source_filename = "/tmp/tmpcx__su79.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcx__su79.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcqiuha6y.c'
source_filename = "/tmp/tmpcqiuha6y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@errno = dso_local global i64 0, align 8
@_PC_PATH_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @path_max(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %7, label %6
6: ; preds = %1
store ptr @.str, ptr %2, align 8
br label %7
7: ; preds = %6, %1
store i64 0, ptr @errno, align 8
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr @_PC_PATH_MAX, align 4
%10 = call i64 @pathconf(ptr noundef %8, i32 noundef %9)
store i64 %10, ptr %3, align 8
%11 = load i64, ptr %3, align 8
%12 = icmp slt i64 %11, 0
br i1 %12, label %13, label %19
13: ; preds = %7
%14 = load i64, ptr @errno, align 8
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %13
store i64 256, ptr %3, align 8
br label %18
17: ; preds = %13
store i64 1024, ptr %3, align 8
br label %18
18: ; preds = %17, %16
br label %24
19: ; preds = %7
%20 = load i64, ptr %3, align 8
%21 = icmp slt i64 %20, 256
br i1 %21, label %22, label %23
22: ; preds = %19
store i64 256, ptr %3, align 8
br label %23
23: ; preds = %22, %19
br label %24
24: ; preds = %23, %18
%25 = load i64, ptr %3, align 8
%26 = trunc i64 %25 to i32
ret i32 %26
}
declare i64 @pathconf(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/tmpcqiuha6y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@errno = dso_local global i64 0, align 8
@_PC_PATH_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @path_max(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %7, label %6
6: ; preds = %1
store ptr @.str, ptr %2, align 8
br label %7
7: ; preds = %6, %1
store i64 0, ptr @errno, align 8
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr @_PC_PATH_MAX, align 4
%10 = call i64 @pathconf(ptr noundef %8, i32 noundef %9)
store i64 %10, ptr %3, align 8
%11 = load i64, ptr %3, align 8
%12 = icmp slt i64 %11, 0
br i1 %12, label %13, label %19
13: ; preds = %7
%14 = load i64, ptr @errno, align 8
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %13
store i64 256, ptr %3, align 8
br label %18
17: ; preds = %13
store i64 1024, ptr %3, align 8
br label %18
18: ; preds = %17, %16
br label %24
19: ; preds = %7
%20 = load i64, ptr %3, align 8
%21 = icmp slt i64 %20, 256
br i1 %21, label %22, label %23
22: ; preds = %19
store i64 256, ptr %3, align 8
br label %23
23: ; preds = %22, %19
br label %24
24: ; preds = %23, %18
%25 = load i64, ptr %3, align 8
%26 = trunc i64 %25 to i32
ret i32 %26
}
declare i64 @pathconf(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/tmpl2ju891j.c'
source_filename = "/tmp/tmpl2ju891j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Nanosleep %-31s \00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"[UNSUPPORTED]\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"[FAILED]\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"[OK]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
br label %9
9: ; preds = %49, %2
%10 = load i32, ptr %7, align 4
%11 = icmp slt i32 %10, 12
br i1 %11, label %12, label %52
12: ; preds = %9
%13 = load i32, ptr %7, align 4
%14 = icmp eq i32 %13, 2
br i1 %14, label %21, label %15
15: ; preds = %12
%16 = load i32, ptr %7, align 4
%17 = icmp eq i32 %16, 3
br i1 %17, label %21, label %18
18: ; preds = %15
%19 = load i32, ptr %7, align 4
%20 = icmp eq i32 %19, 10
br i1 %20, label %21, label %22
21: ; preds = %18, %15, %12
br label %49
22: ; preds = %18
%23 = load i32, ptr %7, align 4
%24 = call ptr @clockstring(i32 noundef %23)
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %24)
store i64 10, ptr %6, align 8
br label %26
26: ; preds = %43, %22
%27 = load i64, ptr %6, align 8
%28 = icmp ule i64 %27, 10000000000
br i1 %28, label %29, label %46
29: ; preds = %26
%30 = load i32, ptr %7, align 4
%31 = load i64, ptr %6, align 8
%32 = call i32 @nanosleep_test(i32 noundef %30, i64 noundef %31)
store i32 %32, ptr %8, align 4
%33 = load i32, ptr %8, align 4
%34 = icmp eq i32 %33, 61455
br i1 %34, label %35, label %37
35: ; preds = %29
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %48
37: ; preds = %29
%38 = load i32, ptr %8, align 4
%39 = icmp slt i32 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %37
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%42 = call i32 (...) @ksft_exit_fail()
store i32 %42, ptr %3, align 4
br label %54
43: ; preds = %37
%44 = load i64, ptr %6, align 8
%45 = mul nsw i64 %44, 100
store i64 %45, ptr %6, align 8
br label %26, !llvm.loop !6
46: ; preds = %26
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %48
48: ; preds = %46, %35
store i32 0, ptr %8, align 4
br label %49
49: ; preds = %48, %21
%50 = load i32, ptr %7, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %7, align 4
br label %9, !llvm.loop !8
52: ; preds = %9
%53 = call i32 (...) @ksft_exit_pass()
store i32 %53, ptr %3, align 4
br label %54
54: ; preds = %52, %40
%55 = load i32, ptr %3, align 4
ret i32 %55
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @clockstring(i32 noundef) #1
declare i32 @nanosleep_test(i32 noundef, i64 noundef) #1
declare i32 @ksft_exit_fail(...) #1
declare i32 @ksft_exit_pass(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpl2ju891j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Nanosleep %-31s \00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"[UNSUPPORTED]\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"[FAILED]\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"[OK]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = icmp slt i32 %9, 12
br i1 %10, label %.lr.ph2, label %54
.lr.ph2: ; preds = %2
br label %11
11: ; preds = %.lr.ph2, %49
%12 = load i32, ptr %7, align 4
%13 = icmp eq i32 %12, 2
br i1 %13, label %20, label %14
14: ; preds = %11
%15 = load i32, ptr %7, align 4
%16 = icmp eq i32 %15, 3
br i1 %16, label %20, label %17
17: ; preds = %14
%18 = load i32, ptr %7, align 4
%19 = icmp eq i32 %18, 10
br i1 %19, label %20, label %21
20: ; preds = %17, %14, %11
br label %49
21: ; preds = %17
%22 = load i32, ptr %7, align 4
%23 = call ptr @clockstring(i32 noundef %22)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %23)
store i64 10, ptr %6, align 8
%25 = load i64, ptr %6, align 8
%26 = icmp ule i64 %25, 10000000000
br i1 %26, label %.lr.ph, label %46
.lr.ph: ; preds = %21
br label %27
27: ; preds = %.lr.ph, %41
%28 = load i32, ptr %7, align 4
%29 = load i64, ptr %6, align 8
%30 = call i32 @nanosleep_test(i32 noundef %28, i64 noundef %29)
store i32 %30, ptr %8, align 4
%31 = load i32, ptr %8, align 4
%32 = icmp eq i32 %31, 61455
br i1 %32, label %33, label %35
33: ; preds = %27
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %48
35: ; preds = %27
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %35
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%40 = call i32 (...) @ksft_exit_fail()
store i32 %40, ptr %3, align 4
br label %56
41: ; preds = %35
%42 = load i64, ptr %6, align 8
%43 = mul nsw i64 %42, 100
store i64 %43, ptr %6, align 8
%44 = load i64, ptr %6, align 8
%45 = icmp ule i64 %44, 10000000000
br i1 %45, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %46
46: ; preds = %._crit_edge, %21
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %48
48: ; preds = %46, %33
store i32 0, ptr %8, align 4
br label %49
49: ; preds = %48, %20
%50 = load i32, ptr %7, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %7, align 4
%52 = load i32, ptr %7, align 4
%53 = icmp slt i32 %52, 12
br i1 %53, label %11, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %49
br label %54
54: ; preds = %._crit_edge3, %2
%55 = call i32 (...) @ksft_exit_pass()
store i32 %55, ptr %3, align 4
br label %56
56: ; preds = %54, %38
%57 = load i32, ptr %3, align 4
ret i32 %57
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @clockstring(i32 noundef) #1
declare i32 @nanosleep_test(i32 noundef, i64 noundef) #1
declare i32 @ksft_exit_fail(...) #1
declare i32 @ksft_exit_pass(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpuonfbsmc.c'
source_filename = "/tmp/tmpuonfbsmc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"Should be 7, 6, 5: %g, %g, %g.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca ptr, align 8
%2 = call ptr (...) @double_stack_new()
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = call i32 @double_stack_push(ptr noundef %3, double noundef 5.000000e+00)
%5 = load ptr, ptr %1, align 8
%6 = call i32 @double_stack_push(ptr noundef %5, double noundef 6.000000e+00)
%7 = load ptr, ptr %1, align 8
%8 = call i32 @double_stack_push(ptr noundef %7, double noundef 7.000000e+00)
%9 = load ptr, ptr %1, align 8
%10 = call double @double_stack_pop(ptr noundef %9)
%11 = load ptr, ptr %1, align 8
%12 = call double @double_stack_pop(ptr noundef %11)
%13 = load ptr, ptr %1, align 8
%14 = call double @double_stack_pop(ptr noundef %13)
%15 = call i32 @printf(ptr noundef @.str, double noundef %10, double noundef %12, double noundef %14)
ret i32 0
}
declare ptr @double_stack_new(...) #1
declare i32 @double_stack_push(ptr noundef, double noundef) #1
declare i32 @printf(ptr noundef, double noundef, double noundef, double noundef) #1
declare double @double_stack_pop(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/tmpuonfbsmc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"Should be 7, 6, 5: %g, %g, %g.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca ptr, align 8
%2 = call ptr (...) @double_stack_new()
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = call i32 @double_stack_push(ptr noundef %3, double noundef 5.000000e+00)
%5 = load ptr, ptr %1, align 8
%6 = call i32 @double_stack_push(ptr noundef %5, double noundef 6.000000e+00)
%7 = load ptr, ptr %1, align 8
%8 = call i32 @double_stack_push(ptr noundef %7, double noundef 7.000000e+00)
%9 = load ptr, ptr %1, align 8
%10 = call double @double_stack_pop(ptr noundef %9)
%11 = load ptr, ptr %1, align 8
%12 = call double @double_stack_pop(ptr noundef %11)
%13 = load ptr, ptr %1, align 8
%14 = call double @double_stack_pop(ptr noundef %13)
%15 = call i32 @printf(ptr noundef @.str, double noundef %10, double noundef %12, double noundef %14)
ret i32 0
}
declare ptr @double_stack_new(...) #1
declare i32 @double_stack_push(ptr noundef, double noundef) #1
declare i32 @printf(ptr noundef, double noundef, double noundef, double noundef) #1
declare double @double_stack_pop(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_zc9e3f_.c'
source_filename = "/tmp/tmp_zc9e3f_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Can not read file %s !!!\00", align 1
@.str.2 = private unnamed_addr constant [180 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/nyxcalamity/classwork/refs/heads/master/tum/computational-fluid-dynamics/ws2/src/helper.c\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"Error Wrong Magic field!\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"Image size: %d x %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.7 = private unnamed_addr constant [22 x i8] c"Image initialised...\0A\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [12 x i8] c"read failed\00", align 1
@.str.10 = private unnamed_addr constant [11 x i8] c"%d,%d: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @read_pgm(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca [1024 x i8], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca [80 x i8], align 16
%12 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
store ptr null, ptr %10, align 8
%13 = load ptr, ptr %2, align 8
%14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str)
store ptr %14, ptr %3, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %22
16: ; preds = %1
%17 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%18 = load ptr, ptr %2, align 8
%19 = call i32 @sprintf(ptr noundef %17, ptr noundef @.str.1, ptr noundef %18)
%20 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%21 = call i32 @errhandler(i32 noundef 439, ptr noundef @.str.2, ptr noundef %20)
br label %22
22: ; preds = %16, %1
%23 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%24 = load ptr, ptr %3, align 8
%25 = call i32 @fread(ptr noundef %23, i32 noundef 1, i32 noundef 3, ptr noundef %24)
%26 = icmp ne i32 %25, 3
br i1 %26, label %27, label %31
27: ; preds = %22
%28 = load ptr, ptr %3, align 8
%29 = call i32 @fclose(ptr noundef %28)
%30 = call i32 @errhandler(i32 noundef 446, ptr noundef @.str.2, ptr noundef @.str.3)
br label %31
31: ; preds = %27, %22
br label %32
32: ; preds = %39, %31
%33 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%34 = load ptr, ptr %3, align 8
%35 = call i64 @fgets(ptr noundef %33, i32 noundef 1024, ptr noundef %34)
%36 = icmp ne i64 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %32
br label %38
38: ; preds = %37, %32
br label %39
39: ; preds = %38
%40 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%41 = load i8, ptr %40, align 16
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 35
br i1 %43, label %32, label %44, !llvm.loop !6
44: ; preds = %39
%45 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%46 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %45, ptr noundef @.str.4, ptr noundef %6, ptr noundef %7)
%47 = load i32, ptr %6, align 4
%48 = load i32, ptr %7, align 4
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %47, i32 noundef %48)
%50 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%51 = load ptr, ptr %3, align 8
%52 = call i64 @fgets(ptr noundef %50, i32 noundef 1024, ptr noundef %51)
%53 = icmp ne i64 %52, 0
br i1 %53, label %54, label %55
54: ; preds = %44
br label %55
55: ; preds = %54, %44
%56 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%57 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %56, ptr noundef @.str.6, ptr noundef %5)
%58 = load i32, ptr %6, align 4
%59 = add nsw i32 %58, 2
%60 = load i32, ptr %7, align 4
%61 = add nsw i32 %60, 2
%62 = call ptr @imatrix(i32 noundef 0, i32 noundef %59, i32 noundef 0, i32 noundef %61)
store ptr %62, ptr %10, align 8
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
store i32 1, ptr %9, align 4
br label %64
64: ; preds = %113, %55
%65 = load i32, ptr %9, align 4
%66 = load i32, ptr %7, align 4
%67 = add nsw i32 %66, 1
%68 = icmp slt i32 %65, %67
br i1 %68, label %69, label %116
69: ; preds = %64
store i32 1, ptr %8, align 4
br label %70
70: ; preds = %109, %69
%71 = load i32, ptr %8, align 4
%72 = load i32, ptr %6, align 4
%73 = add nsw i32 %72, 1
%74 = icmp slt i32 %71, %73
br i1 %74, label %75, label %112
75: ; preds = %70
%76 = load ptr, ptr %3, align 8
%77 = call i64 @fscanf(ptr noundef %76, ptr noundef @.str.8, ptr noundef %12)
%78 = icmp ne i64 %77, 0
br i1 %78, label %79, label %80
79: ; preds = %75
br label %80
80: ; preds = %79, %75
%81 = load i32, ptr %12, align 4
%82 = load i32, ptr @EOF, align 4
%83 = icmp eq i32 %81, %82
br i1 %83, label %84, label %88
84: ; preds = %80
%85 = load ptr, ptr %3, align 8
%86 = call i32 @fclose(ptr noundef %85)
%87 = call i32 @errhandler(i32 noundef 478, ptr noundef @.str.2, ptr noundef @.str.9)
br label %108
88: ; preds = %80
%89 = load i32, ptr %12, align 4
%90 = load ptr, ptr %10, align 8
%91 = load i32, ptr %8, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds ptr, ptr %90, i64 %92
%94 = load ptr, ptr %93, align 8
%95 = load i32, ptr %7, align 4
%96 = add nsw i32 %95, 1
%97 = load i32, ptr %9, align 4
%98 = sub nsw i32 %96, %97
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i32, ptr %94, i64 %99
store i32 %89, ptr %100, align 4
%101 = load i32, ptr %8, align 4
%102 = load i32, ptr %7, align 4
%103 = add nsw i32 %102, 1
%104 = load i32, ptr %9, align 4
%105 = sub nsw i32 %103, %104
%106 = load i32, ptr %12, align 4
%107 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %101, i32 noundef %105, i32 noundef %106)
br label %108
108: ; preds = %88, %84
br label %109
109: ; preds = %108
%110 = load i32, ptr %8, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %8, align 4
br label %70, !llvm.loop !8
112: ; preds = %70
br label %113
113: ; preds = %112
%114 = load i32, ptr %9, align 4
%115 = add nsw i32 %114, 1
store i32 %115, ptr %9, align 4
br label %64, !llvm.loop !9
116: ; preds = %64
store i32 0, ptr %8, align 4
br label %117
117: ; preds = %129, %116
%118 = load i32, ptr %8, align 4
%119 = load i32, ptr %6, align 4
%120 = add nsw i32 %119, 2
%121 = icmp slt i32 %118, %120
br i1 %121, label %122, label %132
122: ; preds = %117
%123 = load ptr, ptr %10, align 8
%124 = load i32, ptr %8, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds ptr, ptr %123, i64 %125
%127 = load ptr, ptr %126, align 8
%128 = getelementptr inbounds i32, ptr %127, i64 0
store i32 0, ptr %128, align 4
br label %129
129: ; preds = %122
%130 = load i32, ptr %8, align 4
%131 = add nsw i32 %130, 1
store i32 %131, ptr %8, align 4
br label %117, !llvm.loop !10
132: ; preds = %117
store i32 0, ptr %8, align 4
br label %133
133: ; preds = %148, %132
%134 = load i32, ptr %8, align 4
%135 = load i32, ptr %6, align 4
%136 = add nsw i32 %135, 2
%137 = icmp slt i32 %134, %136
br i1 %137, label %138, label %151
138: ; preds = %133
%139 = load ptr, ptr %10, align 8
%140 = load i32, ptr %8, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds ptr, ptr %139, i64 %141
%143 = load ptr, ptr %142, align 8
%144 = load i32, ptr %7, align 4
%145 = add nsw i32 %144, 1
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds i32, ptr %143, i64 %146
store i32 0, ptr %147, align 4
br label %148
148: ; preds = %138
%149 = load i32, ptr %8, align 4
%150 = add nsw i32 %149, 1
store i32 %150, ptr %8, align 4
br label %133, !llvm.loop !11
151: ; preds = %133
store i32 0, ptr %9, align 4
br label %152
152: ; preds = %173, %151
%153 = load i32, ptr %9, align 4
%154 = load i32, ptr %7, align 4
%155 = add nsw i32 %154, 2
%156 = icmp slt i32 %153, %155
br i1 %156, label %157, label %176
157: ; preds = %152
%158 = load ptr, ptr %10, align 8
%159 = getelementptr inbounds ptr, ptr %158, i64 0
%160 = load ptr, ptr %159, align 8
%161 = load i32, ptr %9, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds i32, ptr %160, i64 %162
store i32 0, ptr %163, align 4
%164 = load ptr, ptr %10, align 8
%165 = load i32, ptr %6, align 4
%166 = add nsw i32 %165, 1
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds ptr, ptr %164, i64 %167
%169 = load ptr, ptr %168, align 8
%170 = load i32, ptr %9, align 4
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds i32, ptr %169, i64 %171
store i32 0, ptr %172, align 4
br label %173
173: ; preds = %157
%174 = load i32, ptr %9, align 4
%175 = add nsw i32 %174, 1
store i32 %175, ptr %9, align 4
br label %152, !llvm.loop !12
176: ; preds = %152
%177 = load ptr, ptr %3, align 8
%178 = call i32 @fclose(ptr noundef %177)
%179 = load ptr, ptr %10, align 8
ret ptr %179
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @errhandler(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @imatrix(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!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/tmp_zc9e3f_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Can not read file %s !!!\00", align 1
@.str.2 = private unnamed_addr constant [180 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/nyxcalamity/classwork/refs/heads/master/tum/computational-fluid-dynamics/ws2/src/helper.c\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"Error Wrong Magic field!\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"Image size: %d x %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.7 = private unnamed_addr constant [22 x i8] c"Image initialised...\0A\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [12 x i8] c"read failed\00", align 1
@.str.10 = private unnamed_addr constant [11 x i8] c"%d,%d: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @read_pgm(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca [1024 x i8], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca [80 x i8], align 16
%12 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
store ptr null, ptr %10, align 8
%13 = load ptr, ptr %2, align 8
%14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str)
store ptr %14, ptr %3, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %22
16: ; preds = %1
%17 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%18 = load ptr, ptr %2, align 8
%19 = call i32 @sprintf(ptr noundef %17, ptr noundef @.str.1, ptr noundef %18)
%20 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%21 = call i32 @errhandler(i32 noundef 439, ptr noundef @.str.2, ptr noundef %20)
br label %22
22: ; preds = %16, %1
%23 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%24 = load ptr, ptr %3, align 8
%25 = call i32 @fread(ptr noundef %23, i32 noundef 1, i32 noundef 3, ptr noundef %24)
%26 = icmp ne i32 %25, 3
br i1 %26, label %27, label %31
27: ; preds = %22
%28 = load ptr, ptr %3, align 8
%29 = call i32 @fclose(ptr noundef %28)
%30 = call i32 @errhandler(i32 noundef 446, ptr noundef @.str.2, ptr noundef @.str.3)
br label %31
31: ; preds = %27, %22
%32 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
br label %33
33: ; preds = %40, %31
%34 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%35 = load ptr, ptr %3, align 8
%36 = call i64 @fgets(ptr noundef %34, i32 noundef 1024, ptr noundef %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %33
br label %39
39: ; preds = %38, %33
br label %40
40: ; preds = %39
%41 = load i8, ptr %32, align 16
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 35
br i1 %43, label %33, label %44, !llvm.loop !6
44: ; preds = %40
%45 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%46 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %45, ptr noundef @.str.4, ptr noundef %6, ptr noundef %7)
%47 = load i32, ptr %6, align 4
%48 = load i32, ptr %7, align 4
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %47, i32 noundef %48)
%50 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%51 = load ptr, ptr %3, align 8
%52 = call i64 @fgets(ptr noundef %50, i32 noundef 1024, ptr noundef %51)
%53 = icmp ne i64 %52, 0
br i1 %53, label %54, label %55
54: ; preds = %44
br label %55
55: ; preds = %54, %44
%56 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%57 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %56, ptr noundef @.str.6, ptr noundef %5)
%58 = load i32, ptr %6, align 4
%59 = add nsw i32 %58, 2
%60 = load i32, ptr %7, align 4
%61 = add nsw i32 %60, 2
%62 = call ptr @imatrix(i32 noundef 0, i32 noundef %59, i32 noundef 0, i32 noundef %61)
store ptr %62, ptr %10, align 8
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
store i32 1, ptr %9, align 4
%64 = load i32, ptr %9, align 4
%65 = load i32, ptr %7, align 4
%66 = add nsw i32 %65, 1
%67 = icmp slt i32 %64, %66
br i1 %67, label %.lr.ph2, label %122
.lr.ph2: ; preds = %55
br label %68
68: ; preds = %.lr.ph2, %115
store i32 1, ptr %8, align 4
%69 = load i32, ptr %8, align 4
%70 = load i32, ptr %6, align 4
%71 = add nsw i32 %70, 1
%72 = icmp slt i32 %69, %71
br i1 %72, label %.lr.ph, label %114
.lr.ph: ; preds = %68
br label %73
73: ; preds = %.lr.ph, %107
%74 = load ptr, ptr %3, align 8
%75 = call i64 @fscanf(ptr noundef %74, ptr noundef @.str.8, ptr noundef %12)
%76 = icmp ne i64 %75, 0
br i1 %76, label %77, label %78
77: ; preds = %73
br label %78
78: ; preds = %77, %73
%79 = load i32, ptr %12, align 4
%80 = load i32, ptr @EOF, align 4
%81 = icmp eq i32 %79, %80
br i1 %81, label %82, label %86
82: ; preds = %78
%83 = load ptr, ptr %3, align 8
%84 = call i32 @fclose(ptr noundef %83)
%85 = call i32 @errhandler(i32 noundef 478, ptr noundef @.str.2, ptr noundef @.str.9)
br label %106
86: ; preds = %78
%87 = load i32, ptr %12, align 4
%88 = load ptr, ptr %10, align 8
%89 = load i32, ptr %8, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds ptr, ptr %88, i64 %90
%92 = load ptr, ptr %91, align 8
%93 = load i32, ptr %7, align 4
%94 = add nsw i32 %93, 1
%95 = load i32, ptr %9, align 4
%96 = sub nsw i32 %94, %95
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds i32, ptr %92, i64 %97
store i32 %87, ptr %98, align 4
%99 = load i32, ptr %8, align 4
%100 = load i32, ptr %7, align 4
%101 = add nsw i32 %100, 1
%102 = load i32, ptr %9, align 4
%103 = sub nsw i32 %101, %102
%104 = load i32, ptr %12, align 4
%105 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %99, i32 noundef %103, i32 noundef %104)
br label %106
106: ; preds = %86, %82
br label %107
107: ; preds = %106
%108 = load i32, ptr %8, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %8, align 4
%110 = load i32, ptr %8, align 4
%111 = load i32, ptr %6, align 4
%112 = add nsw i32 %111, 1
%113 = icmp slt i32 %110, %112
br i1 %113, label %73, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %107
br label %114
114: ; preds = %._crit_edge, %68
br label %115
115: ; preds = %114
%116 = load i32, ptr %9, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %9, align 4
%118 = load i32, ptr %9, align 4
%119 = load i32, ptr %7, align 4
%120 = add nsw i32 %119, 1
%121 = icmp slt i32 %118, %120
br i1 %121, label %68, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %115
br label %122
122: ; preds = %._crit_edge3, %55
store i32 0, ptr %8, align 4
%123 = load i32, ptr %8, align 4
%124 = load i32, ptr %6, align 4
%125 = add nsw i32 %124, 2
%126 = icmp slt i32 %123, %125
br i1 %126, label %.lr.ph5, label %141
.lr.ph5: ; preds = %122
br label %127
127: ; preds = %.lr.ph5, %134
%128 = load ptr, ptr %10, align 8
%129 = load i32, ptr %8, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds ptr, ptr %128, i64 %130
%132 = load ptr, ptr %131, align 8
%133 = getelementptr inbounds i32, ptr %132, i64 0
store i32 0, ptr %133, align 4
br label %134
134: ; preds = %127
%135 = load i32, ptr %8, align 4
%136 = add nsw i32 %135, 1
store i32 %136, ptr %8, align 4
%137 = load i32, ptr %8, align 4
%138 = load i32, ptr %6, align 4
%139 = add nsw i32 %138, 2
%140 = icmp slt i32 %137, %139
br i1 %140, label %127, label %._crit_edge6, !llvm.loop !10
._crit_edge6: ; preds = %134
br label %141
141: ; preds = %._crit_edge6, %122
store i32 0, ptr %8, align 4
%142 = load i32, ptr %8, align 4
%143 = load i32, ptr %6, align 4
%144 = add nsw i32 %143, 2
%145 = icmp slt i32 %142, %144
br i1 %145, label %.lr.ph8, label %163
.lr.ph8: ; preds = %141
br label %146
146: ; preds = %.lr.ph8, %156
%147 = load ptr, ptr %10, align 8
%148 = load i32, ptr %8, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds ptr, ptr %147, i64 %149
%151 = load ptr, ptr %150, align 8
%152 = load i32, ptr %7, align 4
%153 = add nsw i32 %152, 1
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds i32, ptr %151, i64 %154
store i32 0, ptr %155, align 4
br label %156
156: ; preds = %146
%157 = load i32, ptr %8, align 4
%158 = add nsw i32 %157, 1
store i32 %158, ptr %8, align 4
%159 = load i32, ptr %8, align 4
%160 = load i32, ptr %6, align 4
%161 = add nsw i32 %160, 2
%162 = icmp slt i32 %159, %161
br i1 %162, label %146, label %._crit_edge9, !llvm.loop !11
._crit_edge9: ; preds = %156
br label %163
163: ; preds = %._crit_edge9, %141
store i32 0, ptr %9, align 4
%164 = load i32, ptr %9, align 4
%165 = load i32, ptr %7, align 4
%166 = add nsw i32 %165, 2
%167 = icmp slt i32 %164, %166
br i1 %167, label %.lr.ph11, label %191
.lr.ph11: ; preds = %163
br label %168
168: ; preds = %.lr.ph11, %184
%169 = load ptr, ptr %10, align 8
%170 = getelementptr inbounds ptr, ptr %169, i64 0
%171 = load ptr, ptr %170, align 8
%172 = load i32, ptr %9, align 4
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds i32, ptr %171, i64 %173
store i32 0, ptr %174, align 4
%175 = load ptr, ptr %10, align 8
%176 = load i32, ptr %6, align 4
%177 = add nsw i32 %176, 1
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds ptr, ptr %175, i64 %178
%180 = load ptr, ptr %179, align 8
%181 = load i32, ptr %9, align 4
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds i32, ptr %180, i64 %182
store i32 0, ptr %183, align 4
br label %184
184: ; preds = %168
%185 = load i32, ptr %9, align 4
%186 = add nsw i32 %185, 1
store i32 %186, ptr %9, align 4
%187 = load i32, ptr %9, align 4
%188 = load i32, ptr %7, align 4
%189 = add nsw i32 %188, 2
%190 = icmp slt i32 %187, %189
br i1 %190, label %168, label %._crit_edge12, !llvm.loop !12
._crit_edge12: ; preds = %184
br label %191
191: ; preds = %._crit_edge12, %163
%192 = load ptr, ptr %3, align 8
%193 = call i32 @fclose(ptr noundef %192)
%194 = load ptr, ptr %10, align 8
ret ptr %194
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @errhandler(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @imatrix(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmpyjdptc30.c'
source_filename = "/tmp/tmpyjdptc30.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32 }
@.str = private unnamed_addr constant [26 x i8] c"Error getting time of day\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @current_http_date(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca %struct.timeval, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%8 = call i32 @gettimeofday(ptr noundef %6, ptr noundef null)
store i32 %8, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @error(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %18
13: ; preds = %2
%14 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0
%15 = load ptr, ptr %4, align 8
%16 = load i64, ptr %5, align 8
%17 = call i32 @format_http_date(ptr noundef %14, ptr noundef %15, i64 noundef %16)
store i32 0, ptr %3, align 4
br label %18
18: ; preds = %13, %11
%19 = load i32, ptr %3, align 4
ret i32 %19
}
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @error(ptr noundef) #1
declare i32 @format_http_date(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/tmpyjdptc30.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32 }
@.str = private unnamed_addr constant [26 x i8] c"Error getting time of day\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @current_http_date(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca %struct.timeval, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%8 = call i32 @gettimeofday(ptr noundef %6, ptr noundef null)
store i32 %8, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @error(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %18
13: ; preds = %2
%14 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0
%15 = load ptr, ptr %4, align 8
%16 = load i64, ptr %5, align 8
%17 = call i32 @format_http_date(ptr noundef %14, ptr noundef %15, i64 noundef %16)
store i32 0, ptr %3, align 4
br label %18
18: ; preds = %13, %11
%19 = load i32, ptr %3, align 4
ret i32 %19
}
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @error(ptr noundef) #1
declare i32 @format_http_date(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/tmpjh7f_x3t.c'
source_filename = "/tmp/tmpjh7f_x3t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @math_csch(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call i32 @sinh(double noundef %3)
%5 = sdiv i32 1, %4
%6 = sitofp i32 %5 to double
ret double %6
}
declare i32 @sinh(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/tmpjh7f_x3t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @math_csch(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call i32 @sinh(double noundef %3)
%5 = sdiv i32 1, %4
%6 = sitofp i32 %5 to double
ret double %6
}
declare i32 @sinh(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/tmpcjdefd0r.c'
source_filename = "/tmp/tmpcjdefd0r.c"
target datalayout = "e-m:e-p270: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.addrinfo = type { i32, i32, i32, i32, i32, ptr }
@AF_UNSPEC = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"\0Atcpconnect: getaddrinfo failed\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"\0Atcpconnect: socket failed\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"\0Atcpconnect: connect failed\00", align 1
@.str.3 = private unnamed_addr constant [58 x i8] c"\0Atcpconnect: could not get a valid socket file descriptof\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tcp_connect(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca %struct.addrinfo, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%11 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 32)
%12 = load i32, ptr @AF_UNSPEC, align 4
%13 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 4
store i32 %12, ptr %13, align 8
%14 = load i32, ptr @SOCK_STREAM, align 4
%15 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 3
store i32 %14, ptr %15, align 4
%16 = load ptr, ptr %4, align 8
%17 = load ptr, ptr %5, align 8
%18 = call i32 @getaddrinfo(ptr noundef %16, ptr noundef %17, ptr noundef %8, ptr noundef %9)
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %25
21: ; preds = %2
%22 = call i32 @printf(ptr noundef @.str)
%23 = load ptr, ptr %9, align 8
%24 = call i32 @freeaddrinfo(ptr noundef %23)
store i32 -1, ptr %3, align 4
br label %76
25: ; preds = %2
%26 = load ptr, ptr %9, align 8
store ptr %26, ptr %10, align 8
br label %27
27: ; preds = %61, %25
%28 = load ptr, ptr %10, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %30, label %65
30: ; preds = %27
%31 = load ptr, ptr %10, align 8
%32 = getelementptr inbounds %struct.addrinfo, ptr %31, i32 0, i32 4
%33 = load i32, ptr %32, align 8
%34 = load ptr, ptr %10, align 8
%35 = getelementptr inbounds %struct.addrinfo, ptr %34, i32 0, i32 3
%36 = load i32, ptr %35, align 4
%37 = load ptr, ptr %10, align 8
%38 = getelementptr inbounds %struct.addrinfo, ptr %37, i32 0, i32 2
%39 = load i32, ptr %38, align 8
%40 = call i32 @socket(i32 noundef %33, i32 noundef %36, i32 noundef %39)
store i32 %40, ptr %7, align 4
%41 = load i32, ptr %7, align 4
%42 = icmp eq i32 %41, -1
br i1 %42, label %43, label %45
43: ; preds = %30
%44 = call i32 @printf(ptr noundef @.str.1)
br label %61
45: ; preds = %30
%46 = load i32, ptr %7, align 4
%47 = load ptr, ptr %10, align 8
%48 = getelementptr inbounds %struct.addrinfo, ptr %47, i32 0, i32 1
%49 = load i32, ptr %48, align 4
%50 = load ptr, ptr %10, align 8
%51 = getelementptr inbounds %struct.addrinfo, ptr %50, i32 0, i32 0
%52 = load i32, ptr %51, align 8
%53 = call i32 @connect(i32 noundef %46, i32 noundef %49, i32 noundef %52)
store i32 %53, ptr %6, align 4
%54 = load i32, ptr %6, align 4
%55 = icmp eq i32 %54, -1
br i1 %55, label %56, label %60
56: ; preds = %45
%57 = load i32, ptr %7, align 4
%58 = call i32 @close(i32 noundef %57)
%59 = call i32 @printf(ptr noundef @.str.2)
br label %61
60: ; preds = %45
br label %65
61: ; preds = %56, %43
%62 = load ptr, ptr %10, align 8
%63 = getelementptr inbounds %struct.addrinfo, ptr %62, i32 0, i32 5
%64 = load ptr, ptr %63, align 8
store ptr %64, ptr %10, align 8
br label %27, !llvm.loop !6
65: ; preds = %60, %27
%66 = load ptr, ptr %10, align 8
%67 = icmp eq ptr %66, null
br i1 %67, label %68, label %72
68: ; preds = %65
%69 = call i32 @printf(ptr noundef @.str.3)
%70 = load ptr, ptr %9, align 8
%71 = call i32 @freeaddrinfo(ptr noundef %70)
store i32 -1, ptr %3, align 4
br label %76
72: ; preds = %65
%73 = load ptr, ptr %9, align 8
%74 = call i32 @freeaddrinfo(ptr noundef %73)
%75 = load i32, ptr %7, align 4
store i32 %75, ptr %3, align 4
br label %76
76: ; preds = %72, %68, %21
%77 = load i32, ptr %3, align 4
ret i32 %77
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @freeaddrinfo(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @connect(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcjdefd0r.c"
target datalayout = "e-m:e-p270: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.addrinfo = type { i32, i32, i32, i32, i32, ptr }
@AF_UNSPEC = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"\0Atcpconnect: getaddrinfo failed\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"\0Atcpconnect: socket failed\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"\0Atcpconnect: connect failed\00", align 1
@.str.3 = private unnamed_addr constant [58 x i8] c"\0Atcpconnect: could not get a valid socket file descriptof\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tcp_connect(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca %struct.addrinfo, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%11 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 32)
%12 = load i32, ptr @AF_UNSPEC, align 4
%13 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 4
store i32 %12, ptr %13, align 8
%14 = load i32, ptr @SOCK_STREAM, align 4
%15 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 3
store i32 %14, ptr %15, align 4
%16 = load ptr, ptr %4, align 8
%17 = load ptr, ptr %5, align 8
%18 = call i32 @getaddrinfo(ptr noundef %16, ptr noundef %17, ptr noundef %8, ptr noundef %9)
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %25
21: ; preds = %2
%22 = call i32 @printf(ptr noundef @.str)
%23 = load ptr, ptr %9, align 8
%24 = call i32 @freeaddrinfo(ptr noundef %23)
store i32 -1, ptr %3, align 4
br label %77
25: ; preds = %2
%26 = load ptr, ptr %9, align 8
store ptr %26, ptr %10, align 8
%27 = load ptr, ptr %10, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %25
br label %29
29: ; preds = %.lr.ph, %60
%30 = load ptr, ptr %10, align 8
%31 = getelementptr inbounds %struct.addrinfo, ptr %30, i32 0, i32 4
%32 = load i32, ptr %31, align 8
%33 = load ptr, ptr %10, align 8
%34 = getelementptr inbounds %struct.addrinfo, ptr %33, i32 0, i32 3
%35 = load i32, ptr %34, align 4
%36 = load ptr, ptr %10, align 8
%37 = getelementptr inbounds %struct.addrinfo, ptr %36, i32 0, i32 2
%38 = load i32, ptr %37, align 8
%39 = call i32 @socket(i32 noundef %32, i32 noundef %35, i32 noundef %38)
store i32 %39, ptr %7, align 4
%40 = load i32, ptr %7, align 4
%41 = icmp eq i32 %40, -1
br i1 %41, label %42, label %44
42: ; preds = %29
%43 = call i32 @printf(ptr noundef @.str.1)
br label %60
44: ; preds = %29
%45 = load i32, ptr %7, align 4
%46 = load ptr, ptr %10, align 8
%47 = getelementptr inbounds %struct.addrinfo, ptr %46, i32 0, i32 1
%48 = load i32, ptr %47, align 4
%49 = load ptr, ptr %10, align 8
%50 = getelementptr inbounds %struct.addrinfo, ptr %49, i32 0, i32 0
%51 = load i32, ptr %50, align 8
%52 = call i32 @connect(i32 noundef %45, i32 noundef %48, i32 noundef %51)
store i32 %52, ptr %6, align 4
%53 = load i32, ptr %6, align 4
%54 = icmp eq i32 %53, -1
br i1 %54, label %55, label %59
55: ; preds = %44
%56 = load i32, ptr %7, align 4
%57 = call i32 @close(i32 noundef %56)
%58 = call i32 @printf(ptr noundef @.str.2)
br label %60
59: ; preds = %44
br label %66
60: ; preds = %55, %42
%61 = load ptr, ptr %10, align 8
%62 = getelementptr inbounds %struct.addrinfo, ptr %61, i32 0, i32 5
%63 = load ptr, ptr %62, align 8
store ptr %63, ptr %10, align 8
%64 = load ptr, ptr %10, align 8
%65 = icmp ne ptr %64, null
br i1 %65, label %29, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %60
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %25
br label %66
66: ; preds = %.loopexit, %59
%67 = load ptr, ptr %10, align 8
%68 = icmp eq ptr %67, null
br i1 %68, label %69, label %73
69: ; preds = %66
%70 = call i32 @printf(ptr noundef @.str.3)
%71 = load ptr, ptr %9, align 8
%72 = call i32 @freeaddrinfo(ptr noundef %71)
store i32 -1, ptr %3, align 4
br label %77
73: ; preds = %66
%74 = load ptr, ptr %9, align 8
%75 = call i32 @freeaddrinfo(ptr noundef %74)
%76 = load i32, ptr %7, align 4
store i32 %76, ptr %3, align 4
br label %77
77: ; preds = %73, %69, %21
%78 = load i32, ptr %3, align 4
ret i32 %78
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @freeaddrinfo(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @connect(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpnhy1riab.c'
source_filename = "/tmp/tmpnhy1riab.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aMayusculas(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %40, %1
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = icmp slt i32 %5, %7
br i1 %8, label %9, label %43
9: ; preds = %4
%10 = load ptr, ptr %2, align 8
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp sge i32 %15, 97
br i1 %16, label %17, label %39
17: ; preds = %9
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %3, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp sle i32 %23, 122
br i1 %24, label %25, label %39
25: ; preds = %17
%26 = load ptr, ptr %2, align 8
%27 = load i32, ptr %3, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = sub nsw i32 %31, 97
%33 = add nsw i32 %32, 65
%34 = trunc i32 %33 to i8
%35 = load ptr, ptr %2, align 8
%36 = load i32, ptr %3, 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 %39
39: ; preds = %25, %17, %9
br label %40
40: ; preds = %39
%41 = load i32, ptr %3, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %3, align 4
br label %4, !llvm.loop !6
43: ; preds = %4
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnhy1riab.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aMayusculas(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = icmp slt i32 %4, %6
br i1 %7, label %.lr.ph, label %46
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %39
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %9, i64 %11
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp sge i32 %14, 97
br i1 %15, label %16, label %38
16: ; preds = %8
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp sle i32 %22, 122
br i1 %23, label %24, label %38
24: ; preds = %16
%25 = load ptr, ptr %2, align 8
%26 = load i32, ptr %3, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = sub nsw i32 %30, 97
%32 = add nsw i32 %31, 65
%33 = trunc i32 %32 to i8
%34 = load ptr, ptr %2, align 8
%35 = load i32, ptr %3, 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 %38
38: ; preds = %24, %16, %8
br label %39
39: ; preds = %38
%40 = load i32, ptr %3, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %3, align 4
%42 = load i32, ptr %3, align 4
%43 = load ptr, ptr %2, align 8
%44 = call i32 @strlen(ptr noundef %43)
%45 = icmp slt i32 %42, %44
br i1 %45, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %46
46: ; preds = %._crit_edge, %1
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmplj_c6iie.c'
source_filename = "/tmp/tmplj_c6iie.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%s %s\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"GET \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @parse_get(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = call ptr @safe_malloc(i32 noundef 256)
store ptr %6, ptr %4, align 8
%7 = call ptr @safe_malloc(i32 noundef 256)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i32 @sscanf(ptr noundef %8, ptr noundef @.str, ptr noundef %9, ptr noundef %10)
%12 = load ptr, ptr %4, align 8
%13 = call i32 @strcmp(ptr noundef %12, ptr noundef @.str.1)
%14 = icmp ne i32 %13, 0
br i1 %14, label %20, label %15
15: ; preds = %1
%16 = load ptr, ptr %4, align 8
%17 = call i32 @free(ptr noundef %16)
%18 = load ptr, ptr %5, align 8
%19 = call i32 @free(ptr noundef %18)
store ptr null, ptr %2, align 8
br label %24
20: ; preds = %1
%21 = load ptr, ptr %4, align 8
%22 = call i32 @free(ptr noundef %21)
%23 = load ptr, ptr %5, align 8
store ptr %23, ptr %2, align 8
br label %24
24: ; preds = %20, %15
%25 = load ptr, ptr %2, align 8
ret ptr %25
}
declare ptr @safe_malloc(i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplj_c6iie.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%s %s\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"GET \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @parse_get(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = call ptr @safe_malloc(i32 noundef 256)
store ptr %6, ptr %4, align 8
%7 = call ptr @safe_malloc(i32 noundef 256)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i32 @sscanf(ptr noundef %8, ptr noundef @.str, ptr noundef %9, ptr noundef %10)
%12 = load ptr, ptr %4, align 8
%13 = call i32 @strcmp(ptr noundef %12, ptr noundef @.str.1)
%14 = icmp ne i32 %13, 0
br i1 %14, label %20, label %15
15: ; preds = %1
%16 = load ptr, ptr %4, align 8
%17 = call i32 @free(ptr noundef %16)
%18 = load ptr, ptr %5, align 8
%19 = call i32 @free(ptr noundef %18)
store ptr null, ptr %2, align 8
br label %24
20: ; preds = %1
%21 = load ptr, ptr %4, align 8
%22 = call i32 @free(ptr noundef %21)
%23 = load ptr, ptr %5, align 8
store ptr %23, ptr %2, align 8
br label %24
24: ; preds = %20, %15
%25 = load ptr, ptr %2, align 8
ret ptr %25
}
declare ptr @safe_malloc(i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp77smki3i.c'
source_filename = "/tmp/tmp77smki3i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sleep!\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"fork!\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"error, failed to fork()\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"bash\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"-c\00", align 1
@.str.6 = private unnamed_addr constant [19 x i8] c"echo 'Hello World'\00", align 1
@__const.main.name = private unnamed_addr constant [4 x ptr] [ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr null], align 16
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [64 x ptr], align 16
%3 = alloca i32, align 4
%4 = alloca [4 x ptr], align 16
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @sleep(i32 noundef 5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%8 = call i32 (...) @fork()
store i32 %8, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 512, i1 false)
%9 = load i32, ptr %1, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9)
%11 = load i32, ptr %1, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %15
13: ; preds = %0
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %31
15: ; preds = %0
%16 = load i32, ptr %1, align 4
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %22
18: ; preds = %15
%19 = call i32 @do_foo(i32 noundef 1000)
%20 = load i32, ptr %1, align 4
%21 = call i32 @waitpid(i32 noundef %20, ptr noundef %3, i32 noundef 0)
br label %30
22: ; preds = %15
%23 = call i32 @do_foo(i32 noundef 1000)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.name, i64 32, i1 false)
%24 = getelementptr inbounds [4 x ptr], ptr %4, i64 0, i64 0
%25 = load ptr, ptr %24, align 16
%26 = getelementptr inbounds [4 x ptr], ptr %4, i64 0, i64 0
%27 = call i32 @execvp(ptr noundef %25, ptr noundef %26)
%28 = load i32, ptr @EXIT_FAILURE, align 4
%29 = call i32 @_exit(i32 noundef %28) #5
unreachable
30: ; preds = %18
br label %31
31: ; preds = %30, %13
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @fork(...) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @do_foo(i32 noundef) #1
declare i32 @waitpid(i32 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) #3
declare i32 @execvp(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #4
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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: write) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp77smki3i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sleep!\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"fork!\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"error, failed to fork()\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"bash\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"-c\00", align 1
@.str.6 = private unnamed_addr constant [19 x i8] c"echo 'Hello World'\00", align 1
@__const.main.name = private unnamed_addr constant [4 x ptr] [ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr null], align 16
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [64 x ptr], align 16
%3 = alloca i32, align 4
%4 = alloca [4 x ptr], align 16
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @sleep(i32 noundef 5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%8 = call i32 (...) @fork()
store i32 %8, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 512, i1 false)
%9 = load i32, ptr %1, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9)
%11 = load i32, ptr %1, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %15
13: ; preds = %0
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %31
15: ; preds = %0
%16 = load i32, ptr %1, align 4
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %22
18: ; preds = %15
%19 = call i32 @do_foo(i32 noundef 1000)
%20 = load i32, ptr %1, align 4
%21 = call i32 @waitpid(i32 noundef %20, ptr noundef %3, i32 noundef 0)
br label %30
22: ; preds = %15
%23 = call i32 @do_foo(i32 noundef 1000)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.name, i64 32, i1 false)
%24 = getelementptr inbounds [4 x ptr], ptr %4, i64 0, i64 0
%25 = load ptr, ptr %24, align 16
%26 = getelementptr inbounds [4 x ptr], ptr %4, i64 0, i64 0
%27 = call i32 @execvp(ptr noundef %25, ptr noundef %26)
%28 = load i32, ptr @EXIT_FAILURE, align 4
%29 = call i32 @_exit(i32 noundef %28) #5
unreachable
30: ; preds = %18
br label %31
31: ; preds = %30, %13
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @fork(...) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @do_foo(i32 noundef) #1
declare i32 @waitpid(i32 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) #3
declare i32 @execvp(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #4
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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: write) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpus91nq76.c'
source_filename = "/tmp/tmpus91nq76.c"
target datalayout = "e-m:e-p270: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/tmpus91nq76.c"
target datalayout = "e-m:e-p270: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/tmptzbhar1l.c'
source_filename = "/tmp/tmptzbhar1l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printIncSeq(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%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 ptr %3, ptr %8, align 8
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp eq i32 %10, %11
br i1 %12, label %13, label %17
13: ; preds = %4
%14 = load ptr, ptr %8, align 8
%15 = load i32, ptr %6, align 4
%16 = call i32 @printArr(ptr noundef %14, i32 noundef %15)
br label %49
17: ; preds = %4
%18 = load i32, ptr %7, align 4
%19 = icmp sgt i32 %18, 0
br i1 %19, label %20, label %28
20: ; preds = %17
%21 = load ptr, ptr %8, align 8
%22 = load i32, ptr %7, align 4
%23 = sub nsw i32 %22, 1
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %21, i64 %24
%26 = load i32, ptr %25, align 4
%27 = add nsw i32 %26, 1
br label %29
28: ; preds = %17
br label %29
29: ; preds = %28, %20
%30 = phi i32 [ %27, %20 ], [ 1, %28 ]
store i32 %30, ptr %9, align 4
br label %31
31: ; preds = %46, %29
%32 = load i32, ptr %9, align 4
%33 = load i32, ptr %5, align 4
%34 = icmp sle i32 %32, %33
br i1 %34, label %35, label %49
35: ; preds = %31
%36 = load i32, ptr %9, align 4
%37 = load ptr, ptr %8, align 8
%38 = load i32, ptr %7, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
store i32 %36, ptr %40, align 4
%41 = load i32, ptr %5, align 4
%42 = load i32, ptr %6, align 4
%43 = load i32, ptr %7, align 4
%44 = add nsw i32 %43, 1
%45 = load ptr, ptr %8, align 8
call void @printIncSeq(i32 noundef %41, i32 noundef %42, i32 noundef %44, ptr noundef %45)
br label %46
46: ; preds = %35
%47 = load i32, ptr %9, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %9, align 4
br label %31, !llvm.loop !6
49: ; preds = %13, %31
ret void
}
declare i32 @printArr(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/tmptzbhar1l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @printIncSeq(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%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 ptr %3, ptr %8, align 8
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp eq i32 %10, %11
br i1 %12, label %13, label %17
13: ; preds = %4
%14 = load ptr, ptr %8, align 8
%15 = load i32, ptr %6, align 4
%16 = call i32 @printArr(ptr noundef %14, i32 noundef %15)
br label %51
17: ; preds = %4
%18 = load i32, ptr %7, align 4
%19 = icmp sgt i32 %18, 0
br i1 %19, label %20, label %28
20: ; preds = %17
%21 = load ptr, ptr %8, align 8
%22 = load i32, ptr %7, align 4
%23 = sub nsw i32 %22, 1
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %21, i64 %24
%26 = load i32, ptr %25, align 4
%27 = add nsw i32 %26, 1
br label %29
28: ; preds = %17
br label %29
29: ; preds = %28, %20
%30 = phi i32 [ %27, %20 ], [ 1, %28 ]
store i32 %30, ptr %9, align 4
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr %5, align 4
%33 = icmp sle i32 %31, %32
br i1 %33, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %29
br label %34
34: ; preds = %.lr.ph, %45
%35 = load i32, ptr %9, align 4
%36 = load ptr, ptr %8, align 8
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
store i32 %35, ptr %39, align 4
%40 = load i32, ptr %5, align 4
%41 = load i32, ptr %6, align 4
%42 = load i32, ptr %7, align 4
%43 = add nsw i32 %42, 1
%44 = load ptr, ptr %8, align 8
call void @printIncSeq(i32 noundef %40, i32 noundef %41, i32 noundef %43, ptr noundef %44)
br label %45
45: ; preds = %34
%46 = load i32, ptr %9, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %9, align 4
%48 = load i32, ptr %9, align 4
%49 = load i32, ptr %5, align 4
%50 = icmp sle i32 %48, %49
br i1 %50, label %34, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %45
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %29
br label %51
51: ; preds = %.loopexit, %13
ret void
}
declare i32 @printArr(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/tmpl3rxr9vn.c'
source_filename = "/tmp/tmpl3rxr9vn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @recv_line(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %5, align 8
store ptr %8, ptr %6, align 8
br label %9
9: ; preds = %37, %2
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %6, align 8
%12 = call i32 @recv(i32 noundef %10, ptr noundef %11, i32 noundef 1, i32 noundef 0)
%13 = icmp eq i32 %12, 1
br i1 %13, label %14, label %40
14: ; preds = %9
%15 = load ptr, ptr %6, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = load i32, ptr %7, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [3 x i8], ptr @.str, i64 0, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %17, %22
br i1 %23, label %24, label %36
24: ; preds = %14
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %7, align 4
%27 = load i32, ptr %7, align 4
%28 = icmp eq i32 %27, 2
br i1 %28, label %29, label %35
29: ; preds = %24
%30 = load ptr, ptr %6, align 8
%31 = getelementptr inbounds i8, ptr %30, i64 1
%32 = getelementptr inbounds i8, ptr %31, i64 -2
store i8 0, ptr %32, align 1
%33 = load ptr, ptr %5, align 8
%34 = call i32 @strlen(ptr noundef %33)
store i32 %34, ptr %3, align 4
br label %41
35: ; preds = %24
br label %37
36: ; preds = %14
store i32 0, ptr %7, align 4
br label %37
37: ; preds = %36, %35
%38 = load ptr, ptr %6, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 1
store ptr %39, ptr %6, align 8
br label %9, !llvm.loop !6
40: ; preds = %9
store i32 0, ptr %3, align 4
br label %41
41: ; preds = %40, %29
%42 = load i32, ptr %3, align 4
ret i32 %42
}
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl3rxr9vn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @recv_line(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %5, align 8
store ptr %8, ptr %6, align 8
%9 = load i32, ptr %4, align 4
%10 = load ptr, ptr %6, align 8
%11 = call i32 @recv(i32 noundef %9, ptr noundef %10, i32 noundef 1, i32 noundef 0)
%12 = icmp eq i32 %11, 1
br i1 %12, label %.lr.ph, label %43
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %36
%14 = load ptr, ptr %6, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = load i32, ptr %7, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [3 x i8], ptr @.str, i64 0, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %16, %21
br i1 %22, label %23, label %35
23: ; preds = %13
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %7, align 4
%26 = load i32, ptr %7, align 4
%27 = icmp eq i32 %26, 2
br i1 %27, label %28, label %34
28: ; preds = %23
%29 = load ptr, ptr %6, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 1
%31 = getelementptr inbounds i8, ptr %30, i64 -2
store i8 0, ptr %31, align 1
%32 = load ptr, ptr %5, align 8
%33 = call i32 @strlen(ptr noundef %32)
store i32 %33, ptr %3, align 4
br label %44
34: ; preds = %23
br label %36
35: ; preds = %13
store i32 0, ptr %7, align 4
br label %36
36: ; preds = %35, %34
%37 = load ptr, ptr %6, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %6, align 8
%39 = load i32, ptr %4, align 4
%40 = load ptr, ptr %6, align 8
%41 = call i32 @recv(i32 noundef %39, ptr noundef %40, i32 noundef 1, i32 noundef 0)
%42 = icmp eq i32 %41, 1
br i1 %42, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %43
43: ; preds = %._crit_edge, %2
store i32 0, ptr %3, align 4
br label %44
44: ; preds = %43, %28
%45 = load i32, ptr %3, align 4
ret i32 %45
}
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmppfmjevmo.c'
source_filename = "/tmp/tmppfmjevmo.c"
target datalayout = "e-m:e-p270: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/tmppfmjevmo.c"
target datalayout = "e-m:e-p270: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/tmp68yr6820.c'
source_filename = "/tmp/tmp68yr6820.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @int2char(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @swap_endian(i32 noundef %6)
store i32 %7, ptr %3, align 4
store ptr %3, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = zext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = load i8, ptr %11, align 1
ret i8 %12
}
declare i32 @swap_endian(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/tmp68yr6820.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @int2char(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @swap_endian(i32 noundef %6)
store i32 %7, ptr %3, align 4
store ptr %3, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = zext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = load i8, ptr %11, align 1
ret i8 %12
}
declare i32 @swap_endian(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/tmpoa8seg1e.c'
source_filename = "/tmp/tmpoa8seg1e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1 x i64], align 8
%7 = alloca [1 x i64], align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
br label %19
19: ; preds = %22, %18
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %20, 1
br i1 %21, label %22, label %36
22: ; preds = %19
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %23, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10)
store i64 %29, ptr %9, align 8
%30 = load i64, ptr %9, align 8
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %32
store i64 %30, ptr %33, align 8
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
br label %19, !llvm.loop !6
36: ; preds = %19
%37 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0
%38 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0
%39 = call i32 @RandomFunc(ptr noundef %37, ptr noundef %38)
%40 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0
%41 = load i64, ptr %40, align 8
%42 = icmp eq i64 %41, -483206539323301425
br i1 %42, label %43, label %45
43: ; preds = %36
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %46
45: ; preds = %36
br label %46
46: ; preds = %45, %43
store i32 0, ptr %10, align 4
br label %47
47: ; preds = %50, %46
%48 = load i32, ptr %10, align 4
%49 = icmp slt i32 %48, 1
br i1 %49, label %50, label %58
50: ; preds = %47
%51 = load i32, ptr %10, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52
%54 = load i64, ptr %53, align 8
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54)
%56 = load i32, ptr %10, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %10, align 4
br label %47, !llvm.loop !8
58: ; preds = %47
%59 = load i32, ptr %3, align 4
ret i32 %59
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoa8seg1e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1 x i64], align 8
%7 = alloca [1 x i64], align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %19, 1
br i1 %20, label %.lr.ph, label %37
.lr.ph: ; preds = %18
br label %21
21: ; preds = %.lr.ph, %21
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %22, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10)
store i64 %28, ptr %9, align 8
%29 = load i64, ptr %9, align 8
%30 = load i32, ptr %8, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %31
store i64 %29, ptr %32, align 8
%33 = load i32, ptr %8, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %8, align 4
%35 = load i32, ptr %8, align 4
%36 = icmp slt i32 %35, 1
br i1 %36, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %37
37: ; preds = %._crit_edge, %18
%38 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0
%39 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0
%40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39)
%41 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0
%42 = load i64, ptr %41, align 8
%43 = icmp eq i64 %42, -483206539323301425
br i1 %43, label %44, label %46
44: ; preds = %37
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %47
46: ; preds = %37
br label %47
47: ; preds = %46, %44
store i32 0, ptr %10, align 4
%48 = load i32, ptr %10, align 4
%49 = icmp slt i32 %48, 1
br i1 %49, label %.lr.ph2, label %60
.lr.ph2: ; preds = %47
br label %50
50: ; preds = %.lr.ph2, %50
%51 = load i32, ptr %10, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52
%54 = load i64, ptr %53, align 8
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54)
%56 = load i32, ptr %10, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %10, align 4
%58 = load i32, ptr %10, align 4
%59 = icmp slt i32 %58, 1
br i1 %59, label %50, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %50
br label %60
60: ; preds = %._crit_edge3, %47
%61 = load i32, ptr %3, align 4
ret i32 %61
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpk9htjnkw.c'
source_filename = "/tmp/tmpk9htjnkw.c"
target datalayout = "e-m:e-p270: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/tmpk9htjnkw.c"
target datalayout = "e-m:e-p270: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/tmpw_2wxw11.c'
source_filename = "/tmp/tmpw_2wxw11.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @check_file(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca %struct.stat, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = call i32 @stat(ptr noundef %7, ptr noundef %5)
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %20
14: ; preds = %11, %2
%15 = load i32, ptr %6, align 4
%16 = icmp eq i32 %15, -1
br i1 %16, label %17, label %23
17: ; preds = %14
%18 = load i32, ptr %4, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %17, %11
%21 = load ptr, ptr %3, align 8
%22 = call i32 @puts(ptr noundef %21)
br label %23
23: ; preds = %20, %17, %14
ret void
}
declare i32 @stat(ptr 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/tmpw_2wxw11.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @check_file(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca %struct.stat, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = call i32 @stat(ptr noundef %7, ptr noundef %5)
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %20
14: ; preds = %11, %2
%15 = load i32, ptr %6, align 4
%16 = icmp eq i32 %15, -1
br i1 %16, label %17, label %23
17: ; preds = %14
%18 = load i32, ptr %4, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %17, %11
%21 = load ptr, ptr %3, align 8
%22 = call i32 @puts(ptr noundef %21)
br label %23
23: ; preds = %20, %17, %14
ret void
}
declare i32 @stat(ptr 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/tmp7pqy67lx.c'
source_filename = "/tmp/tmp7pqy67lx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i64 @f(i32 noundef -2147483648)
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 (...) @abort() #3
unreachable
6: ; preds = %0
%7 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i64 @f(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7pqy67lx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i64 @f(i32 noundef -2147483648)
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 (...) @abort() #3
unreachable
6: ; preds = %0
%7 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i64 @f(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwakid1bn.c'
source_filename = "/tmp/tmpwakid1bn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"All assertions passed!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @test_strings()
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @test_strings(...) #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/tmpwakid1bn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"All assertions passed!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @test_strings()
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @test_strings(...) #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/tmp2hgquhon.c'
source_filename = "/tmp/tmp2hgquhon.c"
target datalayout = "e-m:e-p270: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/tmp2hgquhon.c"
target datalayout = "e-m:e-p270: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/tmpi0ms9io5.c'
source_filename = "/tmp/tmpi0ms9io5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"HugePages_Free:\00", align 1
@.str.1 = private unnamed_addr constant [57 x i8] c"Bad configuration: Must have at least %i free hugepages\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @check_free_huge_pages(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = call i32 @read_meminfo(ptr noundef @.str)
store i32 %4, 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 %8, label %15
8: ; preds = %1
br label %9
9: ; preds = %8
%10 = call i32 (...) @cleanup()
%11 = load i32, ptr %2, align 4
%12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
14: ; No predecessors!
br label %15
15: ; preds = %14, %1
ret void
}
declare i32 @read_meminfo(ptr noundef) #1
declare i32 @cleanup(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi0ms9io5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"HugePages_Free:\00", align 1
@.str.1 = private unnamed_addr constant [57 x i8] c"Bad configuration: Must have at least %i free hugepages\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @check_free_huge_pages(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = call i32 @read_meminfo(ptr noundef @.str)
store i32 %4, 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 %8, label %15
8: ; preds = %1
br label %9
9: ; preds = %8
%10 = call i32 (...) @cleanup()
%11 = load i32, ptr %2, align 4
%12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
14: ; No predecessors!
br label %15
15: ; preds = %14, %1
ret void
}
declare i32 @read_meminfo(ptr noundef) #1
declare i32 @cleanup(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplp6mha0a.c'
source_filename = "/tmp/tmplp6mha0a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LC_ALL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mc_init() #0 {
%1 = load i32, ptr @LC_ALL, align 4
%2 = call i32 @setlocale(i32 noundef %1, ptr noundef @.str)
%3 = call i32 (...) @mc_time_init()
%4 = call i32 (...) @mc_rand_seed()
%5 = call i32 (...) @mc_socket_init()
%6 = call i32 (...) @mc_id_init()
%7 = call i32 (...) @mc_crc_init()
ret i32 0
}
declare i32 @setlocale(i32 noundef, ptr noundef) #1
declare i32 @mc_time_init(...) #1
declare i32 @mc_rand_seed(...) #1
declare i32 @mc_socket_init(...) #1
declare i32 @mc_id_init(...) #1
declare i32 @mc_crc_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplp6mha0a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LC_ALL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mc_init() #0 {
%1 = load i32, ptr @LC_ALL, align 4
%2 = call i32 @setlocale(i32 noundef %1, ptr noundef @.str)
%3 = call i32 (...) @mc_time_init()
%4 = call i32 (...) @mc_rand_seed()
%5 = call i32 (...) @mc_socket_init()
%6 = call i32 (...) @mc_id_init()
%7 = call i32 (...) @mc_crc_init()
ret i32 0
}
declare i32 @setlocale(i32 noundef, ptr noundef) #1
declare i32 @mc_time_init(...) #1
declare i32 @mc_rand_seed(...) #1
declare i32 @mc_socket_init(...) #1
declare i32 @mc_id_init(...) #1
declare i32 @mc_crc_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9iq6kba4.c'
source_filename = "/tmp/tmp9iq6kba4.c"
target datalayout = "e-m:e-p270: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/tmp9iq6kba4.c"
target datalayout = "e-m:e-p270: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/tmp0_2tozia.c'
source_filename = "/tmp/tmp0_2tozia.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bs2c_disasm_decbyte(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 0
%8 = call i32 @bs2c_disasm_decnbl(ptr noundef %7)
store i32 %8, ptr %4, align 4
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 1
%11 = call i32 @bs2c_disasm_decnbl(ptr noundef %10)
store i32 %11, ptr %5, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp sge i32 %12, 0
br i1 %13, label %14, label %22
14: ; preds = %1
%15 = load i32, ptr %5, align 4
%16 = icmp sge i32 %15, 0
br i1 %16, label %17, label %22
17: ; preds = %14
%18 = load i32, ptr %4, align 4
%19 = shl i32 %18, 4
%20 = load i32, ptr %5, align 4
%21 = or i32 %19, %20
store i32 %21, ptr %2, align 4
br label %23
22: ; preds = %14, %1
store i32 -1, ptr %2, align 4
br label %23
23: ; preds = %22, %17
%24 = load i32, ptr %2, align 4
ret i32 %24
}
declare i32 @bs2c_disasm_decnbl(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/tmp0_2tozia.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bs2c_disasm_decbyte(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 0
%8 = call i32 @bs2c_disasm_decnbl(ptr noundef %7)
store i32 %8, ptr %4, align 4
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 1
%11 = call i32 @bs2c_disasm_decnbl(ptr noundef %10)
store i32 %11, ptr %5, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp sge i32 %12, 0
br i1 %13, label %14, label %22
14: ; preds = %1
%15 = load i32, ptr %5, align 4
%16 = icmp sge i32 %15, 0
br i1 %16, label %17, label %22
17: ; preds = %14
%18 = load i32, ptr %4, align 4
%19 = shl i32 %18, 4
%20 = load i32, ptr %5, align 4
%21 = or i32 %19, %20
store i32 %21, ptr %2, align 4
br label %23
22: ; preds = %14, %1
store i32 -1, ptr %2, align 4
br label %23
23: ; preds = %22, %17
%24 = load i32, ptr %2, align 4
ret i32 %24
}
declare i32 @bs2c_disasm_decnbl(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/tmpderrdw6i.c'
source_filename = "/tmp/tmpderrdw6i.c"
target datalayout = "e-m:e-p270: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/tmpderrdw6i.c"
target datalayout = "e-m:e-p270: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/tmp9s7l9ylc.c'
source_filename = "/tmp/tmp9s7l9ylc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Enter a command: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"Quit\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"The command was Quit\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"The command was not Quit\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [16 x i8], align 16
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%6 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0
%7 = call i64 @strcmp(ptr noundef %6, ptr noundef @.str.2)
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %0
%10 = call i32 @printf(ptr noundef @.str.3)
br label %13
11: ; preds = %0
%12 = call i32 @printf(ptr noundef @.str.4)
br label %13
13: ; preds = %11, %9
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9s7l9ylc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Enter a command: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"Quit\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"The command was Quit\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"The command was not Quit\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [16 x i8], align 16
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%6 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0
%7 = call i64 @strcmp(ptr noundef %6, ptr noundef @.str.2)
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %0
%10 = call i32 @printf(ptr noundef @.str.3)
br label %13
11: ; preds = %0
%12 = call i32 @printf(ptr noundef @.str.4)
br label %13
13: ; preds = %11, %9
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpts7y0hf1.c'
source_filename = "/tmp/tmpts7y0hf1.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getxs(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 1, ptr %4, align 4
store i32 0, ptr %5, align 4
%8 = load ptr, ptr %2, align 8
store ptr %8, ptr %6, align 8
br label %9
9: ; preds = %60, %1
%10 = call i32 (...) @getchar()
store i32 %10, ptr %3, align 4
%11 = load i32, ptr @EOF, align 4
%12 = icmp ne i32 %10, %11
br i1 %12, label %13, label %16
13: ; preds = %9
%14 = load i32, ptr %3, align 4
%15 = icmp ne i32 %14, 10
br label %16
16: ; preds = %13, %9
%17 = phi i1 [ false, %9 ], [ %15, %13 ]
br i1 %17, label %18, label %61
18: ; preds = %16
%19 = load i32, ptr %3, align 4
%20 = call i64 @isxdigit(i32 noundef %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %60
22: ; preds = %18
%23 = load i32, ptr %3, align 4
%24 = icmp sle i32 48, %23
br i1 %24, label %25, label %31
25: ; preds = %22
%26 = load i32, ptr %3, align 4
%27 = icmp sle i32 %26, 57
br i1 %27, label %28, label %31
28: ; preds = %25
%29 = load i32, ptr %3, align 4
%30 = sub nsw i32 %29, 48
store i32 %30, ptr %7, align 4
br label %46
31: ; preds = %25, %22
%32 = load i32, ptr %3, align 4
%33 = icmp sle i32 65, %32
br i1 %33, label %34, label %41
34: ; preds = %31
%35 = load i32, ptr %3, align 4
%36 = icmp sle i32 %35, 70
br i1 %36, label %37, label %41
37: ; preds = %34
%38 = load i32, ptr %3, align 4
%39 = sub nsw i32 %38, 65
%40 = add nsw i32 %39, 10
store i32 %40, ptr %7, align 4
br label %45
41: ; preds = %34, %31
%42 = load i32, ptr %3, align 4
%43 = sub nsw i32 %42, 97
%44 = add nsw i32 %43, 10
store i32 %44, ptr %7, align 4
br label %45
45: ; preds = %41, %37
br label %46
46: ; preds = %45, %28
%47 = load i32, ptr %4, align 4
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %46
%50 = load i32, ptr %7, align 4
store i32 %50, ptr %5, align 4
store i32 0, ptr %4, align 4
br label %59
51: ; preds = %46
%52 = load i32, ptr %5, align 4
%53 = mul nsw i32 %52, 16
%54 = load i32, ptr %7, align 4
%55 = add nsw i32 %53, %54
%56 = trunc i32 %55 to i8
%57 = load ptr, ptr %6, align 8
%58 = getelementptr inbounds i8, ptr %57, i32 1
store ptr %58, ptr %6, align 8
store i8 %56, ptr %57, align 1
store i32 1, ptr %4, align 4
br label %59
59: ; preds = %51, %49
br label %60
60: ; preds = %59, %18
br label %9, !llvm.loop !6
61: ; preds = %16
%62 = load ptr, ptr %6, align 8
%63 = getelementptr inbounds i8, ptr %62, i32 1
store ptr %63, ptr %6, align 8
store i8 0, ptr %62, align 1
%64 = load ptr, ptr %2, align 8
ret ptr %64
}
declare i32 @getchar(...) #1
declare i64 @isxdigit(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/tmpts7y0hf1.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getxs(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 1, ptr %4, align 4
store i32 0, ptr %5, align 4
%8 = load ptr, ptr %2, align 8
store ptr %8, ptr %6, align 8
br label %9
9: ; preds = %60, %1
%10 = call i32 (...) @getchar()
store i32 %10, ptr %3, align 4
%11 = load i32, ptr @EOF, align 4
%12 = icmp ne i32 %10, %11
br i1 %12, label %13, label %16
13: ; preds = %9
%14 = load i32, ptr %3, align 4
%15 = icmp ne i32 %14, 10
br label %16
16: ; preds = %13, %9
%17 = phi i1 [ false, %9 ], [ %15, %13 ]
br i1 %17, label %18, label %61
18: ; preds = %16
%19 = load i32, ptr %3, align 4
%20 = call i64 @isxdigit(i32 noundef %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %60
22: ; preds = %18
%23 = load i32, ptr %3, align 4
%24 = icmp sle i32 48, %23
br i1 %24, label %25, label %31
25: ; preds = %22
%26 = load i32, ptr %3, align 4
%27 = icmp sle i32 %26, 57
br i1 %27, label %28, label %31
28: ; preds = %25
%29 = load i32, ptr %3, align 4
%30 = sub nsw i32 %29, 48
store i32 %30, ptr %7, align 4
br label %46
31: ; preds = %25, %22
%32 = load i32, ptr %3, align 4
%33 = icmp sle i32 65, %32
br i1 %33, label %34, label %41
34: ; preds = %31
%35 = load i32, ptr %3, align 4
%36 = icmp sle i32 %35, 70
br i1 %36, label %37, label %41
37: ; preds = %34
%38 = load i32, ptr %3, align 4
%39 = sub nsw i32 %38, 65
%40 = add nsw i32 %39, 10
store i32 %40, ptr %7, align 4
br label %45
41: ; preds = %34, %31
%42 = load i32, ptr %3, align 4
%43 = sub nsw i32 %42, 97
%44 = add nsw i32 %43, 10
store i32 %44, ptr %7, align 4
br label %45
45: ; preds = %41, %37
br label %46
46: ; preds = %45, %28
%47 = load i32, ptr %4, align 4
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %46
%50 = load i32, ptr %7, align 4
store i32 %50, ptr %5, align 4
store i32 0, ptr %4, align 4
br label %59
51: ; preds = %46
%52 = load i32, ptr %5, align 4
%53 = mul nsw i32 %52, 16
%54 = load i32, ptr %7, align 4
%55 = add nsw i32 %53, %54
%56 = trunc i32 %55 to i8
%57 = load ptr, ptr %6, align 8
%58 = getelementptr inbounds i8, ptr %57, i32 1
store ptr %58, ptr %6, align 8
store i8 %56, ptr %57, align 1
store i32 1, ptr %4, align 4
br label %59
59: ; preds = %51, %49
br label %60
60: ; preds = %59, %18
br label %9, !llvm.loop !6
61: ; preds = %16
%62 = load ptr, ptr %6, align 8
%63 = getelementptr inbounds i8, ptr %62, i32 1
store ptr %63, ptr %6, align 8
store i8 0, ptr %62, align 1
%64 = load ptr, ptr %2, align 8
ret ptr %64
}
declare i32 @getchar(...) #1
declare i64 @isxdigit(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/tmpq64z4jfn.c'
source_filename = "/tmp/tmpq64z4jfn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"sayi girin:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sayi_oku() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%4 = load i32, ptr %1, align 4
ret i32 %4
}
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/tmpq64z4jfn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"sayi girin:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sayi_oku() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%4 = load i32, ptr %1, align 4
ret i32 %4
}
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/tmpgxj6t67g.c'
source_filename = "/tmp/tmpgxj6t67g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hpfs_char_to_linux(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @cp850_to_latin1(i32 noundef %3)
ret i32 %4
}
declare i32 @cp850_to_latin1(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/tmpgxj6t67g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hpfs_char_to_linux(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @cp850_to_latin1(i32 noundef %3)
ret i32 %4
}
declare i32 @cp850_to_latin1(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/tmpprd4oh1x.c'
source_filename = "/tmp/tmpprd4oh1x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @R0_Sleep() #0 {
%1 = call i32 (...) @R0_SaveConfig()
ret void
}
declare i32 @R0_SaveConfig(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpprd4oh1x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @R0_Sleep() #0 {
%1 = call i32 (...) @R0_SaveConfig()
ret void
}
declare i32 @R0_SaveConfig(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph8tx_rj6.c'
source_filename = "/tmp/tmph8tx_rj6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @csc_crc32(i64 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store i64 %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load ptr, ptr %5, align 8
store ptr %8, ptr %7, align 8
%9 = load i64, ptr %4, align 8
%10 = xor i64 %9, 4294967295
store i64 %10, ptr %4, align 8
br label %11
11: ; preds = %15, %3
%12 = load i64, ptr %6, align 8
%13 = add i64 %12, -1
store i64 %13, ptr %6, align 8
%14 = icmp ne i64 %12, 0
br i1 %14, label %15, label %22
15: ; preds = %11
%16 = load i64, ptr %4, align 8
%17 = load ptr, ptr %7, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %7, align 8
%19 = load i8, ptr %17, align 1
%20 = zext i8 %19 to i32
%21 = call i64 @csc_crc32_byte(i64 noundef %16, i32 noundef %20)
store i64 %21, ptr %4, align 8
br label %11, !llvm.loop !6
22: ; preds = %11
%23 = load i64, ptr %4, align 8
%24 = xor i64 %23, 4294967295
ret i64 %24
}
declare i64 @csc_crc32_byte(i64 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph8tx_rj6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @csc_crc32(i64 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store i64 %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load ptr, ptr %5, align 8
store ptr %8, ptr %7, align 8
%9 = load i64, ptr %4, align 8
%10 = xor i64 %9, 4294967295
store i64 %10, ptr %4, align 8
%11 = load i64, ptr %6, align 8
%12 = add i64 %11, -1
store i64 %12, ptr %6, align 8
%13 = icmp ne i64 %11, 0
br i1 %13, label %.lr.ph, label %24
.lr.ph: ; preds = %3
br label %14
14: ; preds = %.lr.ph, %14
%15 = load i64, ptr %4, align 8
%16 = load ptr, ptr %7, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %7, align 8
%18 = load i8, ptr %16, align 1
%19 = zext i8 %18 to i32
%20 = call i64 @csc_crc32_byte(i64 noundef %15, i32 noundef %19)
store i64 %20, ptr %4, align 8
%21 = load i64, ptr %6, align 8
%22 = add i64 %21, -1
store i64 %22, ptr %6, align 8
%23 = icmp ne i64 %21, 0
br i1 %23, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %24
24: ; preds = %._crit_edge, %3
%25 = load i64, ptr %4, align 8
%26 = xor i64 %25, 4294967295
ret i64 %26
}
declare i64 @csc_crc32_byte(i64 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2r1zyjf0.c'
source_filename = "/tmp/tmp2r1zyjf0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2r1zyjf0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjdkkunlq.c'
source_filename = "/tmp/tmpjdkkunlq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.tm = type { i32, i32, i32, i32, i32, i32, ptr }
@.str = private unnamed_addr constant [69 x i8] c"Usage: %s [portnumber] (0 <= port_number <= 65535)\0AExample: %s 1024\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@PF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@AF_INET = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [5 x i8] c"bind\00", align 1
@errno = dso_local global i64 0, align 8
@EACCES = dso_local global i64 0, align 8
@.str.5 = private unnamed_addr constant [133 x i8] c"Error: This server listens to port %d by default.\0AYou must have root access to run servers which listen to port numbers below 1024.\0A\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"recvfrom\00", align 1
@.str.7 = private unnamed_addr constant [31 x i8] c"3-Un client demande depuis %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [18 x i8] c"daytimed-udp time\00", align 1
@.str.9 = private unnamed_addr constant [34 x i8] c"%.4i-%.2i-%.2i %.2i:%.2i:%.2i %s\0A\00", align 1
@.str.10 = private unnamed_addr constant [18 x i8] c"daytimed-udp send\00", align 1
@.str.11 = private unnamed_addr constant [13 x i8] c"4-Revoy\C3\A9 %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca %struct.sockaddr_in, align 4
%9 = alloca %struct.sockaddr_in, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca [100 x i8], align 16
%14 = alloca [100 x i8], align 16
%15 = alloca [100 x i8], align 16
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 13, ptr %17, align 4
%18 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 0
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 0
%21 = load ptr, ptr %20, align 8
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 0
%24 = load ptr, ptr %23, align 8
%25 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %18, ptr noundef @.str, ptr noundef %21, ptr noundef %24)
%26 = load i32, ptr %4, align 4
switch i32 %26, label %43 [
i32 1, label %27
i32 2, label %28
]
27: ; preds = %2
store i32 13, ptr %16, align 4
br label %46
28: ; preds = %2
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 1
%31 = load ptr, ptr %30, align 8
%32 = call i32 @sscanf(ptr noundef %31, ptr noundef @.str.1, ptr noundef %16)
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %35
34: ; preds = %28
store i32 2, ptr %3, align 4
br label %141
35: ; preds = %28
%36 = load i32, ptr %16, align 4
%37 = icmp sgt i32 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %35
%39 = load i32, ptr %16, align 4
%40 = icmp slt i32 %39, 65535
br i1 %40, label %42, label %41
41: ; preds = %38, %35
store i32 3, ptr %3, align 4
br label %141
42: ; preds = %38
br label %46
43: ; preds = %2
%44 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 0
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %44)
store i32 1, ptr %3, align 4
br label %141
46: ; preds = %42, %27
%47 = load i32, ptr @PF_INET, align 4
%48 = load i32, ptr @SOCK_DGRAM, align 4
%49 = call i32 @socket(i32 noundef %47, i32 noundef %48, i32 noundef 0)
store i32 %49, ptr %6, align 4
%50 = icmp slt i32 %49, 0
br i1 %50, label %51, label %53
51: ; preds = %46
%52 = call i32 @perror(ptr noundef @.str.3)
store i32 1, ptr %3, align 4
br label %141
53: ; preds = %46
%54 = load i32, ptr @AF_INET, align 4
%55 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 3
store i32 %54, ptr %55, align 4
%56 = load i32, ptr %16, align 4
%57 = call i32 @htons(i32 noundef %56)
%58 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2
store i32 %57, ptr %58, align 4
%59 = load i32, ptr @INADDR_ANY, align 4
%60 = call i32 @htonl(i32 noundef %59)
%61 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0
%62 = getelementptr inbounds %struct.TYPE_2__, ptr %61, i32 0, i32 0
store i32 %60, ptr %62, align 4
%63 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1
%64 = call i32 @memset(ptr noundef %63, i8 noundef signext 0, i32 noundef 8)
%65 = load i32, ptr %6, align 4
%66 = call i64 @bind(i32 noundef %65, ptr noundef %8, i32 noundef 16)
%67 = icmp slt i64 %66, 0
br i1 %67, label %68, label %82
68: ; preds = %53
%69 = call i32 @perror(ptr noundef @.str.4)
%70 = load i64, ptr @errno, align 8
%71 = load i64, ptr @EACCES, align 8
%72 = icmp eq i64 %70, %71
br i1 %72, label %73, label %81
73: ; preds = %68
%74 = load i32, ptr %16, align 4
%75 = icmp eq i32 %74, 13
br i1 %75, label %76, label %80
76: ; preds = %73
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef 13)
%78 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 0
%79 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %78)
br label %80
80: ; preds = %76, %73
br label %81
81: ; preds = %80, %68
store i32 2, ptr %3, align 4
br label %141
82: ; preds = %53
store i32 4, ptr %7, align 4
br label %83
83: ; preds = %138, %82
%84 = load i32, ptr %6, align 4
%85 = getelementptr inbounds [100 x i8], ptr %15, i64 0, i64 0
%86 = call i32 @recvfrom(i32 noundef %84, ptr noundef %85, i32 noundef 99, i32 noundef 0, ptr noundef %9, ptr noundef %7)
store i32 %86, ptr %12, align 4
%87 = icmp slt i32 %86, 0
br i1 %87, label %88, label %91
88: ; preds = %83
%89 = call i32 @perror(ptr noundef @.str.6)
%90 = call i32 @exit(i32 noundef 1) #3
unreachable
91: ; preds = %83
%92 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0
%93 = getelementptr inbounds %struct.TYPE_2__, ptr %92, i32 0, i32 0
%94 = load i32, ptr %93, align 4
%95 = call ptr @inet_ntoa(i32 %94)
%96 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %95)
%97 = call i32 @time(ptr noundef null)
store i32 %97, ptr %10, align 4
%98 = icmp slt i32 %97, 0
br i1 %98, label %99, label %101
99: ; preds = %91
%100 = call i32 @perror(ptr noundef @.str.8)
store i32 6, ptr %3, align 4
br label %141
101: ; preds = %91
%102 = call ptr @localtime(ptr noundef %10)
store ptr %102, ptr %11, align 8
%103 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 0
%104 = load ptr, ptr %11, align 8
%105 = getelementptr inbounds %struct.tm, ptr %104, i32 0, i32 0
%106 = load i32, ptr %105, align 8
%107 = add nsw i32 %106, 1900
%108 = load ptr, ptr %11, align 8
%109 = getelementptr inbounds %struct.tm, ptr %108, i32 0, i32 1
%110 = load i32, ptr %109, align 4
%111 = add nsw i32 %110, 1
%112 = load ptr, ptr %11, align 8
%113 = getelementptr inbounds %struct.tm, ptr %112, i32 0, i32 2
%114 = load i32, ptr %113, align 8
%115 = load ptr, ptr %11, align 8
%116 = getelementptr inbounds %struct.tm, ptr %115, i32 0, i32 3
%117 = load i32, ptr %116, align 4
%118 = load ptr, ptr %11, align 8
%119 = getelementptr inbounds %struct.tm, ptr %118, i32 0, i32 4
%120 = load i32, ptr %119, align 8
%121 = load ptr, ptr %11, align 8
%122 = getelementptr inbounds %struct.tm, ptr %121, i32 0, i32 5
%123 = load i32, ptr %122, align 4
%124 = load ptr, ptr %11, align 8
%125 = getelementptr inbounds %struct.tm, ptr %124, i32 0, i32 6
%126 = load ptr, ptr %125, align 8
%127 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %103, ptr noundef @.str.9, i32 noundef %107, i32 noundef %111, i32 noundef %114, i32 noundef %117, i32 noundef %120, i32 noundef %123, ptr noundef %126)
%128 = load i32, ptr %6, align 4
%129 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 0
%130 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 0
%131 = call i32 @strlen(ptr noundef %130)
%132 = load i32, ptr %7, align 4
%133 = call i32 @sendto(i32 noundef %128, ptr noundef %129, i32 noundef %131, i32 noundef 0, ptr noundef %9, i32 noundef %132)
store i32 %133, ptr %12, align 4
%134 = icmp slt i32 %133, 0
br i1 %134, label %135, label %138
135: ; preds = %101
%136 = call i32 @perror(ptr noundef @.str.10)
%137 = call i32 @exit(i32 noundef 5) #3
unreachable
138: ; preds = %101
%139 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 0
%140 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %139)
br label %83
141: ; preds = %99, %81, %51, %43, %41, %34
%142 = load i32, ptr %3, align 4
ret i32 %142
}
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @inet_ntoa(i32) #1
declare i32 @time(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpjdkkunlq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.tm = type { i32, i32, i32, i32, i32, i32, ptr }
@.str = private unnamed_addr constant [69 x i8] c"Usage: %s [portnumber] (0 <= port_number <= 65535)\0AExample: %s 1024\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@PF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@AF_INET = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [5 x i8] c"bind\00", align 1
@errno = dso_local global i64 0, align 8
@EACCES = dso_local global i64 0, align 8
@.str.5 = private unnamed_addr constant [133 x i8] c"Error: This server listens to port %d by default.\0AYou must have root access to run servers which listen to port numbers below 1024.\0A\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"recvfrom\00", align 1
@.str.7 = private unnamed_addr constant [31 x i8] c"3-Un client demande depuis %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [18 x i8] c"daytimed-udp time\00", align 1
@.str.9 = private unnamed_addr constant [34 x i8] c"%.4i-%.2i-%.2i %.2i:%.2i:%.2i %s\0A\00", align 1
@.str.10 = private unnamed_addr constant [18 x i8] c"daytimed-udp send\00", align 1
@.str.11 = private unnamed_addr constant [13 x i8] c"4-Revoy\C3\A9 %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca %struct.sockaddr_in, align 4
%9 = alloca %struct.sockaddr_in, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca [100 x i8], align 16
%14 = alloca [100 x i8], align 16
%15 = alloca [100 x i8], align 16
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 13, ptr %17, align 4
%18 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 0
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 0
%21 = load ptr, ptr %20, align 8
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 0
%24 = load ptr, ptr %23, align 8
%25 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %18, ptr noundef @.str, ptr noundef %21, ptr noundef %24)
%26 = load i32, ptr %4, align 4
switch i32 %26, label %43 [
i32 1, label %27
i32 2, label %28
]
27: ; preds = %2
store i32 13, ptr %16, align 4
br label %46
28: ; preds = %2
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 1
%31 = load ptr, ptr %30, align 8
%32 = call i32 @sscanf(ptr noundef %31, ptr noundef @.str.1, ptr noundef %16)
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %35
34: ; preds = %28
store i32 2, ptr %3, align 4
br label %143
35: ; preds = %28
%36 = load i32, ptr %16, align 4
%37 = icmp sgt i32 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %35
%39 = load i32, ptr %16, align 4
%40 = icmp slt i32 %39, 65535
br i1 %40, label %42, label %41
41: ; preds = %38, %35
store i32 3, ptr %3, align 4
br label %143
42: ; preds = %38
br label %46
43: ; preds = %2
%44 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 0
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %44)
store i32 1, ptr %3, align 4
br label %143
46: ; preds = %42, %27
%47 = load i32, ptr @PF_INET, align 4
%48 = load i32, ptr @SOCK_DGRAM, align 4
%49 = call i32 @socket(i32 noundef %47, i32 noundef %48, i32 noundef 0)
store i32 %49, ptr %6, align 4
%50 = icmp slt i32 %49, 0
br i1 %50, label %51, label %53
51: ; preds = %46
%52 = call i32 @perror(ptr noundef @.str.3)
store i32 1, ptr %3, align 4
br label %143
53: ; preds = %46
%54 = load i32, ptr @AF_INET, align 4
%55 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 3
store i32 %54, ptr %55, align 4
%56 = load i32, ptr %16, align 4
%57 = call i32 @htons(i32 noundef %56)
%58 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2
store i32 %57, ptr %58, align 4
%59 = load i32, ptr @INADDR_ANY, align 4
%60 = call i32 @htonl(i32 noundef %59)
%61 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0
%62 = getelementptr inbounds %struct.TYPE_2__, ptr %61, i32 0, i32 0
store i32 %60, ptr %62, align 4
%63 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1
%64 = call i32 @memset(ptr noundef %63, i8 noundef signext 0, i32 noundef 8)
%65 = load i32, ptr %6, align 4
%66 = call i64 @bind(i32 noundef %65, ptr noundef %8, i32 noundef 16)
%67 = icmp slt i64 %66, 0
br i1 %67, label %68, label %82
68: ; preds = %53
%69 = call i32 @perror(ptr noundef @.str.4)
%70 = load i64, ptr @errno, align 8
%71 = load i64, ptr @EACCES, align 8
%72 = icmp eq i64 %70, %71
br i1 %72, label %73, label %81
73: ; preds = %68
%74 = load i32, ptr %16, align 4
%75 = icmp eq i32 %74, 13
br i1 %75, label %76, label %80
76: ; preds = %73
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef 13)
%78 = getelementptr inbounds [100 x i8], ptr %13, i64 0, i64 0
%79 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %78)
br label %80
80: ; preds = %76, %73
br label %81
81: ; preds = %80, %68
store i32 2, ptr %3, align 4
br label %143
82: ; preds = %53
store i32 4, ptr %7, align 4
%83 = load i32, ptr %6, align 4
%84 = getelementptr inbounds [100 x i8], ptr %15, i64 0, i64 0
%85 = call i32 @recvfrom(i32 noundef %83, ptr noundef %84, i32 noundef 99, i32 noundef 0, ptr noundef %9, ptr noundef %7)
store i32 %85, ptr %12, align 4
%86 = icmp slt i32 %85, 0
br i1 %86, label %87, label %.lr.ph
.lr.ph: ; preds = %82
br label %90
._crit_edge: ; preds = %137
br label %87
87: ; preds = %._crit_edge, %82
%88 = call i32 @perror(ptr noundef @.str.6)
%89 = call i32 @exit(i32 noundef 1) #3
unreachable
90: ; preds = %.lr.ph, %137
%91 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0
%92 = getelementptr inbounds %struct.TYPE_2__, ptr %91, i32 0, i32 0
%93 = load i32, ptr %92, align 4
%94 = call ptr @inet_ntoa(i32 %93)
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %94)
%96 = call i32 @time(ptr noundef null)
store i32 %96, ptr %10, align 4
%97 = icmp slt i32 %96, 0
br i1 %97, label %98, label %100
98: ; preds = %90
%99 = call i32 @perror(ptr noundef @.str.8)
store i32 6, ptr %3, align 4
br label %143
100: ; preds = %90
%101 = call ptr @localtime(ptr noundef %10)
store ptr %101, ptr %11, align 8
%102 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 0
%103 = load ptr, ptr %11, align 8
%104 = getelementptr inbounds %struct.tm, ptr %103, i32 0, i32 0
%105 = load i32, ptr %104, align 8
%106 = add nsw i32 %105, 1900
%107 = load ptr, ptr %11, align 8
%108 = getelementptr inbounds %struct.tm, ptr %107, i32 0, i32 1
%109 = load i32, ptr %108, align 4
%110 = add nsw i32 %109, 1
%111 = load ptr, ptr %11, align 8
%112 = getelementptr inbounds %struct.tm, ptr %111, i32 0, i32 2
%113 = load i32, ptr %112, align 8
%114 = load ptr, ptr %11, align 8
%115 = getelementptr inbounds %struct.tm, ptr %114, i32 0, i32 3
%116 = load i32, ptr %115, align 4
%117 = load ptr, ptr %11, align 8
%118 = getelementptr inbounds %struct.tm, ptr %117, i32 0, i32 4
%119 = load i32, ptr %118, align 8
%120 = load ptr, ptr %11, align 8
%121 = getelementptr inbounds %struct.tm, ptr %120, i32 0, i32 5
%122 = load i32, ptr %121, align 4
%123 = load ptr, ptr %11, align 8
%124 = getelementptr inbounds %struct.tm, ptr %123, i32 0, i32 6
%125 = load ptr, ptr %124, align 8
%126 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %102, ptr noundef @.str.9, i32 noundef %106, i32 noundef %110, i32 noundef %113, i32 noundef %116, i32 noundef %119, i32 noundef %122, ptr noundef %125)
%127 = load i32, ptr %6, align 4
%128 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 0
%129 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 0
%130 = call i32 @strlen(ptr noundef %129)
%131 = load i32, ptr %7, align 4
%132 = call i32 @sendto(i32 noundef %127, ptr noundef %128, i32 noundef %130, i32 noundef 0, ptr noundef %9, i32 noundef %131)
store i32 %132, ptr %12, align 4
%133 = icmp slt i32 %132, 0
br i1 %133, label %134, label %137
134: ; preds = %100
%135 = call i32 @perror(ptr noundef @.str.10)
%136 = call i32 @exit(i32 noundef 5) #3
unreachable
137: ; preds = %100
%138 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 0
%139 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %138)
%140 = load i32, ptr %6, align 4
%141 = call i32 @recvfrom(i32 noundef %140, ptr noundef %84, i32 noundef 99, i32 noundef 0, ptr noundef %9, ptr noundef %7)
store i32 %141, ptr %12, align 4
%142 = icmp slt i32 %141, 0
br i1 %142, label %._crit_edge, label %90
143: ; preds = %98, %81, %51, %43, %41, %34
%144 = load i32, ptr %3, align 4
ret i32 %144
}
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @inet_ntoa(i32) #1
declare i32 @time(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpfo37jc7b.c'
source_filename = "/tmp/tmpfo37jc7b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"\09b : %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"\09b*2 : %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"Call back function being called\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @called(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %3)
%5 = load i32, ptr %2, align 4
%6 = mul nsw i32 %5, 2
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6)
%8 = 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfo37jc7b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"\09b : %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"\09b*2 : %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"Call back function being called\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @called(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %3)
%5 = load i32, ptr %2, align 4
%6 = mul nsw i32 %5, 2
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6)
%8 = 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"}
|
; ModuleID = '/tmp/tmp1oanadcg.c'
source_filename = "/tmp/tmp1oanadcg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @process_entry(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 = call i32 @printf(ptr noundef @.str, ptr noundef %5)
ret i32 0
}
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/tmp1oanadcg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @process_entry(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 = call i32 @printf(ptr noundef @.str, ptr noundef %5)
ret i32 0
}
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/tmpjjtaiycs.c'
source_filename = "/tmp/tmpjjtaiycs.c"
target datalayout = "e-m:e-p270: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/tmpjjtaiycs.c"
target datalayout = "e-m:e-p270: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/tmp3u3xw10j.c'
source_filename = "/tmp/tmp3u3xw10j.c"
target datalayout = "e-m:e-p270: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/tmp3u3xw10j.c"
target datalayout = "e-m:e-p270: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/tmp74d0us_c.c'
source_filename = "/tmp/tmp74d0us_c.c"
target datalayout = "e-m:e-p270: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 [24 x i8] c"Should never reach here\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @grpcsharp_ssl_credentials_create() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = call i32 (...) @abort() #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp74d0us_c.c"
target datalayout = "e-m:e-p270: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 [24 x i8] c"Should never reach here\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @grpcsharp_ssl_credentials_create() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = call i32 (...) @abort() #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp5ihfg47v.c'
source_filename = "/tmp/tmp5ihfg47v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = call i32 @sub(i32 noundef 5, i32 noundef 3)
store i32 %2, ptr %1, align 4
%3 = call i32 @writeint(i32 noundef 0)
%4 = load i32, ptr %1, align 4
%5 = call i32 @writeint(i32 noundef %4)
ret i32 0
}
declare i32 @sub(i32 noundef, i32 noundef) #1
declare i32 @writeint(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/tmp5ihfg47v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = call i32 @sub(i32 noundef 5, i32 noundef 3)
store i32 %2, ptr %1, align 4
%3 = call i32 @writeint(i32 noundef 0)
%4 = load i32, ptr %1, align 4
%5 = call i32 @writeint(i32 noundef %4)
ret i32 0
}
declare i32 @sub(i32 noundef, i32 noundef) #1
declare i32 @writeint(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/tmp034_05ly.c'
source_filename = "/tmp/tmp034_05ly.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [683 x i8] c"options:\0A -d <database file> this option is mandatory\0A -o <output file> this option is mandatory\0A -on <GROUP or ID> turn log ON for given GROUP or ID\0A -off <GROUP or ID> turn log OFF for given GROUP or ID\0A -ON turn all logs ON\0A -OFF turn all logs OFF\0A note: you may pass several -on/-off/-ON/-OFF,\0A they will be processed in order\0A by default, all is off\0A -ip <host> connect to given IP address (default %s)\0A -p <port> connect to given port (default %d)\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 2021)
%2 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp034_05ly.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [683 x i8] c"options:\0A -d <database file> this option is mandatory\0A -o <output file> this option is mandatory\0A -on <GROUP or ID> turn log ON for given GROUP or ID\0A -off <GROUP or ID> turn log OFF for given GROUP or ID\0A -ON turn all logs ON\0A -OFF turn all logs OFF\0A note: you may pass several -on/-off/-ON/-OFF,\0A they will be processed in order\0A by default, all is off\0A -ip <host> connect to given IP address (default %s)\0A -p <port> connect to given port (default %d)\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 2021)
%2 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbe5sw3_d.c'
source_filename = "/tmp/tmpbe5sw3_d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"ZDTM_TESTS\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"ZDTM_NEWNS\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"ZDTM_GROUPS\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"ZDTM_UID\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"ZDTM_GID\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"ZDTM_ROOT\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"ZDTM_PIDFILE\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"List: [%s]\0A\00", align 1
@.str.8 = private unnamed_addr constant [13 x i8] c"sh /%s.start\00", align 1
@.str.9 = private unnamed_addr constant [12 x i8] c"sh /%s.stop\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"PASS\0A\00", align 1
@.str.11 = private unnamed_addr constant [49 x i8] c"FAIL: %s:%d: Some subs failed (errno = %d (%s))\0A\00", align 1
@.str.12 = private unnamed_addr constant [146 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/fbocharov/criu/refs/heads/master/test/zdtm/lib/groups.c\00", align 1
@errno = 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 ptr, align 8
%8 = alloca [1024 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = load ptr, ptr %5, align 8
%11 = call i32 @test_init(i32 noundef %9, ptr noundef %10)
%12 = call ptr @getenv(ptr noundef @.str)
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %7, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 0
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %32
18: ; preds = %2
%19 = call i32 @unsetenv(ptr noundef @.str.1)
%20 = call i32 @unsetenv(ptr noundef @.str.2)
%21 = call i32 @unsetenv(ptr noundef @.str.3)
%22 = call i32 @unsetenv(ptr noundef @.str.4)
%23 = call i32 @unsetenv(ptr noundef @.str.5)
%24 = call i32 @unsetenv(ptr noundef @.str.6)
%25 = load ptr, ptr %7, align 8
%26 = call i32 (ptr, ...) @test_msg(ptr noundef @.str.7, ptr noundef %25)
%27 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%28 = load ptr, ptr %7, align 8
%29 = call i32 @sprintf(ptr noundef %27, ptr noundef @.str.8, ptr noundef %28)
%30 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%31 = call i32 @system(ptr noundef %30)
br label %32
32: ; preds = %18, %2
%33 = call i32 (...) @test_daemon()
%34 = call i32 (...) @test_waitsig()
%35 = load ptr, ptr %7, align 8
%36 = getelementptr inbounds i8, ptr %35, i64 0
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %46
40: ; preds = %32
%41 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%42 = load ptr, ptr %7, align 8
%43 = call i32 @sprintf(ptr noundef %41, ptr noundef @.str.9, ptr noundef %42)
%44 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%45 = call i32 @system(ptr noundef %44)
store i32 %45, ptr %6, align 4
br label %46
46: ; preds = %40, %32
%47 = load i32, ptr %6, align 4
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %46
%50 = call i32 (ptr, ...) @test_msg(ptr noundef @.str.10)
br label %56
51: ; preds = %46
%52 = load i32, ptr @errno, align 4
%53 = load i32, ptr @errno, align 4
%54 = call i32 @strerror(i32 noundef %53)
%55 = call i32 (ptr, ...) @test_msg(ptr noundef @.str.11, ptr noundef @.str.12, i32 noundef 43, i32 noundef %52, i32 noundef %54)
br label %56
56: ; preds = %51, %49
ret i32 0
}
declare i32 @test_init(i32 noundef, ptr noundef) #1
declare ptr @getenv(ptr noundef) #1
declare i32 @unsetenv(ptr noundef) #1
declare i32 @test_msg(ptr noundef, ...) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @system(ptr noundef) #1
declare i32 @test_daemon(...) #1
declare i32 @test_waitsig(...) #1
declare i32 @strerror(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/tmpbe5sw3_d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"ZDTM_TESTS\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"ZDTM_NEWNS\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"ZDTM_GROUPS\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"ZDTM_UID\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"ZDTM_GID\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"ZDTM_ROOT\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"ZDTM_PIDFILE\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"List: [%s]\0A\00", align 1
@.str.8 = private unnamed_addr constant [13 x i8] c"sh /%s.start\00", align 1
@.str.9 = private unnamed_addr constant [12 x i8] c"sh /%s.stop\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"PASS\0A\00", align 1
@.str.11 = private unnamed_addr constant [49 x i8] c"FAIL: %s:%d: Some subs failed (errno = %d (%s))\0A\00", align 1
@.str.12 = private unnamed_addr constant [146 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/fbocharov/criu/refs/heads/master/test/zdtm/lib/groups.c\00", align 1
@errno = 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 ptr, align 8
%8 = alloca [1024 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = load ptr, ptr %5, align 8
%11 = call i32 @test_init(i32 noundef %9, ptr noundef %10)
%12 = call ptr @getenv(ptr noundef @.str)
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %7, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 0
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %32
18: ; preds = %2
%19 = call i32 @unsetenv(ptr noundef @.str.1)
%20 = call i32 @unsetenv(ptr noundef @.str.2)
%21 = call i32 @unsetenv(ptr noundef @.str.3)
%22 = call i32 @unsetenv(ptr noundef @.str.4)
%23 = call i32 @unsetenv(ptr noundef @.str.5)
%24 = call i32 @unsetenv(ptr noundef @.str.6)
%25 = load ptr, ptr %7, align 8
%26 = call i32 (ptr, ...) @test_msg(ptr noundef @.str.7, ptr noundef %25)
%27 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%28 = load ptr, ptr %7, align 8
%29 = call i32 @sprintf(ptr noundef %27, ptr noundef @.str.8, ptr noundef %28)
%30 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%31 = call i32 @system(ptr noundef %30)
br label %32
32: ; preds = %18, %2
%33 = call i32 (...) @test_daemon()
%34 = call i32 (...) @test_waitsig()
%35 = load ptr, ptr %7, align 8
%36 = getelementptr inbounds i8, ptr %35, i64 0
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %46
40: ; preds = %32
%41 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%42 = load ptr, ptr %7, align 8
%43 = call i32 @sprintf(ptr noundef %41, ptr noundef @.str.9, ptr noundef %42)
%44 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%45 = call i32 @system(ptr noundef %44)
store i32 %45, ptr %6, align 4
br label %46
46: ; preds = %40, %32
%47 = load i32, ptr %6, align 4
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %46
%50 = call i32 (ptr, ...) @test_msg(ptr noundef @.str.10)
br label %56
51: ; preds = %46
%52 = load i32, ptr @errno, align 4
%53 = load i32, ptr @errno, align 4
%54 = call i32 @strerror(i32 noundef %53)
%55 = call i32 (ptr, ...) @test_msg(ptr noundef @.str.11, ptr noundef @.str.12, i32 noundef 43, i32 noundef %52, i32 noundef %54)
br label %56
56: ; preds = %51, %49
ret i32 0
}
declare i32 @test_init(i32 noundef, ptr noundef) #1
declare ptr @getenv(ptr noundef) #1
declare i32 @unsetenv(ptr noundef) #1
declare i32 @test_msg(ptr noundef, ...) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @system(ptr noundef) #1
declare i32 @test_daemon(...) #1
declare i32 @test_waitsig(...) #1
declare i32 @strerror(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/tmpkfklid5o.c'
source_filename = "/tmp/tmpkfklid5o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [96 x i8] c"KeyA: value \22%s\22 of keyword \22%s\22 is doesn't fit in its Fortran buffer, which is only %zd bytes.\00", align 1
@.str.1 = private unnamed_addr constant [106 x i8] c"KeyA: default value \22%s\22 of keyword \22%s\22 is would not fit in its Fortran buffer, which is only %zd bytes.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @keya_len_c(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%10 = load ptr, ptr %5, align 8
%11 = call ptr @getKeyValue(ptr noundef %10, i32 noundef 0)
store ptr %11, ptr %9, align 8
%12 = load ptr, ptr %9, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %24
14: ; preds = %4
%15 = load ptr, ptr %9, align 8
%16 = call i64 @strlen(ptr noundef %15)
%17 = load i64, ptr %7, align 8
%18 = icmp ugt i64 %16, %17
br i1 %18, label %19, label %24
19: ; preds = %14
%20 = load ptr, ptr %9, align 8
%21 = load ptr, ptr %5, align 8
%22 = load i64, ptr %7, align 8
%23 = call i32 @bugv_c(float noundef 1.020000e+02, ptr noundef @.str, ptr noundef %20, ptr noundef %21, i64 noundef %22)
br label %24
24: ; preds = %19, %14, %4
%25 = load ptr, ptr %9, align 8
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %37
27: ; preds = %24
%28 = load ptr, ptr %8, align 8
%29 = call i64 @strlen(ptr noundef %28)
%30 = load i64, ptr %7, align 8
%31 = icmp ugt i64 %29, %30
br i1 %31, label %32, label %37
32: ; preds = %27
%33 = load ptr, ptr %8, align 8
%34 = load ptr, ptr %5, align 8
%35 = load i64, ptr %7, align 8
%36 = call i32 @bugv_c(float noundef 1.020000e+02, ptr noundef @.str.1, ptr noundef %33, ptr noundef %34, i64 noundef %35)
br label %37
37: ; preds = %32, %27, %24
%38 = load ptr, ptr %6, align 8
%39 = load ptr, ptr %9, align 8
%40 = icmp eq ptr %39, null
br i1 %40, label %41, label %43
41: ; preds = %37
%42 = load ptr, ptr %8, align 8
br label %45
43: ; preds = %37
%44 = load ptr, ptr %9, align 8
br label %45
45: ; preds = %43, %41
%46 = phi ptr [ %42, %41 ], [ %44, %43 ]
%47 = load i64, ptr %7, align 8
%48 = call i32 @strncpy(ptr noundef %38, ptr noundef %46, i64 noundef %47)
ret void
}
declare ptr @getKeyValue(ptr noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @bugv_c(float noundef, ptr noundef, ptr noundef, ptr noundef, i64 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/tmpkfklid5o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [96 x i8] c"KeyA: value \22%s\22 of keyword \22%s\22 is doesn't fit in its Fortran buffer, which is only %zd bytes.\00", align 1
@.str.1 = private unnamed_addr constant [106 x i8] c"KeyA: default value \22%s\22 of keyword \22%s\22 is would not fit in its Fortran buffer, which is only %zd bytes.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @keya_len_c(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%10 = load ptr, ptr %5, align 8
%11 = call ptr @getKeyValue(ptr noundef %10, i32 noundef 0)
store ptr %11, ptr %9, align 8
%12 = load ptr, ptr %9, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %24
14: ; preds = %4
%15 = load ptr, ptr %9, align 8
%16 = call i64 @strlen(ptr noundef %15)
%17 = load i64, ptr %7, align 8
%18 = icmp ugt i64 %16, %17
br i1 %18, label %19, label %24
19: ; preds = %14
%20 = load ptr, ptr %9, align 8
%21 = load ptr, ptr %5, align 8
%22 = load i64, ptr %7, align 8
%23 = call i32 @bugv_c(float noundef 1.020000e+02, ptr noundef @.str, ptr noundef %20, ptr noundef %21, i64 noundef %22)
br label %24
24: ; preds = %19, %14, %4
%25 = load ptr, ptr %9, align 8
%26 = icmp eq ptr %25, null
br i1 %26, label %27, label %37
27: ; preds = %24
%28 = load ptr, ptr %8, align 8
%29 = call i64 @strlen(ptr noundef %28)
%30 = load i64, ptr %7, align 8
%31 = icmp ugt i64 %29, %30
br i1 %31, label %32, label %37
32: ; preds = %27
%33 = load ptr, ptr %8, align 8
%34 = load ptr, ptr %5, align 8
%35 = load i64, ptr %7, align 8
%36 = call i32 @bugv_c(float noundef 1.020000e+02, ptr noundef @.str.1, ptr noundef %33, ptr noundef %34, i64 noundef %35)
br label %37
37: ; preds = %32, %27, %24
%38 = load ptr, ptr %6, align 8
%39 = load ptr, ptr %9, align 8
%40 = icmp eq ptr %39, null
br i1 %40, label %41, label %43
41: ; preds = %37
%42 = load ptr, ptr %8, align 8
br label %45
43: ; preds = %37
%44 = load ptr, ptr %9, align 8
br label %45
45: ; preds = %43, %41
%46 = phi ptr [ %42, %41 ], [ %44, %43 ]
%47 = load i64, ptr %7, align 8
%48 = call i32 @strncpy(ptr noundef %38, ptr noundef %46, i64 noundef %47)
ret void
}
declare ptr @getKeyValue(ptr noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @bugv_c(float noundef, ptr noundef, ptr noundef, ptr noundef, i64 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/tmp5m81mopl.c'
source_filename = "/tmp/tmp5m81mopl.c"
target datalayout = "e-m:e-p270: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.tm = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @misc_strftimegiven(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca %struct.tm, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%10 = call i32 @localtime_r(ptr noundef %8, ptr noundef %9)
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %6, align 4
%13 = load ptr, ptr %7, align 8
%14 = call i32 @strftime(ptr noundef %11, i32 noundef %12, ptr noundef %13, ptr noundef %9)
ret i32 %14
}
declare i32 @localtime_r(ptr noundef, ptr noundef) #1
declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5m81mopl.c"
target datalayout = "e-m:e-p270: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.tm = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @misc_strftimegiven(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca %struct.tm, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%10 = call i32 @localtime_r(ptr noundef %8, ptr noundef %9)
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %6, align 4
%13 = load ptr, ptr %7, align 8
%14 = call i32 @strftime(ptr noundef %11, i32 noundef %12, ptr noundef %13, ptr noundef %9)
ret i32 %14
}
declare i32 @localtime_r(ptr noundef, ptr noundef) #1
declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp463m9ah.c'
source_filename = "/tmp/tmpp463m9ah.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @new_matrix(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = mul nsw i32 %6, %7
%9 = sext i32 %8 to i64
%10 = mul i64 %9, 8
%11 = trunc i64 %10 to i32
%12 = call i64 @malloc(i32 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %5, align 8
%15 = icmp ne ptr %14, null
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
%18 = load ptr, ptr %5, align 8
ret ptr %18
}
declare i64 @malloc(i32 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/tmpp463m9ah.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @new_matrix(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = mul nsw i32 %6, %7
%9 = sext i32 %8 to i64
%10 = mul i64 %9, 8
%11 = trunc i64 %10 to i32
%12 = call i64 @malloc(i32 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %5, align 8
%15 = icmp ne ptr %14, null
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
%18 = load ptr, ptr %5, align 8
ret ptr %18
}
declare i64 @malloc(i32 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/tmp0x4qpvk8.c'
source_filename = "/tmp/tmp0x4qpvk8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"/proc/stat\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"fopen:\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"%s%ld%ld%ld%ld%ld%ld%ld%ld%ld%ld\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"error \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @proc_get_total_jiffies_stat() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca [128 x i8], align 16
%4 = alloca [6 x i8], align 1
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca ptr, align 8
store ptr null, ptr %2, align 8
store ptr null, ptr %15, align 8
%16 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %16, ptr %2, align 8
%17 = load ptr, ptr %2, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %22
19: ; preds = %0
%20 = call i32 @perror(ptr noundef @.str.2)
%21 = call i32 @exit(i32 noundef 0) #3
unreachable
22: ; preds = %0
%23 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
%24 = load ptr, ptr %2, align 8
%25 = call i32 @fgets(ptr noundef %23, i32 noundef 128, ptr noundef %24)
%26 = icmp ne i32 %25, 0
br i1 %26, label %28, label %27
27: ; preds = %22
br label %57
28: ; preds = %22
%29 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
%30 = call i32 @strlen(ptr noundef %29)
%31 = icmp sgt i32 %30, 245
br i1 %31, label %32, label %33
32: ; preds = %28
br label %57
33: ; preds = %28
%34 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
%35 = getelementptr inbounds [6 x i8], ptr %4, i64 0, i64 0
%36 = call i32 @sscanf(ptr noundef %34, ptr noundef @.str.3, ptr noundef %35, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14)
%37 = load ptr, ptr %2, align 8
%38 = call i32 @fclose(ptr noundef %37)
%39 = getelementptr inbounds [6 x i8], ptr %4, i64 0, i64 0
%40 = load i64, ptr %5, align 8
%41 = load i64, ptr %6, align 8
%42 = load i64, ptr %7, align 8
%43 = load i64, ptr %8, align 8
%44 = load i64, ptr %9, align 8
%45 = load i64, ptr %10, align 8
%46 = load i64, ptr %11, align 8
%47 = load i64, ptr %12, align 8
%48 = load i64, ptr %13, align 8
%49 = load i64, ptr %14, align 8
%50 = call ptr @cpuusage_set_jiffies_stat(ptr noundef %39, i64 noundef %40, i64 noundef %41, i64 noundef %42, i64 noundef %43, i64 noundef %44, i64 noundef %45, i64 noundef %46, i64 noundef %47, i64 noundef %48, i64 noundef %49, ptr noundef null, ptr noundef null)
store ptr %50, ptr %15, align 8
%51 = icmp eq ptr %50, null
br i1 %51, label %52, label %55
52: ; preds = %33
%53 = call i32 @perror(ptr noundef @.str.4)
%54 = call i32 @exit(i32 noundef -1) #3
unreachable
55: ; preds = %33
%56 = load ptr, ptr %15, align 8
store ptr %56, ptr %1, align 8
br label %60
57: ; preds = %32, %27
%58 = load ptr, ptr %2, align 8
%59 = call i32 @fclose(ptr noundef %58)
store ptr null, ptr %1, align 8
br label %60
60: ; preds = %57, %55
%61 = load ptr, ptr %1, align 8
ret ptr %61
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare ptr @cpuusage_set_jiffies_stat(ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 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" }
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/tmp0x4qpvk8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"/proc/stat\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"fopen:\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"%s%ld%ld%ld%ld%ld%ld%ld%ld%ld%ld\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"error \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @proc_get_total_jiffies_stat() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca [128 x i8], align 16
%4 = alloca [6 x i8], align 1
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca ptr, align 8
store ptr null, ptr %2, align 8
store ptr null, ptr %15, align 8
%16 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %16, ptr %2, align 8
%17 = load ptr, ptr %2, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %22
19: ; preds = %0
%20 = call i32 @perror(ptr noundef @.str.2)
%21 = call i32 @exit(i32 noundef 0) #3
unreachable
22: ; preds = %0
%23 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
%24 = load ptr, ptr %2, align 8
%25 = call i32 @fgets(ptr noundef %23, i32 noundef 128, ptr noundef %24)
%26 = icmp ne i32 %25, 0
br i1 %26, label %28, label %27
27: ; preds = %22
br label %57
28: ; preds = %22
%29 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
%30 = call i32 @strlen(ptr noundef %29)
%31 = icmp sgt i32 %30, 245
br i1 %31, label %32, label %33
32: ; preds = %28
br label %57
33: ; preds = %28
%34 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
%35 = getelementptr inbounds [6 x i8], ptr %4, i64 0, i64 0
%36 = call i32 @sscanf(ptr noundef %34, ptr noundef @.str.3, ptr noundef %35, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14)
%37 = load ptr, ptr %2, align 8
%38 = call i32 @fclose(ptr noundef %37)
%39 = getelementptr inbounds [6 x i8], ptr %4, i64 0, i64 0
%40 = load i64, ptr %5, align 8
%41 = load i64, ptr %6, align 8
%42 = load i64, ptr %7, align 8
%43 = load i64, ptr %8, align 8
%44 = load i64, ptr %9, align 8
%45 = load i64, ptr %10, align 8
%46 = load i64, ptr %11, align 8
%47 = load i64, ptr %12, align 8
%48 = load i64, ptr %13, align 8
%49 = load i64, ptr %14, align 8
%50 = call ptr @cpuusage_set_jiffies_stat(ptr noundef %39, i64 noundef %40, i64 noundef %41, i64 noundef %42, i64 noundef %43, i64 noundef %44, i64 noundef %45, i64 noundef %46, i64 noundef %47, i64 noundef %48, i64 noundef %49, ptr noundef null, ptr noundef null)
store ptr %50, ptr %15, align 8
%51 = icmp eq ptr %50, null
br i1 %51, label %52, label %55
52: ; preds = %33
%53 = call i32 @perror(ptr noundef @.str.4)
%54 = call i32 @exit(i32 noundef -1) #3
unreachable
55: ; preds = %33
%56 = load ptr, ptr %15, align 8
store ptr %56, ptr %1, align 8
br label %60
57: ; preds = %32, %27
%58 = load ptr, ptr %2, align 8
%59 = call i32 @fclose(ptr noundef %58)
store ptr null, ptr %1, align 8
br label %60
60: ; preds = %57, %55
%61 = load ptr, ptr %1, align 8
ret ptr %61
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare ptr @cpuusage_set_jiffies_stat(ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 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" }
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/tmprxie6ewt.c'
source_filename = "/tmp/tmprxie6ewt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @calculate_PI(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
store ptr %0, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
store ptr %10, ptr %4, align 8
%11 = call ptr @malloc(i32 noundef 4)
store ptr %11, ptr %6, align 8
%12 = call i64 @time(ptr noundef null)
%13 = trunc i64 %12 to i32
%14 = call i32 @srand(i32 noundef %13)
store i32 0, ptr %5, align 4
br label %15
15: ; preds = %42, %1
%16 = load i32, ptr %5, align 4
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %17, align 4
%19 = icmp slt i32 %16, %18
br i1 %19, label %20, label %45
20: ; preds = %15
%21 = call i64 (...) @rand()
%22 = sitofp i64 %21 to double
%23 = load double, ptr @RAND_MAX, align 8
%24 = fdiv double %22, %23
store double %24, ptr %7, align 8
%25 = call i64 (...) @rand()
%26 = sitofp i64 %25 to double
%27 = load double, ptr @RAND_MAX, align 8
%28 = fdiv double %26, %27
store double %28, ptr %8, align 8
%29 = load double, ptr %7, align 8
%30 = load double, ptr %7, align 8
%31 = load double, ptr %8, align 8
%32 = load double, ptr %8, align 8
%33 = fmul double %31, %32
%34 = call double @llvm.fmuladd.f64(double %29, double %30, double %33)
store double %34, ptr %9, align 8
%35 = load double, ptr %9, align 8
%36 = fcmp ole double %35, 1.000000e+00
br i1 %36, label %37, label %41
37: ; preds = %20
%38 = load ptr, ptr %6, align 8
%39 = load i32, ptr %38, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %38, align 4
br label %41
41: ; preds = %37, %20
br label %42
42: ; preds = %41
%43 = load i32, ptr %5, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %5, align 4
br label %15, !llvm.loop !6
45: ; preds = %15
%46 = load ptr, ptr %6, align 8
%47 = call i32 @pthread_exit(ptr noundef %46)
%48 = load ptr, ptr %2, align 8
ret ptr %48
}
declare ptr @malloc(i32 noundef) #1
declare i32 @srand(i32 noundef) #1
declare i64 @time(ptr noundef) #1
declare i64 @rand(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @pthread_exit(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprxie6ewt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @calculate_PI(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
store ptr %0, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
store ptr %10, ptr %4, align 8
%11 = call ptr @malloc(i32 noundef 4)
store ptr %11, ptr %6, align 8
%12 = call i64 @time(ptr noundef null)
%13 = trunc i64 %12 to i32
%14 = call i32 @srand(i32 noundef %13)
store i32 0, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %16, align 4
%18 = icmp slt i32 %15, %17
br i1 %18, label %.lr.ph, label %48
.lr.ph: ; preds = %1
br label %19
19: ; preds = %.lr.ph, %41
%20 = call i64 (...) @rand()
%21 = sitofp i64 %20 to double
%22 = load double, ptr @RAND_MAX, align 8
%23 = fdiv double %21, %22
store double %23, ptr %7, align 8
%24 = call i64 (...) @rand()
%25 = sitofp i64 %24 to double
%26 = load double, ptr @RAND_MAX, align 8
%27 = fdiv double %25, %26
store double %27, ptr %8, align 8
%28 = load double, ptr %7, align 8
%29 = load double, ptr %7, align 8
%30 = load double, ptr %8, align 8
%31 = load double, ptr %8, align 8
%32 = fmul double %30, %31
%33 = call double @llvm.fmuladd.f64(double %28, double %29, double %32)
store double %33, ptr %9, align 8
%34 = load double, ptr %9, align 8
%35 = fcmp ole double %34, 1.000000e+00
br i1 %35, label %36, label %40
36: ; preds = %19
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %37, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %37, align 4
br label %40
40: ; preds = %36, %19
br label %41
41: ; preds = %40
%42 = load i32, ptr %5, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %5, align 4
%44 = load i32, ptr %5, align 4
%45 = load ptr, ptr %4, align 8
%46 = load i32, ptr %45, align 4
%47 = icmp slt i32 %44, %46
br i1 %47, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %48
48: ; preds = %._crit_edge, %1
%49 = load ptr, ptr %6, align 8
%50 = call i32 @pthread_exit(ptr noundef %49)
%51 = load ptr, ptr %2, align 8
ret ptr %51
}
declare ptr @malloc(i32 noundef) #1
declare i32 @srand(i32 noundef) #1
declare i64 @time(ptr noundef) #1
declare i64 @rand(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @pthread_exit(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp7ijrxfbr.c'
source_filename = "/tmp/tmp7ijrxfbr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Make_new_Strcat(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 = call i64 @strlen(ptr noundef %6)
%8 = load ptr, ptr %4, align 8
%9 = call i64 @strlen(ptr noundef %8)
%10 = add nsw i64 %7, %9
%11 = add nsw i64 %10, 1
%12 = call i64 @malloc(i64 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %5, align 8
%15 = load ptr, ptr %3, align 8
%16 = call i32 @strcpy(ptr noundef %14, ptr noundef %15)
%17 = load ptr, ptr %5, align 8
%18 = load ptr, ptr %4, align 8
%19 = call i32 @strcat(ptr noundef %17, ptr noundef %18)
%20 = load ptr, ptr %5, align 8
ret ptr %20
}
declare i64 @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(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/tmp7ijrxfbr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Make_new_Strcat(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 = call i64 @strlen(ptr noundef %6)
%8 = load ptr, ptr %4, align 8
%9 = call i64 @strlen(ptr noundef %8)
%10 = add nsw i64 %7, %9
%11 = add nsw i64 %10, 1
%12 = call i64 @malloc(i64 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %5, align 8
%15 = load ptr, ptr %3, align 8
%16 = call i32 @strcpy(ptr noundef %14, ptr noundef %15)
%17 = load ptr, ptr %5, align 8
%18 = load ptr, ptr %4, align 8
%19 = call i32 @strcat(ptr noundef %17, ptr noundef %18)
%20 = load ptr, ptr %5, align 8
ret ptr %20
}
declare i64 @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(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/tmpvjwejxsa.c'
source_filename = "/tmp/tmpvjwejxsa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @for_loop() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = call ptr @safealloc(i32 noundef 10)
store ptr %3, ptr %1, align 8
store i32 0, ptr %2, align 4
br label %4
4: ; preds = %12, %0
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 10
br i1 %6, label %7, label %15
7: ; preds = %4
%8 = load ptr, ptr %1, align 8
%9 = load i32, ptr %2, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
store i8 97, ptr %11, align 1
br label %12
12: ; preds = %7
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %2, align 4
br label %4, !llvm.loop !6
15: ; preds = %4
%16 = call ptr @safealloc(i32 noundef 5)
store ptr %16, ptr %1, align 8
store i32 0, ptr %2, align 4
br label %17
17: ; preds = %25, %15
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %18, 10
br i1 %19, label %20, label %28
20: ; preds = %17
%21 = load ptr, ptr %1, align 8
%22 = load i32, ptr %2, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
store i8 97, ptr %24, align 1
br label %25
25: ; preds = %20
%26 = load i32, ptr %2, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %2, align 4
br label %17, !llvm.loop !8
28: ; preds = %17
ret void
}
declare ptr @safealloc(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/tmpvjwejxsa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @for_loop() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = call ptr @safealloc(i32 noundef 10)
store ptr %3, ptr %1, align 8
store i32 0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 10
br i1 %5, label %.lr.ph, label %16
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %11
%7 = load ptr, ptr %1, align 8
%8 = load i32, ptr %2, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i8, ptr %7, i64 %9
store i8 97, ptr %10, align 1
br label %11
11: ; preds = %6
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %2, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %14, 10
br i1 %15, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %16
16: ; preds = %._crit_edge, %0
%17 = call ptr @safealloc(i32 noundef 5)
store ptr %17, ptr %1, align 8
store i32 0, ptr %2, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %18, 10
br i1 %19, label %.lr.ph2, label %30
.lr.ph2: ; preds = %16
br label %20
20: ; preds = %.lr.ph2, %25
%21 = load ptr, ptr %1, align 8
%22 = load i32, ptr %2, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
store i8 97, ptr %24, align 1
br label %25
25: ; preds = %20
%26 = load i32, ptr %2, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %2, align 4
%28 = load i32, ptr %2, align 4
%29 = icmp slt i32 %28, 10
br i1 %29, label %20, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %25
br label %30
30: ; preds = %._crit_edge3, %16
ret void
}
declare ptr @safealloc(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/tmpsfm_b7ev.c'
source_filename = "/tmp/tmpsfm_b7ev.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [73 x i8] c"This program will take the fahr upper and lower change into the celsius\0A\00", align 1
@.str.1 = private unnamed_addr constant [83 x i8] c"So now, please input the fahr upper, lower, and step.(there int data, and 0~3000)\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%9 = call i32 @printf(ptr noundef @.str)
%10 = call i32 @printf(ptr noundef @.str.1)
%11 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %7, ptr noundef %6, ptr noundef %8)
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %8, align 4
%15 = call i32 @printTemperature(i32 noundef %12, i32 noundef %13, i32 noundef %14)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printTemperature(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/tmpsfm_b7ev.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [73 x i8] c"This program will take the fahr upper and lower change into the celsius\0A\00", align 1
@.str.1 = private unnamed_addr constant [83 x i8] c"So now, please input the fahr upper, lower, and step.(there int data, and 0~3000)\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%9 = call i32 @printf(ptr noundef @.str)
%10 = call i32 @printf(ptr noundef @.str.1)
%11 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %7, ptr noundef %6, ptr noundef %8)
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %8, align 4
%15 = call i32 @printTemperature(i32 noundef %12, i32 noundef %13, i32 noundef %14)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printTemperature(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/tmpy_049dd4.c'
source_filename = "/tmp/tmpy_049dd4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_para(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 2
br i1 %6, label %7, label %8
7: ; preds = %2
br label %13
8: ; preds = %2
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = call i32 @atoi(ptr noundef %11)
br label %13
13: ; preds = %8, %7
%14 = phi i32 [ -1, %7 ], [ %12, %8 ]
ret i32 %14
}
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy_049dd4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_para(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 2
br i1 %6, label %7, label %8
7: ; preds = %2
br label %13
8: ; preds = %2
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = call i32 @atoi(ptr noundef %11)
br label %13
13: ; preds = %8, %7
%14 = phi i32 [ -1, %7 ], [ %12, %8 ]
ret i32 %14
}
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpprj10sza.c'
source_filename = "/tmp/tmpprj10sza.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BreakCOM(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 (...) @Serial1SendBreak()
ret void
}
declare i32 @Serial1SendBreak(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpprj10sza.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BreakCOM(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 (...) @Serial1SendBreak()
ret void
}
declare i32 @Serial1SendBreak(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3_iuhmga.c'
source_filename = "/tmp/tmp3_iuhmga.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vlogical_imm_and16_int32_t(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
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %21, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %24
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = and i32 %15, 16
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %17, i64 %19
store i32 %16, ptr %20, align 4
br label %21
21: ; preds = %10
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %6, !llvm.loop !6
24: ; preds = %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 = '<stdin>'
source_filename = "/tmp/tmp3_iuhmga.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vlogical_imm_and16_int32_t(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
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %20
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
%15 = and i32 %14, 16
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
store i32 %15, ptr %19, align 4
br label %20
20: ; preds = %9
%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 = load i32, ptr %4, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; 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/tmpc72ra8rh.c'
source_filename = "/tmp/tmpc72ra8rh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"int overflow\0A\00", align 1
@stderr = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @foo_chkadd(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr @INT_MAX, align 4
%7 = load i32, ptr %5, align 4
%8 = sub nsw i32 %6, %7
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = call i32 @fputs(ptr noundef @.str, i32 noundef %12)
%14 = load i32, ptr @INT_MAX, align 4
store i32 %14, ptr %3, align 4
br label %19
15: ; preds = %2
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %16, %17
store i32 %18, ptr %3, align 4
br label %19
19: ; preds = %15, %11
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc72ra8rh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"int overflow\0A\00", align 1
@stderr = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @foo_chkadd(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr @INT_MAX, align 4
%7 = load i32, ptr %5, align 4
%8 = sub nsw i32 %6, %7
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = call i32 @fputs(ptr noundef @.str, i32 noundef %12)
%14 = load i32, ptr @INT_MAX, align 4
store i32 %14, ptr %3, align 4
br label %19
15: ; preds = %2
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %16, %17
store i32 %18, ptr %3, align 4
br label %19
19: ; preds = %15, %11
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.