llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpf8410v1y.c'
source_filename = "/tmp/tmpf8410v1y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"debug\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"verbose\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"info\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"warn\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"warning\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"error\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"err\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"msg\00", align 1
@.str.8 = private unnamed_addr constant [8 x i8] c"message\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @log_get_level_str(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = load ptr, ptr %3, align 8
%8 = call i64 @strlen(ptr noundef %7)
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %6, %1
store i32 4, ptr %2, align 4
br label %63
11: ; preds = %6
%12 = load ptr, ptr %3, align 8
%13 = call i64 @strlen(ptr noundef @.str)
%14 = call i32 @strncasecmp(ptr noundef %12, ptr noundef @.str, i64 noundef %13)
%15 = icmp ne i32 %14, 0
br i1 %15, label %17, label %16
16: ; preds = %11
store i32 1, ptr %2, align 4
br label %63
17: ; preds = %11
%18 = load ptr, ptr %3, align 8
%19 = call i64 @strlen(ptr noundef @.str.1)
%20 = call i32 @strncasecmp(ptr noundef %18, ptr noundef @.str.1, i64 noundef %19)
%21 = icmp ne i32 %20, 0
br i1 %21, label %23, label %22
22: ; preds = %17
store i32 2, ptr %2, align 4
br label %63
23: ; preds = %17
%24 = load ptr, ptr %3, align 8
%25 = call i64 @strlen(ptr noundef @.str.2)
%26 = call i32 @strncasecmp(ptr noundef %24, ptr noundef @.str.2, i64 noundef %25)
%27 = icmp ne i32 %26, 0
br i1 %27, label %29, label %28
28: ; preds = %23
store i32 3, ptr %2, align 4
br label %63
29: ; preds = %23
%30 = load ptr, ptr %3, align 8
%31 = call i64 @strlen(ptr noundef @.str.3)
%32 = call i32 @strncasecmp(ptr noundef %30, ptr noundef @.str.3, i64 noundef %31)
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %39
34: ; preds = %29
%35 = load ptr, ptr %3, align 8
%36 = call i64 @strlen(ptr noundef @.str.4)
%37 = call i32 @strncasecmp(ptr noundef %35, ptr noundef @.str.4, i64 noundef %36)
%38 = icmp ne i32 %37, 0
br i1 %38, label %40, label %39
39: ; preds = %34, %29
store i32 4, ptr %2, align 4
br label %63
40: ; preds = %34
%41 = load ptr, ptr %3, align 8
%42 = call i64 @strlen(ptr noundef @.str.5)
%43 = call i32 @strncasecmp(ptr noundef %41, ptr noundef @.str.5, i64 noundef %42)
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %50
45: ; preds = %40
%46 = load ptr, ptr %3, align 8
%47 = call i64 @strlen(ptr noundef @.str.6)
%48 = call i32 @strncasecmp(ptr noundef %46, ptr noundef @.str.6, i64 noundef %47)
%49 = icmp ne i32 %48, 0
br i1 %49, label %51, label %50
50: ; preds = %45, %40
store i32 5, ptr %2, align 4
br label %63
51: ; preds = %45
%52 = load ptr, ptr %3, align 8
%53 = call i64 @strlen(ptr noundef @.str.7)
%54 = call i32 @strncasecmp(ptr noundef %52, ptr noundef @.str.7, i64 noundef %53)
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %61
56: ; preds = %51
%57 = load ptr, ptr %3, align 8
%58 = call i64 @strlen(ptr noundef @.str.8)
%59 = call i32 @strncasecmp(ptr noundef %57, ptr noundef @.str.8, i64 noundef %58)
%60 = icmp ne i32 %59, 0
br i1 %60, label %62, label %61
61: ; preds = %56, %51
store i32 99, ptr %2, align 4
br label %63
62: ; preds = %56
store i32 4, ptr %2, align 4
br label %63
63: ; preds = %62, %61, %50, %39, %28, %22, %16, %10
%64 = load i32, ptr %2, align 4
ret i32 %64
}
declare i64 @strlen(ptr noundef) #1
declare i32 @strncasecmp(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/tmpf8410v1y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"debug\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"verbose\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"info\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"warn\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"warning\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"error\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"err\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"msg\00", align 1
@.str.8 = private unnamed_addr constant [8 x i8] c"message\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @log_get_level_str(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = load ptr, ptr %3, align 8
%8 = call i64 @strlen(ptr noundef %7)
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %6, %1
store i32 4, ptr %2, align 4
br label %63
11: ; preds = %6
%12 = load ptr, ptr %3, align 8
%13 = call i64 @strlen(ptr noundef @.str)
%14 = call i32 @strncasecmp(ptr noundef %12, ptr noundef @.str, i64 noundef %13)
%15 = icmp ne i32 %14, 0
br i1 %15, label %17, label %16
16: ; preds = %11
store i32 1, ptr %2, align 4
br label %63
17: ; preds = %11
%18 = load ptr, ptr %3, align 8
%19 = call i64 @strlen(ptr noundef @.str.1)
%20 = call i32 @strncasecmp(ptr noundef %18, ptr noundef @.str.1, i64 noundef %19)
%21 = icmp ne i32 %20, 0
br i1 %21, label %23, label %22
22: ; preds = %17
store i32 2, ptr %2, align 4
br label %63
23: ; preds = %17
%24 = load ptr, ptr %3, align 8
%25 = call i64 @strlen(ptr noundef @.str.2)
%26 = call i32 @strncasecmp(ptr noundef %24, ptr noundef @.str.2, i64 noundef %25)
%27 = icmp ne i32 %26, 0
br i1 %27, label %29, label %28
28: ; preds = %23
store i32 3, ptr %2, align 4
br label %63
29: ; preds = %23
%30 = load ptr, ptr %3, align 8
%31 = call i64 @strlen(ptr noundef @.str.3)
%32 = call i32 @strncasecmp(ptr noundef %30, ptr noundef @.str.3, i64 noundef %31)
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %39
34: ; preds = %29
%35 = load ptr, ptr %3, align 8
%36 = call i64 @strlen(ptr noundef @.str.4)
%37 = call i32 @strncasecmp(ptr noundef %35, ptr noundef @.str.4, i64 noundef %36)
%38 = icmp ne i32 %37, 0
br i1 %38, label %40, label %39
39: ; preds = %34, %29
store i32 4, ptr %2, align 4
br label %63
40: ; preds = %34
%41 = load ptr, ptr %3, align 8
%42 = call i64 @strlen(ptr noundef @.str.5)
%43 = call i32 @strncasecmp(ptr noundef %41, ptr noundef @.str.5, i64 noundef %42)
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %50
45: ; preds = %40
%46 = load ptr, ptr %3, align 8
%47 = call i64 @strlen(ptr noundef @.str.6)
%48 = call i32 @strncasecmp(ptr noundef %46, ptr noundef @.str.6, i64 noundef %47)
%49 = icmp ne i32 %48, 0
br i1 %49, label %51, label %50
50: ; preds = %45, %40
store i32 5, ptr %2, align 4
br label %63
51: ; preds = %45
%52 = load ptr, ptr %3, align 8
%53 = call i64 @strlen(ptr noundef @.str.7)
%54 = call i32 @strncasecmp(ptr noundef %52, ptr noundef @.str.7, i64 noundef %53)
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %61
56: ; preds = %51
%57 = load ptr, ptr %3, align 8
%58 = call i64 @strlen(ptr noundef @.str.8)
%59 = call i32 @strncasecmp(ptr noundef %57, ptr noundef @.str.8, i64 noundef %58)
%60 = icmp ne i32 %59, 0
br i1 %60, label %62, label %61
61: ; preds = %56, %51
store i32 99, ptr %2, align 4
br label %63
62: ; preds = %56
store i32 4, ptr %2, align 4
br label %63
63: ; preds = %62, %61, %50, %39, %28, %22, %16, %10
%64 = load i32, ptr %2, align 4
ret i32 %64
}
declare i64 @strlen(ptr noundef) #1
declare i32 @strncasecmp(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/tmpnlek09ws.c'
source_filename = "/tmp/tmpnlek09ws.c"
target datalayout = "e-m:e-p270: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.csc_strbival_long.defdlm = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @csc_strbival_long(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 [2 x i8], align 1
%9 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.csc_strbival_long.defdlm, i64 2, i1 false)
%10 = load ptr, ptr %4, align 8
%11 = call i64 @strtol(ptr noundef %10, ptr noundef %7, i32 noundef 0)
store i64 %11, ptr %9, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %16
14: ; preds = %3
%15 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0
store ptr %15, ptr %5, align 8
br label %16
16: ; preds = %14, %3
br label %17
17: ; preds = %30, %16
%18 = load ptr, ptr %7, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %28
22: ; preds = %17
%23 = load ptr, ptr %5, align 8
%24 = load ptr, ptr %7, align 8
%25 = load i8, ptr %24, align 1
%26 = call i64 @csc_isdelim(ptr noundef %23, i8 noundef signext %25)
%27 = icmp ne i64 %26, 0
br label %28
28: ; preds = %22, %17
%29 = phi i1 [ false, %17 ], [ %27, %22 ]
br i1 %29, label %30, label %33
30: ; preds = %28
%31 = load ptr, ptr %7, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %7, align 8
br label %17, !llvm.loop !6
33: ; preds = %28
%34 = load ptr, ptr %6, align 8
%35 = icmp ne ptr %34, null
br i1 %35, label %36, label %40
36: ; preds = %33
%37 = load ptr, ptr %7, align 8
%38 = call i64 @strtol(ptr noundef %37, ptr noundef null, i32 noundef 0)
%39 = load ptr, ptr %6, align 8
store i64 %38, ptr %39, align 8
br label %40
40: ; preds = %36, %33
%41 = load i64, ptr %9, align 8
ret i64 %41
}
; 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 @strtol(ptr noundef, ptr noundef, i32 noundef) #2
declare i64 @csc_isdelim(ptr noundef, i8 noundef signext) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnlek09ws.c"
target datalayout = "e-m:e-p270: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.csc_strbival_long.defdlm = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @csc_strbival_long(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 [2 x i8], align 1
%9 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.csc_strbival_long.defdlm, i64 2, i1 false)
%10 = load ptr, ptr %4, align 8
%11 = call i64 @strtol(ptr noundef %10, ptr noundef %7, i32 noundef 0)
store i64 %11, ptr %9, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %16
14: ; preds = %3
%15 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0
store ptr %15, ptr %5, align 8
br label %16
16: ; preds = %14, %3
br label %17
17: ; preds = %30, %16
%18 = load ptr, ptr %7, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %28
22: ; preds = %17
%23 = load ptr, ptr %5, align 8
%24 = load ptr, ptr %7, align 8
%25 = load i8, ptr %24, align 1
%26 = call i64 @csc_isdelim(ptr noundef %23, i8 noundef signext %25)
%27 = icmp ne i64 %26, 0
br label %28
28: ; preds = %22, %17
%29 = phi i1 [ false, %17 ], [ %27, %22 ]
br i1 %29, label %30, label %33
30: ; preds = %28
%31 = load ptr, ptr %7, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %7, align 8
br label %17, !llvm.loop !6
33: ; preds = %28
%34 = load ptr, ptr %6, align 8
%35 = icmp ne ptr %34, null
br i1 %35, label %36, label %40
36: ; preds = %33
%37 = load ptr, ptr %7, align 8
%38 = call i64 @strtol(ptr noundef %37, ptr noundef null, i32 noundef 0)
%39 = load ptr, ptr %6, align 8
store i64 %38, ptr %39, align 8
br label %40
40: ; preds = %36, %33
%41 = load i64, ptr %9, align 8
ret i64 %41
}
; 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 @strtol(ptr noundef, ptr noundef, i32 noundef) #2
declare i64 @csc_isdelim(ptr noundef, i8 noundef signext) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpn3hmlgx8.c'
source_filename = "/tmp/tmpn3hmlgx8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Fahrenheit Celsius\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"%10.0f %7.1f\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 float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store float 0.000000e+00, ptr %8, align 4
store float 3.000000e+02, ptr %9, align 4
store float 2.000000e+01, ptr %10, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%12 = load float, ptr %9, align 4
store float %12, ptr %6, align 4
br label %13
13: ; preds = %28, %2
%14 = load float, ptr %6, align 4
%15 = load float, ptr %8, align 4
%16 = fcmp oge float %14, %15
br i1 %16, label %17, label %32
17: ; preds = %13
%18 = load float, ptr %6, align 4
%19 = fpext float %18 to double
%20 = fsub double %19, 3.200000e+01
%21 = fmul double 0x3FE1C71C71C71C72, %20
%22 = fptrunc double %21 to float
store float %22, ptr %7, align 4
%23 = load float, ptr %6, align 4
%24 = fpext float %23 to double
%25 = load float, ptr %7, align 4
%26 = fpext float %25 to double
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %24, double noundef %26)
br label %28
28: ; preds = %17
%29 = load float, ptr %10, align 4
%30 = load float, ptr %6, align 4
%31 = fsub float %30, %29
store float %31, ptr %6, align 4
br label %13, !llvm.loop !6
32: ; preds = %13
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/tmpn3hmlgx8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Fahrenheit Celsius\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"%10.0f %7.1f\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 float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store float 0.000000e+00, ptr %8, align 4
store float 3.000000e+02, ptr %9, align 4
store float 2.000000e+01, ptr %10, align 4
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%12 = load float, ptr %9, align 4
store float %12, ptr %6, align 4
%13 = load float, ptr %6, align 4
%14 = load float, ptr %8, align 4
%15 = fcmp oge float %13, %14
br i1 %15, label %.lr.ph, label %34
.lr.ph: ; preds = %2
br label %16
16: ; preds = %.lr.ph, %27
%17 = load float, ptr %6, align 4
%18 = fpext float %17 to double
%19 = fsub double %18, 3.200000e+01
%20 = fmul double 0x3FE1C71C71C71C72, %19
%21 = fptrunc double %20 to float
store float %21, ptr %7, align 4
%22 = load float, ptr %6, align 4
%23 = fpext float %22 to double
%24 = load float, ptr %7, align 4
%25 = fpext float %24 to double
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %23, double noundef %25)
br label %27
27: ; preds = %16
%28 = load float, ptr %10, align 4
%29 = load float, ptr %6, align 4
%30 = fsub float %29, %28
store float %30, ptr %6, align 4
%31 = load float, ptr %6, align 4
%32 = load float, ptr %8, align 4
%33 = fcmp oge float %31, %32
br i1 %33, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %34
34: ; preds = %._crit_edge, %2
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/tmpu511eycn.c'
source_filename = "/tmp/tmpu511eycn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"eror on realloc array\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @array_resize(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = sext i32 %9 to i64
%11 = mul i64 8, %10
%12 = trunc i64 %11 to i32
%13 = call ptr @realloc(ptr noundef %8, i32 noundef %12)
store ptr %13, ptr %7, align 8
%14 = load ptr, ptr %7, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %19, label %16
16: ; preds = %3
%17 = call i32 @printf(ptr noundef @.str)
%18 = call i32 @exit(i32 noundef 1) #3
unreachable
19: ; preds = %3
%20 = load ptr, ptr %7, align 8
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %21, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds ptr, ptr %20, i64 %23
%25 = load i32, ptr %5, align 4
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %26, align 4
%28 = sub nsw i32 %25, %27
%29 = call i32 @memset(ptr noundef %24, i32 noundef 0, i32 noundef %28)
%30 = load i32, ptr %5, align 4
%31 = load ptr, ptr %6, align 8
store i32 %30, ptr %31, align 4
ret void
}
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpu511eycn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"eror on realloc array\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @array_resize(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = sext i32 %9 to i64
%11 = mul i64 8, %10
%12 = trunc i64 %11 to i32
%13 = call ptr @realloc(ptr noundef %8, i32 noundef %12)
store ptr %13, ptr %7, align 8
%14 = load ptr, ptr %7, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %19, label %16
16: ; preds = %3
%17 = call i32 @printf(ptr noundef @.str)
%18 = call i32 @exit(i32 noundef 1) #3
unreachable
19: ; preds = %3
%20 = load ptr, ptr %7, align 8
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %21, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds ptr, ptr %20, i64 %23
%25 = load i32, ptr %5, align 4
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %26, align 4
%28 = sub nsw i32 %25, %27
%29 = call i32 @memset(ptr noundef %24, i32 noundef 0, i32 noundef %28)
%30 = load i32, ptr %5, align 4
%31 = load ptr, ptr %6, align 8
store i32 %30, ptr %31, align 4
ret void
}
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpjb3mcvl0.c'
source_filename = "/tmp/tmpjb3mcvl0.c"
target datalayout = "e-m:e-p270: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/tmpjb3mcvl0.c"
target datalayout = "e-m:e-p270: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/tmp1738uay5.c'
source_filename = "/tmp/tmp1738uay5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @failure_on_both_branches(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp sgt i32 %3, 3
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = call i32 @simple_check(i32 noundef %6)
br label %10
8: ; preds = %1
%9 = call i32 @simple_check(i32 noundef 42)
br label %10
10: ; preds = %8, %5
ret void
}
declare i32 @simple_check(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/tmp1738uay5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @failure_on_both_branches(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp sgt i32 %3, 3
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = call i32 @simple_check(i32 noundef %6)
br label %10
8: ; preds = %1
%9 = call i32 @simple_check(i32 noundef 42)
br label %10
10: ; preds = %8, %5
ret void
}
declare i32 @simple_check(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/tmpxchs1wi3.c'
source_filename = "/tmp/tmpxchs1wi3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i32 0, ptr %1, align 4
%6 = call i64 @find_vdso_map(ptr noundef %2, ptr noundef %3)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %0
store i32 1, ptr %1, align 4
br label %39
9: ; preds = %0
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr %2, align 8
%12 = ptrtoint ptr %10 to i64
%13 = ptrtoint ptr %11 to i64
%14 = sub i64 %12, %13
store i64 %14, ptr %4, align 8
br label %15
15: ; preds = %26, %9
%16 = load i64, ptr %4, align 8
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %33
18: ; preds = %15
%19 = load ptr, ptr %2, align 8
%20 = load i64, ptr %4, align 8
%21 = load i32, ptr @stdout, align 4
%22 = call i64 @fwrite(ptr noundef %19, i32 noundef 1, i64 noundef %20, i32 noundef %21)
store i64 %22, ptr %5, align 8
%23 = load i64, ptr %5, align 8
%24 = icmp ne i64 %23, 0
br i1 %24, label %26, label %25
25: ; preds = %18
store i32 1, ptr %1, align 4
br label %39
26: ; preds = %18
%27 = load i64, ptr %5, align 8
%28 = load ptr, ptr %2, align 8
%29 = getelementptr i8, ptr %28, i64 %27
store ptr %29, ptr %2, align 8
%30 = load i64, ptr %5, align 8
%31 = load i64, ptr %4, align 8
%32 = sub i64 %31, %30
store i64 %32, ptr %4, align 8
br label %15, !llvm.loop !6
33: ; preds = %15
%34 = load i32, ptr @stdout, align 4
%35 = call i64 @fflush(i32 noundef %34)
%36 = icmp ne i64 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %33
store i32 1, ptr %1, align 4
br label %39
38: ; preds = %33
store i32 0, ptr %1, align 4
br label %39
39: ; preds = %38, %37, %25, %8
%40 = load i32, ptr %1, align 4
ret i32 %40
}
declare i64 @find_vdso_map(ptr noundef, ptr noundef) #1
declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, i32 noundef) #1
declare i64 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpxchs1wi3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i32 0, ptr %1, align 4
%6 = call i64 @find_vdso_map(ptr noundef %2, ptr noundef %3)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %0
store i32 1, ptr %1, align 4
br label %40
9: ; preds = %0
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr %2, align 8
%12 = ptrtoint ptr %10 to i64
%13 = ptrtoint ptr %11 to i64
%14 = sub i64 %12, %13
store i64 %14, ptr %4, align 8
%15 = load i64, ptr %4, align 8
%16 = icmp ne i64 %15, 0
br i1 %16, label %.lr.ph, label %34
.lr.ph: ; preds = %9
br label %17
17: ; preds = %.lr.ph, %25
%18 = load ptr, ptr %2, align 8
%19 = load i64, ptr %4, align 8
%20 = load i32, ptr @stdout, align 4
%21 = call i64 @fwrite(ptr noundef %18, i32 noundef 1, i64 noundef %19, i32 noundef %20)
store i64 %21, ptr %5, align 8
%22 = load i64, ptr %5, align 8
%23 = icmp ne i64 %22, 0
br i1 %23, label %25, label %24
24: ; preds = %17
store i32 1, ptr %1, align 4
br label %40
25: ; preds = %17
%26 = load i64, ptr %5, align 8
%27 = load ptr, ptr %2, align 8
%28 = getelementptr i8, ptr %27, i64 %26
store ptr %28, ptr %2, align 8
%29 = load i64, ptr %5, align 8
%30 = load i64, ptr %4, align 8
%31 = sub i64 %30, %29
store i64 %31, ptr %4, align 8
%32 = load i64, ptr %4, align 8
%33 = icmp ne i64 %32, 0
br i1 %33, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %34
34: ; preds = %._crit_edge, %9
%35 = load i32, ptr @stdout, align 4
%36 = call i64 @fflush(i32 noundef %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %34
store i32 1, ptr %1, align 4
br label %40
39: ; preds = %34
store i32 0, ptr %1, align 4
br label %40
40: ; preds = %39, %38, %24, %8
%41 = load i32, ptr %1, align 4
ret i32 %41
}
declare i64 @find_vdso_map(ptr noundef, ptr noundef) #1
declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, i32 noundef) #1
declare i64 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpnq8xf_gk.c'
source_filename = "/tmp/tmpnq8xf_gk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [71 x i8] c"ERROR: failed to insert %f into \22%s\22\0AExpected \22%s\22 or \22%s\22, got \22%s\22.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @DoDoubleTest(ptr noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca double, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [256 x i8], align 16
store ptr %0, ptr %5, align 8
store double %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 256, i1 false)
%10 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%11 = load ptr, ptr %5, align 8
%12 = load double, ptr %6, align 8
%13 = call i32 @_snprintf(ptr noundef %10, i32 noundef 256, ptr noundef %11, double noundef %12)
%14 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%15 = load ptr, ptr %7, align 8
%16 = load ptr, ptr %7, align 8
%17 = call i64 @strlen(ptr noundef %16)
%18 = add nsw i64 %17, 1
%19 = call i64 @memcmp(ptr noundef %14, ptr noundef %15, i64 noundef %18)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %36
21: ; preds = %4
%22 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%23 = load ptr, ptr %8, align 8
%24 = load ptr, ptr %8, align 8
%25 = call i64 @strlen(ptr noundef %24)
%26 = add nsw i64 %25, 1
%27 = call i64 @memcmp(ptr noundef %22, ptr noundef %23, i64 noundef %26)
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %36
29: ; preds = %21
%30 = load double, ptr %6, align 8
%31 = load ptr, ptr %5, align 8
%32 = load ptr, ptr %7, align 8
%33 = load ptr, ptr %8, align 8
%34 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%35 = call i32 @Fail(ptr noundef @.str, double noundef %30, ptr noundef %31, ptr noundef %32, ptr noundef %33, ptr noundef %34)
br label %36
36: ; preds = %29, %21, %4
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @_snprintf(ptr noundef, i32 noundef, ptr noundef, double noundef) #2
declare i64 @memcmp(ptr noundef, ptr noundef, i64 noundef) #2
declare i64 @strlen(ptr noundef) #2
declare i32 @Fail(ptr noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnq8xf_gk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [71 x i8] c"ERROR: failed to insert %f into \22%s\22\0AExpected \22%s\22 or \22%s\22, got \22%s\22.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @DoDoubleTest(ptr noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca double, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [256 x i8], align 16
store ptr %0, ptr %5, align 8
store double %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 256, i1 false)
%10 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%11 = load ptr, ptr %5, align 8
%12 = load double, ptr %6, align 8
%13 = call i32 @_snprintf(ptr noundef %10, i32 noundef 256, ptr noundef %11, double noundef %12)
%14 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%15 = load ptr, ptr %7, align 8
%16 = load ptr, ptr %7, align 8
%17 = call i64 @strlen(ptr noundef %16)
%18 = add nsw i64 %17, 1
%19 = call i64 @memcmp(ptr noundef %14, ptr noundef %15, i64 noundef %18)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %36
21: ; preds = %4
%22 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%23 = load ptr, ptr %8, align 8
%24 = load ptr, ptr %8, align 8
%25 = call i64 @strlen(ptr noundef %24)
%26 = add nsw i64 %25, 1
%27 = call i64 @memcmp(ptr noundef %22, ptr noundef %23, i64 noundef %26)
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %36
29: ; preds = %21
%30 = load double, ptr %6, align 8
%31 = load ptr, ptr %5, align 8
%32 = load ptr, ptr %7, align 8
%33 = load ptr, ptr %8, align 8
%34 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%35 = call i32 @Fail(ptr noundef @.str, double noundef %30, ptr noundef %31, ptr noundef %32, ptr noundef %33, ptr noundef %34)
br label %36
36: ; preds = %29, %21, %4
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @_snprintf(ptr noundef, i32 noundef, ptr noundef, double noundef) #2
declare i64 @memcmp(ptr noundef, ptr noundef, i64 noundef) #2
declare i64 @strlen(ptr noundef) #2
declare i32 @Fail(ptr noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprjzqis1j.c'
source_filename = "/tmp/tmprjzqis1j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn_vv() #0 {
%1 = call i32 (...) @abort() #2
unreachable
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprjzqis1j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn_vv() #0 {
%1 = call i32 (...) @abort() #2
unreachable
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7gvbv1hp.c'
source_filename = "/tmp/tmp7gvbv1hp.c"
target datalayout = "e-m:e-p270: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/tmp7gvbv1hp.c"
target datalayout = "e-m:e-p270: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/tmpmec_2lk2.c'
source_filename = "/tmp/tmpmec_2lk2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"%.4f is negative\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"%.4f is positive\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"input is zero\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load float, ptr %2, align 4
%5 = fcmp olt float %4, 0.000000e+00
br i1 %5, label %6, label %10
6: ; preds = %0
%7 = load float, ptr %2, align 4
%8 = fpext float %7 to double
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %8)
br label %20
10: ; preds = %0
%11 = load float, ptr %2, align 4
%12 = fcmp ogt float %11, 0.000000e+00
br i1 %12, label %13, label %17
13: ; preds = %10
%14 = load float, ptr %2, align 4
%15 = fpext float %14 to double
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %15)
br label %19
17: ; preds = %10
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %19
19: ; preds = %17, %13
br label %20
20: ; preds = %19, %6
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmec_2lk2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"%.4f is negative\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"%.4f is positive\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"input is zero\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load float, ptr %2, align 4
%5 = fcmp olt float %4, 0.000000e+00
br i1 %5, label %6, label %10
6: ; preds = %0
%7 = load float, ptr %2, align 4
%8 = fpext float %7 to double
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %8)
br label %20
10: ; preds = %0
%11 = load float, ptr %2, align 4
%12 = fcmp ogt float %11, 0.000000e+00
br i1 %12, label %13, label %17
13: ; preds = %10
%14 = load float, ptr %2, align 4
%15 = fpext float %14 to double
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %15)
br label %19
17: ; preds = %10
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %19
19: ; preds = %17, %13
br label %20
20: ; preds = %19, %6
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy_uquc4n.c'
source_filename = "/tmp/tmpy_uquc4n.c"
target datalayout = "e-m:e-p270: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/tmpy_uquc4n.c"
target datalayout = "e-m:e-p270: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/tmp2pli47ta.c'
source_filename = "/tmp/tmp2pli47ta.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xcalloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @xmalloc(i64 noundef %3)
%5 = load i64, ptr %2, align 8
%6 = call ptr @memset(i32 noundef %4, i32 noundef 0, i64 noundef %5)
ret ptr %6
}
declare ptr @memset(i32 noundef, i32 noundef, i64 noundef) #1
declare i32 @xmalloc(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/tmp2pli47ta.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xcalloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @xmalloc(i64 noundef %3)
%5 = load i64, ptr %2, align 8
%6 = call ptr @memset(i32 noundef %4, i32 noundef 0, i64 noundef %5)
ret ptr %6
}
declare ptr @memset(i32 noundef, i32 noundef, i64 noundef) #1
declare i32 @xmalloc(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/tmp3_cun09n.c'
source_filename = "/tmp/tmp3_cun09n.c"
target datalayout = "e-m:e-p270: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/tmp3_cun09n.c"
target datalayout = "e-m:e-p270: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/tmpxd62lc_g.c'
source_filename = "/tmp/tmpxd62lc_g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxd62lc_g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqktp_f5x.c'
source_filename = "/tmp/tmpqktp_f5x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcoll(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp eq ptr %9, %10
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 0, ptr %3, align 4
br label %45
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %5, align 8
store ptr %15, ptr %7, align 8
br label %16
16: ; preds = %13, %44
%17 = load ptr, ptr %6, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %27
21: ; preds = %16
%22 = load ptr, ptr %7, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %21
store i32 -1, ptr %3, align 4
br label %45
27: ; preds = %21, %16
%28 = load ptr, ptr %6, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %38
32: ; preds = %27
%33 = load ptr, ptr %7, align 8
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %32
store i32 1, ptr %3, align 4
br label %45
38: ; preds = %32, %27
%39 = call i32 @__compare_collate(ptr noundef %6, ptr noundef %7)
store i32 %39, ptr %8, align 4
%40 = load i32, ptr %8, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %44
42: ; preds = %38
%43 = load i32, ptr %8, align 4
store i32 %43, ptr %3, align 4
br label %45
44: ; preds = %38
br label %16
45: ; preds = %42, %37, %26, %12
%46 = load i32, ptr %3, align 4
ret i32 %46
}
declare i32 @__compare_collate(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/tmpqktp_f5x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcoll(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp eq ptr %9, %10
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 0, ptr %3, align 4
br label %44
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %5, align 8
store ptr %15, ptr %7, align 8
br label %16
16: ; preds = %38, %13
%17 = load ptr, ptr %6, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %27
21: ; preds = %16
%22 = load ptr, ptr %7, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %21
store i32 -1, ptr %3, align 4
br label %44
27: ; preds = %21, %16
%28 = load ptr, ptr %6, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %38
32: ; preds = %27
%33 = load ptr, ptr %7, align 8
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %32
store i32 1, ptr %3, align 4
br label %44
38: ; preds = %32, %27
%39 = call i32 @__compare_collate(ptr noundef %6, ptr noundef %7)
store i32 %39, ptr %8, align 4
%40 = load i32, ptr %8, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %16
42: ; preds = %38
%43 = load i32, ptr %8, align 4
store i32 %43, ptr %3, align 4
br label %44
44: ; preds = %42, %37, %26, %12
%45 = load i32, ptr %3, align 4
ret i32 %45
}
declare i32 @__compare_collate(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/tmppi72fhot.c'
source_filename = "/tmp/tmppi72fhot.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XKeyPressedEvent_display(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 %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store ptr %5, ptr %7, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppi72fhot.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XKeyPressedEvent_display(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 %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store ptr %5, ptr %7, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1e4z0vrz.c'
source_filename = "/tmp/tmp1e4z0vrz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.usbdevfs_bulktransfer = type { i32, i32, i64, ptr, i32 }
@USBDEVFS_BULK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dobulk(i32 noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca %struct.usbdevfs_bulktransfer, align 8
%11 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
call void @llvm.memset.p0.i64(ptr align 8 %10, i8 0, i64 32, i1 false)
%12 = load i32, ptr %6, align 4
%13 = getelementptr inbounds %struct.usbdevfs_bulktransfer, ptr %10, i32 0, i32 0
store i32 %12, ptr %13, align 8
%14 = getelementptr inbounds %struct.usbdevfs_bulktransfer, ptr %10, i32 0, i32 1
store i32 1000, ptr %14, align 4
%15 = load i64, ptr %8, align 8
%16 = getelementptr inbounds %struct.usbdevfs_bulktransfer, ptr %10, i32 0, i32 2
store i64 %15, ptr %16, align 8
%17 = load ptr, ptr %7, align 8
%18 = getelementptr inbounds %struct.usbdevfs_bulktransfer, ptr %10, i32 0, i32 3
store ptr %17, ptr %18, align 8
%19 = load i32, ptr @USBDEVFS_BULK, align 4
%20 = load ptr, ptr %9, align 8
%21 = call i32 @doioctl(i32 noundef %19, ptr noundef %10, ptr noundef %20)
store i32 %21, ptr %11, align 4
%22 = load i32, ptr %11, align 4
%23 = icmp sge i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %4
%25 = load i32, ptr %11, align 4
store i32 %25, ptr %5, align 4
br label %27
26: ; preds = %4
store i32 -1, ptr %5, align 4
br label %27
27: ; preds = %26, %24
%28 = load i32, ptr %5, align 4
ret i32 %28
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @doioctl(i32 noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1e4z0vrz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.usbdevfs_bulktransfer = type { i32, i32, i64, ptr, i32 }
@USBDEVFS_BULK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dobulk(i32 noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca %struct.usbdevfs_bulktransfer, align 8
%11 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
call void @llvm.memset.p0.i64(ptr align 8 %10, i8 0, i64 32, i1 false)
%12 = load i32, ptr %6, align 4
%13 = getelementptr inbounds %struct.usbdevfs_bulktransfer, ptr %10, i32 0, i32 0
store i32 %12, ptr %13, align 8
%14 = getelementptr inbounds %struct.usbdevfs_bulktransfer, ptr %10, i32 0, i32 1
store i32 1000, ptr %14, align 4
%15 = load i64, ptr %8, align 8
%16 = getelementptr inbounds %struct.usbdevfs_bulktransfer, ptr %10, i32 0, i32 2
store i64 %15, ptr %16, align 8
%17 = load ptr, ptr %7, align 8
%18 = getelementptr inbounds %struct.usbdevfs_bulktransfer, ptr %10, i32 0, i32 3
store ptr %17, ptr %18, align 8
%19 = load i32, ptr @USBDEVFS_BULK, align 4
%20 = load ptr, ptr %9, align 8
%21 = call i32 @doioctl(i32 noundef %19, ptr noundef %10, ptr noundef %20)
store i32 %21, ptr %11, align 4
%22 = load i32, ptr %11, align 4
%23 = icmp sge i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %4
%25 = load i32, ptr %11, align 4
store i32 %25, ptr %5, align 4
br label %27
26: ; preds = %4
store i32 -1, ptr %5, align 4
br label %27
27: ; preds = %26, %24
%28 = load i32, ptr %5, align 4
ret i32 %28
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @doioctl(i32 noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprk147npq.c'
source_filename = "/tmp/tmprk147npq.c"
target datalayout = "e-m:e-p270: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/tmprk147npq.c"
target datalayout = "e-m:e-p270: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/tmpzz_qnxyi.c'
source_filename = "/tmp/tmpzz_qnxyi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @reverse(i32 noundef 123)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 @reverse(i32 noundef -123)
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = call i32 @reverse(i32 noundef 1534236469)
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @reverse(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/tmpzz_qnxyi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @reverse(i32 noundef 123)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 @reverse(i32 noundef -123)
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
%6 = call i32 @reverse(i32 noundef 1534236469)
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @reverse(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/tmpb9j4t0ln.c'
source_filename = "/tmp/tmpb9j4t0ln.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%lld\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%lld\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 i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca [100005 x i64], align 16
store i32 0, ptr %1, align 4
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i64 0, ptr %3, align 8
br label %11
11: ; preds = %70, %0
%12 = load i64, ptr %3, align 8
%13 = load i64, ptr %2, align 8
%14 = icmp slt i64 %12, %13
br i1 %14, label %15, label %73
15: ; preds = %11
%16 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
store i64 1000000005, ptr %8, align 8
store i64 0, ptr %5, align 8
br label %17
17: ; preds = %25, %15
%18 = load i64, ptr %5, align 8
%19 = load i64, ptr %4, align 8
%20 = icmp slt i64 %18, %19
br i1 %20, label %21, label %28
21: ; preds = %17
%22 = load i64, ptr %5, align 8
%23 = getelementptr inbounds [100005 x i64], ptr %9, i64 0, i64 %22
%24 = call i32 @scanf(ptr noundef @.str, ptr noundef %23)
br label %25
25: ; preds = %21
%26 = load i64, ptr %5, align 8
%27 = add nsw i64 %26, 1
store i64 %27, ptr %5, align 8
br label %17, !llvm.loop !6
28: ; preds = %17
store i64 0, ptr %5, align 8
br label %29
29: ; preds = %64, %28
%30 = load i64, ptr %5, align 8
%31 = load i64, ptr %4, align 8
%32 = icmp slt i64 %30, %31
br i1 %32, label %33, label %67
33: ; preds = %29
%34 = load i64, ptr %5, align 8
%35 = add nsw i64 %34, 1
store i64 %35, ptr %6, align 8
br label %36
36: ; preds = %60, %33
%37 = load i64, ptr %6, align 8
%38 = load i64, ptr %4, align 8
%39 = icmp slt i64 %37, %38
br i1 %39, label %40, label %63
40: ; preds = %36
%41 = load i64, ptr %5, align 8
%42 = getelementptr inbounds [100005 x i64], ptr %9, i64 0, i64 %41
%43 = load i64, ptr %42, align 8
%44 = load i64, ptr %6, align 8
%45 = getelementptr inbounds [100005 x i64], ptr %9, i64 0, i64 %44
%46 = load i64, ptr %45, align 8
%47 = sub nsw i64 %43, %46
store i64 %47, ptr %7, align 8
%48 = load i64, ptr %7, align 8
%49 = icmp slt i64 %48, 0
br i1 %49, label %50, label %53
50: ; preds = %40
%51 = load i64, ptr %7, align 8
%52 = mul nsw i64 %51, -1
store i64 %52, ptr %7, align 8
br label %53
53: ; preds = %50, %40
%54 = load i64, ptr %7, align 8
%55 = load i64, ptr %8, align 8
%56 = icmp slt i64 %54, %55
br i1 %56, label %57, label %59
57: ; preds = %53
%58 = load i64, ptr %7, align 8
store i64 %58, ptr %8, align 8
br label %59
59: ; preds = %57, %53
br label %60
60: ; preds = %59
%61 = load i64, ptr %6, align 8
%62 = add nsw i64 %61, 1
store i64 %62, ptr %6, align 8
br label %36, !llvm.loop !8
63: ; preds = %36
br label %64
64: ; preds = %63
%65 = load i64, ptr %5, align 8
%66 = add nsw i64 %65, 1
store i64 %66, ptr %5, align 8
br label %29, !llvm.loop !9
67: ; preds = %29
%68 = load i64, ptr %8, align 8
%69 = call i32 @printf(ptr noundef @.str.1, i64 noundef %68)
br label %70
70: ; preds = %67
%71 = load i64, ptr %3, align 8
%72 = add nsw i64 %71, 1
store i64 %72, ptr %3, align 8
br label %11, !llvm.loop !10
73: ; preds = %11
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb9j4t0ln.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%lld\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%lld\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 i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca [100005 x i64], align 16
store i32 0, ptr %1, align 4
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i64 0, ptr %3, align 8
%11 = load i64, ptr %3, align 8
%12 = load i64, ptr %2, align 8
%13 = icmp slt i64 %11, %12
br i1 %13, label %.lr.ph8, label %81
.lr.ph8: ; preds = %0
br label %14
14: ; preds = %.lr.ph8, %75
%15 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
store i64 1000000005, ptr %8, align 8
store i64 0, ptr %5, align 8
%16 = load i64, ptr %5, align 8
%17 = load i64, ptr %4, align 8
%18 = icmp slt i64 %16, %17
br i1 %18, label %.lr.ph, label %29
.lr.ph: ; preds = %14
br label %19
19: ; preds = %.lr.ph, %23
%20 = load i64, ptr %5, align 8
%21 = getelementptr inbounds [100005 x i64], ptr %9, i64 0, i64 %20
%22 = call i32 @scanf(ptr noundef @.str, ptr noundef %21)
br label %23
23: ; preds = %19
%24 = load i64, ptr %5, align 8
%25 = add nsw i64 %24, 1
store i64 %25, ptr %5, align 8
%26 = load i64, ptr %5, align 8
%27 = load i64, ptr %4, align 8
%28 = icmp slt i64 %26, %27
br i1 %28, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %14
store i64 0, ptr %5, align 8
%30 = load i64, ptr %5, align 8
%31 = load i64, ptr %4, align 8
%32 = icmp slt i64 %30, %31
br i1 %32, label %.lr.ph5, label %72
.lr.ph5: ; preds = %29
br label %33
33: ; preds = %.lr.ph5, %66
%34 = load i64, ptr %5, align 8
%35 = add nsw i64 %34, 1
store i64 %35, ptr %6, align 8
%36 = load i64, ptr %6, align 8
%37 = load i64, ptr %4, align 8
%38 = icmp slt i64 %36, %37
br i1 %38, label %.lr.ph2, label %65
.lr.ph2: ; preds = %33
br label %39
39: ; preds = %.lr.ph2, %59
%40 = load i64, ptr %5, align 8
%41 = getelementptr inbounds [100005 x i64], ptr %9, i64 0, i64 %40
%42 = load i64, ptr %41, align 8
%43 = load i64, ptr %6, align 8
%44 = getelementptr inbounds [100005 x i64], ptr %9, i64 0, i64 %43
%45 = load i64, ptr %44, align 8
%46 = sub nsw i64 %42, %45
store i64 %46, ptr %7, align 8
%47 = load i64, ptr %7, align 8
%48 = icmp slt i64 %47, 0
br i1 %48, label %49, label %52
49: ; preds = %39
%50 = load i64, ptr %7, align 8
%51 = mul nsw i64 %50, -1
store i64 %51, ptr %7, align 8
br label %52
52: ; preds = %49, %39
%53 = load i64, ptr %7, align 8
%54 = load i64, ptr %8, align 8
%55 = icmp slt i64 %53, %54
br i1 %55, label %56, label %58
56: ; preds = %52
%57 = load i64, ptr %7, align 8
store i64 %57, ptr %8, align 8
br label %58
58: ; preds = %56, %52
br label %59
59: ; preds = %58
%60 = load i64, ptr %6, align 8
%61 = add nsw i64 %60, 1
store i64 %61, ptr %6, align 8
%62 = load i64, ptr %6, align 8
%63 = load i64, ptr %4, align 8
%64 = icmp slt i64 %62, %63
br i1 %64, label %39, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %59
br label %65
65: ; preds = %._crit_edge3, %33
br label %66
66: ; preds = %65
%67 = load i64, ptr %5, align 8
%68 = add nsw i64 %67, 1
store i64 %68, ptr %5, align 8
%69 = load i64, ptr %5, align 8
%70 = load i64, ptr %4, align 8
%71 = icmp slt i64 %69, %70
br i1 %71, label %33, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %66
br label %72
72: ; preds = %._crit_edge6, %29
%73 = load i64, ptr %8, align 8
%74 = call i32 @printf(ptr noundef @.str.1, i64 noundef %73)
br label %75
75: ; preds = %72
%76 = load i64, ptr %3, align 8
%77 = add nsw i64 %76, 1
store i64 %77, ptr %3, align 8
%78 = load i64, ptr %3, align 8
%79 = load i64, ptr %2, align 8
%80 = icmp slt i64 %78, %79
br i1 %80, label %14, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %75
br label %81
81: ; preds = %._crit_edge9, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp18juabt8.c'
source_filename = "/tmp/tmp18juabt8.c"
target datalayout = "e-m:e-p270: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/tmp18juabt8.c"
target datalayout = "e-m:e-p270: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/tmpt1wgdt7q.c'
source_filename = "/tmp/tmpt1wgdt7q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %48, %0
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %49
11: ; preds = %7
%12 = load i32, ptr %5, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %5, align 4
%14 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp sge i32 %15, 0
br i1 %16, label %17, label %48
17: ; preds = %11
%18 = load i32, ptr %6, align 4
%19 = icmp sle i32 %18, 3
br i1 %19, label %20, label %48
20: ; preds = %17
%21 = load i32, ptr %6, align 4
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %3, align 4
br label %47
26: ; preds = %20
%27 = load i32, ptr %6, align 4
%28 = icmp eq i32 %27, 1
br i1 %28, label %29, label %32
29: ; preds = %26
%30 = load i32, ptr %3, align 4
%31 = sub nsw i32 %30, 1
store i32 %31, ptr %3, align 4
br label %46
32: ; preds = %26
%33 = load i32, ptr %6, align 4
%34 = icmp eq i32 %33, 2
br i1 %34, label %35, label %38
35: ; preds = %32
%36 = load i32, ptr %4, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %4, align 4
br label %45
38: ; preds = %32
%39 = load i32, ptr %6, align 4
%40 = icmp eq i32 %39, 3
br i1 %40, label %41, label %44
41: ; preds = %38
%42 = load i32, ptr %4, align 4
%43 = sub nsw i32 %42, 1
store i32 %43, ptr %4, align 4
br label %44
44: ; preds = %41, %38
br label %45
45: ; preds = %44, %35
br label %46
46: ; preds = %45, %29
br label %47
47: ; preds = %46, %23
br label %48
48: ; preds = %47, %17, %11
br label %7, !llvm.loop !6
49: ; preds = %7
ret i32 0
}
declare i32 @__VERIFIER_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt1wgdt7q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %51
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %47
%11 = load i32, ptr %5, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %5, align 4
%13 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp sge i32 %14, 0
br i1 %15, label %16, label %47
16: ; preds = %10
%17 = load i32, ptr %6, align 4
%18 = icmp sle i32 %17, 3
br i1 %18, label %19, label %47
19: ; preds = %16
%20 = load i32, ptr %6, align 4
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %19
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
br label %46
25: ; preds = %19
%26 = load i32, ptr %6, align 4
%27 = icmp eq i32 %26, 1
br i1 %27, label %28, label %31
28: ; preds = %25
%29 = load i32, ptr %3, align 4
%30 = sub nsw i32 %29, 1
store i32 %30, ptr %3, align 4
br label %45
31: ; preds = %25
%32 = load i32, ptr %6, align 4
%33 = icmp eq i32 %32, 2
br i1 %33, label %34, label %37
34: ; preds = %31
%35 = load i32, ptr %4, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %4, align 4
br label %44
37: ; preds = %31
%38 = load i32, ptr %6, align 4
%39 = icmp eq i32 %38, 3
br i1 %39, label %40, label %43
40: ; preds = %37
%41 = load i32, ptr %4, align 4
%42 = sub nsw i32 %41, 1
store i32 %42, ptr %4, align 4
br label %43
43: ; preds = %40, %37
br label %44
44: ; preds = %43, %34
br label %45
45: ; preds = %44, %28
br label %46
46: ; preds = %45, %22
br label %47
47: ; preds = %46, %16, %10
%48 = load i32, ptr %5, align 4
%49 = load i32, ptr %2, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %47
br label %51
51: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @__VERIFIER_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9q9b4u6w.c'
source_filename = "/tmp/tmp9q9b4u6w.c"
target datalayout = "e-m:e-p270: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 }
@.str = private unnamed_addr constant [24 x i8] c"%a %Y-%m-%d %H:%M:%S %Z\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @epoch_to_string(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.tm, align 4
store i32 %0, ptr %2, align 4
%5 = call i64 @malloc(i32 noundef 100)
%6 = inttoptr i64 %5 to ptr
store ptr %6, ptr %3, align 8
%7 = call ptr @localtime(ptr noundef %2)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %4, ptr align 4 %7, i64 4, i1 false)
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strftime(ptr noundef %8, i32 noundef 100, ptr noundef @.str, ptr noundef %4)
%10 = load ptr, ptr %3, align 8
ret ptr %10
}
declare i64 @malloc(i32 noundef) #1
declare ptr @localtime(ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @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" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9q9b4u6w.c"
target datalayout = "e-m:e-p270: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 }
@.str = private unnamed_addr constant [24 x i8] c"%a %Y-%m-%d %H:%M:%S %Z\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @epoch_to_string(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.tm, align 4
store i32 %0, ptr %2, align 4
%5 = call i64 @malloc(i32 noundef 100)
%6 = inttoptr i64 %5 to ptr
store ptr %6, ptr %3, align 8
%7 = call ptr @localtime(ptr noundef %2)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %4, ptr align 4 %7, i64 4, i1 false)
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strftime(ptr noundef %8, i32 noundef 100, ptr noundef @.str, ptr noundef %4)
%10 = load ptr, ptr %3, align 8
ret ptr %10
}
declare i64 @malloc(i32 noundef) #1
declare ptr @localtime(ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @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" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpii6oz7m5.c'
source_filename = "/tmp/tmpii6oz7m5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @randomSample2()
ret i32 0
}
declare i32 @randomSample2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpii6oz7m5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @randomSample2()
ret i32 0
}
declare i32 @randomSample2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps8kyxsyj.c'
source_filename = "/tmp/tmps8kyxsyj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"tio_drain: tcdrain\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tio_drain_output(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = call i32 @tcdrain(i32 noundef %4)
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @lprintf(i32 noundef 1, ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %10
9: ; preds = %1
store i32 0, ptr %2, align 4
br label %10
10: ; preds = %9, %7
%11 = load i32, ptr %2, align 4
ret i32 %11
}
declare i32 @tcdrain(i32 noundef) #1
declare i32 @lprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps8kyxsyj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"tio_drain: tcdrain\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tio_drain_output(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = call i32 @tcdrain(i32 noundef %4)
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @lprintf(i32 noundef 1, ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %10
9: ; preds = %1
store i32 0, ptr %2, align 4
br label %10
10: ; preds = %9, %7
%11 = load i32, ptr %2, align 4
ret i32 %11
}
declare i32 @tcdrain(i32 noundef) #1
declare i32 @lprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvqywkv9e.c'
source_filename = "/tmp/tmpvqywkv9e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_mm_load_ss(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @_mm_load_ss(ptr noundef %3)
ret i32 %4
}
declare i32 @_mm_load_ss(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvqywkv9e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_mm_load_ss(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @_mm_load_ss(ptr noundef %3)
ret i32 %4
}
declare i32 @_mm_load_ss(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9m684ee9.c'
source_filename = "/tmp/tmp9m684ee9.c"
target datalayout = "e-m:e-p270: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_CREAT = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@R_OK = 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/tmp9m684ee9.c"
target datalayout = "e-m:e-p270: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_CREAT = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@R_OK = 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/tmpyzulg4pb.c'
source_filename = "/tmp/tmpyzulg4pb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ds_present() #0 {
%1 = call signext i8 (...) @ow_reset()
ret i8 %1
}
declare signext i8 @ow_reset(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyzulg4pb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ds_present() #0 {
%1 = call signext i8 (...) @ow_reset()
ret i8 %1
}
declare signext i8 @ow_reset(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp036fnb2a.c'
source_filename = "/tmp/tmp036fnb2a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"%-4s ($%02X)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ind_zpind(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [256 x i8], align 16
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%10 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%11 = load ptr, ptr %8, align 8
%12 = load ptr, ptr %7, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 1
%14 = load i8, ptr %13, align 1
%15 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str, ptr noundef %11, i8 noundef zeroext %14)
%16 = load ptr, ptr %5, align 8
%17 = load i64, ptr %6, align 8
%18 = load ptr, ptr %7, align 8
%19 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%20 = call i32 @lineprint2(ptr noundef %16, i64 noundef %17, ptr noundef %18, ptr noundef %19)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i8 noundef zeroext) #1
declare i32 @lineprint2(ptr 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp036fnb2a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"%-4s ($%02X)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ind_zpind(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [256 x i8], align 16
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%10 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%11 = load ptr, ptr %8, align 8
%12 = load ptr, ptr %7, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 1
%14 = load i8, ptr %13, align 1
%15 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str, ptr noundef %11, i8 noundef zeroext %14)
%16 = load ptr, ptr %5, align 8
%17 = load i64, ptr %6, align 8
%18 = load ptr, ptr %7, align 8
%19 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%20 = call i32 @lineprint2(ptr noundef %16, i64 noundef %17, ptr noundef %18, ptr noundef %19)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i8 noundef zeroext) #1
declare i32 @lineprint2(ptr 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp603erl0n.c'
source_filename = "/tmp/tmp603erl0n.c"
target datalayout = "e-m:e-p270: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/tmp603erl0n.c"
target datalayout = "e-m:e-p270: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/tmp4pn0jto3.c'
source_filename = "/tmp/tmp4pn0jto3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"hello my github!!!\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"git add . test!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mian() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4pn0jto3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"hello my github!!!\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"git add . test!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mian() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp66vpx5gl.c'
source_filename = "/tmp/tmp66vpx5gl.c"
target datalayout = "e-m:e-p270: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/tmp66vpx5gl.c"
target datalayout = "e-m:e-p270: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/tmplzknn6ot.c'
source_filename = "/tmp/tmplzknn6ot.c"
target datalayout = "e-m:e-p270: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/tmplzknn6ot.c"
target datalayout = "e-m:e-p270: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/tmp6gu5d506.c'
source_filename = "/tmp/tmp6gu5d506.c"
target datalayout = "e-m:e-p270: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/tmp6gu5d506.c"
target datalayout = "e-m:e-p270: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/tmpbdgkhffr.c'
source_filename = "/tmp/tmpbdgkhffr.c"
target datalayout = "e-m:e-p270: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/tmpbdgkhffr.c"
target datalayout = "e-m:e-p270: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/tmpnqxxzczp.c'
source_filename = "/tmp/tmpnqxxzczp.c"
target datalayout = "e-m:e-p270: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/tmpnqxxzczp.c"
target datalayout = "e-m:e-p270: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/tmpkkuo5nhm.c'
source_filename = "/tmp/tmpkkuo5nhm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @StringElimNonAlphanumeric(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
br label %5
5: ; preds = %25, %1
%6 = load ptr, ptr %3, align 8
%7 = load i8, ptr %6, align 1
%8 = icmp ne i8 %7, 0
br i1 %8, label %9, label %26
9: ; preds = %5
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = call i64 @CharIsAlphanumeric(i8 noundef signext %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %22
14: ; preds = %9
%15 = load ptr, ptr %3, align 8
%16 = load i8, ptr %15, align 1
%17 = load ptr, ptr %2, align 8
store i8 %16, ptr %17, align 1
%18 = load ptr, ptr %2, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %2, align 8
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %3, align 8
br label %25
22: ; preds = %9
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %3, align 8
br label %25
25: ; preds = %22, %14
br label %5, !llvm.loop !6
26: ; preds = %5
%27 = load ptr, ptr %2, align 8
store i8 0, ptr %27, align 1
ret void
}
declare i64 @CharIsAlphanumeric(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/tmpkkuo5nhm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @StringElimNonAlphanumeric(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i8, ptr %5, align 1
%7 = icmp ne i8 %6, 0
br i1 %7, label %.lr.ph, label %28
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %24
%9 = load ptr, ptr %3, align 8
%10 = load i8, ptr %9, align 1
%11 = call i64 @CharIsAlphanumeric(i8 noundef signext %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %21
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = load i8, ptr %14, align 1
%16 = load ptr, ptr %2, align 8
store i8 %15, ptr %16, align 1
%17 = load ptr, ptr %2, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %2, align 8
%19 = load ptr, ptr %3, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %3, align 8
br label %24
21: ; preds = %8
%22 = load ptr, ptr %3, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %3, align 8
br label %24
24: ; preds = %21, %13
%25 = load ptr, ptr %3, align 8
%26 = load i8, ptr %25, align 1
%27 = icmp ne i8 %26, 0
br i1 %27, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %28
28: ; preds = %._crit_edge, %1
%29 = load ptr, ptr %2, align 8
store i8 0, ptr %29, align 1
ret void
}
declare i64 @CharIsAlphanumeric(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/tmp6su04pao.c'
source_filename = "/tmp/tmp6su04pao.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @md5(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @md5_digest(i32 noundef 1, ptr noundef %3)
ret ptr %4
}
declare ptr @md5_digest(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6su04pao.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @md5(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call ptr @md5_digest(i32 noundef 1, ptr noundef %3)
ret ptr %4
}
declare ptr @md5_digest(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph6kd7ey1.c'
source_filename = "/tmp/tmph6kd7ey1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"/tmp/foo\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
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
%8 = load i32, ptr @O_RDONLY, align 4
%9 = call i32 @open(ptr noundef @.str, i32 noundef %8)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 5, ptr %7, align 4
br label %14
13: ; preds = %2
store i32 2, ptr %7, align 4
br label %14
14: ; preds = %13, %12
%15 = load i32, ptr %7, align 4
ret i32 %15
}
declare i32 @open(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/tmph6kd7ey1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"/tmp/foo\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
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
%8 = load i32, ptr @O_RDONLY, align 4
%9 = call i32 @open(ptr noundef @.str, i32 noundef %8)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 5, ptr %7, align 4
br label %14
13: ; preds = %2
store i32 2, ptr %7, align 4
br label %14
14: ; preds = %13, %12
%15 = load i32, ptr %7, align 4
ret i32 %15
}
declare i32 @open(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/tmpk7s89ecv.c'
source_filename = "/tmp/tmpk7s89ecv.c"
target datalayout = "e-m:e-p270: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/tmpk7s89ecv.c"
target datalayout = "e-m:e-p270: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/tmp6erhmxsd.c'
source_filename = "/tmp/tmp6erhmxsd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"feilunzhou.txt\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@STDOUT_FILENO = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [12 x i8] c"write error\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"please input your number and offset\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.4 = private unnamed_addr constant [36 x i8] c"the size of your input string is %d\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [11 x i8] c"read error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [4096 x i8], align 16
store i32 0, ptr %1, align 4
%7 = load i32, ptr @O_RDWR, align 4
%8 = call i32 @open(ptr noundef @.str, i32 noundef %7)
store i32 %8, ptr %3, align 4
br label %9
9: ; preds = %23, %0
%10 = load i32, ptr %3, align 4
%11 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%12 = call i32 @read(i32 noundef %10, ptr noundef %11, i32 noundef 4096)
store i32 %12, ptr %2, align 4
%13 = icmp sgt i32 %12, 0
br i1 %13, label %14, label %24
14: ; preds = %9
%15 = load i32, ptr @STDOUT_FILENO, align 4
%16 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%17 = load i32, ptr %2, align 4
%18 = call i32 (i32, ...) @write(i32 noundef %15, ptr noundef %16, i32 noundef %17)
%19 = load i32, ptr %2, align 4
%20 = icmp ne i32 %18, %19
br i1 %20, label %21, label %23
21: ; preds = %14
%22 = call i32 @perror(ptr noundef @.str.1)
br label %23
23: ; preds = %21, %14
br label %9, !llvm.loop !6
24: ; preds = %9
store i32 0, ptr %5, align 4
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%26 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %5, ptr noundef %4)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef 4)
%28 = load i32, ptr %3, align 4
%29 = load i32, ptr %4, align 4
%30 = load i32, ptr @SEEK_SET, align 4
%31 = call i32 @lseek(i32 noundef %28, i32 noundef %29, i32 noundef %30)
%32 = load i32, ptr %3, align 4
%33 = call i32 (i32, ...) @write(i32 noundef %32, ptr noundef %5, i64 noundef 4)
%34 = load i32, ptr %2, align 4
%35 = icmp slt i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %24
%37 = call i32 @perror(ptr noundef @.str.5)
br label %38
38: ; preds = %36, %24
%39 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ...) #1
declare i32 @perror(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @lseek(i32 noundef, i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6erhmxsd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"feilunzhou.txt\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@STDOUT_FILENO = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [12 x i8] c"write error\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"please input your number and offset\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.4 = private unnamed_addr constant [36 x i8] c"the size of your input string is %d\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [11 x i8] c"read error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [4096 x i8], align 16
store i32 0, ptr %1, align 4
%7 = load i32, ptr @O_RDWR, align 4
%8 = call i32 @open(ptr noundef @.str, i32 noundef %7)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%11 = call i32 @read(i32 noundef %9, ptr noundef %10, i32 noundef 4096)
store i32 %11, ptr %2, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %.lr.ph, label %26
.lr.ph: ; preds = %0
br label %13
13: ; preds = %.lr.ph, %22
%14 = load i32, ptr @STDOUT_FILENO, align 4
%15 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%16 = load i32, ptr %2, align 4
%17 = call i32 (i32, ...) @write(i32 noundef %14, ptr noundef %15, i32 noundef %16)
%18 = load i32, ptr %2, align 4
%19 = icmp ne i32 %17, %18
br i1 %19, label %20, label %22
20: ; preds = %13
%21 = call i32 @perror(ptr noundef @.str.1)
br label %22
22: ; preds = %20, %13
%23 = load i32, ptr %3, align 4
%24 = call i32 @read(i32 noundef %23, ptr noundef %10, i32 noundef 4096)
store i32 %24, ptr %2, align 4
%25 = icmp sgt i32 %24, 0
br i1 %25, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %26
26: ; preds = %._crit_edge, %0
store i32 0, ptr %5, align 4
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%28 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %5, ptr noundef %4)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef 4)
%30 = load i32, ptr %3, align 4
%31 = load i32, ptr %4, align 4
%32 = load i32, ptr @SEEK_SET, align 4
%33 = call i32 @lseek(i32 noundef %30, i32 noundef %31, i32 noundef %32)
%34 = load i32, ptr %3, align 4
%35 = call i32 (i32, ...) @write(i32 noundef %34, ptr noundef %5, i64 noundef 4)
%36 = load i32, ptr %2, align 4
%37 = icmp slt i32 %36, 0
br i1 %37, label %38, label %40
38: ; preds = %26
%39 = call i32 @perror(ptr noundef @.str.5)
br label %40
40: ; preds = %38, %26
%41 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ...) #1
declare i32 @perror(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @lseek(i32 noundef, i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpzcnu1uzu.c'
source_filename = "/tmp/tmpzcnu1uzu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkNull(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, 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
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 1, ptr %10, align 8
store i64 0, ptr %8, align 8
br label %11
11: ; preds = %36, %3
%12 = load i64, ptr %8, align 8
%13 = load i64, ptr %6, align 8
%14 = icmp ult i64 %12, %13
br i1 %14, label %15, label %39
15: ; preds = %11
store i64 0, ptr %9, align 8
br label %16
16: ; preds = %32, %15
%17 = load i64, ptr %9, align 8
%18 = load i64, ptr %7, align 8
%19 = icmp ult i64 %17, %18
br i1 %19, label %20, label %35
20: ; preds = %16
%21 = load ptr, ptr %5, align 8
%22 = load i64, ptr %8, align 8
%23 = getelementptr inbounds ptr, ptr %21, i64 %22
%24 = load ptr, ptr %23, align 8
%25 = load i64, ptr %9, align 8
%26 = getelementptr inbounds i64, ptr %24, i64 %25
%27 = load i64, ptr %26, align 8
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %20
store i64 0, ptr %10, align 8
%30 = load i64, ptr %10, align 8
store i64 %30, ptr %4, align 8
br label %41
31: ; preds = %20
br label %32
32: ; preds = %31
%33 = load i64, ptr %9, align 8
%34 = add i64 %33, 1
store i64 %34, ptr %9, align 8
br label %16, !llvm.loop !6
35: ; preds = %16
br label %36
36: ; preds = %35
%37 = load i64, ptr %8, align 8
%38 = add i64 %37, 1
store i64 %38, ptr %8, align 8
br label %11, !llvm.loop !8
39: ; preds = %11
%40 = load i64, ptr %10, align 8
store i64 %40, ptr %4, align 8
br label %41
41: ; preds = %39, %29
%42 = load i64, ptr %4, align 8
ret i64 %42
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpzcnu1uzu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkNull(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, 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
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 1, ptr %10, align 8
store i64 0, ptr %8, align 8
%11 = load i64, ptr %8, align 8
%12 = load i64, ptr %6, align 8
%13 = icmp ult i64 %11, %12
br i1 %13, label %.lr.ph2, label %43
.lr.ph2: ; preds = %3
br label %14
14: ; preds = %.lr.ph2, %37
store i64 0, ptr %9, align 8
%15 = load i64, ptr %9, align 8
%16 = load i64, ptr %7, align 8
%17 = icmp ult i64 %15, %16
br i1 %17, label %.lr.ph, label %36
.lr.ph: ; preds = %14
br label %18
18: ; preds = %.lr.ph, %30
%19 = load ptr, ptr %5, align 8
%20 = load i64, ptr %8, align 8
%21 = getelementptr inbounds ptr, ptr %19, i64 %20
%22 = load ptr, ptr %21, align 8
%23 = load i64, ptr %9, align 8
%24 = getelementptr inbounds i64, ptr %22, i64 %23
%25 = load i64, ptr %24, align 8
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %18
store i64 0, ptr %10, align 8
%28 = load i64, ptr %10, align 8
store i64 %28, ptr %4, align 8
br label %45
29: ; preds = %18
br label %30
30: ; preds = %29
%31 = load i64, ptr %9, align 8
%32 = add i64 %31, 1
store i64 %32, ptr %9, align 8
%33 = load i64, ptr %9, align 8
%34 = load i64, ptr %7, align 8
%35 = icmp ult i64 %33, %34
br i1 %35, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %36
36: ; preds = %._crit_edge, %14
br label %37
37: ; preds = %36
%38 = load i64, ptr %8, align 8
%39 = add i64 %38, 1
store i64 %39, ptr %8, align 8
%40 = load i64, ptr %8, align 8
%41 = load i64, ptr %6, align 8
%42 = icmp ult i64 %40, %41
br i1 %42, label %14, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %37
br label %43
43: ; preds = %._crit_edge3, %3
%44 = load i64, ptr %10, align 8
store i64 %44, ptr %4, align 8
br label %45
45: ; preds = %43, %27
%46 = load i64, ptr %4, align 8
ret i64 %46
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmphdkzxd37.c'
source_filename = "/tmp/tmphdkzxd37.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @s2n_kyber_512_r3_csubq(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = sub nsw i32 %3, 3329
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = ashr i32 %5, 15
%7 = and i32 %6, 3329
%8 = load i32, ptr %2, align 4
%9 = add nsw i32 %8, %7
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
ret i32 %10
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphdkzxd37.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @s2n_kyber_512_r3_csubq(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = sub nsw i32 %3, 3329
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = ashr i32 %5, 15
%7 = and i32 %6, 3329
%8 = load i32, ptr %2, align 4
%9 = add nsw i32 %8, %7
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
ret i32 %10
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvh0ybm_1.c'
source_filename = "/tmp/tmpvh0ybm_1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skip_atou(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 = %10, %1
%5 = load ptr, ptr %2, align 8
%6 = load ptr, ptr %5, align 8
%7 = load i8, ptr %6, align 1
%8 = call i64 @isdigit(i8 noundef signext %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %20
10: ; preds = %4
%11 = load i32, ptr %3, align 4
%12 = mul nsw i32 %11, 10
%13 = load ptr, ptr %2, align 8
%14 = load ptr, ptr %13, align 8
%15 = getelementptr inbounds i8, ptr %14, i32 1
store ptr %15, ptr %13, align 8
%16 = load i8, ptr %14, align 1
%17 = sext i8 %16 to i32
%18 = add nsw i32 %12, %17
%19 = sub nsw i32 %18, 48
store i32 %19, ptr %3, align 4
br label %4, !llvm.loop !6
20: ; preds = %4
%21 = load i32, ptr %3, align 4
ret i32 %21
}
declare i64 @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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvh0ybm_1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skip_atou(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = load ptr, ptr %4, align 8
%6 = load i8, ptr %5, align 1
%7 = call i64 @isdigit(i8 noundef signext %6)
%8 = icmp ne i64 %7, 0
br i1 %8, label %.lr.ph, label %24
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %9
%10 = load i32, ptr %3, align 4
%11 = mul nsw i32 %10, 10
%12 = load ptr, ptr %2, align 8
%13 = load ptr, ptr %12, align 8
%14 = getelementptr inbounds i8, ptr %13, i32 1
store ptr %14, ptr %12, align 8
%15 = load i8, ptr %13, align 1
%16 = sext i8 %15 to i32
%17 = add nsw i32 %11, %16
%18 = sub nsw i32 %17, 48
store i32 %18, ptr %3, align 4
%19 = load ptr, ptr %2, align 8
%20 = load ptr, ptr %19, align 8
%21 = load i8, ptr %20, align 1
%22 = call i64 @isdigit(i8 noundef signext %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %24
24: ; preds = %._crit_edge, %1
%25 = load i32, ptr %3, align 4
ret i32 %25
}
declare i64 @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"}
|
; ModuleID = '/tmp/tmptrnilluj.c'
source_filename = "/tmp/tmptrnilluj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"/dev/vcio\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"/tmp/mbox\00", align 1
@S_IFCHR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mbox_open() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 @open(ptr noundef @.str, i32 noundef 0)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp sge i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = load i32, ptr %2, align 4
store i32 %7, ptr %1, align 4
br label %33
8: ; preds = %0
%9 = call i32 @unlink(ptr noundef @.str.1)
%10 = load i32, ptr @S_IFCHR, align 4
%11 = or i32 %10, 384
%12 = call i32 @makedev(i32 noundef 249, i32 noundef 0)
%13 = call i64 @mknod(ptr noundef @.str.1, i32 noundef %11, i32 noundef %12)
%14 = icmp sge i64 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %8
%16 = call i32 @open(ptr noundef @.str.1, i32 noundef 0)
store i32 %16, ptr %2, align 4
%17 = icmp sge i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %15
%19 = load i32, ptr %2, align 4
store i32 %19, ptr %1, align 4
br label %33
20: ; preds = %15, %8
%21 = call i32 @unlink(ptr noundef @.str.1)
%22 = load i32, ptr @S_IFCHR, align 4
%23 = or i32 %22, 384
%24 = call i32 @makedev(i32 noundef 100, i32 noundef 0)
%25 = call i64 @mknod(ptr noundef @.str.1, i32 noundef %23, i32 noundef %24)
%26 = icmp sge i64 %25, 0
br i1 %26, label %27, label %32
27: ; preds = %20
%28 = call i32 @open(ptr noundef @.str.1, i32 noundef 0)
store i32 %28, ptr %2, align 4
%29 = icmp sge i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %27
%31 = load i32, ptr %2, align 4
store i32 %31, ptr %1, align 4
br label %33
32: ; preds = %27, %20
store i32 -1, ptr %1, align 4
br label %33
33: ; preds = %32, %30, %18, %6
%34 = load i32, ptr %1, align 4
ret i32 %34
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @unlink(ptr noundef) #1
declare i64 @mknod(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @makedev(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/tmptrnilluj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"/dev/vcio\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"/tmp/mbox\00", align 1
@S_IFCHR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mbox_open() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 @open(ptr noundef @.str, i32 noundef 0)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp sge i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = load i32, ptr %2, align 4
store i32 %7, ptr %1, align 4
br label %33
8: ; preds = %0
%9 = call i32 @unlink(ptr noundef @.str.1)
%10 = load i32, ptr @S_IFCHR, align 4
%11 = or i32 %10, 384
%12 = call i32 @makedev(i32 noundef 249, i32 noundef 0)
%13 = call i64 @mknod(ptr noundef @.str.1, i32 noundef %11, i32 noundef %12)
%14 = icmp sge i64 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %8
%16 = call i32 @open(ptr noundef @.str.1, i32 noundef 0)
store i32 %16, ptr %2, align 4
%17 = icmp sge i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %15
%19 = load i32, ptr %2, align 4
store i32 %19, ptr %1, align 4
br label %33
20: ; preds = %15, %8
%21 = call i32 @unlink(ptr noundef @.str.1)
%22 = load i32, ptr @S_IFCHR, align 4
%23 = or i32 %22, 384
%24 = call i32 @makedev(i32 noundef 100, i32 noundef 0)
%25 = call i64 @mknod(ptr noundef @.str.1, i32 noundef %23, i32 noundef %24)
%26 = icmp sge i64 %25, 0
br i1 %26, label %27, label %32
27: ; preds = %20
%28 = call i32 @open(ptr noundef @.str.1, i32 noundef 0)
store i32 %28, ptr %2, align 4
%29 = icmp sge i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %27
%31 = load i32, ptr %2, align 4
store i32 %31, ptr %1, align 4
br label %33
32: ; preds = %27, %20
store i32 -1, ptr %1, align 4
br label %33
33: ; preds = %32, %30, %18, %6
%34 = load i32, ptr %1, align 4
ret i32 %34
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @unlink(ptr noundef) #1
declare i64 @mknod(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @makedev(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/tmp1elu60dk.c'
source_filename = "/tmp/tmp1elu60dk.c"
target datalayout = "e-m:e-p270: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
@.str = private unnamed_addr constant [14 x i8] c"lines is: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %4
4: ; preds = %14, %0
%5 = call i32 (...) @getchar()
store i32 %5, ptr %2, align 4
%6 = load i32, ptr @EOF, align 4
%7 = icmp ne i32 %5, %6
br i1 %7, label %8, label %15
8: ; preds = %4
%9 = load i32, ptr %2, align 4
%10 = icmp eq i32 %9, 10
br i1 %10, label %11, label %14
11: ; preds = %8
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
br label %14
14: ; preds = %11, %8
br label %4, !llvm.loop !6
15: ; preds = %4
%16 = load i32, ptr %3, align 4
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
ret i32 0
}
declare i32 @getchar(...) #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/tmp1elu60dk.c"
target datalayout = "e-m:e-p270: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
@.str = private unnamed_addr constant [14 x i8] c"lines is: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (...) @getchar()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr @EOF, align 4
%6 = icmp ne i32 %4, %5
br i1 %6, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %13
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 10
br i1 %9, label %10, label %13
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
br label %13
13: ; preds = %10, %7
%14 = call i32 (...) @getchar()
store i32 %14, ptr %2, align 4
%15 = load i32, ptr @EOF, align 4
%16 = icmp ne i32 %14, %15
br i1 %16, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %17
17: ; preds = %._crit_edge, %0
%18 = load i32, ptr %3, align 4
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %18)
ret i32 0
}
declare i32 @getchar(...) #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/tmphv004aef.c'
source_filename = "/tmp/tmphv004aef.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"%d %d\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca 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 i32, align 4
store i32 0, ptr %1, align 4
%11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %10, align 4
store i32 0, ptr %9, align 4
store i32 1, ptr %8, align 4
store i32 -1, ptr %6, align 4
store i32 0, ptr %3, align 4
br label %12
12: ; preds = %46, %0
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %49
16: ; preds = %12
%17 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5)
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %9, align 4
%20 = add nsw i32 %19, %18
store i32 %20, ptr %9, align 4
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %10, align 4
%23 = add nsw i32 %22, %21
store i32 %23, ptr %10, align 4
%24 = load i32, ptr %9, align 4
%25 = load i32, ptr %10, align 4
%26 = sub nsw i32 %24, %25
store i32 %26, ptr %7, align 4
%27 = load i32, ptr %7, align 4
%28 = icmp sgt i32 %27, 0
br i1 %28, label %29, label %36
29: ; preds = %16
%30 = load i32, ptr %7, align 4
%31 = load i32, ptr %6, align 4
%32 = icmp sgt i32 %30, %31
br i1 %32, label %33, label %35
33: ; preds = %29
%34 = load i32, ptr %7, align 4
store i32 %34, ptr %6, align 4
store i32 1, ptr %8, align 4
br label %35
35: ; preds = %33, %29
br label %45
36: ; preds = %16
%37 = load i32, ptr %7, align 4
%38 = sub nsw i32 0, %37
store i32 %38, ptr %7, align 4
%39 = load i32, ptr %7, align 4
%40 = load i32, ptr %6, align 4
%41 = icmp sgt i32 %39, %40
br i1 %41, label %42, label %44
42: ; preds = %36
%43 = load i32, ptr %7, align 4
store i32 %43, ptr %6, align 4
store i32 2, ptr %8, align 4
br label %44
44: ; preds = %42, %36
br label %45
45: ; preds = %44, %35
br label %46
46: ; preds = %45
%47 = load i32, ptr %3, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %3, align 4
br label %12, !llvm.loop !6
49: ; preds = %12
%50 = load i32, ptr %8, align 4
%51 = load i32, ptr %6, align 4
%52 = call i32 @printf(ptr noundef @.str.2, i32 noundef %50, i32 noundef %51)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphv004aef.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"%d %d\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca 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 i32, align 4
store i32 0, ptr %1, align 4
%11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %10, align 4
store i32 0, ptr %9, align 4
store i32 1, ptr %8, align 4
store i32 -1, ptr %6, align 4
store i32 0, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %51
.lr.ph: ; preds = %0
br label %15
15: ; preds = %.lr.ph, %45
%16 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5)
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %9, align 4
%19 = add nsw i32 %18, %17
store i32 %19, ptr %9, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %10, align 4
%22 = add nsw i32 %21, %20
store i32 %22, ptr %10, align 4
%23 = load i32, ptr %9, align 4
%24 = load i32, ptr %10, align 4
%25 = sub nsw i32 %23, %24
store i32 %25, ptr %7, align 4
%26 = load i32, ptr %7, align 4
%27 = icmp sgt i32 %26, 0
br i1 %27, label %28, label %35
28: ; preds = %15
%29 = load i32, ptr %7, align 4
%30 = load i32, ptr %6, align 4
%31 = icmp sgt i32 %29, %30
br i1 %31, label %32, label %34
32: ; preds = %28
%33 = load i32, ptr %7, align 4
store i32 %33, ptr %6, align 4
store i32 1, ptr %8, align 4
br label %34
34: ; preds = %32, %28
br label %44
35: ; preds = %15
%36 = load i32, ptr %7, align 4
%37 = sub nsw i32 0, %36
store i32 %37, ptr %7, align 4
%38 = load i32, ptr %7, align 4
%39 = load i32, ptr %6, align 4
%40 = icmp sgt i32 %38, %39
br i1 %40, label %41, label %43
41: ; preds = %35
%42 = load i32, ptr %7, align 4
store i32 %42, ptr %6, align 4
store i32 2, ptr %8, align 4
br label %43
43: ; preds = %41, %35
br label %44
44: ; preds = %43, %34
br label %45
45: ; preds = %44
%46 = load i32, ptr %3, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %3, align 4
%48 = load i32, ptr %3, align 4
%49 = load i32, ptr %2, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %45
br label %51
51: ; preds = %._crit_edge, %0
%52 = load i32, ptr %8, align 4
%53 = load i32, ptr %6, align 4
%54 = call i32 @printf(ptr noundef @.str.2, i32 noundef %52, i32 noundef %53)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9r8np1xt.c'
source_filename = "/tmp/tmp9r8np1xt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"<\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c">\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"<\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c">\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @extract_address(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [100 x i8], align 16
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = sext i32 %9 to i64
%11 = icmp ugt i64 %10, 99
br i1 %11, label %12, label %15
12: ; preds = %1
%13 = load ptr, ptr %3, align 8
%14 = call ptr @strdup(ptr noundef %13)
store ptr %14, ptr %2, align 8
br label %232
15: ; preds = %1
%16 = load ptr, ptr %3, align 8
%17 = call ptr @strstr(ptr noundef %16, ptr noundef @.str)
store ptr %17, ptr %4, align 8
%18 = load ptr, ptr %4, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %62
20: ; preds = %15
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 4
store ptr %22, ptr %4, align 8
%23 = load ptr, ptr %4, align 8
%24 = call ptr @strstr(ptr noundef %23, ptr noundef @.str.1)
store ptr %24, ptr %5, align 8
%25 = load ptr, ptr %5, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %61
27: ; preds = %20
br label %28
28: ; preds = %38, %27
%29 = load ptr, ptr %4, align 8
%30 = call ptr @strstr(ptr noundef %29, ptr noundef @.str)
store ptr %30, ptr %6, align 8
%31 = icmp ne ptr %30, null
br i1 %31, label %32, label %36
32: ; preds = %28
%33 = load ptr, ptr %6, align 8
%34 = load ptr, ptr %5, align 8
%35 = icmp ult ptr %33, %34
br label %36
36: ; preds = %32, %28
%37 = phi i1 [ false, %28 ], [ %35, %32 ]
br i1 %37, label %38, label %41
38: ; preds = %36
%39 = load ptr, ptr %6, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 4
store ptr %40, ptr %4, align 8
br label %28, !llvm.loop !6
41: ; preds = %36
%42 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%43 = load ptr, ptr %4, align 8
%44 = load ptr, ptr %5, align 8
%45 = load ptr, ptr %4, align 8
%46 = ptrtoint ptr %44 to i64
%47 = ptrtoint ptr %45 to i64
%48 = sub i64 %46, %47
%49 = trunc i64 %48 to i32
%50 = call i32 @memcpy(ptr noundef %42, ptr noundef %43, i32 noundef %49)
%51 = load ptr, ptr %5, align 8
%52 = load ptr, ptr %4, align 8
%53 = ptrtoint ptr %51 to i64
%54 = ptrtoint ptr %52 to i64
%55 = sub i64 %53, %54
%56 = trunc i64 %55 to i32
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 %57
store i8 0, ptr %58, align 1
%59 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%60 = call ptr @strdup(ptr noundef %59)
store ptr %60, ptr %2, align 8
br label %232
61: ; preds = %20
br label %62
62: ; preds = %61, %15
%63 = load ptr, ptr %3, align 8
%64 = call ptr @strstr(ptr noundef %63, ptr noundef @.str.2)
store ptr %64, ptr %4, align 8
%65 = load ptr, ptr %4, align 8
%66 = icmp ne ptr %65, null
br i1 %66, label %67, label %109
67: ; preds = %62
%68 = load ptr, ptr %4, align 8
%69 = getelementptr inbounds i8, ptr %68, i64 1
store ptr %69, ptr %4, align 8
%70 = load ptr, ptr %4, align 8
%71 = call ptr @strstr(ptr noundef %70, ptr noundef @.str.3)
store ptr %71, ptr %5, align 8
%72 = load ptr, ptr %5, align 8
%73 = icmp ne ptr %72, null
br i1 %73, label %74, label %108
74: ; preds = %67
br label %75
75: ; preds = %85, %74
%76 = load ptr, ptr %4, align 8
%77 = call ptr @strstr(ptr noundef %76, ptr noundef @.str.3)
store ptr %77, ptr %6, align 8
%78 = icmp ne ptr %77, null
br i1 %78, label %79, label %83
79: ; preds = %75
%80 = load ptr, ptr %6, align 8
%81 = load ptr, ptr %5, align 8
%82 = icmp ult ptr %80, %81
br label %83
83: ; preds = %79, %75
%84 = phi i1 [ false, %75 ], [ %82, %79 ]
br i1 %84, label %85, label %88
85: ; preds = %83
%86 = load ptr, ptr %6, align 8
%87 = getelementptr inbounds i8, ptr %86, i64 1
store ptr %87, ptr %4, align 8
br label %75, !llvm.loop !8
88: ; preds = %83
%89 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%90 = load ptr, ptr %4, align 8
%91 = load ptr, ptr %5, align 8
%92 = load ptr, ptr %4, align 8
%93 = ptrtoint ptr %91 to i64
%94 = ptrtoint ptr %92 to i64
%95 = sub i64 %93, %94
%96 = trunc i64 %95 to i32
%97 = call i32 @memcpy(ptr noundef %89, ptr noundef %90, i32 noundef %96)
%98 = load ptr, ptr %5, align 8
%99 = load ptr, ptr %4, align 8
%100 = ptrtoint ptr %98 to i64
%101 = ptrtoint ptr %99 to i64
%102 = sub i64 %100, %101
%103 = trunc i64 %102 to i32
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 %104
store i8 0, ptr %105, align 1
%106 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%107 = call ptr @strdup(ptr noundef %106)
store ptr %107, ptr %2, align 8
br label %232
108: ; preds = %67
br label %109
109: ; preds = %108, %62
%110 = load ptr, ptr %3, align 8
%111 = call ptr @strchr(ptr noundef %110, i8 noundef signext 64)
store ptr %111, ptr %4, align 8
%112 = load ptr, ptr %4, align 8
%113 = icmp ne ptr %112, null
br i1 %113, label %114, label %177
114: ; preds = %109
br label %115
115: ; preds = %127, %114
%116 = load ptr, ptr %4, align 8
%117 = load ptr, ptr %3, align 8
%118 = icmp ugt ptr %116, %117
br i1 %118, label %119, label %125
119: ; preds = %115
%120 = load ptr, ptr %4, align 8
%121 = load i8, ptr %120, align 1
%122 = call i64 @isspace(i8 noundef signext %121)
%123 = icmp ne i64 %122, 0
%124 = xor i1 %123, true
br label %125
125: ; preds = %119, %115
%126 = phi i1 [ false, %115 ], [ %124, %119 ]
br i1 %126, label %127, label %130
127: ; preds = %125
%128 = load ptr, ptr %4, align 8
%129 = getelementptr inbounds i8, ptr %128, i32 -1
store ptr %129, ptr %4, align 8
br label %115, !llvm.loop !9
130: ; preds = %125
%131 = load ptr, ptr %4, align 8
%132 = load i8, ptr %131, align 1
%133 = call i64 @isspace(i8 noundef signext %132)
%134 = icmp ne i64 %133, 0
br i1 %134, label %135, label %138
135: ; preds = %130
%136 = load ptr, ptr %4, align 8
%137 = getelementptr inbounds i8, ptr %136, i32 1
store ptr %137, ptr %4, align 8
br label %138
138: ; preds = %135, %130
%139 = load ptr, ptr %4, align 8
%140 = getelementptr inbounds i8, ptr %139, i64 1
store ptr %140, ptr %5, align 8
br label %141
141: ; preds = %154, %138
%142 = load ptr, ptr %5, align 8
%143 = load i8, ptr %142, align 1
%144 = sext i8 %143 to i32
%145 = icmp ne i32 %144, 0
br i1 %145, label %146, label %152
146: ; preds = %141
%147 = load ptr, ptr %5, align 8
%148 = load i8, ptr %147, align 1
%149 = call i64 @isspace(i8 noundef signext %148)
%150 = icmp ne i64 %149, 0
%151 = xor i1 %150, true
br label %152
152: ; preds = %146, %141
%153 = phi i1 [ false, %141 ], [ %151, %146 ]
br i1 %153, label %154, label %157
154: ; preds = %152
%155 = load ptr, ptr %5, align 8
%156 = getelementptr inbounds i8, ptr %155, i32 1
store ptr %156, ptr %5, align 8
br label %141, !llvm.loop !10
157: ; preds = %152
%158 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%159 = load ptr, ptr %4, align 8
%160 = load ptr, ptr %5, align 8
%161 = load ptr, ptr %4, align 8
%162 = ptrtoint ptr %160 to i64
%163 = ptrtoint ptr %161 to i64
%164 = sub i64 %162, %163
%165 = trunc i64 %164 to i32
%166 = call i32 @memcpy(ptr noundef %158, ptr noundef %159, i32 noundef %165)
%167 = load ptr, ptr %5, align 8
%168 = load ptr, ptr %4, align 8
%169 = ptrtoint ptr %167 to i64
%170 = ptrtoint ptr %168 to i64
%171 = sub i64 %169, %170
%172 = trunc i64 %171 to i32
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 %173
store i8 0, ptr %174, align 1
%175 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%176 = call ptr @strdup(ptr noundef %175)
store ptr %176, ptr %2, align 8
br label %232
177: ; preds = %109
%178 = load ptr, ptr %3, align 8
store ptr %178, ptr %4, align 8
br label %179
179: ; preds = %191, %177
%180 = load ptr, ptr %4, align 8
%181 = load i8, ptr %180, align 1
%182 = sext i8 %181 to i32
%183 = icmp ne i32 %182, 0
br i1 %183, label %184, label %189
184: ; preds = %179
%185 = load ptr, ptr %4, align 8
%186 = load i8, ptr %185, align 1
%187 = call i64 @isspace(i8 noundef signext %186)
%188 = icmp ne i64 %187, 0
br label %189
189: ; preds = %184, %179
%190 = phi i1 [ false, %179 ], [ %188, %184 ]
br i1 %190, label %191, label %194
191: ; preds = %189
%192 = load ptr, ptr %4, align 8
%193 = getelementptr inbounds i8, ptr %192, i32 1
store ptr %193, ptr %4, align 8
br label %179, !llvm.loop !11
194: ; preds = %189
%195 = load ptr, ptr %4, align 8
store ptr %195, ptr %5, align 8
br label %196
196: ; preds = %209, %194
%197 = load ptr, ptr %5, align 8
%198 = load i8, ptr %197, align 1
%199 = sext i8 %198 to i32
%200 = icmp ne i32 %199, 0
br i1 %200, label %201, label %207
201: ; preds = %196
%202 = load ptr, ptr %5, align 8
%203 = load i8, ptr %202, align 1
%204 = call i64 @isspace(i8 noundef signext %203)
%205 = icmp ne i64 %204, 0
%206 = xor i1 %205, true
br label %207
207: ; preds = %201, %196
%208 = phi i1 [ false, %196 ], [ %206, %201 ]
br i1 %208, label %209, label %212
209: ; preds = %207
%210 = load ptr, ptr %5, align 8
%211 = getelementptr inbounds i8, ptr %210, i32 1
store ptr %211, ptr %5, align 8
br label %196, !llvm.loop !12
212: ; preds = %207
%213 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%214 = load ptr, ptr %4, align 8
%215 = load ptr, ptr %5, align 8
%216 = load ptr, ptr %4, align 8
%217 = ptrtoint ptr %215 to i64
%218 = ptrtoint ptr %216 to i64
%219 = sub i64 %217, %218
%220 = trunc i64 %219 to i32
%221 = call i32 @memcpy(ptr noundef %213, ptr noundef %214, i32 noundef %220)
%222 = load ptr, ptr %5, align 8
%223 = load ptr, ptr %4, align 8
%224 = ptrtoint ptr %222 to i64
%225 = ptrtoint ptr %223 to i64
%226 = sub i64 %224, %225
%227 = trunc i64 %226 to i32
%228 = sext i32 %227 to i64
%229 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 %228
store i8 0, ptr %229, align 1
%230 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%231 = call ptr @strdup(ptr noundef %230)
store ptr %231, ptr %2, align 8
br label %232
232: ; preds = %212, %157, %88, %41, %12
%233 = load ptr, ptr %2, align 8
ret ptr %233
}
declare i32 @strlen(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i64 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9r8np1xt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"<\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c">\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"<\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c">\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @extract_address(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [100 x i8], align 16
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = sext i32 %9 to i64
%11 = icmp ugt i64 %10, 99
br i1 %11, label %12, label %15
12: ; preds = %1
%13 = load ptr, ptr %3, align 8
%14 = call ptr @strdup(ptr noundef %13)
store ptr %14, ptr %2, align 8
br label %232
15: ; preds = %1
%16 = load ptr, ptr %3, align 8
%17 = call ptr @strstr(ptr noundef %16, ptr noundef @.str)
store ptr %17, ptr %4, align 8
%18 = load ptr, ptr %4, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %62
20: ; preds = %15
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 4
store ptr %22, ptr %4, align 8
%23 = load ptr, ptr %4, align 8
%24 = call ptr @strstr(ptr noundef %23, ptr noundef @.str.1)
store ptr %24, ptr %5, align 8
%25 = load ptr, ptr %5, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %61
27: ; preds = %20
br label %28
28: ; preds = %38, %27
%29 = load ptr, ptr %4, align 8
%30 = call ptr @strstr(ptr noundef %29, ptr noundef @.str)
store ptr %30, ptr %6, align 8
%31 = icmp ne ptr %30, null
br i1 %31, label %32, label %36
32: ; preds = %28
%33 = load ptr, ptr %6, align 8
%34 = load ptr, ptr %5, align 8
%35 = icmp ult ptr %33, %34
br label %36
36: ; preds = %32, %28
%37 = phi i1 [ false, %28 ], [ %35, %32 ]
br i1 %37, label %38, label %41
38: ; preds = %36
%39 = load ptr, ptr %6, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 4
store ptr %40, ptr %4, align 8
br label %28, !llvm.loop !6
41: ; preds = %36
%42 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%43 = load ptr, ptr %4, align 8
%44 = load ptr, ptr %5, align 8
%45 = load ptr, ptr %4, align 8
%46 = ptrtoint ptr %44 to i64
%47 = ptrtoint ptr %45 to i64
%48 = sub i64 %46, %47
%49 = trunc i64 %48 to i32
%50 = call i32 @memcpy(ptr noundef %42, ptr noundef %43, i32 noundef %49)
%51 = load ptr, ptr %5, align 8
%52 = load ptr, ptr %4, align 8
%53 = ptrtoint ptr %51 to i64
%54 = ptrtoint ptr %52 to i64
%55 = sub i64 %53, %54
%56 = trunc i64 %55 to i32
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 %57
store i8 0, ptr %58, align 1
%59 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%60 = call ptr @strdup(ptr noundef %59)
store ptr %60, ptr %2, align 8
br label %232
61: ; preds = %20
br label %62
62: ; preds = %61, %15
%63 = load ptr, ptr %3, align 8
%64 = call ptr @strstr(ptr noundef %63, ptr noundef @.str.2)
store ptr %64, ptr %4, align 8
%65 = load ptr, ptr %4, align 8
%66 = icmp ne ptr %65, null
br i1 %66, label %67, label %109
67: ; preds = %62
%68 = load ptr, ptr %4, align 8
%69 = getelementptr inbounds i8, ptr %68, i64 1
store ptr %69, ptr %4, align 8
%70 = load ptr, ptr %4, align 8
%71 = call ptr @strstr(ptr noundef %70, ptr noundef @.str.3)
store ptr %71, ptr %5, align 8
%72 = load ptr, ptr %5, align 8
%73 = icmp ne ptr %72, null
br i1 %73, label %74, label %108
74: ; preds = %67
br label %75
75: ; preds = %85, %74
%76 = load ptr, ptr %4, align 8
%77 = call ptr @strstr(ptr noundef %76, ptr noundef @.str.3)
store ptr %77, ptr %6, align 8
%78 = icmp ne ptr %77, null
br i1 %78, label %79, label %83
79: ; preds = %75
%80 = load ptr, ptr %6, align 8
%81 = load ptr, ptr %5, align 8
%82 = icmp ult ptr %80, %81
br label %83
83: ; preds = %79, %75
%84 = phi i1 [ false, %75 ], [ %82, %79 ]
br i1 %84, label %85, label %88
85: ; preds = %83
%86 = load ptr, ptr %6, align 8
%87 = getelementptr inbounds i8, ptr %86, i64 1
store ptr %87, ptr %4, align 8
br label %75, !llvm.loop !8
88: ; preds = %83
%89 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%90 = load ptr, ptr %4, align 8
%91 = load ptr, ptr %5, align 8
%92 = load ptr, ptr %4, align 8
%93 = ptrtoint ptr %91 to i64
%94 = ptrtoint ptr %92 to i64
%95 = sub i64 %93, %94
%96 = trunc i64 %95 to i32
%97 = call i32 @memcpy(ptr noundef %89, ptr noundef %90, i32 noundef %96)
%98 = load ptr, ptr %5, align 8
%99 = load ptr, ptr %4, align 8
%100 = ptrtoint ptr %98 to i64
%101 = ptrtoint ptr %99 to i64
%102 = sub i64 %100, %101
%103 = trunc i64 %102 to i32
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 %104
store i8 0, ptr %105, align 1
%106 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%107 = call ptr @strdup(ptr noundef %106)
store ptr %107, ptr %2, align 8
br label %232
108: ; preds = %67
br label %109
109: ; preds = %108, %62
%110 = load ptr, ptr %3, align 8
%111 = call ptr @strchr(ptr noundef %110, i8 noundef signext 64)
store ptr %111, ptr %4, align 8
%112 = load ptr, ptr %4, align 8
%113 = icmp ne ptr %112, null
br i1 %113, label %114, label %177
114: ; preds = %109
br label %115
115: ; preds = %127, %114
%116 = load ptr, ptr %4, align 8
%117 = load ptr, ptr %3, align 8
%118 = icmp ugt ptr %116, %117
br i1 %118, label %119, label %125
119: ; preds = %115
%120 = load ptr, ptr %4, align 8
%121 = load i8, ptr %120, align 1
%122 = call i64 @isspace(i8 noundef signext %121)
%123 = icmp ne i64 %122, 0
%124 = xor i1 %123, true
br label %125
125: ; preds = %119, %115
%126 = phi i1 [ false, %115 ], [ %124, %119 ]
br i1 %126, label %127, label %130
127: ; preds = %125
%128 = load ptr, ptr %4, align 8
%129 = getelementptr inbounds i8, ptr %128, i32 -1
store ptr %129, ptr %4, align 8
br label %115, !llvm.loop !9
130: ; preds = %125
%131 = load ptr, ptr %4, align 8
%132 = load i8, ptr %131, align 1
%133 = call i64 @isspace(i8 noundef signext %132)
%134 = icmp ne i64 %133, 0
br i1 %134, label %135, label %138
135: ; preds = %130
%136 = load ptr, ptr %4, align 8
%137 = getelementptr inbounds i8, ptr %136, i32 1
store ptr %137, ptr %4, align 8
br label %138
138: ; preds = %135, %130
%139 = load ptr, ptr %4, align 8
%140 = getelementptr inbounds i8, ptr %139, i64 1
store ptr %140, ptr %5, align 8
br label %141
141: ; preds = %154, %138
%142 = load ptr, ptr %5, align 8
%143 = load i8, ptr %142, align 1
%144 = sext i8 %143 to i32
%145 = icmp ne i32 %144, 0
br i1 %145, label %146, label %152
146: ; preds = %141
%147 = load ptr, ptr %5, align 8
%148 = load i8, ptr %147, align 1
%149 = call i64 @isspace(i8 noundef signext %148)
%150 = icmp ne i64 %149, 0
%151 = xor i1 %150, true
br label %152
152: ; preds = %146, %141
%153 = phi i1 [ false, %141 ], [ %151, %146 ]
br i1 %153, label %154, label %157
154: ; preds = %152
%155 = load ptr, ptr %5, align 8
%156 = getelementptr inbounds i8, ptr %155, i32 1
store ptr %156, ptr %5, align 8
br label %141, !llvm.loop !10
157: ; preds = %152
%158 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%159 = load ptr, ptr %4, align 8
%160 = load ptr, ptr %5, align 8
%161 = load ptr, ptr %4, align 8
%162 = ptrtoint ptr %160 to i64
%163 = ptrtoint ptr %161 to i64
%164 = sub i64 %162, %163
%165 = trunc i64 %164 to i32
%166 = call i32 @memcpy(ptr noundef %158, ptr noundef %159, i32 noundef %165)
%167 = load ptr, ptr %5, align 8
%168 = load ptr, ptr %4, align 8
%169 = ptrtoint ptr %167 to i64
%170 = ptrtoint ptr %168 to i64
%171 = sub i64 %169, %170
%172 = trunc i64 %171 to i32
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 %173
store i8 0, ptr %174, align 1
%175 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%176 = call ptr @strdup(ptr noundef %175)
store ptr %176, ptr %2, align 8
br label %232
177: ; preds = %109
%178 = load ptr, ptr %3, align 8
store ptr %178, ptr %4, align 8
br label %179
179: ; preds = %191, %177
%180 = load ptr, ptr %4, align 8
%181 = load i8, ptr %180, align 1
%182 = sext i8 %181 to i32
%183 = icmp ne i32 %182, 0
br i1 %183, label %184, label %189
184: ; preds = %179
%185 = load ptr, ptr %4, align 8
%186 = load i8, ptr %185, align 1
%187 = call i64 @isspace(i8 noundef signext %186)
%188 = icmp ne i64 %187, 0
br label %189
189: ; preds = %184, %179
%190 = phi i1 [ false, %179 ], [ %188, %184 ]
br i1 %190, label %191, label %194
191: ; preds = %189
%192 = load ptr, ptr %4, align 8
%193 = getelementptr inbounds i8, ptr %192, i32 1
store ptr %193, ptr %4, align 8
br label %179, !llvm.loop !11
194: ; preds = %189
%195 = load ptr, ptr %4, align 8
store ptr %195, ptr %5, align 8
br label %196
196: ; preds = %209, %194
%197 = load ptr, ptr %5, align 8
%198 = load i8, ptr %197, align 1
%199 = sext i8 %198 to i32
%200 = icmp ne i32 %199, 0
br i1 %200, label %201, label %207
201: ; preds = %196
%202 = load ptr, ptr %5, align 8
%203 = load i8, ptr %202, align 1
%204 = call i64 @isspace(i8 noundef signext %203)
%205 = icmp ne i64 %204, 0
%206 = xor i1 %205, true
br label %207
207: ; preds = %201, %196
%208 = phi i1 [ false, %196 ], [ %206, %201 ]
br i1 %208, label %209, label %212
209: ; preds = %207
%210 = load ptr, ptr %5, align 8
%211 = getelementptr inbounds i8, ptr %210, i32 1
store ptr %211, ptr %5, align 8
br label %196, !llvm.loop !12
212: ; preds = %207
%213 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%214 = load ptr, ptr %4, align 8
%215 = load ptr, ptr %5, align 8
%216 = load ptr, ptr %4, align 8
%217 = ptrtoint ptr %215 to i64
%218 = ptrtoint ptr %216 to i64
%219 = sub i64 %217, %218
%220 = trunc i64 %219 to i32
%221 = call i32 @memcpy(ptr noundef %213, ptr noundef %214, i32 noundef %220)
%222 = load ptr, ptr %5, align 8
%223 = load ptr, ptr %4, align 8
%224 = ptrtoint ptr %222 to i64
%225 = ptrtoint ptr %223 to i64
%226 = sub i64 %224, %225
%227 = trunc i64 %226 to i32
%228 = sext i32 %227 to i64
%229 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 %228
store i8 0, ptr %229, align 1
%230 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%231 = call ptr @strdup(ptr noundef %230)
store ptr %231, ptr %2, align 8
br label %232
232: ; preds = %212, %157, %88, %41, %12
%233 = load ptr, ptr %2, align 8
ret ptr %233
}
declare i32 @strlen(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i64 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmp_mdk36fi.c'
source_filename = "/tmp/tmp_mdk36fi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clickplc_exe_object_free(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 ptr, ptr %4, align 8
%6 = load ptr, ptr %5, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %13
8: ; preds = %2
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %9, align 8
%11 = call i32 @free(ptr noundef %10)
%12 = load ptr, ptr %4, align 8
store ptr null, ptr %12, align 8
br label %13
13: ; preds = %8, %2
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_mdk36fi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clickplc_exe_object_free(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 ptr, ptr %4, align 8
%6 = load ptr, ptr %5, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %13
8: ; preds = %2
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %9, align 8
%11 = call i32 @free(ptr noundef %10)
%12 = load ptr, ptr %4, align 8
store ptr null, ptr %12, align 8
br label %13
13: ; preds = %8, %2
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps_ozwzx1.c'
source_filename = "/tmp/tmps_ozwzx1.c"
target datalayout = "e-m:e-p270: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/tmps_ozwzx1.c"
target datalayout = "e-m:e-p270: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/tmp4c2km0o2.c'
source_filename = "/tmp/tmp4c2km0o2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @igetcwd(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 @getcwd(ptr noundef %5, i32 noundef 256)
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = load ptr, ptr %4, align 8
store i32 %8, ptr %9, align 4
ret void
}
declare i32 @getcwd(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/tmp4c2km0o2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @igetcwd(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 @getcwd(ptr noundef %5, i32 noundef 256)
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = load ptr, ptr %4, align 8
store i32 %8, ptr %9, align 4
ret void
}
declare i32 @getcwd(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/tmpz2u0ts4t.c'
source_filename = "/tmp/tmpz2u0ts4t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %18
6: ; preds = %1
br label %7
7: ; preds = %14, %6
%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 = icmp ne i32 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %7
br label %14
14: ; preds = %13
%15 = load i64, ptr %3, align 8
%16 = add i64 %15, 1
store i64 %16, ptr %3, align 8
br label %7, !llvm.loop !6
17: ; preds = %7
br label %18
18: ; preds = %17, %1
%19 = load i64, ptr %3, align 8
ret i64 %19
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz2u0ts4t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %22
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds i8, ptr %7, i32 1
store ptr %8, ptr %2, align 8
%9 = load i8, ptr %7, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %.lr.ph, label %21
.lr.ph: ; preds = %6
br label %12
12: ; preds = %.lr.ph, %13
br label %13
13: ; preds = %12
%14 = load i64, ptr %3, align 8
%15 = add i64 %14, 1
store i64 %15, ptr %3, align 8
%16 = load ptr, ptr %2, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %2, align 8
%18 = load i8, ptr %16, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br i1 %20, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %21
21: ; preds = %._crit_edge, %6
br label %22
22: ; preds = %21, %1
%23 = load i64, ptr %3, align 8
ret i64 %23
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp4vdr3rmr.c'
source_filename = "/tmp/tmp4vdr3rmr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@AF_UNSPEC = 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/tmp4vdr3rmr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@AF_UNSPEC = 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/tmpnoa67ysj.c'
source_filename = "/tmp/tmpnoa67ysj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NAN = dso_local global double 0.000000e+00, align 8
@.str = private unnamed_addr constant [27 x i8] c"ERROR %s(%f) != NaN at %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"NAN\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"Print out of NaN: %f\0A\00", align 1
@INFINITY = dso_local global double 0.000000e+00, align 8
@.str.3 = private unnamed_addr constant [23 x i8] c"ERROR %f != Inf at %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"Print out of Infinity: %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_constants() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load double, ptr @NAN, align 8
%3 = call i64 @isnan(double noundef %2)
%4 = icmp ne i64 %3, 0
br i1 %4, label %5, label %6
5: ; preds = %0
br label %9
6: ; preds = %0
%7 = load double, ptr @NAN, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, double noundef %7, i32 noundef 39)
br label %9
9: ; preds = %6, %5
%10 = phi i32 [ 0, %5 ], [ 1, %6 ]
%11 = load i32, ptr %1, align 4
%12 = add nsw i32 %11, %10
store i32 %12, ptr %1, align 4
%13 = load double, ptr @NAN, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %13)
%15 = load double, ptr @INFINITY, align 8
%16 = call i64 @isinf(double noundef %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %9
br label %22
19: ; preds = %9
%20 = load double, ptr @INFINITY, align 8
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %20, i32 noundef 41)
br label %22
22: ; preds = %19, %18
%23 = phi i32 [ 0, %18 ], [ 1, %19 ]
%24 = load i32, ptr %1, align 4
%25 = add nsw i32 %24, %23
store i32 %25, ptr %1, align 4
%26 = load double, ptr @INFINITY, align 8
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %26)
%28 = call i64 @isinf(double noundef 0x7FF0000000000000)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %22
br label %33
31: ; preds = %22
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef 0x7FF0000000000000, i32 noundef 43)
br label %33
33: ; preds = %31, %30
%34 = phi i32 [ 0, %30 ], [ 1, %31 ]
%35 = load i32, ptr %1, align 4
%36 = add nsw i32 %35, %34
store i32 %36, ptr %1, align 4
%37 = load i32, ptr %1, align 4
ret i32 %37
}
declare i64 @isnan(double noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @isinf(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/tmpnoa67ysj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NAN = dso_local global double 0.000000e+00, align 8
@.str = private unnamed_addr constant [27 x i8] c"ERROR %s(%f) != NaN at %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"NAN\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"Print out of NaN: %f\0A\00", align 1
@INFINITY = dso_local global double 0.000000e+00, align 8
@.str.3 = private unnamed_addr constant [23 x i8] c"ERROR %f != Inf at %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"Print out of Infinity: %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_constants() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load double, ptr @NAN, align 8
%3 = call i64 @isnan(double noundef %2)
%4 = icmp ne i64 %3, 0
br i1 %4, label %5, label %6
5: ; preds = %0
br label %9
6: ; preds = %0
%7 = load double, ptr @NAN, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, double noundef %7, i32 noundef 39)
br label %9
9: ; preds = %6, %5
%10 = phi i32 [ 0, %5 ], [ 1, %6 ]
%11 = load i32, ptr %1, align 4
%12 = add nsw i32 %11, %10
store i32 %12, ptr %1, align 4
%13 = load double, ptr @NAN, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %13)
%15 = load double, ptr @INFINITY, align 8
%16 = call i64 @isinf(double noundef %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %9
br label %22
19: ; preds = %9
%20 = load double, ptr @INFINITY, align 8
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %20, i32 noundef 41)
br label %22
22: ; preds = %19, %18
%23 = phi i32 [ 0, %18 ], [ 1, %19 ]
%24 = load i32, ptr %1, align 4
%25 = add nsw i32 %24, %23
store i32 %25, ptr %1, align 4
%26 = load double, ptr @INFINITY, align 8
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %26)
%28 = call i64 @isinf(double noundef 0x7FF0000000000000)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %22
br label %33
31: ; preds = %22
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef 0x7FF0000000000000, i32 noundef 43)
br label %33
33: ; preds = %31, %30
%34 = phi i32 [ 0, %30 ], [ 1, %31 ]
%35 = load i32, ptr %1, align 4
%36 = add nsw i32 %35, %34
store i32 %36, ptr %1, align 4
%37 = load i32, ptr %1, align 4
ret i32 %37
}
declare i64 @isnan(double noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @isinf(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/tmp06otu36r.c'
source_filename = "/tmp/tmp06otu36r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_static(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %3
store i32 1, ptr %7, align 4
br label %13
13: ; preds = %12, %3
store i32 0, ptr %8, align 4
br label %14
14: ; preds = %44, %13
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %7, align 4
%17 = sdiv i32 100, %16
%18 = icmp slt i32 %15, %17
br i1 %18, label %19, label %47
19: ; preds = %14
store i32 0, ptr %9, align 4
br label %20
20: ; preds = %40, %19
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %7, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %43
24: ; preds = %20
%25 = load ptr, ptr %5, align 8
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %7, align 4
%28 = mul nsw i32 %26, %27
%29 = load i32, ptr %9, align 4
%30 = add nsw i32 %28, %29
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %25, i64 %31
%33 = load i32, ptr %32, align 4
%34 = load i32, ptr %8, align 4
%35 = load i32, ptr %6, align 4
%36 = srem i32 %34, %35
%37 = icmp eq i32 %33, %36
%38 = zext i1 %37 to i32
%39 = call i32 @assert(i32 noundef %38)
br label %40
40: ; preds = %24
%41 = load i32, ptr %9, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %9, align 4
br label %20, !llvm.loop !6
43: ; preds = %20
br label %44
44: ; preds = %43
%45 = load i32, ptr %8, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %8, align 4
br label %14, !llvm.loop !8
47: ; preds = %14
%48 = load i32, ptr %4, align 4
ret i32 %48
}
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/tmp06otu36r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_static(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %3
store i32 1, ptr %7, align 4
br label %13
13: ; preds = %12, %3
store i32 0, ptr %8, align 4
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %7, align 4
%16 = sdiv i32 100, %15
%17 = icmp slt i32 %14, %16
br i1 %17, label %.lr.ph2, label %52
.lr.ph2: ; preds = %13
br label %18
18: ; preds = %.lr.ph2, %45
store i32 0, ptr %9, align 4
%19 = load i32, ptr %9, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph, label %44
.lr.ph: ; preds = %18
br label %22
22: ; preds = %.lr.ph, %38
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %8, align 4
%25 = load i32, ptr %7, align 4
%26 = mul nsw i32 %24, %25
%27 = load i32, ptr %9, align 4
%28 = add nsw i32 %26, %27
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %23, i64 %29
%31 = load i32, ptr %30, align 4
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %6, align 4
%34 = srem i32 %32, %33
%35 = icmp eq i32 %31, %34
%36 = zext i1 %35 to i32
%37 = call i32 @assert(i32 noundef %36)
br label %38
38: ; preds = %22
%39 = load i32, ptr %9, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %9, align 4
%41 = load i32, ptr %9, align 4
%42 = load i32, ptr %7, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %44
44: ; preds = %._crit_edge, %18
br label %45
45: ; preds = %44
%46 = load i32, ptr %8, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %8, align 4
%48 = load i32, ptr %8, align 4
%49 = load i32, ptr %7, align 4
%50 = sdiv i32 100, %49
%51 = icmp slt i32 %48, %50
br i1 %51, label %18, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %45
br label %52
52: ; preds = %._crit_edge3, %13
%53 = load i32, ptr %4, align 4
ret i32 %53
}
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/tmprw5e6g7l.c'
source_filename = "/tmp/tmprw5e6g7l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Z\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 2)
ret i32 0
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprw5e6g7l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Z\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 2)
ret i32 0
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsxjtmlwq.c'
source_filename = "/tmp/tmpsxjtmlwq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetBooleanv(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @glGetBooleanv(i32 noundef %5, ptr noundef %6)
ret void
}
declare i32 @glGetBooleanv(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsxjtmlwq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetBooleanv(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @glGetBooleanv(i32 noundef %5, ptr noundef %6)
ret void
}
declare i32 @glGetBooleanv(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy0971nls.c'
source_filename = "/tmp/tmpy0971nls.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"base: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"expoente: \00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%7 = load i32, ptr %1, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 @potencia(i32 noundef %7, i32 noundef %8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %9)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @potencia(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/tmpy0971nls.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"base: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"expoente: \00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%7 = load i32, ptr %1, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 @potencia(i32 noundef %7, i32 noundef %8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %9)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @potencia(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/tmptczz8p1z.c'
source_filename = "/tmp/tmptczz8p1z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Enter a year:\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c" %u%*c\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"Leap\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"Not Leap\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = urem i32 %5, 400
%7 = icmp ne i32 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %0
%9 = call i32 @puts(ptr noundef @.str.2)
br label %26
10: ; preds = %0
%11 = load i32, ptr %2, align 4
%12 = urem i32 %11, 100
%13 = icmp ne i32 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %10
%15 = call i32 @puts(ptr noundef @.str.3)
br label %25
16: ; preds = %10
%17 = load i32, ptr %2, align 4
%18 = urem i32 %17, 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %22, label %20
20: ; preds = %16
%21 = call i32 @puts(ptr noundef @.str.2)
br label %24
22: ; preds = %16
%23 = call i32 @puts(ptr noundef @.str.3)
br label %24
24: ; preds = %22, %20
br label %25
25: ; preds = %24, %14
br label %26
26: ; preds = %25, %8
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(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/tmptczz8p1z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Enter a year:\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c" %u%*c\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"Leap\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"Not Leap\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = urem i32 %5, 400
%7 = icmp ne i32 %6, 0
br i1 %7, label %10, label %8
8: ; preds = %0
%9 = call i32 @puts(ptr noundef @.str.2)
br label %26
10: ; preds = %0
%11 = load i32, ptr %2, align 4
%12 = urem i32 %11, 100
%13 = icmp ne i32 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %10
%15 = call i32 @puts(ptr noundef @.str.3)
br label %25
16: ; preds = %10
%17 = load i32, ptr %2, align 4
%18 = urem i32 %17, 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %22, label %20
20: ; preds = %16
%21 = call i32 @puts(ptr noundef @.str.2)
br label %24
22: ; preds = %16
%23 = call i32 @puts(ptr noundef @.str.3)
br label %24
24: ; preds = %22, %20
br label %25
25: ; preds = %24, %14
br label %26
26: ; preds = %25, %8
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(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/tmp2bme7rq_.c'
source_filename = "/tmp/tmp2bme7rq_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"\09db\09\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"\09dw\09\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c" %+d\00", align 1
@.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @GenAddrData(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = call i32 @truncInt(i32 noundef %7)
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, 1
br i1 %10, label %11, label %13
11: ; preds = %3
%12 = call i32 (ptr, ...) @printf2(ptr noundef @.str)
br label %19
13: ; preds = %3
%14 = load i32, ptr %4, align 4
%15 = icmp eq i32 %14, 2
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = call i32 (ptr, ...) @printf2(ptr noundef @.str.1)
br label %18
18: ; preds = %16, %13
br label %19
19: ; preds = %18, %11
%20 = load ptr, ptr %5, align 8
%21 = call i32 @GenPrintLabel(ptr noundef %20)
%22 = load i32, ptr %6, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %19
%25 = load i32, ptr %6, align 4
%26 = call i32 (ptr, ...) @printf2(ptr noundef @.str.2, i32 noundef %25)
br label %27
27: ; preds = %24, %19
%28 = call i32 @puts2(ptr noundef @.str.3)
%29 = load ptr, ptr %5, align 8
%30 = load i8, ptr %29, align 1
%31 = call i32 @isdigit(i8 noundef signext %30)
%32 = icmp ne i32 %31, 0
br i1 %32, label %36, label %33
33: ; preds = %27
%34 = load ptr, ptr %5, align 8
%35 = call i32 @GenAddGlobal(ptr noundef %34, i32 noundef 2)
br label %36
36: ; preds = %33, %27
ret void
}
declare i32 @truncInt(i32 noundef) #1
declare i32 @printf2(ptr noundef, ...) #1
declare i32 @GenPrintLabel(ptr noundef) #1
declare i32 @puts2(ptr noundef) #1
declare i32 @isdigit(i8 noundef signext) #1
declare i32 @GenAddGlobal(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/tmp2bme7rq_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"\09db\09\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"\09dw\09\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c" %+d\00", align 1
@.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @GenAddrData(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = call i32 @truncInt(i32 noundef %7)
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, 1
br i1 %10, label %11, label %13
11: ; preds = %3
%12 = call i32 (ptr, ...) @printf2(ptr noundef @.str)
br label %19
13: ; preds = %3
%14 = load i32, ptr %4, align 4
%15 = icmp eq i32 %14, 2
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = call i32 (ptr, ...) @printf2(ptr noundef @.str.1)
br label %18
18: ; preds = %16, %13
br label %19
19: ; preds = %18, %11
%20 = load ptr, ptr %5, align 8
%21 = call i32 @GenPrintLabel(ptr noundef %20)
%22 = load i32, ptr %6, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %19
%25 = load i32, ptr %6, align 4
%26 = call i32 (ptr, ...) @printf2(ptr noundef @.str.2, i32 noundef %25)
br label %27
27: ; preds = %24, %19
%28 = call i32 @puts2(ptr noundef @.str.3)
%29 = load ptr, ptr %5, align 8
%30 = load i8, ptr %29, align 1
%31 = call i32 @isdigit(i8 noundef signext %30)
%32 = icmp ne i32 %31, 0
br i1 %32, label %36, label %33
33: ; preds = %27
%34 = load ptr, ptr %5, align 8
%35 = call i32 @GenAddGlobal(ptr noundef %34, i32 noundef 2)
br label %36
36: ; preds = %33, %27
ret void
}
declare i32 @truncInt(i32 noundef) #1
declare i32 @printf2(ptr noundef, ...) #1
declare i32 @GenPrintLabel(ptr noundef) #1
declare i32 @puts2(ptr noundef) #1
declare i32 @isdigit(i8 noundef signext) #1
declare i32 @GenAddGlobal(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/tmp19d3m_0w.c'
source_filename = "/tmp/tmp19d3m_0w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/bin/sh\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [2 x ptr], align 16
%2 = call i32 @setuid(i32 noundef 0)
%3 = getelementptr inbounds [2 x ptr], ptr %1, i64 0, i64 0
store ptr @.str, ptr %3, align 16
%4 = getelementptr inbounds [2 x ptr], ptr %1, i64 0, i64 1
store ptr null, ptr %4, align 8
%5 = getelementptr inbounds [2 x ptr], ptr %1, i64 0, i64 0
%6 = load ptr, ptr %5, align 16
%7 = getelementptr inbounds [2 x ptr], ptr %1, i64 0, i64 0
%8 = call i32 @execve(ptr noundef %6, ptr noundef %7, ptr noundef null)
ret i32 0
}
declare i32 @setuid(i32 noundef) #1
declare i32 @execve(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/tmp19d3m_0w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/bin/sh\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [2 x ptr], align 16
%2 = call i32 @setuid(i32 noundef 0)
%3 = getelementptr inbounds [2 x ptr], ptr %1, i64 0, i64 0
store ptr @.str, ptr %3, align 16
%4 = getelementptr inbounds [2 x ptr], ptr %1, i64 0, i64 1
store ptr null, ptr %4, align 8
%5 = getelementptr inbounds [2 x ptr], ptr %1, i64 0, i64 0
%6 = load ptr, ptr %5, align 16
%7 = getelementptr inbounds [2 x ptr], ptr %1, i64 0, i64 0
%8 = call i32 @execve(ptr noundef %6, ptr noundef %7, ptr noundef null)
ret i32 0
}
declare i32 @setuid(i32 noundef) #1
declare i32 @execve(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/tmpxol9z668.c'
source_filename = "/tmp/tmpxol9z668.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i8 %1, ptr %5, align 1
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %30, %2
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %6, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %33
15: ; preds = %7
%16 = load ptr, ptr %4, 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 = load i8, ptr %5, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %21, %23
br i1 %24, label %25, label %30
25: ; preds = %15
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
store ptr %29, ptr %3, align 8
br label %34
30: ; preds = %15
%31 = load i32, ptr %6, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %6, align 4
br label %7, !llvm.loop !6
33: ; preds = %7
store ptr null, ptr %3, align 8
br label %34
34: ; preds = %33, %25
%35 = load ptr, ptr %3, align 8
ret ptr %35
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpxol9z668.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i8 %1, ptr %5, align 1
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %6, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i8, ptr %7, i64 %9
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %.lr.ph, label %39
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %29
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = load i8, ptr %5, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %20, %22
br i1 %23, label %24, label %29
24: ; preds = %14
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %6, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
store ptr %28, ptr %3, align 8
br label %40
29: ; preds = %14
%30 = load i32, ptr %6, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %6, align 4
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %6, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp ne i32 %37, 0
br i1 %38, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %39
39: ; preds = %._crit_edge, %2
store ptr null, ptr %3, align 8
br label %40
40: ; preds = %39, %24
%41 = load ptr, ptr %3, align 8
ret ptr %41
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpfiznjt4v.c'
source_filename = "/tmp/tmpfiznjt4v.c"
target datalayout = "e-m:e-p270: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.timespec = type { i32, i64 }
; 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 %struct.timespec, align 8
store i32 0, ptr %1, align 4
%5 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 1
store i64 0, ptr %5, align 8
%6 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0
store i32 1000000, ptr %6, align 8
%7 = call i32 @sem_init(ptr noundef %2, i32 noundef 1, i32 noundef 1)
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 @sem_wait(ptr noundef %2)
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = call i32 @sem_post(ptr noundef %2)
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 @sem_trywait(ptr noundef %2)
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = call i32 @sem_timedwait(ptr noundef %2, ptr noundef %4)
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = call i32 @sem_destroy(ptr noundef %2)
store i32 %17, ptr %3, align 4
%18 = load i32, ptr %3, align 4
ret i32 0
}
declare i32 @sem_init(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sem_wait(ptr noundef) #1
declare i32 @sem_post(ptr noundef) #1
declare i32 @sem_trywait(ptr noundef) #1
declare i32 @sem_timedwait(ptr noundef, ptr noundef) #1
declare i32 @sem_destroy(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfiznjt4v.c"
target datalayout = "e-m:e-p270: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.timespec = type { i32, i64 }
; 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 %struct.timespec, align 8
store i32 0, ptr %1, align 4
%5 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 1
store i64 0, ptr %5, align 8
%6 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0
store i32 1000000, ptr %6, align 8
%7 = call i32 @sem_init(ptr noundef %2, i32 noundef 1, i32 noundef 1)
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 @sem_wait(ptr noundef %2)
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = call i32 @sem_post(ptr noundef %2)
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 @sem_trywait(ptr noundef %2)
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = call i32 @sem_timedwait(ptr noundef %2, ptr noundef %4)
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = call i32 @sem_destroy(ptr noundef %2)
store i32 %17, ptr %3, align 4
%18 = load i32, ptr %3, align 4
ret i32 0
}
declare i32 @sem_init(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sem_wait(ptr noundef) #1
declare i32 @sem_post(ptr noundef) #1
declare i32 @sem_trywait(ptr noundef) #1
declare i32 @sem_timedwait(ptr noundef, ptr noundef) #1
declare i32 @sem_destroy(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmmdfasbn.c'
source_filename = "/tmp/tmpmmdfasbn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"malloc\00", align 1
@.str.1 = private unnamed_addr constant [161 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/HossainKhademian/FreeCivAndroid/refs/heads/master/src/utility/shared.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @create_centered_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 1, ptr %10, align 4
%11 = load ptr, ptr %2, align 8
store ptr %11, ptr %3, align 8
br label %12
12: ; preds = %35, %1
%13 = load ptr, ptr %3, 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 %17, label %38
17: ; preds = %12
%18 = load ptr, ptr %3, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 10
br i1 %21, label %22, label %25
22: ; preds = %17
%23 = load i32, ptr %9, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %9, align 4
br label %34
25: ; preds = %17
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %9, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %29, label %31
29: ; preds = %25
%30 = load i32, ptr %9, align 4
store i32 %30, ptr %8, align 4
br label %31
31: ; preds = %29, %25
store i32 0, ptr %9, align 4
%32 = load i32, ptr %10, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %10, align 4
br label %34
34: ; preds = %31, %22
br label %35
35: ; preds = %34
%36 = load ptr, ptr %3, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %3, align 8
br label %12, !llvm.loop !6
38: ; preds = %12
%39 = load i32, ptr %8, align 4
%40 = load i32, ptr %9, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %42, label %44
42: ; preds = %38
%43 = load i32, ptr %9, align 4
store i32 %43, ptr %8, align 4
br label %44
44: ; preds = %42, %38
%45 = load i32, ptr %10, align 4
%46 = load i32, ptr %8, align 4
%47 = add nsw i32 %46, 1
%48 = mul nsw i32 %45, %47
%49 = call ptr @fc_real_malloc(i32 noundef %48, ptr noundef @.str, i32 noundef 157, ptr noundef @.str.1)
store ptr %49, ptr %6, align 8
store ptr %49, ptr %5, align 8
store i32 0, ptr %9, align 4
%50 = load ptr, ptr %2, align 8
store ptr %50, ptr %3, align 8
store ptr %50, ptr %4, align 8
br label %51
51: ; preds = %92, %44
%52 = load ptr, ptr %3, align 8
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %95
56: ; preds = %51
%57 = load ptr, ptr %3, align 8
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp ne i32 %59, 10
br i1 %60, label %61, label %64
61: ; preds = %56
%62 = load i32, ptr %9, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %9, align 4
br label %91
64: ; preds = %56
store i32 0, ptr %7, align 4
br label %65
65: ; preds = %75, %64
%66 = load i32, ptr %7, align 4
%67 = load i32, ptr %8, align 4
%68 = load i32, ptr %9, align 4
%69 = sub nsw i32 %67, %68
%70 = sdiv i32 %69, 2
%71 = icmp slt i32 %66, %70
br i1 %71, label %72, label %78
72: ; preds = %65
%73 = load ptr, ptr %6, align 8
%74 = getelementptr inbounds i8, ptr %73, i32 1
store ptr %74, ptr %6, align 8
store i8 32, ptr %73, align 1
br label %75
75: ; preds = %72
%76 = load i32, ptr %7, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %7, align 4
br label %65, !llvm.loop !8
78: ; preds = %65
%79 = load ptr, ptr %6, align 8
%80 = load ptr, ptr %4, align 8
%81 = load i32, ptr %9, align 4
%82 = call i32 @memcpy(ptr noundef %79, ptr noundef %80, i32 noundef %81)
%83 = load i32, ptr %9, align 4
%84 = load ptr, ptr %6, align 8
%85 = sext i32 %83 to i64
%86 = getelementptr inbounds i8, ptr %84, i64 %85
store ptr %86, ptr %6, align 8
%87 = load ptr, ptr %6, align 8
%88 = getelementptr inbounds i8, ptr %87, i32 1
store ptr %88, ptr %6, align 8
store i8 10, ptr %87, align 1
store i32 0, ptr %9, align 4
%89 = load ptr, ptr %3, align 8
%90 = getelementptr inbounds i8, ptr %89, i64 1
store ptr %90, ptr %4, align 8
br label %91
91: ; preds = %78, %61
br label %92
92: ; preds = %91
%93 = load ptr, ptr %3, align 8
%94 = getelementptr inbounds i8, ptr %93, i32 1
store ptr %94, ptr %3, align 8
br label %51, !llvm.loop !9
95: ; preds = %51
store i32 0, ptr %7, align 4
br label %96
96: ; preds = %106, %95
%97 = load i32, ptr %7, align 4
%98 = load i32, ptr %8, align 4
%99 = load i32, ptr %9, align 4
%100 = sub nsw i32 %98, %99
%101 = sdiv i32 %100, 2
%102 = icmp slt i32 %97, %101
br i1 %102, label %103, label %109
103: ; preds = %96
%104 = load ptr, ptr %6, align 8
%105 = getelementptr inbounds i8, ptr %104, i32 1
store ptr %105, ptr %6, align 8
store i8 32, ptr %104, align 1
br label %106
106: ; preds = %103
%107 = load i32, ptr %7, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %7, align 4
br label %96, !llvm.loop !10
109: ; preds = %96
%110 = load ptr, ptr %6, align 8
%111 = load ptr, ptr %4, align 8
%112 = call i32 @strcpy(ptr noundef %110, ptr noundef %111)
%113 = load ptr, ptr %5, align 8
ret ptr %113
}
declare ptr @fc_real_malloc(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmmdfasbn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"malloc\00", align 1
@.str.1 = private unnamed_addr constant [161 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/HossainKhademian/FreeCivAndroid/refs/heads/master/src/utility/shared.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @create_centered_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 1, ptr %10, align 4
%11 = load ptr, ptr %2, align 8
store ptr %11, ptr %3, align 8
%12 = load ptr, ptr %3, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %.lr.ph, label %41
.lr.ph: ; preds = %1
br label %16
16: ; preds = %.lr.ph, %34
%17 = load ptr, ptr %3, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 10
br i1 %20, label %21, label %24
21: ; preds = %16
%22 = load i32, ptr %9, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %9, align 4
br label %33
24: ; preds = %16
%25 = load i32, ptr %8, align 4
%26 = load i32, ptr %9, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %30
28: ; preds = %24
%29 = load i32, ptr %9, align 4
store i32 %29, ptr %8, align 4
br label %30
30: ; preds = %28, %24
store i32 0, ptr %9, align 4
%31 = load i32, ptr %10, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %10, align 4
br label %33
33: ; preds = %30, %21
br label %34
34: ; preds = %33
%35 = load ptr, ptr %3, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %3, align 8
%37 = load ptr, ptr %3, align 8
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp ne i32 %39, 0
br i1 %40, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %41
41: ; preds = %._crit_edge, %1
%42 = load i32, ptr %8, align 4
%43 = load i32, ptr %9, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %45, label %47
45: ; preds = %41
%46 = load i32, ptr %9, align 4
store i32 %46, ptr %8, align 4
br label %47
47: ; preds = %45, %41
%48 = load i32, ptr %10, align 4
%49 = load i32, ptr %8, align 4
%50 = add nsw i32 %49, 1
%51 = mul nsw i32 %48, %50
%52 = call ptr @fc_real_malloc(i32 noundef %51, ptr noundef @.str, i32 noundef 157, ptr noundef @.str.1)
store ptr %52, ptr %6, align 8
store ptr %52, ptr %5, align 8
store i32 0, ptr %9, align 4
%53 = load ptr, ptr %2, align 8
store ptr %53, ptr %3, align 8
store ptr %53, ptr %4, align 8
%54 = load ptr, ptr %3, align 8
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp ne i32 %56, 0
br i1 %57, label %.lr.ph5, label %106
.lr.ph5: ; preds = %47
br label %58
58: ; preds = %.lr.ph5, %99
%59 = load ptr, ptr %3, align 8
%60 = load i8, ptr %59, align 1
%61 = sext i8 %60 to i32
%62 = icmp ne i32 %61, 10
br i1 %62, label %63, label %66
63: ; preds = %58
%64 = load i32, ptr %9, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %9, align 4
br label %98
66: ; preds = %58
store i32 0, ptr %7, align 4
%67 = load i32, ptr %7, align 4
%68 = load i32, ptr %8, align 4
%69 = load i32, ptr %9, align 4
%70 = sub nsw i32 %68, %69
%71 = sdiv i32 %70, 2
%72 = icmp slt i32 %67, %71
br i1 %72, label %.lr.ph2, label %85
.lr.ph2: ; preds = %66
br label %73
73: ; preds = %.lr.ph2, %76
%74 = load ptr, ptr %6, align 8
%75 = getelementptr inbounds i8, ptr %74, i32 1
store ptr %75, ptr %6, align 8
store i8 32, ptr %74, align 1
br label %76
76: ; preds = %73
%77 = load i32, ptr %7, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %7, align 4
%79 = load i32, ptr %7, align 4
%80 = load i32, ptr %8, align 4
%81 = load i32, ptr %9, align 4
%82 = sub nsw i32 %80, %81
%83 = sdiv i32 %82, 2
%84 = icmp slt i32 %79, %83
br i1 %84, label %73, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %76
br label %85
85: ; preds = %._crit_edge3, %66
%86 = load ptr, ptr %6, align 8
%87 = load ptr, ptr %4, align 8
%88 = load i32, ptr %9, align 4
%89 = call i32 @memcpy(ptr noundef %86, ptr noundef %87, i32 noundef %88)
%90 = load i32, ptr %9, align 4
%91 = load ptr, ptr %6, align 8
%92 = sext i32 %90 to i64
%93 = getelementptr inbounds i8, ptr %91, i64 %92
store ptr %93, ptr %6, align 8
%94 = load ptr, ptr %6, align 8
%95 = getelementptr inbounds i8, ptr %94, i32 1
store ptr %95, ptr %6, align 8
store i8 10, ptr %94, align 1
store i32 0, ptr %9, align 4
%96 = load ptr, ptr %3, align 8
%97 = getelementptr inbounds i8, ptr %96, i64 1
store ptr %97, ptr %4, align 8
br label %98
98: ; preds = %85, %63
br label %99
99: ; preds = %98
%100 = load ptr, ptr %3, align 8
%101 = getelementptr inbounds i8, ptr %100, i32 1
store ptr %101, ptr %3, align 8
%102 = load ptr, ptr %3, align 8
%103 = load i8, ptr %102, align 1
%104 = sext i8 %103 to i32
%105 = icmp ne i32 %104, 0
br i1 %105, label %58, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %99
br label %106
106: ; preds = %._crit_edge6, %47
store i32 0, ptr %7, align 4
%107 = load i32, ptr %7, align 4
%108 = load i32, ptr %8, align 4
%109 = load i32, ptr %9, align 4
%110 = sub nsw i32 %108, %109
%111 = sdiv i32 %110, 2
%112 = icmp slt i32 %107, %111
br i1 %112, label %.lr.ph8, label %125
.lr.ph8: ; preds = %106
br label %113
113: ; preds = %.lr.ph8, %116
%114 = load ptr, ptr %6, align 8
%115 = getelementptr inbounds i8, ptr %114, i32 1
store ptr %115, ptr %6, align 8
store i8 32, ptr %114, align 1
br label %116
116: ; preds = %113
%117 = load i32, ptr %7, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr %7, align 4
%119 = load i32, ptr %7, align 4
%120 = load i32, ptr %8, align 4
%121 = load i32, ptr %9, align 4
%122 = sub nsw i32 %120, %121
%123 = sdiv i32 %122, 2
%124 = icmp slt i32 %119, %123
br i1 %124, label %113, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %116
br label %125
125: ; preds = %._crit_edge9, %106
%126 = load ptr, ptr %6, align 8
%127 = load ptr, ptr %4, align 8
%128 = call i32 @strcpy(ptr noundef %126, ptr noundef %127)
%129 = load ptr, ptr %5, align 8
ret ptr %129
}
declare ptr @fc_real_malloc(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp3hxj4m_d.c'
source_filename = "/tmp/tmp3hxj4m_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 [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %0, %11
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = icmp eq i32 %5, 42
br i1 %6, label %7, label %8
7: ; preds = %3
ret i32 0
8: ; preds = %3
%9 = load i32, ptr %2, align 4
%10 = call i32 @printf(ptr noundef @.str.1, i32 noundef %9)
br label %11
11: ; preds = %8
br label %3
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3hxj4m_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 [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i32, ptr %2, align 4
%5 = icmp eq i32 %4, 42
br i1 %5, label %6, label %.lr.ph
.lr.ph: ; preds = %0
br label %7
._crit_edge: ; preds = %10
br label %6
6: ; preds = %._crit_edge, %0
ret i32 0
7: ; preds = %.lr.ph, %10
%8 = load i32, ptr %2, align 4
%9 = call i32 @printf(ptr noundef @.str.1, i32 noundef %8)
br label %10
10: ; preds = %7
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%12 = load i32, ptr %2, align 4
%13 = icmp eq i32 %12, 42
br i1 %13, label %._crit_edge, label %7
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprzihkikq.c'
source_filename = "/tmp/tmprzihkikq.c"
target datalayout = "e-m:e-p270: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/tmprzihkikq.c"
target datalayout = "e-m:e-p270: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/tmpratp9j07.c'
source_filename = "/tmp/tmpratp9j07.c"
target datalayout = "e-m:e-p270: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/tmpratp9j07.c"
target datalayout = "e-m:e-p270: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/tmp6whnyux1.c'
source_filename = "/tmp/tmp6whnyux1.c"
target datalayout = "e-m:e-p270: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/tmp6whnyux1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_sl_bozd.c'
source_filename = "/tmp/tmp_sl_bozd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"NOT IMPLEMENTED:pa_memtrap_is_good\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_memtrap_is_good() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
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/tmp_sl_bozd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"NOT IMPLEMENTED:pa_memtrap_is_good\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_memtrap_is_good() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
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/tmplyot5y0x.c'
source_filename = "/tmp/tmplyot5y0x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"smp2.in\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [9 x i8] c"smp2.out\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [9 x i8] c"smp2.err\00", align 1
@stderr = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i64 0, align 8
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @run_test(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%10 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %4, align 8
%13 = call i32 @fprintf(ptr noundef %11, ptr noundef %12)
%14 = load ptr, ptr %7, align 8
%15 = call i32 @fclose(ptr noundef %14)
%16 = call i32 (...) @fork()
store i32 %16, ptr %8, align 4
%17 = load i32, ptr %8, align 4
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %38
19: ; preds = %3
%20 = load i32, ptr @stdin, align 4
%21 = call i32 @freopen(ptr noundef @.str, ptr noundef @.str.2, i32 noundef %20)
%22 = load i32, ptr @stdout, align 4
%23 = call i32 @freopen(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef %22)
%24 = load i32, ptr @stderr, align 4
%25 = call i32 @freopen(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef %24)
br label %26
26: ; preds = %19
%27 = load i32, ptr %5, align 4
%28 = load ptr, ptr %6, align 8
%29 = call i64 @smp2_main(i32 noundef %27, ptr noundef %28)
%30 = load i64, ptr @EXIT_SUCCESS, align 8
%31 = icmp ne i64 %29, %30
br i1 %31, label %32, label %35
32: ; preds = %26
%33 = load i32, ptr @EXIT_FAILURE, align 4
%34 = call i32 @exit(i32 noundef %33) #3
unreachable
35: ; preds = %26
br label %36
36: ; preds = %35
%37 = call i32 @exit(i32 noundef 0) #3
unreachable
38: ; preds = %3
%39 = load i32, ptr %8, align 4
%40 = call i32 @waitpid(i32 noundef %39, ptr noundef %9, i32 noundef 0)
br label %41
41: ; preds = %38
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fork(...) #1
declare i32 @freopen(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @smp2_main(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @waitpid(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" }
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/tmplyot5y0x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"smp2.in\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [9 x i8] c"smp2.out\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [9 x i8] c"smp2.err\00", align 1
@stderr = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i64 0, align 8
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @run_test(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%10 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %4, align 8
%13 = call i32 @fprintf(ptr noundef %11, ptr noundef %12)
%14 = load ptr, ptr %7, align 8
%15 = call i32 @fclose(ptr noundef %14)
%16 = call i32 (...) @fork()
store i32 %16, ptr %8, align 4
%17 = load i32, ptr %8, align 4
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %38
19: ; preds = %3
%20 = load i32, ptr @stdin, align 4
%21 = call i32 @freopen(ptr noundef @.str, ptr noundef @.str.2, i32 noundef %20)
%22 = load i32, ptr @stdout, align 4
%23 = call i32 @freopen(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef %22)
%24 = load i32, ptr @stderr, align 4
%25 = call i32 @freopen(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef %24)
br label %26
26: ; preds = %19
%27 = load i32, ptr %5, align 4
%28 = load ptr, ptr %6, align 8
%29 = call i64 @smp2_main(i32 noundef %27, ptr noundef %28)
%30 = load i64, ptr @EXIT_SUCCESS, align 8
%31 = icmp ne i64 %29, %30
br i1 %31, label %32, label %35
32: ; preds = %26
%33 = load i32, ptr @EXIT_FAILURE, align 4
%34 = call i32 @exit(i32 noundef %33) #3
unreachable
35: ; preds = %26
br label %36
36: ; preds = %35
%37 = call i32 @exit(i32 noundef 0) #3
unreachable
38: ; preds = %3
%39 = load i32, ptr %8, align 4
%40 = call i32 @waitpid(i32 noundef %39, ptr noundef %9, i32 noundef 0)
br label %41
41: ; preds = %38
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fork(...) #1
declare i32 @freopen(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @smp2_main(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @waitpid(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" }
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/tmpvokkpyc4.c'
source_filename = "/tmp/tmpvokkpyc4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tsa_one_alarm_Bad() #0 {
%1 = call i32 @two_symbolic_accesses(i32 noundef 3)
ret void
}
declare i32 @two_symbolic_accesses(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvokkpyc4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tsa_one_alarm_Bad() #0 {
%1 = call i32 @two_symbolic_accesses(i32 noundef 3)
ret void
}
declare i32 @two_symbolic_accesses(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpatqku_ay.c'
source_filename = "/tmp/tmpatqku_ay.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @freeArgs(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr %5, align 8
br label %6
6: ; preds = %23, %2
%7 = load i64, ptr %5, align 8
%8 = load i64, ptr %4, align 8
%9 = icmp ult i64 %7, %8
br i1 %9, label %10, label %26
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i64, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %11, i64 %12
%14 = load ptr, ptr %13, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %22
16: ; preds = %10
%17 = load ptr, ptr %3, align 8
%18 = load i64, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %17, i64 %18
%20 = load ptr, ptr %19, align 8
%21 = call i32 @free(ptr noundef %20)
br label %22
22: ; preds = %16, %10
br label %23
23: ; preds = %22
%24 = load i64, ptr %5, align 8
%25 = add i64 %24, 1
store i64 %25, ptr %5, align 8
br label %6, !llvm.loop !6
26: ; preds = %6
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpatqku_ay.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @freeArgs(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr %5, align 8
%6 = load i64, ptr %5, align 8
%7 = load i64, ptr %4, align 8
%8 = icmp ult i64 %6, %7
br i1 %8, label %.lr.ph, label %28
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %22
%10 = load ptr, ptr %3, align 8
%11 = load i64, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %10, i64 %11
%13 = load ptr, ptr %12, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %21
15: ; preds = %9
%16 = load ptr, ptr %3, align 8
%17 = load i64, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %16, i64 %17
%19 = load ptr, ptr %18, align 8
%20 = call i32 @free(ptr noundef %19)
br label %21
21: ; preds = %15, %9
br label %22
22: ; preds = %21
%23 = load i64, ptr %5, align 8
%24 = add i64 %23, 1
store i64 %24, ptr %5, align 8
%25 = load i64, ptr %5, align 8
%26 = load i64, ptr %4, align 8
%27 = icmp ult i64 %25, %26
br i1 %27, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %2
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpeuh0gsl5.c'
source_filename = "/tmp/tmpeuh0gsl5.c"
target datalayout = "e-m:e-p270: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.statfs = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @statvfs(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca %struct.statfs, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @statfs(ptr noundef %7, ptr noundef %6)
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 -1, ptr %3, align 4
br label %14
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = call i32 @__statvfs_cvt(ptr noundef %6, ptr noundef %12)
store i32 0, ptr %3, align 4
br label %14
14: ; preds = %11, %10
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i32 @statfs(ptr noundef, ptr noundef) #1
declare i32 @__statvfs_cvt(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/tmpeuh0gsl5.c"
target datalayout = "e-m:e-p270: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.statfs = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @statvfs(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca %struct.statfs, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @statfs(ptr noundef %7, ptr noundef %6)
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %11
10: ; preds = %2
store i32 -1, ptr %3, align 4
br label %14
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = call i32 @__statvfs_cvt(ptr noundef %6, ptr noundef %12)
store i32 0, ptr %3, align 4
br label %14
14: ; preds = %11, %10
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i32 @statfs(ptr noundef, ptr noundef) #1
declare i32 @__statvfs_cvt(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/tmpqq24oaxm.c'
source_filename = "/tmp/tmpqq24oaxm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [5 x i8] c"HOME\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"/bin/mkdir -p \00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"/.MacOSX\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"/bin/test -d \00", align 1
@.str.4 = private unnamed_addr constant [63 x i8] c"/Library/OOo.default || /bin/cp -r /usr/local/lib/OOo.default \00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"/Library/OOo.default\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c"/bin/chmod 600 \00", align 1
@.str.7 = private unnamed_addr constant [23 x i8] c"/Library/OOo.default/*\00", align 1
@.str.8 = private unnamed_addr constant [40 x i8] c"\09<key>MOZILLA_CERTIFICATE_FOLDER</key>\0A\00", align 1
@.str.9 = private unnamed_addr constant [10 x i8] c"\09<string>\00", align 1
@.str.10 = private unnamed_addr constant [31 x i8] c"/Library/OOo.default</string>\0A\00", align 1
@.str.11 = private unnamed_addr constant [27 x i8] c"/.MacOSX/environment.plist\00", align 1
@.str.12 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.13 = private unnamed_addr constant [12 x i8] c"OOo.default\00", align 1
@.str.14 = private unnamed_addr constant [27 x i8] c"MOZILLA_CERTIFICATE_FOLDER\00", align 1
@.str.15 = private unnamed_addr constant [81 x i8] c"*******************************************************************************\0A\00", align 1
@.str.16 = private unnamed_addr constant [78 x i8] c"Another MOZILLA_CERTIFICATE_FOLDER environment variable has already been set\0A\00", align 1
@.str.17 = private unnamed_addr constant [14 x i8] c"in file \22%s\22\0A\00", align 1
@.str.18 = private unnamed_addr constant [77 x i8] c"So it looks like support for another smart card has already been configured\0A\00", align 1
@.str.19 = private unnamed_addr constant [79 x i8] c"this way. Pls. use the manual procedure to configure OOo for both smart cards\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [200 x i8], align 16
%3 = alloca [500 x i8], align 16
%4 = alloca [500 x i8], align 16
%5 = alloca %struct.stat, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr null, ptr %6, align 8
store ptr null, ptr %10, align 8
%12 = call ptr @getenv(ptr noundef @.str)
store ptr %12, ptr %7, align 8
%13 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%14 = call i32 @strncpy(ptr noundef %13, ptr noundef @.str.1, i32 noundef 500)
%15 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%16 = load ptr, ptr %7, align 8
%17 = call i32 @strncat(ptr noundef %15, ptr noundef %16, i32 noundef 500)
%18 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%19 = call i32 @strncat(ptr noundef %18, ptr noundef @.str.2, i32 noundef 500)
%20 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 499
store i8 0, ptr %20, align 1
%21 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%22 = call i32 @system(ptr noundef %21)
%23 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%24 = call i32 @strncpy(ptr noundef %23, ptr noundef @.str.3, i32 noundef 500)
%25 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%26 = load ptr, ptr %7, align 8
%27 = call i32 @strncat(ptr noundef %25, ptr noundef %26, i32 noundef 500)
%28 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%29 = call i32 @strncat(ptr noundef %28, ptr noundef @.str.4, i32 noundef 500)
%30 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%31 = load ptr, ptr %7, align 8
%32 = call i32 @strncat(ptr noundef %30, ptr noundef %31, i32 noundef 500)
%33 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%34 = call i32 @strncat(ptr noundef %33, ptr noundef @.str.5, i32 noundef 500)
%35 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 499
store i8 0, ptr %35, align 1
%36 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%37 = call i32 @system(ptr noundef %36)
%38 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%39 = call i32 @strncpy(ptr noundef %38, ptr noundef @.str.6, i32 noundef 500)
%40 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%41 = load ptr, ptr %7, align 8
%42 = call i32 @strncat(ptr noundef %40, ptr noundef %41, i32 noundef 500)
%43 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%44 = call i32 @strncat(ptr noundef %43, ptr noundef @.str.7, i32 noundef 500)
%45 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 499
store i8 0, ptr %45, align 1
%46 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%47 = call i32 @system(ptr noundef %46)
%48 = getelementptr inbounds [500 x i8], ptr %4, i64 0, i64 0
%49 = call i32 @strncpy(ptr noundef %48, ptr noundef @.str.8, i32 noundef 500)
%50 = getelementptr inbounds [500 x i8], ptr %4, i64 0, i64 0
%51 = call i32 @strncat(ptr noundef %50, ptr noundef @.str.9, i32 noundef 500)
%52 = getelementptr inbounds [500 x i8], ptr %4, i64 0, i64 0
%53 = load ptr, ptr %7, align 8
%54 = call i32 @strncat(ptr noundef %52, ptr noundef %53, i32 noundef 500)
%55 = getelementptr inbounds [500 x i8], ptr %4, i64 0, i64 0
%56 = call i32 @strncat(ptr noundef %55, ptr noundef @.str.10, i32 noundef 500)
%57 = getelementptr inbounds [500 x i8], ptr %4, i64 0, i64 499
store i8 0, ptr %57, align 1
%58 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0
%59 = load ptr, ptr %7, align 8
%60 = call i32 @strncpy(ptr noundef %58, ptr noundef %59, i32 noundef 200)
%61 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0
%62 = call i32 @strncat(ptr noundef %61, ptr noundef @.str.11, i32 noundef 200)
%63 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 199
store i8 0, ptr %63, align 1
%64 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0
%65 = call i32 @stat(ptr noundef %64, ptr noundef %5)
store i32 %65, ptr %11, align 4
%66 = load i32, ptr %11, align 4
%67 = icmp ne i32 %66, 0
br i1 %67, label %68, label %72
68: ; preds = %0
%69 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0
%70 = getelementptr inbounds [500 x i8], ptr %4, i64 0, i64 0
%71 = call i32 @MakeNewPrefsFile(ptr noundef %69, ptr noundef %70)
store i32 %71, ptr %1, align 4
br label %148
72: ; preds = %0
%73 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0
%74 = call ptr @fopen(ptr noundef %73, ptr noundef @.str.12)
store ptr %74, ptr %6, align 8
%75 = load ptr, ptr %6, align 8
%76 = icmp eq ptr %75, null
br i1 %76, label %77, label %81
77: ; preds = %72
%78 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0
%79 = getelementptr inbounds [500 x i8], ptr %4, i64 0, i64 0
%80 = call i32 @MakeNewPrefsFile(ptr noundef %78, ptr noundef %79)
store i32 %80, ptr %1, align 4
br label %148
81: ; preds = %72
store i32 -1, ptr %11, align 4
%82 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0
%83 = load i32, ptr %82, align 4
%84 = sext i32 %83 to i64
%85 = add i64 %84, 500
%86 = add i64 %85, 10
store i64 %86, ptr %8, align 8
%87 = load i64, ptr %8, align 8
%88 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0
%89 = load i32, ptr %88, align 4
%90 = sext i32 %89 to i64
%91 = icmp ult i64 %87, %90
br i1 %91, label %92, label %93
92: ; preds = %81
br label %134
93: ; preds = %81
%94 = load i64, ptr %8, align 8
%95 = call i64 @malloc(i64 noundef %94)
%96 = inttoptr i64 %95 to ptr
store ptr %96, ptr %10, align 8
%97 = load ptr, ptr %10, align 8
%98 = icmp eq ptr %97, null
br i1 %98, label %99, label %100
99: ; preds = %93
br label %134
100: ; preds = %93
%101 = load ptr, ptr %10, align 8
%102 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0
%103 = load i32, ptr %102, align 4
%104 = sext i32 %103 to i64
%105 = load ptr, ptr %6, align 8
%106 = call i64 @fread(ptr noundef %101, i32 noundef 1, i64 noundef %104, ptr noundef %105)
store i64 %106, ptr %9, align 8
%107 = load ptr, ptr %10, align 8
%108 = load i64, ptr %9, align 8
%109 = getelementptr inbounds i8, ptr %107, i64 %108
store i8 0, ptr %109, align 1
%110 = load ptr, ptr %10, align 8
%111 = call ptr @strstr(ptr noundef %110, ptr noundef @.str.13)
%112 = icmp ne ptr %111, null
br i1 %112, label %113, label %114
113: ; preds = %100
store i32 0, ptr %11, align 4
br label %134
114: ; preds = %100
%115 = load ptr, ptr %10, align 8
%116 = call ptr @strstr(ptr noundef %115, ptr noundef @.str.14)
%117 = icmp ne ptr %116, null
br i1 %117, label %118, label %126
118: ; preds = %114
%119 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
%120 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
%121 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0
%122 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, ptr noundef %121)
%123 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
%124 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%125 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
br label %134
126: ; preds = %114
%127 = load ptr, ptr %6, align 8
%128 = call i32 @fclose(ptr noundef %127)
store ptr null, ptr %6, align 8
%129 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0
%130 = load ptr, ptr %10, align 8
%131 = load i64, ptr %8, align 8
%132 = getelementptr inbounds [500 x i8], ptr %4, i64 0, i64 0
%133 = call i32 @InsertInPrefsFile(ptr noundef %129, ptr noundef %130, i64 noundef %131, ptr noundef %132)
br label %134
134: ; preds = %126, %118, %113, %99, %92
%135 = load ptr, ptr %6, align 8
%136 = icmp ne ptr %135, null
br i1 %136, label %137, label %140
137: ; preds = %134
%138 = load ptr, ptr %6, align 8
%139 = call i32 @fclose(ptr noundef %138)
br label %140
140: ; preds = %137, %134
%141 = load ptr, ptr %10, align 8
%142 = icmp ne ptr %141, null
br i1 %142, label %143, label %146
143: ; preds = %140
%144 = load ptr, ptr %10, align 8
%145 = call i32 @free(ptr noundef %144)
br label %146
146: ; preds = %143, %140
%147 = load i32, ptr %11, align 4
store i32 %147, ptr %1, align 4
br label %148
148: ; preds = %146, %77, %68
%149 = load i32, ptr %1, align 4
ret i32 %149
}
declare ptr @getenv(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @system(ptr noundef) #1
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @MakeNewPrefsFile(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @InsertInPrefsFile(ptr noundef, ptr noundef, i64 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/tmpqq24oaxm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [5 x i8] c"HOME\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"/bin/mkdir -p \00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"/.MacOSX\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"/bin/test -d \00", align 1
@.str.4 = private unnamed_addr constant [63 x i8] c"/Library/OOo.default || /bin/cp -r /usr/local/lib/OOo.default \00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"/Library/OOo.default\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c"/bin/chmod 600 \00", align 1
@.str.7 = private unnamed_addr constant [23 x i8] c"/Library/OOo.default/*\00", align 1
@.str.8 = private unnamed_addr constant [40 x i8] c"\09<key>MOZILLA_CERTIFICATE_FOLDER</key>\0A\00", align 1
@.str.9 = private unnamed_addr constant [10 x i8] c"\09<string>\00", align 1
@.str.10 = private unnamed_addr constant [31 x i8] c"/Library/OOo.default</string>\0A\00", align 1
@.str.11 = private unnamed_addr constant [27 x i8] c"/.MacOSX/environment.plist\00", align 1
@.str.12 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.13 = private unnamed_addr constant [12 x i8] c"OOo.default\00", align 1
@.str.14 = private unnamed_addr constant [27 x i8] c"MOZILLA_CERTIFICATE_FOLDER\00", align 1
@.str.15 = private unnamed_addr constant [81 x i8] c"*******************************************************************************\0A\00", align 1
@.str.16 = private unnamed_addr constant [78 x i8] c"Another MOZILLA_CERTIFICATE_FOLDER environment variable has already been set\0A\00", align 1
@.str.17 = private unnamed_addr constant [14 x i8] c"in file \22%s\22\0A\00", align 1
@.str.18 = private unnamed_addr constant [77 x i8] c"So it looks like support for another smart card has already been configured\0A\00", align 1
@.str.19 = private unnamed_addr constant [79 x i8] c"this way. Pls. use the manual procedure to configure OOo for both smart cards\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [200 x i8], align 16
%3 = alloca [500 x i8], align 16
%4 = alloca [500 x i8], align 16
%5 = alloca %struct.stat, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr null, ptr %6, align 8
store ptr null, ptr %10, align 8
%12 = call ptr @getenv(ptr noundef @.str)
store ptr %12, ptr %7, align 8
%13 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%14 = call i32 @strncpy(ptr noundef %13, ptr noundef @.str.1, i32 noundef 500)
%15 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%16 = load ptr, ptr %7, align 8
%17 = call i32 @strncat(ptr noundef %15, ptr noundef %16, i32 noundef 500)
%18 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%19 = call i32 @strncat(ptr noundef %18, ptr noundef @.str.2, i32 noundef 500)
%20 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 499
store i8 0, ptr %20, align 1
%21 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%22 = call i32 @system(ptr noundef %21)
%23 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%24 = call i32 @strncpy(ptr noundef %23, ptr noundef @.str.3, i32 noundef 500)
%25 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%26 = load ptr, ptr %7, align 8
%27 = call i32 @strncat(ptr noundef %25, ptr noundef %26, i32 noundef 500)
%28 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%29 = call i32 @strncat(ptr noundef %28, ptr noundef @.str.4, i32 noundef 500)
%30 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%31 = load ptr, ptr %7, align 8
%32 = call i32 @strncat(ptr noundef %30, ptr noundef %31, i32 noundef 500)
%33 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%34 = call i32 @strncat(ptr noundef %33, ptr noundef @.str.5, i32 noundef 500)
%35 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 499
store i8 0, ptr %35, align 1
%36 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%37 = call i32 @system(ptr noundef %36)
%38 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%39 = call i32 @strncpy(ptr noundef %38, ptr noundef @.str.6, i32 noundef 500)
%40 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%41 = load ptr, ptr %7, align 8
%42 = call i32 @strncat(ptr noundef %40, ptr noundef %41, i32 noundef 500)
%43 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%44 = call i32 @strncat(ptr noundef %43, ptr noundef @.str.7, i32 noundef 500)
%45 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 499
store i8 0, ptr %45, align 1
%46 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%47 = call i32 @system(ptr noundef %46)
%48 = getelementptr inbounds [500 x i8], ptr %4, i64 0, i64 0
%49 = call i32 @strncpy(ptr noundef %48, ptr noundef @.str.8, i32 noundef 500)
%50 = getelementptr inbounds [500 x i8], ptr %4, i64 0, i64 0
%51 = call i32 @strncat(ptr noundef %50, ptr noundef @.str.9, i32 noundef 500)
%52 = getelementptr inbounds [500 x i8], ptr %4, i64 0, i64 0
%53 = load ptr, ptr %7, align 8
%54 = call i32 @strncat(ptr noundef %52, ptr noundef %53, i32 noundef 500)
%55 = getelementptr inbounds [500 x i8], ptr %4, i64 0, i64 0
%56 = call i32 @strncat(ptr noundef %55, ptr noundef @.str.10, i32 noundef 500)
%57 = getelementptr inbounds [500 x i8], ptr %4, i64 0, i64 499
store i8 0, ptr %57, align 1
%58 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0
%59 = load ptr, ptr %7, align 8
%60 = call i32 @strncpy(ptr noundef %58, ptr noundef %59, i32 noundef 200)
%61 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0
%62 = call i32 @strncat(ptr noundef %61, ptr noundef @.str.11, i32 noundef 200)
%63 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 199
store i8 0, ptr %63, align 1
%64 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0
%65 = call i32 @stat(ptr noundef %64, ptr noundef %5)
store i32 %65, ptr %11, align 4
%66 = load i32, ptr %11, align 4
%67 = icmp ne i32 %66, 0
br i1 %67, label %68, label %72
68: ; preds = %0
%69 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0
%70 = getelementptr inbounds [500 x i8], ptr %4, i64 0, i64 0
%71 = call i32 @MakeNewPrefsFile(ptr noundef %69, ptr noundef %70)
store i32 %71, ptr %1, align 4
br label %148
72: ; preds = %0
%73 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0
%74 = call ptr @fopen(ptr noundef %73, ptr noundef @.str.12)
store ptr %74, ptr %6, align 8
%75 = load ptr, ptr %6, align 8
%76 = icmp eq ptr %75, null
br i1 %76, label %77, label %81
77: ; preds = %72
%78 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0
%79 = getelementptr inbounds [500 x i8], ptr %4, i64 0, i64 0
%80 = call i32 @MakeNewPrefsFile(ptr noundef %78, ptr noundef %79)
store i32 %80, ptr %1, align 4
br label %148
81: ; preds = %72
store i32 -1, ptr %11, align 4
%82 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0
%83 = load i32, ptr %82, align 4
%84 = sext i32 %83 to i64
%85 = add i64 %84, 500
%86 = add i64 %85, 10
store i64 %86, ptr %8, align 8
%87 = load i64, ptr %8, align 8
%88 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0
%89 = load i32, ptr %88, align 4
%90 = sext i32 %89 to i64
%91 = icmp ult i64 %87, %90
br i1 %91, label %92, label %93
92: ; preds = %81
br label %134
93: ; preds = %81
%94 = load i64, ptr %8, align 8
%95 = call i64 @malloc(i64 noundef %94)
%96 = inttoptr i64 %95 to ptr
store ptr %96, ptr %10, align 8
%97 = load ptr, ptr %10, align 8
%98 = icmp eq ptr %97, null
br i1 %98, label %99, label %100
99: ; preds = %93
br label %134
100: ; preds = %93
%101 = load ptr, ptr %10, align 8
%102 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0
%103 = load i32, ptr %102, align 4
%104 = sext i32 %103 to i64
%105 = load ptr, ptr %6, align 8
%106 = call i64 @fread(ptr noundef %101, i32 noundef 1, i64 noundef %104, ptr noundef %105)
store i64 %106, ptr %9, align 8
%107 = load ptr, ptr %10, align 8
%108 = load i64, ptr %9, align 8
%109 = getelementptr inbounds i8, ptr %107, i64 %108
store i8 0, ptr %109, align 1
%110 = load ptr, ptr %10, align 8
%111 = call ptr @strstr(ptr noundef %110, ptr noundef @.str.13)
%112 = icmp ne ptr %111, null
br i1 %112, label %113, label %114
113: ; preds = %100
store i32 0, ptr %11, align 4
br label %134
114: ; preds = %100
%115 = load ptr, ptr %10, align 8
%116 = call ptr @strstr(ptr noundef %115, ptr noundef @.str.14)
%117 = icmp ne ptr %116, null
br i1 %117, label %118, label %126
118: ; preds = %114
%119 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
%120 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
%121 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0
%122 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, ptr noundef %121)
%123 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
%124 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%125 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
br label %134
126: ; preds = %114
%127 = load ptr, ptr %6, align 8
%128 = call i32 @fclose(ptr noundef %127)
store ptr null, ptr %6, align 8
%129 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0
%130 = load ptr, ptr %10, align 8
%131 = load i64, ptr %8, align 8
%132 = getelementptr inbounds [500 x i8], ptr %4, i64 0, i64 0
%133 = call i32 @InsertInPrefsFile(ptr noundef %129, ptr noundef %130, i64 noundef %131, ptr noundef %132)
br label %134
134: ; preds = %126, %118, %113, %99, %92
%135 = load ptr, ptr %6, align 8
%136 = icmp ne ptr %135, null
br i1 %136, label %137, label %140
137: ; preds = %134
%138 = load ptr, ptr %6, align 8
%139 = call i32 @fclose(ptr noundef %138)
br label %140
140: ; preds = %137, %134
%141 = load ptr, ptr %10, align 8
%142 = icmp ne ptr %141, null
br i1 %142, label %143, label %146
143: ; preds = %140
%144 = load ptr, ptr %10, align 8
%145 = call i32 @free(ptr noundef %144)
br label %146
146: ; preds = %143, %140
%147 = load i32, ptr %11, align 4
store i32 %147, ptr %1, align 4
br label %148
148: ; preds = %146, %77, %68
%149 = load i32, ptr %1, align 4
ret i32 %149
}
declare ptr @getenv(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @system(ptr noundef) #1
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @MakeNewPrefsFile(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @InsertInPrefsFile(ptr noundef, ptr noundef, i64 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/tmpcskvdd5i.c'
source_filename = "/tmp/tmpcskvdd5i.c"
target datalayout = "e-m:e-p270: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.utmp = type { i32 }
@UTMP_FILE = dso_local global i32 0, align 4
@O_RDONLY = 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 %struct.utmp, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 4, ptr %4, align 4
%5 = load i32, ptr @UTMP_FILE, align 4
%6 = load i32, ptr @O_RDONLY, align 4
%7 = call i32 @open(i32 noundef %5, i32 noundef %6)
store i32 %7, ptr %3, align 4
%8 = icmp eq i32 %7, -1
br i1 %8, label %9, label %13
9: ; preds = %0
%10 = load i32, ptr @UTMP_FILE, align 4
%11 = call i32 @perror(i32 noundef %10)
%12 = call i32 @exit(i32 noundef 1) #3
unreachable
13: ; preds = %0
br label %14
14: ; preds = %20, %13
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %4, align 4
%17 = call i32 @read(i32 noundef %15, ptr noundef %2, i32 noundef %16)
%18 = load i32, ptr %4, align 4
%19 = icmp eq i32 %17, %18
br i1 %19, label %20, label %22
20: ; preds = %14
%21 = call i32 @show_info(ptr noundef %2)
br label %14, !llvm.loop !6
22: ; preds = %14
%23 = load i32, ptr %3, align 4
%24 = call i32 @close(i32 noundef %23)
ret i32 0
}
declare i32 @open(i32 noundef, i32 noundef) #1
declare i32 @perror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @show_info(ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcskvdd5i.c"
target datalayout = "e-m:e-p270: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.utmp = type { i32 }
@UTMP_FILE = dso_local global i32 0, align 4
@O_RDONLY = 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 %struct.utmp, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 4, ptr %4, align 4
%5 = load i32, ptr @UTMP_FILE, align 4
%6 = load i32, ptr @O_RDONLY, align 4
%7 = call i32 @open(i32 noundef %5, i32 noundef %6)
store i32 %7, ptr %3, align 4
%8 = icmp eq i32 %7, -1
br i1 %8, label %9, label %13
9: ; preds = %0
%10 = load i32, ptr @UTMP_FILE, align 4
%11 = call i32 @perror(i32 noundef %10)
%12 = call i32 @exit(i32 noundef 1) #3
unreachable
13: ; preds = %0
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %4, align 4
%16 = call i32 @read(i32 noundef %14, ptr noundef %2, i32 noundef %15)
%17 = load i32, ptr %4, align 4
%18 = icmp eq i32 %16, %17
br i1 %18, label %.lr.ph, label %26
.lr.ph: ; preds = %13
br label %19
19: ; preds = %.lr.ph, %19
%20 = call i32 @show_info(ptr noundef %2)
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %4, align 4
%23 = call i32 @read(i32 noundef %21, ptr noundef %2, i32 noundef %22)
%24 = load i32, ptr %4, align 4
%25 = icmp eq i32 %23, %24
br i1 %25, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %26
26: ; preds = %._crit_edge, %13
%27 = load i32, ptr %3, align 4
%28 = call i32 @close(i32 noundef %27)
ret i32 0
}
declare i32 @open(i32 noundef, i32 noundef) #1
declare i32 @perror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @show_info(ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp363vbvpj.c'
source_filename = "/tmp/tmp363vbvpj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = sub nsw i32 %9, 2
%11 = icmp uge i32 %10, 2
br i1 %11, label %12, label %13
12: ; preds = %2
br label %13
13: ; preds = %12, %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i32 1
store ptr %15, ptr %5, align 8
%16 = load ptr, ptr %15, align 8
%17 = call ptr @basename(ptr noundef %16)
store ptr %17, ptr %8, align 8
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i32 1
store ptr %19, ptr %5, align 8
%20 = load ptr, ptr %19, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %49
22: ; preds = %13
%23 = load ptr, ptr %5, align 8
%24 = load ptr, ptr %23, align 8
%25 = call i64 @strlen(ptr noundef %24)
store i64 %25, ptr %7, align 8
%26 = load ptr, ptr %8, align 8
%27 = call i64 @strlen(ptr noundef %26)
store i64 %27, ptr %6, align 8
%28 = load i64, ptr %6, align 8
%29 = load i64, ptr %7, align 8
%30 = icmp ugt i64 %28, %29
br i1 %30, label %31, label %48
31: ; preds = %22
%32 = load ptr, ptr %8, align 8
%33 = load i64, ptr %6, align 8
%34 = getelementptr inbounds i8, ptr %32, i64 %33
%35 = load i64, ptr %7, align 8
%36 = sub i64 0, %35
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load ptr, ptr %5, align 8
%39 = load ptr, ptr %38, align 8
%40 = ptrtoint ptr %39 to i64
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %48
42: ; preds = %31
%43 = load ptr, ptr %8, align 8
%44 = load i64, ptr %6, align 8
%45 = load i64, ptr %7, align 8
%46 = sub i64 %44, %45
%47 = getelementptr inbounds i8, ptr %43, i64 %46
store i8 0, ptr %47, align 1
br label %48
48: ; preds = %42, %31, %22
br label %49
49: ; preds = %48, %13
%50 = load ptr, ptr %8, align 8
%51 = call i32 @puts(ptr noundef %50)
%52 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %52
}
declare ptr @basename(ptr noundef) #1
declare i64 @strlen(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/tmp363vbvpj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = sub nsw i32 %9, 2
%11 = icmp uge i32 %10, 2
br i1 %11, label %12, label %13
12: ; preds = %2
br label %13
13: ; preds = %12, %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i32 1
store ptr %15, ptr %5, align 8
%16 = load ptr, ptr %15, align 8
%17 = call ptr @basename(ptr noundef %16)
store ptr %17, ptr %8, align 8
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i32 1
store ptr %19, ptr %5, align 8
%20 = load ptr, ptr %19, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %49
22: ; preds = %13
%23 = load ptr, ptr %5, align 8
%24 = load ptr, ptr %23, align 8
%25 = call i64 @strlen(ptr noundef %24)
store i64 %25, ptr %7, align 8
%26 = load ptr, ptr %8, align 8
%27 = call i64 @strlen(ptr noundef %26)
store i64 %27, ptr %6, align 8
%28 = load i64, ptr %6, align 8
%29 = load i64, ptr %7, align 8
%30 = icmp ugt i64 %28, %29
br i1 %30, label %31, label %48
31: ; preds = %22
%32 = load ptr, ptr %8, align 8
%33 = load i64, ptr %6, align 8
%34 = getelementptr inbounds i8, ptr %32, i64 %33
%35 = load i64, ptr %7, align 8
%36 = sub i64 0, %35
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load ptr, ptr %5, align 8
%39 = load ptr, ptr %38, align 8
%40 = ptrtoint ptr %39 to i64
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %48
42: ; preds = %31
%43 = load ptr, ptr %8, align 8
%44 = load i64, ptr %6, align 8
%45 = load i64, ptr %7, align 8
%46 = sub i64 %44, %45
%47 = getelementptr inbounds i8, ptr %43, i64 %46
store i8 0, ptr %47, align 1
br label %48
48: ; preds = %42, %31, %22
br label %49
49: ; preds = %48, %13
%50 = load ptr, ptr %8, align 8
%51 = call i32 @puts(ptr noundef %50)
%52 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %52
}
declare ptr @basename(ptr noundef) #1
declare i64 @strlen(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/tmpu64bw_b2.c'
source_filename = "/tmp/tmpu64bw_b2.c"
target datalayout = "e-m:e-p270: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 }
%struct.TYPE_2__ = type { i32 }
@__const.main.buf = private unnamed_addr constant [128 x i8] c"blablabla\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"create socket error\0A\00", align 1
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_BROADCAST = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [16 x i8] c"255.255.255.255\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"send error \0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"send: [%04d]%s\0A\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"recv: [%04d]%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [128 x i8], align 16
%5 = alloca %struct.sockaddr_in, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %3, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.buf, i64 128, i1 false)
%8 = load i32, ptr @AF_INET, align 4
%9 = load i32, ptr @SOCK_DGRAM, align 4
%10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0)
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %0
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 -1, ptr %1, align 4
br label %57
15: ; preds = %0
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr @SOL_SOCKET, align 4
%18 = load i32, ptr @SO_BROADCAST, align 4
%19 = call i32 @setsockopt(i32 noundef %16, i32 noundef %17, i32 noundef %18, ptr noundef %3, i32 noundef 4)
%20 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 12)
%21 = load i32, ptr @AF_INET, align 4
%22 = call i32 @inet_pton(i32 noundef %21, ptr noundef @.str.1, ptr noundef %6)
%23 = load i32, ptr @AF_INET, align 4
%24 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 2
store i32 %23, ptr %24, align 4
%25 = call i32 @htons(i32 noundef 30033)
%26 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1
store i32 %25, ptr %26, align 4
%27 = load i32, ptr %6, align 4
%28 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0
%29 = getelementptr inbounds %struct.TYPE_2__, ptr %28, i32 0, i32 0
store i32 %27, ptr %29, align 4
%30 = load i32, ptr %2, align 4
%31 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%32 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%33 = call i32 @strlen(ptr noundef %32)
%34 = call i32 @sendto(i32 noundef %30, ptr noundef %31, i32 noundef %33, i32 noundef 0, ptr noundef %5, i32 noundef 4)
store i32 %34, ptr %7, align 4
%35 = icmp slt i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %15
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %43
38: ; preds = %15
%39 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%40 = call i32 @strlen(ptr noundef %39)
%41 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %40, ptr noundef %41)
br label %43
43: ; preds = %38, %36
%44 = load i32, ptr %2, align 4
%45 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%46 = call i32 @recvfrom(i32 noundef %44, ptr noundef %45, i32 noundef 128, i32 noundef 0, ptr noundef null, ptr noundef null)
store i32 %46, ptr %7, align 4
%47 = icmp slt i32 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %43
br label %54
49: ; preds = %43
%50 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%51 = call i32 @strlen(ptr noundef %50)
%52 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %51, ptr noundef %52)
br label %54
54: ; preds = %49, %48
%55 = load i32, ptr %2, align 4
%56 = call i32 @close(i32 noundef %55)
store i32 0, ptr %1, align 4
br label %57
57: ; preds = %54, %13
%58 = load i32, ptr %1, align 4
ret i32 %58
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @htons(i32 noundef) #2
declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @close(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/tmpu64bw_b2.c"
target datalayout = "e-m:e-p270: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 }
%struct.TYPE_2__ = type { i32 }
@__const.main.buf = private unnamed_addr constant [128 x i8] c"blablabla\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"create socket error\0A\00", align 1
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_BROADCAST = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [16 x i8] c"255.255.255.255\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"send error \0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"send: [%04d]%s\0A\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"recv: [%04d]%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [128 x i8], align 16
%5 = alloca %struct.sockaddr_in, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %3, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.buf, i64 128, i1 false)
%8 = load i32, ptr @AF_INET, align 4
%9 = load i32, ptr @SOCK_DGRAM, align 4
%10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0)
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %0
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 -1, ptr %1, align 4
br label %57
15: ; preds = %0
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr @SOL_SOCKET, align 4
%18 = load i32, ptr @SO_BROADCAST, align 4
%19 = call i32 @setsockopt(i32 noundef %16, i32 noundef %17, i32 noundef %18, ptr noundef %3, i32 noundef 4)
%20 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 12)
%21 = load i32, ptr @AF_INET, align 4
%22 = call i32 @inet_pton(i32 noundef %21, ptr noundef @.str.1, ptr noundef %6)
%23 = load i32, ptr @AF_INET, align 4
%24 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 2
store i32 %23, ptr %24, align 4
%25 = call i32 @htons(i32 noundef 30033)
%26 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1
store i32 %25, ptr %26, align 4
%27 = load i32, ptr %6, align 4
%28 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0
%29 = getelementptr inbounds %struct.TYPE_2__, ptr %28, i32 0, i32 0
store i32 %27, ptr %29, align 4
%30 = load i32, ptr %2, align 4
%31 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%32 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%33 = call i32 @strlen(ptr noundef %32)
%34 = call i32 @sendto(i32 noundef %30, ptr noundef %31, i32 noundef %33, i32 noundef 0, ptr noundef %5, i32 noundef 4)
store i32 %34, ptr %7, align 4
%35 = icmp slt i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %15
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %43
38: ; preds = %15
%39 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%40 = call i32 @strlen(ptr noundef %39)
%41 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %40, ptr noundef %41)
br label %43
43: ; preds = %38, %36
%44 = load i32, ptr %2, align 4
%45 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%46 = call i32 @recvfrom(i32 noundef %44, ptr noundef %45, i32 noundef 128, i32 noundef 0, ptr noundef null, ptr noundef null)
store i32 %46, ptr %7, align 4
%47 = icmp slt i32 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %43
br label %54
49: ; preds = %43
%50 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%51 = call i32 @strlen(ptr noundef %50)
%52 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %51, ptr noundef %52)
br label %54
54: ; preds = %49, %48
%55 = load i32, ptr %2, align 4
%56 = call i32 @close(i32 noundef %55)
store i32 0, ptr %1, align 4
br label %57
57: ; preds = %54, %13
%58 = load i32, ptr %1, align 4
ret i32 %58
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @htons(i32 noundef) #2
declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @close(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/tmpmstbotxn.c'
source_filename = "/tmp/tmpmstbotxn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%2s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getCardName(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 %4, align 8
%6 = call i32 @puts(ptr noundef %5)
%7 = load ptr, ptr %3, align 8
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %7)
ret void
}
declare i32 @puts(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/tmpmstbotxn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%2s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getCardName(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 %4, align 8
%6 = call i32 @puts(ptr noundef %5)
%7 = load ptr, ptr %3, align 8
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %7)
ret void
}
declare i32 @puts(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/tmpybqq3xsb.c'
source_filename = "/tmp/tmpybqq3xsb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"0x0C20 bank CON register = 0x%08X\0A\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"0x0C20 bank DATA register = 0x%08X\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"0x0C20 bank UPD register = 0x%08X\0A\00", align 1
@.str.3 = private unnamed_addr constant [46 x i8] c"0x0C20 bank DRIVE_STRENGTH register = 0x%08X\0A\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"0x0C40 bank CON register = 0x%08X\0A\00", align 1
@.str.5 = private unnamed_addr constant [36 x i8] c"0x0C40 bank DATA register = 0x%08X\0A\00", align 1
@.str.6 = private unnamed_addr constant [35 x i8] c"0x0C40 bank UPD register = 0x%08X\0A\00", align 1
@.str.7 = private unnamed_addr constant [46 x i8] c"0x0C40 bank DRIVE_STRENGTH register = 0x%08X\0A\00", align 1
@.str.8 = private unnamed_addr constant [35 x i8] c"0x0C60 bank CON register = 0x%08X\0A\00", align 1
@.str.9 = private unnamed_addr constant [36 x i8] c"0x0C60 bank DATA register = 0x%08X\0A\00", align 1
@.str.10 = private unnamed_addr constant [35 x i8] c"0x0C60 bank UPD register = 0x%08X\0A\00", align 1
@.str.11 = private unnamed_addr constant [46 x i8] c"0x0C60 bank DRIVE_STRENGTH register = 0x%08X\0A\00", align 1
@.str.12 = private unnamed_addr constant [13 x i8] c"Pin %d = %u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_all_gpio_info() #0 {
%1 = alloca i32, align 4
%2 = call i32 @exynos_5410_gpio_read_raw_reg(i32 noundef 3104)
%3 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 @exynos_5410_gpio_read_raw_reg(i32 noundef 3108)
%5 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %4)
%6 = call i32 @exynos_5410_gpio_read_raw_reg(i32 noundef 3112)
%7 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %6)
%8 = call i32 @exynos_5410_gpio_read_raw_reg(i32 noundef 3116)
%9 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %8)
%10 = call i32 @exynos_5410_gpio_read_raw_reg(i32 noundef 3136)
%11 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %10)
%12 = call i32 @exynos_5410_gpio_read_raw_reg(i32 noundef 3140)
%13 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.5, i32 noundef %12)
%14 = call i32 @exynos_5410_gpio_read_raw_reg(i32 noundef 3144)
%15 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.6, i32 noundef %14)
%16 = call i32 @exynos_5410_gpio_read_raw_reg(i32 noundef 3148)
%17 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.7, i32 noundef %16)
%18 = call i32 @exynos_5410_gpio_read_raw_reg(i32 noundef 3168)
%19 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.8, i32 noundef %18)
%20 = call i32 @exynos_5410_gpio_read_raw_reg(i32 noundef 3172)
%21 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.9, i32 noundef %20)
%22 = call i32 @exynos_5410_gpio_read_raw_reg(i32 noundef 3176)
%23 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.10, i32 noundef %22)
%24 = call i32 @exynos_5410_gpio_read_raw_reg(i32 noundef 3180)
%25 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.11, i32 noundef %24)
store i32 13, ptr %1, align 4
br label %26
26: ; preds = %34, %0
%27 = load i32, ptr %1, align 4
%28 = icmp sle i32 %27, 27
br i1 %28, label %29, label %37
29: ; preds = %26
%30 = load i32, ptr %1, align 4
%31 = load i32, ptr %1, align 4
%32 = call i32 @odroid_xu_gpio_read(i32 noundef %31)
%33 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.12, i32 noundef %30, i32 noundef %32)
br label %34
34: ; preds = %29
%35 = load i32, ptr %1, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %1, align 4
br label %26, !llvm.loop !6
37: ; preds = %26
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @exynos_5410_gpio_read_raw_reg(i32 noundef) #1
declare i32 @odroid_xu_gpio_read(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/tmpybqq3xsb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"0x0C20 bank CON register = 0x%08X\0A\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"0x0C20 bank DATA register = 0x%08X\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"0x0C20 bank UPD register = 0x%08X\0A\00", align 1
@.str.3 = private unnamed_addr constant [46 x i8] c"0x0C20 bank DRIVE_STRENGTH register = 0x%08X\0A\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"0x0C40 bank CON register = 0x%08X\0A\00", align 1
@.str.5 = private unnamed_addr constant [36 x i8] c"0x0C40 bank DATA register = 0x%08X\0A\00", align 1
@.str.6 = private unnamed_addr constant [35 x i8] c"0x0C40 bank UPD register = 0x%08X\0A\00", align 1
@.str.7 = private unnamed_addr constant [46 x i8] c"0x0C40 bank DRIVE_STRENGTH register = 0x%08X\0A\00", align 1
@.str.8 = private unnamed_addr constant [35 x i8] c"0x0C60 bank CON register = 0x%08X\0A\00", align 1
@.str.9 = private unnamed_addr constant [36 x i8] c"0x0C60 bank DATA register = 0x%08X\0A\00", align 1
@.str.10 = private unnamed_addr constant [35 x i8] c"0x0C60 bank UPD register = 0x%08X\0A\00", align 1
@.str.11 = private unnamed_addr constant [46 x i8] c"0x0C60 bank DRIVE_STRENGTH register = 0x%08X\0A\00", align 1
@.str.12 = private unnamed_addr constant [13 x i8] c"Pin %d = %u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_all_gpio_info() #0 {
%1 = alloca i32, align 4
%2 = call i32 @exynos_5410_gpio_read_raw_reg(i32 noundef 3104)
%3 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %2)
%4 = call i32 @exynos_5410_gpio_read_raw_reg(i32 noundef 3108)
%5 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %4)
%6 = call i32 @exynos_5410_gpio_read_raw_reg(i32 noundef 3112)
%7 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %6)
%8 = call i32 @exynos_5410_gpio_read_raw_reg(i32 noundef 3116)
%9 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %8)
%10 = call i32 @exynos_5410_gpio_read_raw_reg(i32 noundef 3136)
%11 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %10)
%12 = call i32 @exynos_5410_gpio_read_raw_reg(i32 noundef 3140)
%13 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.5, i32 noundef %12)
%14 = call i32 @exynos_5410_gpio_read_raw_reg(i32 noundef 3144)
%15 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.6, i32 noundef %14)
%16 = call i32 @exynos_5410_gpio_read_raw_reg(i32 noundef 3148)
%17 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.7, i32 noundef %16)
%18 = call i32 @exynos_5410_gpio_read_raw_reg(i32 noundef 3168)
%19 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.8, i32 noundef %18)
%20 = call i32 @exynos_5410_gpio_read_raw_reg(i32 noundef 3172)
%21 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.9, i32 noundef %20)
%22 = call i32 @exynos_5410_gpio_read_raw_reg(i32 noundef 3176)
%23 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.10, i32 noundef %22)
%24 = call i32 @exynos_5410_gpio_read_raw_reg(i32 noundef 3180)
%25 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.11, i32 noundef %24)
store i32 13, ptr %1, align 4
%26 = load i32, ptr %1, align 4
%27 = icmp sle i32 %26, 27
br i1 %27, label %.lr.ph, label %38
.lr.ph: ; preds = %0
br label %28
28: ; preds = %.lr.ph, %33
%29 = load i32, ptr %1, align 4
%30 = load i32, ptr %1, align 4
%31 = call i32 @odroid_xu_gpio_read(i32 noundef %30)
%32 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.12, i32 noundef %29, i32 noundef %31)
br label %33
33: ; preds = %28
%34 = load i32, ptr %1, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %1, align 4
%36 = load i32, ptr %1, align 4
%37 = icmp sle i32 %36, 27
br i1 %37, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %38
38: ; preds = %._crit_edge, %0
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @exynos_5410_gpio_read_raw_reg(i32 noundef) #1
declare i32 @odroid_xu_gpio_read(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/tmpbaf0nlxp.c'
source_filename = "/tmp/tmpbaf0nlxp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @average(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca float, align 4
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store float 0.000000e+00, ptr %5, align 4
store i64 0, ptr %6, align 8
br label %7
7: ; preds = %18, %2
%8 = load i64, ptr %6, align 8
%9 = load i64, ptr %4, align 8
%10 = icmp ult i64 %8, %9
br i1 %10, label %11, label %21
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = load i64, ptr %6, align 8
%14 = getelementptr inbounds float, ptr %12, i64 %13
%15 = load float, ptr %14, align 4
%16 = load float, ptr %5, align 4
%17 = fadd float %16, %15
store float %17, ptr %5, align 4
br label %18
18: ; preds = %11
%19 = load i64, ptr %6, align 8
%20 = add i64 %19, 1
store i64 %20, ptr %6, align 8
br label %7, !llvm.loop !6
21: ; preds = %7
%22 = load float, ptr %5, align 4
%23 = load i64, ptr %4, align 8
%24 = uitofp i64 %23 to float
%25 = fdiv float %22, %24
ret float %25
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpbaf0nlxp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @average(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca float, align 4
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store float 0.000000e+00, ptr %5, align 4
store i64 0, ptr %6, align 8
%7 = load i64, ptr %6, align 8
%8 = load i64, ptr %4, align 8
%9 = icmp ult i64 %7, %8
br i1 %9, label %.lr.ph, label %23
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %17
%11 = load ptr, ptr %3, align 8
%12 = load i64, ptr %6, align 8
%13 = getelementptr inbounds float, ptr %11, i64 %12
%14 = load float, ptr %13, align 4
%15 = load float, ptr %5, align 4
%16 = fadd float %15, %14
store float %16, ptr %5, align 4
br label %17
17: ; preds = %10
%18 = load i64, ptr %6, align 8
%19 = add i64 %18, 1
store i64 %19, ptr %6, align 8
%20 = load i64, ptr %6, align 8
%21 = load i64, ptr %4, align 8
%22 = icmp ult i64 %20, %21
br i1 %22, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %23
23: ; preds = %._crit_edge, %2
%24 = load float, ptr %5, align 4
%25 = load i64, ptr %4, align 8
%26 = uitofp i64 %25 to float
%27 = fdiv float %24, %26
ret float %27
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpzagg_hcu.c'
source_filename = "/tmp/tmpzagg_hcu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AUTH_OK = 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/tmpzagg_hcu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AUTH_OK = 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/tmpchltici1.c'
source_filename = "/tmp/tmpchltici1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"wb\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"Successfully wrote %lu bytes.\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"error: Unable to open: %s.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @putData(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
%10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str)
store ptr %10, ptr %7, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %21
12: ; preds = %3
%13 = load ptr, ptr %6, align 8
%14 = load i64, ptr %5, align 8
%15 = load ptr, ptr %7, align 8
%16 = call i64 @fwrite(ptr noundef %13, i32 noundef 1, i64 noundef %14, ptr noundef %15)
store i64 %16, ptr %8, align 8
%17 = load ptr, ptr %7, align 8
%18 = call i32 @fclose(ptr noundef %17)
%19 = load i64, ptr %8, align 8
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %19)
br label %24
21: ; preds = %3
%22 = load ptr, ptr %4, align 8
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %22)
br label %24
24: ; preds = %21, %12
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpchltici1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"wb\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"Successfully wrote %lu bytes.\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"error: Unable to open: %s.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @putData(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
%10 = call ptr @fopen(ptr noundef %9, ptr noundef @.str)
store ptr %10, ptr %7, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %21
12: ; preds = %3
%13 = load ptr, ptr %6, align 8
%14 = load i64, ptr %5, align 8
%15 = load ptr, ptr %7, align 8
%16 = call i64 @fwrite(ptr noundef %13, i32 noundef 1, i64 noundef %14, ptr noundef %15)
store i64 %16, ptr %8, align 8
%17 = load ptr, ptr %7, align 8
%18 = call i32 @fclose(ptr noundef %17)
%19 = load i64, ptr %8, align 8
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %19)
br label %24
21: ; preds = %3
%22 = load ptr, ptr %4, align 8
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %22)
br label %24
24: ; preds = %21, %12
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprouyeohv.c'
source_filename = "/tmp/tmprouyeohv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UDPMSGSIZE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @svcudp_create(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 @UDPMSGSIZE, align 4
%5 = load i32, ptr @UDPMSGSIZE, align 4
%6 = call ptr @svcudp_bufcreate(i32 noundef %3, i32 noundef %4, i32 noundef %5)
ret ptr %6
}
declare ptr @svcudp_bufcreate(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/tmprouyeohv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UDPMSGSIZE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @svcudp_create(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 @UDPMSGSIZE, align 4
%5 = load i32, ptr @UDPMSGSIZE, align 4
%6 = call ptr @svcudp_bufcreate(i32 noundef %3, i32 noundef %4, i32 noundef %5)
ret ptr %6
}
declare ptr @svcudp_bufcreate(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/tmpuc04py8f.c'
source_filename = "/tmp/tmpuc04py8f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uartputc(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @uart_tx(i8 noundef signext %3)
ret void
}
declare i32 @uart_tx(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuc04py8f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uartputc(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @uart_tx(i8 noundef signext %3)
ret void
}
declare i32 @uart_tx(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpba7t1pk3.c'
source_filename = "/tmp/tmpba7t1pk3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RotateRotMx(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 [9 x i32], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = getelementptr inbounds [9 x i32], ptr %7, i64 0, i64 0
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %6, align 8
%11 = call i32 @RotMxMultiply(ptr noundef %8, ptr noundef %9, ptr noundef %10)
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds [9 x i32], ptr %7, i64 0, i64 0
%15 = call i32 @RotMxMultiply(ptr noundef %12, ptr noundef %13, ptr noundef %14)
ret void
}
declare i32 @RotMxMultiply(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/tmpba7t1pk3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RotateRotMx(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 [9 x i32], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = getelementptr inbounds [9 x i32], ptr %7, i64 0, i64 0
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %6, align 8
%11 = call i32 @RotMxMultiply(ptr noundef %8, ptr noundef %9, ptr noundef %10)
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds [9 x i32], ptr %7, i64 0, i64 0
%15 = call i32 @RotMxMultiply(ptr noundef %12, ptr noundef %13, ptr noundef %14)
ret void
}
declare i32 @RotMxMultiply(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/tmp4po3stkr.c'
source_filename = "/tmp/tmp4po3stkr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pthread_spin_trylock(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @o_pthread_spin_trylock(ptr noundef %3)
ret i32 %4
}
declare i32 @o_pthread_spin_trylock(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4po3stkr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pthread_spin_trylock(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @o_pthread_spin_trylock(ptr noundef %3)
ret i32 %4
}
declare i32 @o_pthread_spin_trylock(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3ka0dazy.c'
source_filename = "/tmp/tmp3ka0dazy.c"
target datalayout = "e-m:e-p270: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/tmp3ka0dazy.c"
target datalayout = "e-m:e-p270: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/tmpobpbldig.c'
source_filename = "/tmp/tmpobpbldig.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g_file_read(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @read(i32 noundef %7, ptr noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @read(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/tmpobpbldig.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g_file_read(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @read(i32 noundef %7, ptr noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @read(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/tmp9b1n9zs2.c'
source_filename = "/tmp/tmp9b1n9zs2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"please input a number: \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"ans. => %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
store double 5.000000e+00, ptr %4, align 8
store i32 0, ptr %2, align 4
br label %8
8: ; preds = %29, %0
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 100
br i1 %10, label %11, label %32
11: ; preds = %8
%12 = load double, ptr %3, align 8
%13 = fsub double %12, 1.000000e+00
%14 = load double, ptr %4, align 8
%15 = call double @pow(double noundef %14, double noundef 2.000000e+00) #4
%16 = load double, ptr %3, align 8
%17 = call double @llvm.fmuladd.f64(double %13, double %15, double %16)
%18 = load double, ptr %3, align 8
%19 = load double, ptr %4, align 8
%20 = fmul double %18, %19
%21 = fdiv double %17, %20
store double %21, ptr %5, align 8
%22 = load double, ptr %4, align 8
%23 = load double, ptr %5, align 8
%24 = fsub double %22, %23
%25 = fcmp olt double %24, 1.000000e-03
br i1 %25, label %26, label %27
26: ; preds = %11
br label %32
27: ; preds = %11
%28 = load double, ptr %5, align 8
store double %28, ptr %4, align 8
br label %29
29: ; preds = %27
%30 = load i32, ptr %2, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %2, align 4
br label %8, !llvm.loop !6
32: ; preds = %26, %8
%33 = load double, ptr %5, align 8
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %33)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9b1n9zs2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"please input a number: \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"ans. => %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
store double 5.000000e+00, ptr %4, align 8
store i32 0, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %8, 100
br i1 %9, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %28
%11 = load double, ptr %3, align 8
%12 = fsub double %11, 1.000000e+00
%13 = load double, ptr %4, align 8
%14 = call double @pow(double noundef %13, double noundef 2.000000e+00) #4
%15 = load double, ptr %3, align 8
%16 = call double @llvm.fmuladd.f64(double %12, double %14, double %15)
%17 = load double, ptr %3, align 8
%18 = load double, ptr %4, align 8
%19 = fmul double %17, %18
%20 = fdiv double %16, %19
store double %20, ptr %5, align 8
%21 = load double, ptr %4, align 8
%22 = load double, ptr %5, align 8
%23 = fsub double %21, %22
%24 = fcmp olt double %23, 1.000000e-03
br i1 %24, label %25, label %26
25: ; preds = %10
br label %33
26: ; preds = %10
%27 = load double, ptr %5, align 8
store double %27, ptr %4, align 8
br label %28
28: ; preds = %26
%29 = load i32, ptr %2, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %2, align 4
%31 = load i32, ptr %2, align 4
%32 = icmp slt i32 %31, 100
br i1 %32, label %10, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %28
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %33
33: ; preds = %.loopexit, %25
%34 = load double, ptr %5, align 8
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %34)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpy_vyvx6v.c'
source_filename = "/tmp/tmpy_vyvx6v.c"
target datalayout = "e-m:e-p270: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 i64 0, align 8
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\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() #0 {
%1 = alloca i32, align 4
%2 = alloca [21 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca [21 x i32], align 16
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %6
6: ; preds = %272, %0
%7 = load i64, ptr @EOF, align 8
%8 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 0
%9 = call i64 @scanf(ptr noundef @.str, ptr noundef %8)
%10 = icmp ne i64 %7, %9
br i1 %10, label %11, label %274
11: ; preds = %6
%12 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 0
%13 = call i32 @strlen(ptr noundef %12)
store i32 %13, ptr %3, align 4
store i32 0, ptr %5, align 4
br label %14
14: ; preds = %229, %11
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %232
18: ; preds = %14
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 66
br i1 %24, label %46, label %25
25: ; preds = %18
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 70
br i1 %31, label %46, label %32
32: ; preds = %25
%33 = load i32, ptr %5, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 80
br i1 %38, label %46, label %39
39: ; preds = %32
%40 = load i32, ptr %5, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %44, 86
br i1 %45, label %46, label %50
46: ; preds = %39, %32, %25, %18
%47 = load i32, ptr %5, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [21 x i32], ptr %4, i64 0, i64 %48
store i32 1, ptr %49, align 4
br label %50
50: ; preds = %46, %39
%51 = load i32, ptr %5, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %52
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp eq i32 %55, 67
br i1 %56, label %106, label %57
57: ; preds = %50
%58 = load i32, ptr %5, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %59
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = icmp eq i32 %62, 71
br i1 %63, label %106, label %64
64: ; preds = %57
%65 = load i32, ptr %5, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %66
%68 = load i8, ptr %67, align 1
%69 = sext i8 %68 to i32
%70 = icmp eq i32 %69, 74
br i1 %70, label %106, label %71
71: ; preds = %64
%72 = load i32, ptr %5, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %73
%75 = load i8, ptr %74, align 1
%76 = sext i8 %75 to i32
%77 = icmp eq i32 %76, 75
br i1 %77, label %106, label %78
78: ; preds = %71
%79 = load i32, ptr %5, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %80
%82 = load i8, ptr %81, align 1
%83 = sext i8 %82 to i32
%84 = icmp eq i32 %83, 81
br i1 %84, label %106, label %85
85: ; preds = %78
%86 = load i32, ptr %5, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %87
%89 = load i8, ptr %88, align 1
%90 = sext i8 %89 to i32
%91 = icmp eq i32 %90, 83
br i1 %91, label %106, label %92
92: ; preds = %85
%93 = load i32, ptr %5, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %94
%96 = load i8, ptr %95, align 1
%97 = sext i8 %96 to i32
%98 = icmp eq i32 %97, 88
br i1 %98, label %106, label %99
99: ; preds = %92
%100 = load i32, ptr %5, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %101
%103 = load i8, ptr %102, align 1
%104 = sext i8 %103 to i32
%105 = icmp eq i32 %104, 90
br i1 %105, label %106, label %110
106: ; preds = %99, %92, %85, %78, %71, %64, %57, %50
%107 = load i32, ptr %5, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds [21 x i32], ptr %4, i64 0, i64 %108
store i32 2, ptr %109, align 4
br label %110
110: ; preds = %106, %99
%111 = load i32, ptr %5, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %112
%114 = load i8, ptr %113, align 1
%115 = sext i8 %114 to i32
%116 = icmp eq i32 %115, 68
br i1 %116, label %124, label %117
117: ; preds = %110
%118 = load i32, ptr %5, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %119
%121 = load i8, ptr %120, align 1
%122 = sext i8 %121 to i32
%123 = icmp eq i32 %122, 84
br i1 %123, label %124, label %128
124: ; preds = %117, %110
%125 = load i32, ptr %5, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds [21 x i32], ptr %4, i64 0, i64 %126
store i32 3, ptr %127, align 4
br label %128
128: ; preds = %124, %117
%129 = load i32, ptr %5, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %130
%132 = load i8, ptr %131, align 1
%133 = sext i8 %132 to i32
%134 = icmp eq i32 %133, 76
br i1 %134, label %135, label %139
135: ; preds = %128
%136 = load i32, ptr %5, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds [21 x i32], ptr %4, i64 0, i64 %137
store i32 4, ptr %138, align 4
br label %139
139: ; preds = %135, %128
%140 = load i32, ptr %5, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %141
%143 = load i8, ptr %142, align 1
%144 = sext i8 %143 to i32
%145 = icmp eq i32 %144, 77
br i1 %145, label %153, label %146
146: ; preds = %139
%147 = load i32, ptr %5, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %148
%150 = load i8, ptr %149, align 1
%151 = sext i8 %150 to i32
%152 = icmp eq i32 %151, 78
br i1 %152, label %153, label %157
153: ; preds = %146, %139
%154 = load i32, ptr %5, align 4
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds [21 x i32], ptr %4, i64 0, i64 %155
store i32 5, ptr %156, align 4
br label %157
157: ; preds = %153, %146
%158 = load i32, ptr %5, align 4
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %159
%161 = load i8, ptr %160, align 1
%162 = sext i8 %161 to i32
%163 = icmp eq i32 %162, 82
br i1 %163, label %164, label %168
164: ; preds = %157
%165 = load i32, ptr %5, align 4
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds [21 x i32], ptr %4, i64 0, i64 %166
store i32 6, ptr %167, align 4
br label %168
168: ; preds = %164, %157
%169 = load i32, ptr %5, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %170
%172 = load i8, ptr %171, align 1
%173 = sext i8 %172 to i32
%174 = icmp eq i32 %173, 65
br i1 %174, label %224, label %175
175: ; preds = %168
%176 = load i32, ptr %5, align 4
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %177
%179 = load i8, ptr %178, align 1
%180 = sext i8 %179 to i32
%181 = icmp eq i32 %180, 69
br i1 %181, label %224, label %182
182: ; preds = %175
%183 = load i32, ptr %5, align 4
%184 = sext i32 %183 to i64
%185 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %184
%186 = load i8, ptr %185, align 1
%187 = sext i8 %186 to i32
%188 = icmp eq i32 %187, 73
br i1 %188, label %224, label %189
189: ; preds = %182
%190 = load i32, ptr %5, align 4
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %191
%193 = load i8, ptr %192, align 1
%194 = sext i8 %193 to i32
%195 = icmp eq i32 %194, 79
br i1 %195, label %224, label %196
196: ; preds = %189
%197 = load i32, ptr %5, align 4
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %198
%200 = load i8, ptr %199, align 1
%201 = sext i8 %200 to i32
%202 = icmp eq i32 %201, 85
br i1 %202, label %224, label %203
203: ; preds = %196
%204 = load i32, ptr %5, align 4
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %205
%207 = load i8, ptr %206, align 1
%208 = sext i8 %207 to i32
%209 = icmp eq i32 %208, 72
br i1 %209, label %224, label %210
210: ; preds = %203
%211 = load i32, ptr %5, align 4
%212 = sext i32 %211 to i64
%213 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %212
%214 = load i8, ptr %213, align 1
%215 = sext i8 %214 to i32
%216 = icmp eq i32 %215, 87
br i1 %216, label %224, label %217
217: ; preds = %210
%218 = load i32, ptr %5, align 4
%219 = sext i32 %218 to i64
%220 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %219
%221 = load i8, ptr %220, align 1
%222 = sext i8 %221 to i32
%223 = icmp eq i32 %222, 89
br i1 %223, label %224, label %228
224: ; preds = %217, %210, %203, %196, %189, %182, %175, %168
%225 = load i32, ptr %5, align 4
%226 = sext i32 %225 to i64
%227 = getelementptr inbounds [21 x i32], ptr %4, i64 0, i64 %226
store i32 7, ptr %227, align 4
br label %228
228: ; preds = %224, %217
br label %229
229: ; preds = %228
%230 = load i32, ptr %5, align 4
%231 = add nsw i32 %230, 1
store i32 %231, ptr %5, align 4
br label %14, !llvm.loop !6
232: ; preds = %14
%233 = getelementptr inbounds [21 x i32], ptr %4, i64 0, i64 0
%234 = load i32, ptr %233, align 16
%235 = icmp ne i32 %234, 7
br i1 %235, label %236, label %240
236: ; preds = %232
%237 = getelementptr inbounds [21 x i32], ptr %4, i64 0, i64 0
%238 = load i32, ptr %237, align 16
%239 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %238)
br label %240
240: ; preds = %236, %232
store i32 1, ptr %5, align 4
br label %241
241: ; preds = %269, %240
%242 = load i32, ptr %5, align 4
%243 = load i32, ptr %3, align 4
%244 = icmp slt i32 %242, %243
br i1 %244, label %245, label %272
245: ; preds = %241
%246 = load i32, ptr %5, align 4
%247 = sext i32 %246 to i64
%248 = getelementptr inbounds [21 x i32], ptr %4, i64 0, i64 %247
%249 = load i32, ptr %248, align 4
%250 = icmp ne i32 %249, 7
br i1 %250, label %251, label %268
251: ; preds = %245
%252 = load i32, ptr %5, align 4
%253 = sext i32 %252 to i64
%254 = getelementptr inbounds [21 x i32], ptr %4, i64 0, i64 %253
%255 = load i32, ptr %254, align 4
%256 = load i32, ptr %5, align 4
%257 = sub nsw i32 %256, 1
%258 = sext i32 %257 to i64
%259 = getelementptr inbounds [21 x i32], ptr %4, i64 0, i64 %258
%260 = load i32, ptr %259, align 4
%261 = icmp ne i32 %255, %260
br i1 %261, label %262, label %268
262: ; preds = %251
%263 = load i32, ptr %5, align 4
%264 = sext i32 %263 to i64
%265 = getelementptr inbounds [21 x i32], ptr %4, i64 0, i64 %264
%266 = load i32, ptr %265, align 4
%267 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %266)
br label %268
268: ; preds = %262, %251, %245
br label %269
269: ; preds = %268
%270 = load i32, ptr %5, align 4
%271 = add nsw i32 %270, 1
store i32 %271, ptr %5, align 4
br label %241, !llvm.loop !8
272: ; preds = %241
%273 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %6, !llvm.loop !9
274: ; preds = %6
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy_vyvx6v.c"
target datalayout = "e-m:e-p270: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 i64 0, align 8
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\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() #0 {
%1 = alloca i32, align 4
%2 = alloca [21 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca [21 x i32], align 16
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = load i64, ptr @EOF, align 8
%7 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 0
%8 = call i64 @scanf(ptr noundef @.str, ptr noundef %7)
%9 = icmp ne i64 %6, %8
br i1 %9, label %.lr.ph5, label %280
.lr.ph5: ; preds = %0
br label %10
10: ; preds = %.lr.ph5, %275
%11 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 0
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %3, align 4
store i32 0, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %233
.lr.ph: ; preds = %10
br label %16
16: ; preds = %.lr.ph, %227
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 66
br i1 %22, label %44, label %23
23: ; preds = %16
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 70
br i1 %29, label %44, label %30
30: ; preds = %23
%31 = load i32, ptr %5, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 80
br i1 %36, label %44, label %37
37: ; preds = %30
%38 = load i32, ptr %5, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %39
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 86
br i1 %43, label %44, label %48
44: ; preds = %37, %30, %23, %16
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [21 x i32], ptr %4, i64 0, i64 %46
store i32 1, ptr %47, align 4
br label %48
48: ; preds = %44, %37
%49 = load i32, ptr %5, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %50
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 67
br i1 %54, label %104, label %55
55: ; preds = %48
%56 = load i32, ptr %5, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %57
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp eq i32 %60, 71
br i1 %61, label %104, label %62
62: ; preds = %55
%63 = load i32, ptr %5, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %64
%66 = load i8, ptr %65, align 1
%67 = sext i8 %66 to i32
%68 = icmp eq i32 %67, 74
br i1 %68, label %104, label %69
69: ; preds = %62
%70 = load i32, ptr %5, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %71
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp eq i32 %74, 75
br i1 %75, label %104, label %76
76: ; preds = %69
%77 = load i32, ptr %5, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %78
%80 = load i8, ptr %79, align 1
%81 = sext i8 %80 to i32
%82 = icmp eq i32 %81, 81
br i1 %82, label %104, label %83
83: ; preds = %76
%84 = load i32, ptr %5, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %85
%87 = load i8, ptr %86, align 1
%88 = sext i8 %87 to i32
%89 = icmp eq i32 %88, 83
br i1 %89, label %104, label %90
90: ; preds = %83
%91 = load i32, ptr %5, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %92
%94 = load i8, ptr %93, align 1
%95 = sext i8 %94 to i32
%96 = icmp eq i32 %95, 88
br i1 %96, label %104, label %97
97: ; preds = %90
%98 = load i32, ptr %5, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %99
%101 = load i8, ptr %100, align 1
%102 = sext i8 %101 to i32
%103 = icmp eq i32 %102, 90
br i1 %103, label %104, label %108
104: ; preds = %97, %90, %83, %76, %69, %62, %55, %48
%105 = load i32, ptr %5, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [21 x i32], ptr %4, i64 0, i64 %106
store i32 2, ptr %107, align 4
br label %108
108: ; preds = %104, %97
%109 = load i32, ptr %5, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %110
%112 = load i8, ptr %111, align 1
%113 = sext i8 %112 to i32
%114 = icmp eq i32 %113, 68
br i1 %114, label %122, label %115
115: ; preds = %108
%116 = load i32, ptr %5, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %117
%119 = load i8, ptr %118, align 1
%120 = sext i8 %119 to i32
%121 = icmp eq i32 %120, 84
br i1 %121, label %122, label %126
122: ; preds = %115, %108
%123 = load i32, ptr %5, align 4
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds [21 x i32], ptr %4, i64 0, i64 %124
store i32 3, ptr %125, align 4
br label %126
126: ; preds = %122, %115
%127 = load i32, ptr %5, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %128
%130 = load i8, ptr %129, align 1
%131 = sext i8 %130 to i32
%132 = icmp eq i32 %131, 76
br i1 %132, label %133, label %137
133: ; preds = %126
%134 = load i32, ptr %5, align 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds [21 x i32], ptr %4, i64 0, i64 %135
store i32 4, ptr %136, align 4
br label %137
137: ; preds = %133, %126
%138 = load i32, ptr %5, align 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %139
%141 = load i8, ptr %140, align 1
%142 = sext i8 %141 to i32
%143 = icmp eq i32 %142, 77
br i1 %143, label %151, label %144
144: ; preds = %137
%145 = load i32, ptr %5, align 4
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %146
%148 = load i8, ptr %147, align 1
%149 = sext i8 %148 to i32
%150 = icmp eq i32 %149, 78
br i1 %150, label %151, label %155
151: ; preds = %144, %137
%152 = load i32, ptr %5, align 4
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds [21 x i32], ptr %4, i64 0, i64 %153
store i32 5, ptr %154, align 4
br label %155
155: ; preds = %151, %144
%156 = load i32, ptr %5, align 4
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %157
%159 = load i8, ptr %158, align 1
%160 = sext i8 %159 to i32
%161 = icmp eq i32 %160, 82
br i1 %161, label %162, label %166
162: ; preds = %155
%163 = load i32, ptr %5, align 4
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds [21 x i32], ptr %4, i64 0, i64 %164
store i32 6, ptr %165, align 4
br label %166
166: ; preds = %162, %155
%167 = load i32, ptr %5, align 4
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %168
%170 = load i8, ptr %169, align 1
%171 = sext i8 %170 to i32
%172 = icmp eq i32 %171, 65
br i1 %172, label %222, label %173
173: ; preds = %166
%174 = load i32, ptr %5, align 4
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %175
%177 = load i8, ptr %176, align 1
%178 = sext i8 %177 to i32
%179 = icmp eq i32 %178, 69
br i1 %179, label %222, label %180
180: ; preds = %173
%181 = load i32, ptr %5, align 4
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %182
%184 = load i8, ptr %183, align 1
%185 = sext i8 %184 to i32
%186 = icmp eq i32 %185, 73
br i1 %186, label %222, label %187
187: ; preds = %180
%188 = load i32, ptr %5, align 4
%189 = sext i32 %188 to i64
%190 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %189
%191 = load i8, ptr %190, align 1
%192 = sext i8 %191 to i32
%193 = icmp eq i32 %192, 79
br i1 %193, label %222, label %194
194: ; preds = %187
%195 = load i32, ptr %5, align 4
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %196
%198 = load i8, ptr %197, align 1
%199 = sext i8 %198 to i32
%200 = icmp eq i32 %199, 85
br i1 %200, label %222, label %201
201: ; preds = %194
%202 = load i32, ptr %5, align 4
%203 = sext i32 %202 to i64
%204 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %203
%205 = load i8, ptr %204, align 1
%206 = sext i8 %205 to i32
%207 = icmp eq i32 %206, 72
br i1 %207, label %222, label %208
208: ; preds = %201
%209 = load i32, ptr %5, align 4
%210 = sext i32 %209 to i64
%211 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %210
%212 = load i8, ptr %211, align 1
%213 = sext i8 %212 to i32
%214 = icmp eq i32 %213, 87
br i1 %214, label %222, label %215
215: ; preds = %208
%216 = load i32, ptr %5, align 4
%217 = sext i32 %216 to i64
%218 = getelementptr inbounds [21 x i8], ptr %2, i64 0, i64 %217
%219 = load i8, ptr %218, align 1
%220 = sext i8 %219 to i32
%221 = icmp eq i32 %220, 89
br i1 %221, label %222, label %226
222: ; preds = %215, %208, %201, %194, %187, %180, %173, %166
%223 = load i32, ptr %5, align 4
%224 = sext i32 %223 to i64
%225 = getelementptr inbounds [21 x i32], ptr %4, i64 0, i64 %224
store i32 7, ptr %225, align 4
br label %226
226: ; preds = %222, %215
br label %227
227: ; preds = %226
%228 = load i32, ptr %5, align 4
%229 = add nsw i32 %228, 1
store i32 %229, ptr %5, align 4
%230 = load i32, ptr %5, align 4
%231 = load i32, ptr %3, align 4
%232 = icmp slt i32 %230, %231
br i1 %232, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %227
br label %233
233: ; preds = %._crit_edge, %10
%234 = getelementptr inbounds [21 x i32], ptr %4, i64 0, i64 0
%235 = load i32, ptr %234, align 16
%236 = icmp ne i32 %235, 7
br i1 %236, label %237, label %241
237: ; preds = %233
%238 = getelementptr inbounds [21 x i32], ptr %4, i64 0, i64 0
%239 = load i32, ptr %238, align 16
%240 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %239)
br label %241
241: ; preds = %237, %233
store i32 1, ptr %5, align 4
%242 = load i32, ptr %5, align 4
%243 = load i32, ptr %3, align 4
%244 = icmp slt i32 %242, %243
br i1 %244, label %.lr.ph2, label %275
.lr.ph2: ; preds = %241
br label %245
245: ; preds = %.lr.ph2, %269
%246 = load i32, ptr %5, align 4
%247 = sext i32 %246 to i64
%248 = getelementptr inbounds [21 x i32], ptr %4, i64 0, i64 %247
%249 = load i32, ptr %248, align 4
%250 = icmp ne i32 %249, 7
br i1 %250, label %251, label %268
251: ; preds = %245
%252 = load i32, ptr %5, align 4
%253 = sext i32 %252 to i64
%254 = getelementptr inbounds [21 x i32], ptr %4, i64 0, i64 %253
%255 = load i32, ptr %254, align 4
%256 = load i32, ptr %5, align 4
%257 = sub nsw i32 %256, 1
%258 = sext i32 %257 to i64
%259 = getelementptr inbounds [21 x i32], ptr %4, i64 0, i64 %258
%260 = load i32, ptr %259, align 4
%261 = icmp ne i32 %255, %260
br i1 %261, label %262, label %268
262: ; preds = %251
%263 = load i32, ptr %5, align 4
%264 = sext i32 %263 to i64
%265 = getelementptr inbounds [21 x i32], ptr %4, i64 0, i64 %264
%266 = load i32, ptr %265, align 4
%267 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %266)
br label %268
268: ; preds = %262, %251, %245
br label %269
269: ; preds = %268
%270 = load i32, ptr %5, align 4
%271 = add nsw i32 %270, 1
store i32 %271, ptr %5, align 4
%272 = load i32, ptr %5, align 4
%273 = load i32, ptr %3, align 4
%274 = icmp slt i32 %272, %273
br i1 %274, label %245, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %269
br label %275
275: ; preds = %._crit_edge3, %241
%276 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%277 = load i64, ptr @EOF, align 8
%278 = call i64 @scanf(ptr noundef @.str, ptr noundef %7)
%279 = icmp ne i64 %277, %278
br i1 %279, label %10, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %275
br label %280
280: ; preds = %._crit_edge6, %0
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp0_26wjnm.c'
source_filename = "/tmp/tmp0_26wjnm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"frobnicating\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @aaa()
%3 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @aaa(...) #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/tmp0_26wjnm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"frobnicating\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @aaa()
%3 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @aaa(...) #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/tmpmyufpt01.c'
source_filename = "/tmp/tmpmyufpt01.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SXNETID_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @d2i_SXNETID(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i64 @ASN1_item_d2i(ptr noundef %7, ptr noundef %8, i64 noundef %9, ptr noundef @SXNETID_it)
%11 = inttoptr i64 %10 to ptr
ret ptr %11
}
declare i64 @ASN1_item_d2i(ptr noundef, ptr noundef, i64 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/tmpmyufpt01.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SXNETID_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @d2i_SXNETID(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i64 @ASN1_item_d2i(ptr noundef %7, ptr noundef %8, i64 noundef %9, ptr noundef @SXNETID_it)
%11 = inttoptr i64 %10 to ptr
ret ptr %11
}
declare i64 @ASN1_item_d2i(ptr noundef, ptr noundef, i64 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/tmppr5deiz_.c'
source_filename = "/tmp/tmppr5deiz_.c"
target datalayout = "e-m:e-p270: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.vals = private unnamed_addr constant [5 x [4 x float]] [[4 x float] [float 0x4056933340000000, float 0x40572CCCC0000000, float 0x4056933340000000, float 0x4058F33340000000], [4 x float] [float 0x4055533340000000, float 9.050000e+01, float 0x4055D33340000000, float 0x4056B33340000000], [4 x float] [float 0x40574CCCC0000000, float 0x40561999A0000000, float 0x4057733340000000, float 0x4052E66660000000], [4 x float] [float 0x40549999A0000000, float 0x4057E66660000000, float 0x40538CCCC0000000, float 9.000000e+01], [4 x float] [float 9.350000e+01, float 0x40540CCCC0000000, float 0x40573999A0000000, float 0x40579999A0000000]], align 16
@.str = private unnamed_addr constant [9 x i8] c"\0AGrades\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%7.1f\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [47 x i8] c"\0AFile written to is grades.bin a binary file.\0A\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"grades.bin\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x [4 x float]], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.vals, i64 80, i1 false)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %9
9: ; preds = %31, %0
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %10, 5
br i1 %11, label %12, label %34
12: ; preds = %9
store i32 0, ptr %4, align 4
br label %13
13: ; preds = %26, %12
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %14, 4
br i1 %15, label %16, label %29
16: ; preds = %13
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [5 x [4 x float]], ptr %2, i64 0, i64 %18
%20 = load i32, ptr %4, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [4 x float], ptr %19, i64 0, i64 %21
%23 = load float, ptr %22, align 4
%24 = fpext float %23 to double
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %24)
br label %26
26: ; preds = %16
%27 = load i32, ptr %4, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %4, align 4
br label %13, !llvm.loop !6
29: ; preds = %13
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %31
31: ; preds = %29
%32 = load i32, ptr %3, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %3, align 4
br label %9, !llvm.loop !8
34: ; preds = %9
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%36 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.5)
store ptr %36, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %37
37: ; preds = %61, %34
%38 = load i32, ptr %6, align 4
%39 = icmp slt i32 %38, 5
br i1 %39, label %40, label %64
40: ; preds = %37
store i32 0, ptr %7, align 4
br label %41
41: ; preds = %55, %40
%42 = load i32, ptr %7, align 4
%43 = icmp slt i32 %42, 4
br i1 %43, label %44, label %58
44: ; preds = %41
%45 = load ptr, ptr %5, align 8
%46 = load i32, ptr %6, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [5 x [4 x float]], ptr %2, i64 0, i64 %47
%49 = load i32, ptr %7, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [4 x float], ptr %48, i64 0, i64 %50
%52 = load float, ptr %51, align 4
%53 = fpext float %52 to double
%54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef @.str.1, double noundef %53)
br label %55
55: ; preds = %44
%56 = load i32, ptr %7, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %7, align 4
br label %41, !llvm.loop !9
58: ; preds = %41
%59 = load ptr, ptr %5, align 8
%60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef @.str.2)
br label %61
61: ; preds = %58
%62 = load i32, ptr %6, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %6, align 4
br label %37, !llvm.loop !10
64: ; preds = %37
%65 = load ptr, ptr %5, align 8
%66 = call i32 @fclose(ptr noundef %65)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2
declare i32 @fclose(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppr5deiz_.c"
target datalayout = "e-m:e-p270: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.vals = private unnamed_addr constant [5 x [4 x float]] [[4 x float] [float 0x4056933340000000, float 0x40572CCCC0000000, float 0x4056933340000000, float 0x4058F33340000000], [4 x float] [float 0x4055533340000000, float 9.050000e+01, float 0x4055D33340000000, float 0x4056B33340000000], [4 x float] [float 0x40574CCCC0000000, float 0x40561999A0000000, float 0x4057733340000000, float 0x4052E66660000000], [4 x float] [float 0x40549999A0000000, float 0x4057E66660000000, float 0x40538CCCC0000000, float 9.000000e+01], [4 x float] [float 9.350000e+01, float 0x40540CCCC0000000, float 0x40573999A0000000, float 0x40579999A0000000]], align 16
@.str = private unnamed_addr constant [9 x i8] c"\0AGrades\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%7.1f\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [47 x i8] c"\0AFile written to is grades.bin a binary file.\0A\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"grades.bin\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x [4 x float]], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.vals, i64 80, i1 false)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %9, 5
br i1 %10, label %.lr.ph2, label %36
.lr.ph2: ; preds = %0
br label %11
11: ; preds = %.lr.ph2, %31
store i32 0, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %12, 4
br i1 %13, label %.lr.ph, label %29
.lr.ph: ; preds = %11
br label %14
14: ; preds = %.lr.ph, %24
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [5 x [4 x float]], ptr %2, i64 0, i64 %16
%18 = load i32, ptr %4, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [4 x float], ptr %17, i64 0, i64 %19
%21 = load float, ptr %20, align 4
%22 = fpext float %21 to double
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %22)
br label %24
24: ; preds = %14
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp slt i32 %27, 4
br i1 %28, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %29
29: ; preds = %._crit_edge, %11
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %31
31: ; preds = %29
%32 = load i32, ptr %3, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %3, align 4
%34 = load i32, ptr %3, align 4
%35 = icmp slt i32 %34, 5
br i1 %35, label %11, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %31
br label %36
36: ; preds = %._crit_edge3, %0
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%38 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.5)
store ptr %38, ptr %5, align 8
store i32 0, ptr %6, align 4
%39 = load i32, ptr %6, align 4
%40 = icmp slt i32 %39, 5
br i1 %40, label %.lr.ph8, label %68
.lr.ph8: ; preds = %36
br label %41
41: ; preds = %.lr.ph8, %63
store i32 0, ptr %7, align 4
%42 = load i32, ptr %7, align 4
%43 = icmp slt i32 %42, 4
br i1 %43, label %.lr.ph5, label %60
.lr.ph5: ; preds = %41
br label %44
44: ; preds = %.lr.ph5, %55
%45 = load ptr, ptr %5, align 8
%46 = load i32, ptr %6, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [5 x [4 x float]], ptr %2, i64 0, i64 %47
%49 = load i32, ptr %7, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [4 x float], ptr %48, i64 0, i64 %50
%52 = load float, ptr %51, align 4
%53 = fpext float %52 to double
%54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef @.str.1, double noundef %53)
br label %55
55: ; preds = %44
%56 = load i32, ptr %7, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %7, align 4
%58 = load i32, ptr %7, align 4
%59 = icmp slt i32 %58, 4
br i1 %59, label %44, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %55
br label %60
60: ; preds = %._crit_edge6, %41
%61 = load ptr, ptr %5, align 8
%62 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %61, ptr noundef @.str.2)
br label %63
63: ; preds = %60
%64 = load i32, ptr %6, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %6, align 4
%66 = load i32, ptr %6, align 4
%67 = icmp slt i32 %66, 5
br i1 %67, label %41, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %63
br label %68
68: ; preds = %._crit_edge9, %36
%69 = load ptr, ptr %5, align 8
%70 = call i32 @fclose(ptr noundef %69)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2
declare i32 @fclose(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpvzw4l8b_.c'
source_filename = "/tmp/tmpvzw4l8b_.c"
target datalayout = "e-m:e-p270: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/tmpvzw4l8b_.c"
target datalayout = "e-m:e-p270: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/tmp5e7472vp.c'
source_filename = "/tmp/tmp5e7472vp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [51 x i8] c"Choose the function to be performed by the child:\0A\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"(1) Display current date and time\0A\00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c"(2) Display the calendar of the current month\0A\00", align 1
@.str.3 = private unnamed_addr constant [45 x i8] c"(3) List the files in the current directory\0A\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"(4) Exit from the program\0A\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"Enter: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printMenu() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
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/tmp5e7472vp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [51 x i8] c"Choose the function to be performed by the child:\0A\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"(1) Display current date and time\0A\00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c"(2) Display the calendar of the current month\0A\00", align 1
@.str.3 = private unnamed_addr constant [45 x i8] c"(3) List the files in the current directory\0A\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"(4) Exit from the program\0A\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"Enter: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printMenu() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
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/tmp7j0jr9p8.c'
source_filename = "/tmp/tmp7j0jr9p8.c"
target datalayout = "e-m:e-p270: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/tmp7j0jr9p8.c"
target datalayout = "e-m:e-p270: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/tmpqfyx6ao5.c'
source_filename = "/tmp/tmpqfyx6ao5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mc_path_format(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%8 = load ptr, ptr %3, align 8
store ptr %8, ptr %5, align 8
store i32 0, ptr %7, align 4
br label %9
9: ; preds = %26, %2
%10 = load ptr, ptr %5, align 8
%11 = load i8, ptr %10, align 1
%12 = icmp ne i8 %11, 0
br i1 %12, label %13, label %31
13: ; preds = %9
%14 = load ptr, ptr %5, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 47, %16
br i1 %17, label %23, label %18
18: ; preds = %13
%19 = load ptr, ptr %5, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 92, %21
br i1 %22, label %23, label %26
23: ; preds = %18, %13
%24 = load i8, ptr %4, align 1
%25 = load ptr, ptr %5, align 8
store i8 %24, ptr %25, align 1
br label %26
26: ; preds = %23, %18
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 1
store ptr %28, ptr %5, align 8
%29 = load i32, ptr %7, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %7, align 4
br label %9, !llvm.loop !6
31: ; preds = %9
store i32 0, ptr %6, align 4
br label %32
32: ; preds = %81, %31
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr %7, align 4
%35 = sub nsw i32 %34, 1
%36 = icmp slt i32 %33, %35
br i1 %36, label %37, label %84
37: ; preds = %32
%38 = load i8, ptr %4, align 1
%39 = sext i8 %38 to i32
%40 = load ptr, ptr %3, align 8
%41 = load i32, ptr %6, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %39, %45
br i1 %46, label %47, label %80
47: ; preds = %37
%48 = load ptr, ptr %3, align 8
%49 = load i32, ptr %6, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %48, i64 %50
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = load ptr, ptr %3, align 8
%55 = load i32, ptr %6, align 4
%56 = add nsw i32 %55, 1
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %54, i64 %57
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp eq i32 %53, %60
br i1 %61, label %62, label %80
62: ; preds = %47
%63 = load ptr, ptr %3, align 8
%64 = load i32, ptr %6, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i8, ptr %63, i64 %65
%67 = load ptr, ptr %3, align 8
%68 = load i32, ptr %6, align 4
%69 = add nsw i32 %68, 1
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %67, i64 %70
%72 = load i32, ptr %7, align 4
%73 = load i32, ptr %6, align 4
%74 = sub nsw i32 %72, %73
%75 = call i32 @memmove(ptr noundef %66, ptr noundef %71, i32 noundef %74)
%76 = load i32, ptr %6, align 4
%77 = sub nsw i32 %76, 1
store i32 %77, ptr %6, align 4
%78 = load i32, ptr %7, align 4
%79 = sub nsw i32 %78, 1
store i32 %79, ptr %7, align 4
br label %80
80: ; preds = %62, %47, %37
br label %81
81: ; preds = %80
%82 = load i32, ptr %6, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %6, align 4
br label %32, !llvm.loop !8
84: ; preds = %32
%85 = load ptr, ptr %3, align 8
%86 = load i32, ptr %7, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i8, ptr %85, i64 %87
store i8 0, ptr %88, align 1
%89 = load i32, ptr %7, align 4
ret i32 %89
}
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqfyx6ao5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mc_path_format(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%8 = load ptr, ptr %3, align 8
store ptr %8, ptr %5, align 8
store i32 0, ptr %7, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i8, ptr %9, align 1
%11 = icmp ne i8 %10, 0
br i1 %11, label %.lr.ph, label %33
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %25
%13 = load ptr, ptr %5, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 47, %15
br i1 %16, label %22, label %17
17: ; preds = %12
%18 = load ptr, ptr %5, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 92, %20
br i1 %21, label %22, label %25
22: ; preds = %17, %12
%23 = load i8, ptr %4, align 1
%24 = load ptr, ptr %5, align 8
store i8 %23, ptr %24, align 1
br label %25
25: ; preds = %22, %17
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 1
store ptr %27, ptr %5, align 8
%28 = load i32, ptr %7, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %7, align 4
%30 = load ptr, ptr %5, align 8
%31 = load i8, ptr %30, align 1
%32 = icmp ne i8 %31, 0
br i1 %32, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %33
33: ; preds = %._crit_edge, %2
store i32 0, ptr %6, align 4
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr %7, align 4
%36 = sub nsw i32 %35, 1
%37 = icmp slt i32 %34, %36
br i1 %37, label %.lr.ph2, label %89
.lr.ph2: ; preds = %33
br label %38
38: ; preds = %.lr.ph2, %82
%39 = load i8, ptr %4, align 1
%40 = sext i8 %39 to i32
%41 = load ptr, ptr %3, align 8
%42 = load i32, ptr %6, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %40, %46
br i1 %47, label %48, label %81
48: ; preds = %38
%49 = load ptr, ptr %3, align 8
%50 = load i32, ptr %6, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %49, i64 %51
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = load ptr, ptr %3, align 8
%56 = load i32, ptr %6, align 4
%57 = add nsw i32 %56, 1
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %55, i64 %58
%60 = load i8, ptr %59, align 1
%61 = sext i8 %60 to i32
%62 = icmp eq i32 %54, %61
br i1 %62, label %63, label %81
63: ; preds = %48
%64 = load ptr, ptr %3, align 8
%65 = load i32, ptr %6, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8, ptr %64, i64 %66
%68 = load ptr, ptr %3, align 8
%69 = load i32, ptr %6, align 4
%70 = add nsw i32 %69, 1
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %68, i64 %71
%73 = load i32, ptr %7, align 4
%74 = load i32, ptr %6, align 4
%75 = sub nsw i32 %73, %74
%76 = call i32 @memmove(ptr noundef %67, ptr noundef %72, i32 noundef %75)
%77 = load i32, ptr %6, align 4
%78 = sub nsw i32 %77, 1
store i32 %78, ptr %6, align 4
%79 = load i32, ptr %7, align 4
%80 = sub nsw i32 %79, 1
store i32 %80, ptr %7, align 4
br label %81
81: ; preds = %63, %48, %38
br label %82
82: ; preds = %81
%83 = load i32, ptr %6, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %6, align 4
%85 = load i32, ptr %6, align 4
%86 = load i32, ptr %7, align 4
%87 = sub nsw i32 %86, 1
%88 = icmp slt i32 %85, %87
br i1 %88, label %38, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %82
br label %89
89: ; preds = %._crit_edge3, %33
%90 = load ptr, ptr %3, align 8
%91 = load i32, ptr %7, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i8, ptr %90, i64 %92
store i8 0, ptr %93, align 1
%94 = load i32, ptr %7, align 4
ret i32 %94
}
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp0t_dh8fz.c'
source_filename = "/tmp/tmp0t_dh8fz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcasecmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
br label %7
7: ; preds = %26, %2
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds i8, ptr %8, i32 1
store ptr %9, ptr %3, align 8
%10 = load i8, ptr %8, align 1
%11 = call i32 @tolower(i8 noundef zeroext %10)
store i32 %11, ptr %5, align 4
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds i8, ptr %12, i32 1
store ptr %13, ptr %4, align 8
%14 = load i8, ptr %12, align 1
%15 = call i32 @tolower(i8 noundef zeroext %14)
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp ne i32 %16, %17
br i1 %18, label %22, label %19
19: ; preds = %7
%20 = load i32, ptr %5, align 4
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %26
22: ; preds = %19, %7
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %6, align 4
%25 = sub nsw i32 %23, %24
ret i32 %25
26: ; preds = %19
br label %7
}
declare i32 @tolower(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0t_dh8fz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcasecmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds i8, ptr %7, i32 1
store ptr %8, ptr %3, align 8
%9 = load i8, ptr %7, align 1
%10 = call i32 @tolower(i8 noundef zeroext %9)
store i32 %10, ptr %5, align 4
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %4, align 8
%13 = load i8, ptr %11, align 1
%14 = call i32 @tolower(i8 noundef zeroext %13)
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp ne i32 %15, %16
br i1 %17, label %33, label %.lr.ph
.lr.ph: ; preds = %2
br label %30
18: ; preds = %30
%19 = load ptr, ptr %3, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %3, align 8
%21 = load i8, ptr %19, align 1
%22 = call i32 @tolower(i8 noundef zeroext %21)
store i32 %22, ptr %5, align 4
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %4, align 8
%25 = load i8, ptr %23, align 1
%26 = call i32 @tolower(i8 noundef zeroext %25)
store i32 %26, ptr %6, align 4
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %6, align 4
%29 = icmp ne i32 %27, %28
br i1 %29, label %._crit_edge1, label %30
30: ; preds = %.lr.ph, %18
%31 = load i32, ptr %5, align 4
%32 = icmp eq i32 %31, 0
br i1 %32, label %._crit_edge, label %18
._crit_edge: ; preds = %30
br label %33
._crit_edge1: ; preds = %18
br label %33
33: ; preds = %._crit_edge1, %._crit_edge, %2
%34 = load i32, ptr %5, align 4
%35 = load i32, ptr %6, align 4
%36 = sub nsw i32 %34, %35
ret i32 %36
}
declare i32 @tolower(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp65teky3p.c'
source_filename = "/tmp/tmp65teky3p.c"
target datalayout = "e-m:e-p270: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/tmp65teky3p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.